text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { notEmailFriendly } from "html-entities-not-email-friendly"; import { allNamedEntities } from "all-named-html-entities"; import { expander } from "string-range-expander"; import { convertOne } from "string-apostrophes"; import he from "he"; import { left, right, // leftStopAtRawNbsp, // rightStopAtRawNb...
the_stack
import {Component, DoCheck, EventEmitter, OnDestroy, OnInit, Output, ViewChild} from '@angular/core'; import {HyperParametersComponent} from './hyper-parameters/hyper-parameters.component'; import {PrepareDatasetsComponent} from './prepare-datasets/prepare-datasets.component'; import {ContainerSettingsComponent} from '...
the_stack
import { buildWhereClauseExpr, getDefaultInstance, LetExprType, LogicalWhereExpr, Query, WhereClauseException, Schema, model, } from '../src'; import { verifyWhereObjectKey } from '../src/query/helpers/builders'; import { bucketName, startInTest } from './testData'; describe('Collection operators', () ...
the_stack
import crypto from 'crypto'; import { StarkwareLib } from '@dydxprotocol/starkex-eth'; import { ApiMethod, KeyPair, OrderWithClientId, SignableOrder, SignableWithdrawal, asEcKeyPair, asSimpleKeyPair, SignableConditionalTransfer, SignableTransfer, nonceFromClientId, TransferParams as StarklibTrans...
the_stack
import { HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs';import { HttpOptions } from './types'; import * as models from './models'; export interface APIClientInterface { /** * Arguments object for method `firestoreProjectsDatabasesDocumentsBatchGet`. */ firestoreProje...
the_stack
import { Tabulator } from 'tabulator-tables'; import { View } from './view'; import * as sanitizeHtml from 'sanitize-html'; import { TabularDatabaseModel } from '../model/tabular'; import { Dic, Utils, _, __ } from '../helpers/utils'; import { strings } from '../model/strings'; import { i18n } from '../model/i18n'; imp...
the_stack
import { action, observable } from 'mobx'; import { Autowired, Injectable } from '@opensumi/di'; import { PreferenceService } from '@opensumi/ide-core-browser'; import { Disposable, Emitter, Event, getDebugLogger, Uri, ISplice } from '@opensumi/ide-core-common'; import { combinedDisposable, dispose, DisposableStore, I...
the_stack
import React, { PropsWithChildren } from "react"; import { useDispatch, useSelector } from "react-redux"; import Icon from "./Icon"; import ScrollBox from "./ScrollBox"; import Timestamp from "./Timestamp"; import * as codemarkSelectors from "../store/codemarks/reducer"; import * as userSelectors from "../store/users/r...
the_stack
import { GrandFinalType, Match, MatchGame, MatchResults, Participant, ParticipantResult, Result, RoundRobinMode, Seeding, SeedOrdering, Stage, StageType, Status, } from 'brackets-model'; import { BracketKind, Database, Duel, FinalStandingsItem, IdMapping, Nullable, O...
the_stack
import {WriteBatch} from '../batch/write-batch'; import {Connection} from '../connection/connection'; import {DocumentClientBatchTransformer} from '../transformer/document-client-batch-transformer'; import pLimit from 'p-limit'; import { BATCH_READ_MAX_ALLOWED_ATTEMPTS, BATCH_WRITE_CONCURRENCY_LIMIT, BATCH_WRITE_...
the_stack
import { Transformations, Environment, ConstructName, TypeSuffix, CTypeMap, GType, GenerateConfig } from './types' import Path from 'path' import { Utils } from './utils' import { Logger } from './logger' export const POD_TYPE_MAP_ARRAY = (environment: Environment): { guint8: string; gint8: string; gunichar: string } ...
the_stack
import PencilIcon from '@geist-ui/react-icons/edit2'; import XIcon from '@geist-ui/react-icons/x'; import { Menu, Transition } from '@headlessui/react'; import clsx from 'clsx'; import { NextRouter, useRouter } from 'next/router'; import React, { Fragment, useState } from 'react'; import { Button } from '$/components/...
the_stack
import { FileManager } from '../../../src/file-manager/base/file-manager'; import { NavigationPane } from '../../../src/file-manager/layout/navigation-pane'; import { DetailsView } from '../../../src/file-manager/layout/details-view'; import { Toolbar } from '../../../src/file-manager/actions/toolbar'; import { createE...
the_stack
import * as vscode from "vscode"; import * as WebSocket from 'ws'; import { Constants } from "./constants"; import { LeoBridgePackage, LeoAction } from "./types"; import { LeoIntegration } from "./leoIntegration"; import { LeoAsync } from "./leoAsync"; /** * * Handles communication with the leobridgeserver.py python ...
the_stack
type UnicodeBlockLookup = {[key: string]: (char: number) => boolean}; const unicodeBlockLookup: UnicodeBlockLookup = { // 'Basic Latin': (char) => char >= 0x0000 && char <= 0x007F, 'Latin-1 Supplement': (char) => char >= 0x0080 && char <= 0x00FF, // 'Latin Extended-A': (char) => char >= 0x0100 && char <= 0...
the_stack
export const dictionary = [ ['break', 'харэ'], ['case', 'лещ'], ['case', 'аеслинайду'], ['catch', 'гоп'], ['catch', 'аченетак'], ['catch', 'аченитак'], ['catch', 'ачёнетак'], ['continue', 'двигай'], ['debugger', 'логопед'], ['delete', 'ёбнуть'], ['delete', 'ебнуть'], ['do...
the_stack
import * as assert from "assert" import { execSync } from "child_process" import * as fs from "fs" import * as os from "os" import * as path from "path" import * as shell from "shelljs" import * as rimraf from "rimraf" import { getCompletionElement, getTemporaryFolder } from "./../ci/Common" import { getDistPath, ge...
the_stack
import { errorHandler, getVoidLogger, PluginEndpointDiscovery, } from '@backstage/backend-common'; import { CatalogClient } from '@backstage/catalog-client'; import { ConfigReader } from '@backstage/config'; import { NotModifiedError } from '@backstage/errors'; import { GeneratorBuilder, PreparerBuilder, Pu...
the_stack
import {isString} from '../../../core'; import {liftToEspObservable} from 'esp-js-rx'; import {Guard, observeEvent, Router, utils, Logger} from 'esp-js'; import {ModelBase} from '../../modelBase'; import {IdFactory} from '../../idFactory'; import {RegionItem} from './regionItem'; import {getViewFactoryMetadataFromModel...
the_stack
import { mockProfileBoxerFloydMayweatherJr, mockProfileBoxerGGG, mockProfileBoxerRJJ, mockProfileDoctorAnthonyRuggeroli, mockProfileInspectorMichaelBuchato, mockProfileJudgeDaveMoretti, mockProfileManagerMichaelMcSorleyJr, mockProfileMatchmakerVeliPekkaMaeki, mockProfilePromoterLeona...
the_stack
import __Utils = require("./Utils") export import Utils = __Utils.Utils; import __Angle = require("./Angle") export import Angle = __Angle.Angle; import __Vec2 = require("./Vec2") export import Vec2 = __Vec2.Vec2; /** * A three-component vector type. */ export class Vec3 { x: number; y: num...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormWork_Order { interface tab__B8E326EE_5C21_4A18_BA55_E3B56966C249_Sections { _B14F3E67_E51B_4B3E_BB7F_A9CF0CF8DC17: DevKit.Controls.Section; _B8E326EE_5C21_4A18_BA55_E3B56966C249_SECTION_2: DevKit.Controls.Section; _B8E...
the_stack
import { Kind } from "graphql/language" import { rangeFactory } from "../" describe(`rangeFactory`, () => { const NOT_FINITE = /Value is not a finite number:/ const NOT_NUMBER = /Value is not a number:/ const NOT_INTEGER = /Value is not an integer:/ const OUTSIDE_RANGE = /Value is (less|greater) than limit: [0...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement, Operator } from "../shared"; /** * Statement provider for service [ecs](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonelasticcontainerservice.html). * * @param sid [SID](https://docs.aws.amazon.com/IA...
the_stack
import { motion, AnimatePresence, AnimateSharedLayout } from "@framer" import * as React from "react" import { useState } from "react" import styled from "styled-components" /** * This demo demonstrates the crossfade function between * components with the same layoutId * * The styles are pretty broken but it makes...
the_stack
import { DebugElement, EventEmitter, Type, InjectionToken, AbstractType } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { outputProxy, PickByType } from '../tools/output-proxy'; import { createQueryMatch, QueryMatch } from...
the_stack
import { strict as assert } from 'assert'; import { Position, TextDocument } from 'vscode'; import { PythonDocument } from '../../../../src/actions/languages/python/motion'; suite('PythonDocument lines generator', () => { let _lines: string[]; let doc: TextDocument; setup(() => { _lines = ['x', 'y', 'z']; ...
the_stack
import { DEF_FONT_SIZE, DEF_SLIDE_MARGIN_IN, EMU, LINEH_MODIFIER, ONEPT, SLIDE_OBJECT_TYPES } from './core-enums' import { PresLayout, SlideLayout, TableCell, TableToSlidesProps, TableRow, TableRowSlide, TableCellProps } from './core-interfaces' import { getSmartParseNumber, inch2Emu, rgbToHex, valToPts } from './gen-u...
the_stack
import { makeApp, makeClientForPlugin, makeDisplay, makePowerMonitor, makeProcess, makeScreen } from '@bugsnag/electron-test-helpers' import plugin from '../' const nextTick = async () => new Promise(process.nextTick) function makeClient ({ app = makeApp(), screen = makeScreen(), process = makeProcess(), file...
the_stack
import { getTestResourceUrl, silenceLoggingAroundFunction } from "@here/harp-test-utils"; import { LogLevel } from "@here/harp-utils"; import { assert } from "chai"; import { ImageItem } from "../lib/image/Image"; import { ImageCache } from "../lib/image/ImageCache"; import { MapViewImageCache } from "../lib/image/Map...
the_stack
* ModifySmsTemplate返回参数结构体 */ export interface ModifySmsTemplateResponse { /** * 返回 */ Data?: ModifySmsTemplateDataStruct /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string } /** * 添加短信人群包信息接口返回 */ export interface SmsAddCrowdPackInfoResponse { /** * 人群包id */ ID: n...
the_stack
import clone = require('clone'); import agile_keychain = require('./agile_keychain'); import agile_keychain_crypto = require('./agile_keychain_crypto'); import asyncutil = require('./base/asyncutil'); import item_builder = require('./item_builder'); import item_store = require('./item_store'); import key_agent = requi...
the_stack
const isPath = require('is-svg-path') export const typeForm = 'form' export const typeInput = 'input' export const typeTextarea = 'textarea' export const typeSelect = 'select' export const typeCheckbox = 'checkbox' export const typeRadio = 'radio' export const typeButton = 'button' export const typeLabel = 'label' exp...
the_stack
import { GlobalProps } from 'ojs/ojvcomponent'; import { ComponentChildren } from 'preact'; import Color = require('../ojcolor'); import { editableValue, editableValueEventMap, editableValueSettableProperties } from '../ojeditablevalue'; import { JetElement, JetSettableProperties, JetElementCustomEvent, JetSetPropertyT...
the_stack
import {expect} from 'chai'; import { LiteralStringExpression, Node, DebuggerStatement, IdentifierExpression, StaticMemberExpression, VariableDeclarator, FunctionDeclaration, BindingIdentifier, } from 'shift-ast'; import {parseScript as parse, parseScript} from 'shift-parser'; import {RefactorSession} f...
the_stack
import { PromiseError, Component } from "./../errors/promise-error"; import { print, TypeMessage, printSeparator } from "../messages/console-log"; import { FunctionInfo } from "./structs/function-info"; import { AccountInfo } from "./structs/account-info"; import { CompilationResult } from "./structs/compilation-output...
the_stack
let DaclFlags = { 'NO_ACCESS_CONTROL': 'NULL_ACL', 'AR': 'SE_DACL_AUTO_INHERIT_REQ ', 'AI': 'SE_DACL_AUTO_INHERITED ', 'P': 'SE_DACL_PROTECTED' } let AceTypes = { 'A': 'ALLOW', 'D': 'DENY' } let AceFlags = { 'CI': 'CONTAINER_INHERIT', 'OI': 'OBJECT_INHERIT', 'NP': 'NO_PROPAGATE_INH...
the_stack
import axios, { AxiosRequestConfig, AxiosResponse, AxiosInstance } from "axios"; import { notification, message, Modal } from 'ant-design-vue'; import { cloneLoop } from "@/lib/clone"; import cookies from 'vue-cookies'; import qs from 'qs'; /** 全局Assembly */ export const enum AssemblyResources { /** 解析MD5 */ m...
the_stack
import { BunyanProvider, Logger, LogLevel } from './BunyanProvider' import { ImproperSeekToBlockError, ImproperStartAtBlockError, ReloadHistoryError, UnresolvedForkError, } from './errors' import { ActionReader, ActionReaderOptions, Block, BlockInfo, BlockMeta, NextBlock, ReaderInfo, } from './int...
the_stack
import { isSingleText, isAlignCenter, isOnlyContainer, utils } from "./handleTypeLayout"; import { CLASS_TYPE } from './const'; import { Layer } from './types'; /** * 规则 * 1.父元素width不为auto * @param {Array} data * @param {Object} parent */ const isTowSpan = (data: Layer[], parent: Layer) => { ...
the_stack
import { RED_REGEX } from '../lib/dom-misc' import { TimeGridViewWrapper } from '../lib/wrappers/TimeGridViewWrapper' import { DayGridViewWrapper } from '../lib/wrappers/DayGridViewWrapper' // SEE ALSO: event-color.js describe('background events', () => { pushOptions({ initialDate: '2014-11-04', scrollTime:...
the_stack
import util = require('util'); import _ = require('lodash'); import Promise = require('bluebird'); import bunyan = require('bunyan'); import uuid = require('node-uuid'); import SocketIO = require('socket.io'); import webSocket = require('ws'); import Subscription = require('../subscription/subscription'); import Map = ...
the_stack
import { CleanRegexRule, createRuleListener, getDocUrl } from "../rules-util"; import { mention } from "../format"; import { elementsToCharacterClass, FirstConsumedChar, getFirstCharConsumedBy, getParentPrefixAndSuffix, matchingDirection, underAStar, } from "../ast-util"; import { Alternative, Assertion, Capt...
the_stack
import { CSSResultGroup, LitElement, TemplateResult, html, unsafeCSS, PropertyValues, } from 'lit'; import { BrowseMediaSource, ExtendedHomeAssistant, CameraConfig, JSMPEGConfig, LiveConfig, MediaShowInfo, WebRTCConfig, FrigateCardError, LiveOverrides, LiveProvider, frigateCardConfigDe...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormPurchase_Order { interface tab__0898DBC4_7C5F_4D66_963F_628E881B178B_Sections { _0898DBC4_7C5F_4D66_963F_628E881B178B_SECTION_2: DevKit.Controls.Section; _58B0EA4F_855F_4143_8703_D34B3849F302: DevKit.Controls.Section; ...
the_stack
import {ChangeDetectorRef, Component, Injector, OnDestroy, OnInit, Pipe, PipeTransform, TemplateRef, ViewChild, ViewContainerRef} from '@angular/core'; import * as angular from 'angular'; import * as _ from "underscore"; import {DomainType, DomainTypesService} from "../../../../services/DomainTypesService"; import {Tab...
the_stack
import * as Sequelize from 'sequelize'; import { IDatabaseDiffs, IRelation, IApplyOptions, IActionData } from '@materia/interfaces'; import { App } from './app'; import { MigrationType } from './history'; import { DBEntity } from './entities/db-entity'; import { Entity } from './entities/entity'; export class Synchro...
the_stack
import { getSynopsis } from 'parsing'; const LANGUAGE_ID = 'typescript'; describe('TypeScript Functions', () => { test('Function expression with no parameters', async () => { const code = `function hello(): void { console.log('Hello, world!'); }`; const synopsis = getSynopsis(code, LANGUAGE_ID, co...
the_stack
import {expect} from 'chai'; import {spawnSync} from 'child_process'; import fs from 'fs-extra'; import {after, before, describe, it} from 'mocha'; import path, {dirname} from 'path'; import {readPackageUpSync} from 'read-pkg-up'; import {fileURLToPath} from 'url'; import {getAppsScriptFileName, getLocalFileType} from...
the_stack
import * as React from 'react'; import * as d3 from 'd3'; import * as ReactDom from 'react-dom'; import * as Raven from 'raven-js'; import { Utils, PathRegion } from './widgets/Utils'; import LazyLoad from 'react-lazy-load'; import * as QueryString from 'query-string'; import DashboardInner from './DashboardInner'; Ra...
the_stack
import { Injectable, Logger } from '@nestjs/common'; import { Order } from 'common/constants'; import { PageMetaDto } from 'common/dtos'; import { CreateFailedException, TransactionNotFoundException, } from 'exceptions'; import { BillEntity } from 'modules/bill/entities'; import { BillRepository } from 'modules/bil...
the_stack
import { Transaction } from '@/js/Transaction' import Big from 'big.js' export interface TransactionsState { tx: Transaction | null txRes: TransactionQuery recentTxRes: TransactionQuery assetTxRes: TransactionQuery addressTxRes: TransactionQuery blockchainTxRes: TransactionQuery evmTx: EVMT...
the_stack
import http = require("http"); import https = require("https"); import assert = require("assert"); import path = require("path") import os = require("os") import fs = require('fs'); import sinon = require("sinon"); import events = require("events"); import child_process = require("child_process"); import nock = require...
the_stack
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class Kafka exte...
the_stack
import {CommonModule} from '@angular/common'; import {Component, Directive, forwardRef, Inject, Injectable, InjectionToken, Injector, NgModule, Optional} from '@angular/core'; import {leaveView, specOnlyIsInstructionStateEmpty} from '@angular/core/src/render3/state'; import {inject, TestBed, waitForAsync} from '@angula...
the_stack
import { INestApplication } from '@nestjs/common' import { Test } from '@nestjs/testing' import { AppModule } from '../../../../app/app.module' import { DeploymentRepositoryV2 } from '../../../../app/v2/api/deployments/repository/deployment.repository' import { FixtureUtilsService } from '../fixture-utils.service' impo...
the_stack
import { Observable } from 'rxjs'; import { ComponentType } from 'react'; import { GrafanaPlugin, PluginMeta } from './plugin'; import { PanelData } from './panel'; import { LogRowModel } from './logs'; import { AnnotationEvent, AnnotationQuery, AnnotationSupport } from './annotations'; import { DataTopic, KeyValue, Lo...
the_stack
import chai from 'chai'; import sinon from 'sinon'; import is from 'is'; import Joi from '@hapi/joi'; import { Transaction as DatastoreTransaction } from '@google-cloud/datastore'; import GstoreEntity, { Entity } from './entity'; import GstoreSchema, { SchemaPathDefinition } from './schema'; import Model from './model...
the_stack
import { flatbuffers } from 'flatbuffers'; // automatically generated by the FlatBuffers compiler, do not modify /** * @enum {number} */ export enum HttpCommand{ NONE= 0, HttpQuery= 1, HttpResultSet= 2, HttpError= 3 }; /** * @constructor */ export class HttpMessage { bb: flatbuffers.ByteBuffer|null = nu...
the_stack
import { CSSObject } from '@emotion/react'; import { identityType } from '../utils'; import { palette as basePalette } from './colors'; /** * Global Tokens */ const typography = { fontFamily: { monospace: 'Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace', body: 'system-ui, -apple-system, ...
the_stack
import React, { useState, useContext, useEffect } from 'react'; import DisplayTableWithEmptyMessage from '../../../../components/DisplayTableWithEmptyMessage/DisplayTableWithEmptyMessage'; import moment from 'moment'; import { IGroup } from 'office-ui-fabric-react/lib/components/GroupedList/GroupedList.types'; impo...
the_stack
import { expect } from 'chai' import { Redis } from 'ioredis' import sinon from 'sinon' import LostLockError from '../../src/errors/LostLockError' import MultiSemaphore from '../../src/RedisMultiSemaphore' import Semaphore from '../../src/RedisSemaphore' import { TimeoutOptions } from '../../src/types' import { delay ...
the_stack
declare module cheetahGrid { namespace columns { namespace action { interface BaseActionOption { disabled?: boolean } export class BaseAction { constructor(option?: BaseActionOption) disabled: boolean; clone(...
the_stack
import {Midi_file, Midi_track, Midi_event, parse_midi} from "./midifmt" import { ACCIDENTAL, ORDER_OF_ACCIDENTALS, CLEF, Time_signature,Key_signature, Note_itf, Rest_itf, Slur_itf, Measure_itf, Score_itf, get_median_staff_pos, note_name_to_staff_pos, get_note_name_accidental, get_existing_voices, short_id, ch...
the_stack
import * as React from 'react' import { RouteComponentProps } from 'react-router' import { Form, Field } from 'react-final-form' import arrayMutators from 'final-form-arrays' import TEMPLATE from './Template' import { UploadedFile } from 'src/pages/common/UploadedFile/UploadedFile' import { InputField, DatePickerField ...
the_stack
import {Token, TokenFormat, TokenMeta, Tokens} from './types'; const BASE_SPACING_UNIT_REM = 0.25; const NUMBER_OF_ITEMS_IN_100_SCALES = 10; const FRAMES_PER_SECOND = 60; const ONE_FRAME = 1000 / FRAMES_PER_SECOND; interface DefaultColors { [hueName: string]: { name: string; hue: number; }; } const de...
the_stack
import { EventQueue } from "../event_queue"; import { BMLCSS2Properties } from "./BMLCSS2Properties"; import { CachedFileMetadata, Resources } from "../resource"; import { aribPNGToPNG } from "../arib_png"; import { readCLUT } from "../clut"; import { defaultCLUT } from "../default_clut"; import { parseCSSValue } from ...
the_stack
import * as path from 'path'; import * as fs from 'fs'; import { IEntity } from '@materia/interfaces'; import { WebsocketInstance } from '../../lib/websocket'; import { App, Entity, MateriaError, loadEntitiesJson, generateActionId } from '../../lib'; export class DatabaseController { constructor(private app: App, we...
the_stack
import { INodeProperties, } from 'n8n-workflow'; import { address, currencies, makeCustomFieldsFixedCollection, makeGetAllFields, } from './SharedFields'; export const leadOperations: INodeProperties[] = [ { displayName: 'Operation', name: 'operation', type: 'options', displayOptions: { show: { r...
the_stack
import { CoreTextUtils } from '@services/utils/text'; import { CoreUtils } from '@services/utils/utils'; import { CoreH5P } from '@features/h5p/services/h5p'; import { Translate } from '@singletons'; import { CoreH5PCore, CoreH5PLibraryData, CoreH5PLibraryAddonData, CoreH5PContentDepsTreeDependency } from './core'; co...
the_stack
import * as React from 'react' import type { RouteComponentProps } from 'react-router' import { Form, Field } from 'react-final-form' import styled from '@emotion/styled' import { FieldArray } from 'react-final-form-arrays' import arrayMutators from 'final-form-arrays' import createDecorator from 'final-form-calculate'...
the_stack
import * as React from 'react'; import Tagify = require('@yaireo/tagify'); import { BaseTagData, ChangeEventData, EventData, TagifySettings } from '@yaireo/tagify'; import Tags = require('@yaireo/tagify/dist/react.tagify'); import { MixedTags, TagifyTagsReactProps } from '@yaireo/tagify/dist/react.tagify'; // Tests th...
the_stack
import * as React from 'react'; import { useEffect } from 'react'; import { render, cleanup, fireEvent, waitFor } from '@testing-library/react'; import { useEffectReducer, EffectReducer, EffectEntity, InitialEffectStateGetter, } from '../src'; // have to add this because someone made a breaking change somewh...
the_stack
module android.widget{ import ViewConfiguration = android.view.ViewConfiguration; import Interpolator = android.view.animation.Interpolator; import Resources = android.content.res.Resources; import SystemClock = android.os.SystemClock; import Log = android.util.Log; import NumberChecker = androi...
the_stack
import { Nullable } from "../types"; import { Scene } from "../scene"; import { AbstractMesh } from "../Meshes/abstractMesh"; import { Mesh } from "../Meshes/mesh"; import { CreateBox } from "../Meshes/Builders/boxBuilder"; import { CreateSphere } from "../Meshes/Builders/sphereBuilder"; import { Quaternion, Vect...
the_stack
import { AnimationClip, Component, Node, Vec2, Vec3, warnID } from '../../cocos/core'; import { AnimationBlend1D, AnimationBlend2D, Condition, InvalidTransitionError, VariableNotDefinedError, __getDemoGraphs, ClipMotion, AnimationBlendDirect, VariableType } from '../../cocos/core/animation/marionette/asset-creation'; i...
the_stack
// Arrays of colours should have pillar colors first // e.g. for sport: // const [sport300, sport400, sport500, sport600, sport800] = colors.blue const colors = { reds: [ '#660505', //news-100 '#8B0000', //news-200 '#AB0613', //news-300 '#C70000', //news-400, error-400 '#FF5943', //news-500 '#FF9081', //ne...
the_stack
import { PluginEndpointDiscovery } from '@backstage/backend-common'; import { decodeProtectedHeader, exportJWK, generateKeyPair, SignJWT, } from 'jose'; import { cloneDeep } from 'lodash'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { v4 as uuid } from 'uuid'; import { IdentityCl...
the_stack
import { Component, DebugElement, NO_ERRORS_SCHEMA, TemplateRef, ViewChild } from '@angular/core'; import { async, ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NotifierAnimationData } from '../models/notifier-animation.model'; impor...
the_stack
declare namespace core { function seed(value: number | string): void; function float(max: number): number; function float(min: number, max: number): number; // tslint:disable-line unified-signatures function float(min: number, max: number, n: number): number[]; function int(max: number): number; ...
the_stack
import * as Common from '../../core/common/common.js'; import * as i18n from '../../core/i18n/i18n.js'; import * as Platform from '../../core/platform/platform.js'; import * as Root from '../../core/root/root.js'; import * as SDK from '../../core/sdk/sdk.js'; import * as Bindings from '../../models/bindings/bindings.js...
the_stack
import * as path from 'path'; import chai, { expect } from 'chai'; import Helper from '../../src/e2e-helper/e2e-helper'; import { statusFailureMsg } from '../../src/cli/commands/public-cmds/status-cmd'; import { OVERRIDE_COMPONENT_PREFIX, OVERRIDE_FILE_PREFIX } from '../../src/constants'; import { MISSING_PACKAGES_FR...
the_stack
import { IContext } from "./context"; import { Graph, alg } from "graphlib"; import hash from "object-hash"; import { RollingCache } from "./rollingcache"; import { ICache } from "./icache"; import * as _ from "lodash"; import { tsModule } from "./tsproxy"; import * as tsTypes from "typescript"; import { blue, yellow, ...
the_stack
import { Application } from "../../automation"; import * as assert from "assert"; import * as path from "path"; import { AppiumClient, AppiumHelper, Platform } from "./helpers/appiumHelper"; import { SmokeTestsConstants } from "./helpers/smokeTestsConstants"; import { findFile, findStringInFile, isLoggedInExpo, sleep, ...
the_stack
import { fixture, fixtureCleanup } from '@open-wc/testing/index-no-side-effects'; import { assert } from 'chai'; import { customElement, html, LitElement, property } from 'lit-element'; import { consumer, createContextLink, provider } from './context'; class Parent { prop1 = 1; } class Child extends Parent { pro...
the_stack
import BN from "bn.js"; import * as bs58 from "bs58"; import * as crypto from "crypto"; import { ec as EC, eddsa as EDDSA } from "elliptic"; import versions, { VersionBytes } from "../versions"; // Implements BIP-32: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki // Added ED25519 support: https://githu...
the_stack
declare namespace ಠ_ಠ.clutz { interface Transferable { } } // Generated from externs.zip//fido.js declare namespace ಠ_ಠ.clutz.u2f { /** * An error object for responses */ type Error = { errorCode : number , errorMessage : string | null } ; } // Generated from externs.zip//fido.js declare namespace ಠ_ಠ.clu...
the_stack
import assert = require("assert"); // import { IEntityAnnotationObject } from "../../src/data/IEntityAnnotationObject"; // import { IEntityObjectByPosition } from "../../src/data/IEntityObjectByPosition"; // import { IPartOfSpeechTagObjectByPosition } from "../../src/data/IPartOfSpeechTagObjectByPosition"; import { IT...
the_stack
import { DateTime, Interval } from 'luxon'; import { CompletedDataPlayload, ContextExtensionsDefinition, DataPayload, InitializedContextExtensions, InteractedContextExtensions, InteractedResultExtensions, PausedResultExtensions, PlayedResultExtensions, ResultExtensionsDefinition, SeekedResultExtensi...
the_stack
import assert from "assert"; import { Decimal } from "./Decimal"; import { StabilityDeposit } from "./StabilityDeposit"; import { Trove, TroveWithPendingRedistribution, UserTrove } from "./Trove"; import { Fees } from "./Fees"; import { LQTYStake } from "./LQTYStake"; import { FrontendStatus } from "./ReadableLiquity"...
the_stack
import { arrayRemoveItem, ClassType } from '@deepkit/core'; import { ClassSchema, getClassSchema, stringifyUuid, writeUuid } from '@deepkit/type'; import { RpcMessageSubject } from '../client/message-subject'; import { AuthenticationError, ControllerDefinition, rpcAuthenticate, rpcClientId, rpcError, rpcPeerRegister, r...
the_stack
import { b, x } from 'code-red'; import Binding from '../../../nodes/Binding.ts'; import ElementWrapper from '../Element/index.ts'; import InlineComponentWrapper from '../InlineComponent/index.ts'; import get_object from '../../../utils/get_object.ts'; import replace_object from '../../../utils/replace_object.ts'; impo...
the_stack
import slash from 'slash2'; import defaultSettings from './defaultSettings'; const { pwa } = defaultSettings; const backend_url = process.env.API_URL || 'http://backend:8000/'; const plugins = [ ['umi-plugin-antd-icon-config', {}], [ 'umi-plugin-react', { antd: true, dva: { hmr: true, ...
the_stack
import {Array3D, InputProvider, Tensor, Optimizer, CostReduction, FeedEntry, Session, NDArrayMath, NDArray, Scalar, GraphRunnerEventObserver} from 'deeplearn'; const DEFAULT_EVAL_INTERVAL_MS = 1500; const DEFAULT_COST_INTERVAL_MS = 500; const DEFAULT_INFERENCE_EXAMPLE_INTERVAL_MS = 3000; export interface MyGraphRunn...
the_stack
import Event from '../../event/Event'; import DOMException from '../../exception/DOMException'; import DOMExceptionNameEnum from '../../exception/DOMExceptionNameEnum'; import HTMLElement from '../html-element/HTMLElement'; import IHTMLElement from '../html-element/IHTMLElement'; import IHTMLFormElement from '../html-f...
the_stack
import { EventEmitter } from 'events' import { applyReducer, Operation } from 'fast-json-patch' import { camelCase, omit } from 'lodash' import { FORMAT_TEXT_MAP, SpanContext, Tracer } from 'opentracing' import { Observable, Subscription, Symbol } from 'rxjs' import { inspect } from 'util' import { ErrorCodes, ...
the_stack
import { SpreadsheetModel, Spreadsheet, BasicModule } from '../../../src/spreadsheet/index'; import { SpreadsheetHelper } from '../util/spreadsheethelper.spec'; import { defaultData, productData } from '../util/datasource.spec'; import '../../../node_modules/es6-promise/dist/es6-promise'; import { CellModel, getModel, ...
the_stack
import { Home_articlesConnection } from "__generated__/Home_articlesConnection.graphql" import { Home_featured } from "__generated__/Home_featured.graphql" import { Home_homePageAbove } from "__generated__/Home_homePageAbove.graphql" import { Home_homePageBelow } from "__generated__/Home_homePageBelow.graphql" import {...
the_stack
import { GlobalProps } from 'ojs/ojvcomponent'; import { ComponentChildren } from 'preact'; import { IntlDateTimeConverter, DateTimeConverter } from '../ojconverter-datetime'; import ColorConverter = require('../ojconverter-color'); import { IntlNumberConverter, NumberConverter } from '../ojconverter-number'; import Re...
the_stack
import { App, aws_dynamodb, Stack } from "aws-cdk-lib"; import "jest"; import { Table, $util, AppsyncContext, reflect, $AWS, ITable, AnyTable, } from "../src"; import { appsyncTestCase } from "./util"; interface Item { id: string; name: number; } const app = new App({ autoSynth: false }); const stac...
the_stack