text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import {toID, BasicEffect} from './dex-data'; interface SpeciesAbility { 0: string; 1?: string; H?: string; S?: string; } type SpeciesTag = "Mythical" | "Restricted Legendary" | "Sub-Legendary"; export interface SpeciesData extends Partial<Species> { name: string; /** National Dex number */ num: number; typ...
the_stack
import { BINARY_ENCODING, IExecuteFunctions, } from 'n8n-core'; import { cortexApiRequest, getEntityLabel, prepareParameters, splitTags, } from './GenericFunctions'; import { analyzerFields, analyzersOperations, } from './AnalyzerDescriptions'; import { IBinaryData, IDataObject, ILoadOptionsFunctions, IN...
the_stack
export class Broadcast<MsgKeyType extends broadcast.IMsgKey, ValueType = any, ResultType = any> implements broadcast.IBroadcast<MsgKeyType, ValueType, ResultType>{ public keys: { [key in keyof MsgKeyType]: MsgKeyType[key] }; private _valueMap: { [key in keyof MsgKeyType]: any }; private _handlerMap: { ...
the_stack
import { nextTick } from 'vue' import { mount } from '@vue/test-utils' import dayjs from 'dayjs' import ConfigProvider from '@element-plus/components/config-provider' import { CommonPicker } from '@element-plus/components/time-picker' import Input from '@element-plus/components/input' import zhCn from '@element-plus/lo...
the_stack
import { grpc } from '@improbable-eng/grpc-web' import { UnaryOutput } from '@improbable-eng/grpc-web/dist/typings/unary' import { Context, ContextInterface, defaultHost } from '@textile/context' import { Identity } from '@textile/crypto' import { WebsocketTransport } from '@textile/grpc-transport' import { bytesFrom...
the_stack
import { LoaderOptions, Library, Instance } from './seal' import { Exception, SealError } from './exception' import { MemoryPoolHandle } from './memory-pool-handle' import { CipherText, CipherTextConstructorOptions } from './cipher-text' import { Context } from './context' import { Serializable, SerializableConstructor...
the_stack
import debounce from 'just-debounce-it'; import { ReactiveController, ReactiveElement } from 'lit'; import { ContextConsumerController, ContextProviderController, createContext, isDerviedContext, provideContextRecord } from '../../base/context'; import { DisposalBin, listen, vdsEvent } from '../../base/event...
the_stack
import { throws } from 'assert'; import { Template } from '@aws-cdk/assertions'; import * as ec2 from '@aws-cdk/aws-ec2'; import * as ecs from '@aws-cdk/aws-ecs'; import * as iam from '@aws-cdk/aws-iam'; import * as cdk from '@aws-cdk/core'; import * as batch from '../lib'; describe('Batch Compute Environment', () => ...
the_stack
interface ErrorConstructor { /** Create .stack property on a target object */ captureStackTrace(targetObject: object, constructorOpt?: Function): void; /** * Optional override for formatting stack traces * * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces */ prepar...
the_stack
import { Unlocable } from "../utils"; import { Production } from "../production"; import { WorldInterface } from "./worldInterface"; import { Unit } from "../units/unit"; import { GameModel } from "../gameModel"; import { BuyAction, BuyAndUnlockAction, UpAction, UpHire, UpSpecial, Research } from "../units/...
the_stack
import { expect } from "chai"; import * as Proxyquire from "proxyquire"; import { MockGuild } from "./mocks/guild"; import { MockMember } from "./mocks/member"; import { MockDiscordClient } from "./mocks/discordclient"; import { MockMessage } from "./mocks/message"; import { Util } from "../src/util"; import { Appserv...
the_stack
import { OktaAuth } from '@okta/okta-auth-js'; import tokens from '@okta/test.support/tokens'; import util from '@okta/test.support/util'; import oauthUtil from '@okta/test.support/oauthUtil'; import SdkClock from '../../../lib/clock'; import * as features from '../../../lib/features'; import { TokenService } from '../...
the_stack
/////** i1 is interface with properties*/ ////interface i1 { //// /** i1_p1*/ //// i1_p1: number; //// /** i1_f1*/ //// i1_f1(): void; //// /** i1_l1*/ //// i1_l1: () => void; //// i1_nc_p1: number; //// i1_nc_f1(): void; //// i1_nc_l1: () => void; //// p1: number; //// f1()...
the_stack
import { api } from '@replit/protocol'; import { Channel } from './channel'; import { getWebSocketClass, getNextRetryDelay, getConnectionStr } from './util/helpers'; import { EIOCompat } from './util/EIOCompat'; import { FetchConnectionMetadataError, ConnectionState } from './types'; import type { ConnectOptions, G...
the_stack
import { Injectable } from '@angular/core'; import { LocationStrategy } from '@angular/common'; import { DefaultUrlSerializer, UrlSegmentGroup, UrlTree, ActivatedRouteSnapshot, Params } from '@angular/router'; import { Frame } from '@nativescript/core'; import { NativeScriptDebug } from '../trace'; import { isPresent }...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [codebuild](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awscodebuild.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/re...
the_stack
import { EventEmitter } from 'events'; import { InjectParamsOption } from '../decorators/factory/decorator-factory'; import * as symbols from '../symbol'; const BIND = Symbol('Container#bind'); /** * The Container */ export class Container extends EventEmitter { /** * Container binding identifier */ binds...
the_stack
import { IModelApp } from "@itwin/core-frontend"; import { Surface } from "./Surface"; class DragState { private _newX = 0; private _newY = 0; private _prevX = 0; private _prevY = 0; public constructor(window: Window, click: HTMLElement) { const drag = (e: MouseEvent) => { window.invalidateDock();...
the_stack
import { Agile, Collection, CollectionPersistent, ComputedTracker, EnhancedState, Group, GroupObserver, Item, StateObserver, TrackedChangeMethod, } from '../../../../src'; import { LogMock } from '../../../helper/logMock'; describe('Group Tests', () => { interface ItemInterface { id: string; ...
the_stack
import * as _ from 'lodash'; import { CancellationToken, DebugConfiguration, Disposable, FileSystemWatcher, RelativePattern, TestController, TestItem, TestRun, TestRunProfileKind, TestRunRequest, tests, TestTag, Uri, window, workspace, WorkspaceFolder } from 'vscode'; import { instrumentOperation, sendError, sendInfo }...
the_stack
import * as os from 'os'; import * as nls from 'vscode-nls'; import * as vscode from 'vscode'; import { configPrefix } from '../LanguageServer/extension'; nls.config({ messageFormat: nls.MessageFormat.bundle, bundleFormat: nls.BundleFormat.standalone })(); const localize: nls.LocalizeFunc = nls.loadMessageBundle(); e...
the_stack
import type { Atom, WritableAtom } from './atom' import { cancelSuspensePromise, createSuspensePromise, isEqualSuspensePromise, isSuspensePromise, isSuspensePromiseAlreadyCancelled, } from './suspensePromise' import type { SuspensePromise } from './suspensePromise' type ResolveType<T> = T extends Promise<inf...
the_stack
import React from "react"; import { connect, ConnectedProps } from "react-redux"; import clsx from "clsx"; import { BrowserRouter as Router, Switch, Route } from "react-router-dom"; import { makeStyles, Theme, ThemeProvider } from "@material-ui/core/styles"; import AppBar from "@material-ui/core/AppBar"; import Drawer ...
the_stack
import { logger } from "firebase-functions"; import { storage } from "../models/firebase"; import { Collection, Collections, CollectionType, Conflict, Conflicts, ConflictResolutionType, ImageComposite, ImageComposites, ImageLayer, ImageLayers, OrderedImageLayer, RarityValue, Trait, Traits, ...
the_stack
import { ComponentItemConfig, ItemConfig } from '../config/config'; import { ResolvedComponentItemConfig, ResolvedHeaderedItemConfig, ResolvedItemConfig, ResolvedStackItemConfig } from '../config/resolved-config'; import { Header } from '../controls/header'; import { AssertError, UnexpectedNullError, UnexpectedUndefine...
the_stack
import * as d3 from "d3"; import { assert } from "chai"; import * as sinon from "sinon"; import * as Plottable from "../../src"; import * as TestMethods from "../testMethods"; describe("Plots", () => { describe("LinePlot", () => { describe("Basic Usage", () => { let div: d3.Selection<HTMLDivElement, any...
the_stack
import { expect } from "chai"; import { from as rxjsFrom } from "rxjs/internal/observable/from"; import * as sinon from "sinon"; import * as moq from "typemoq"; import { CheckBoxState } from "@itwin/core-react"; import { SelectionMode } from "../../../components-react/common/selection/SelectionModes"; import { RangeSel...
the_stack
import { NoBundleOrRedirectToError, NoMatchingEntrypointError, } from "../../../src/common/errors"; import { htmlWith, test } from "./testUtils"; describe("usecase RespondToEndpointRequest (routing)", () => { /* * NoMatchingEntrypointError */ test("NoMatchingEntrypointError when no matching ...
the_stack
import { fakeAsync, TestBed, tick } from '@angular/core/testing'; import { HttpClientTestingModule } from '@angular/common/http/testing'; import { Post } from 'app/entities/metis/post.model'; import { Course } from 'app/entities/course.model'; import { MockPostService } from '../../helpers/mocks/service/mock-post.servi...
the_stack
import test, { ExecutionContext } from 'ava' import got from 'got' import { keys, random } from 'lodash' import { nanoid } from 'nanoid' import { getConnection, getRepository } from 'typeorm' import io from 'socket.io-client' import app from '../../src' import BlockEntity from '../../src/entities/block' import { BlockP...
the_stack
import { Quaternion } from './quaternion' import { Matrix } from './matrix' const f32 = { min: Number.MIN_VALUE, max: Number.MAX_VALUE } export class Vector4 { /** Returns a vector with values set to their maximum values. */ public static MAX_VALUE: Vector4 = new Vector4(f32.max, f32.max, f32.max, f32.max) ...
the_stack
import type { Pose } from '@oito/armature/src'; import type { TVec3 } from '@oito/type'; import type { BipedRig, IKChain, Link } from '..'; import type { IVerletPointConfig } from './types'; import type P4Cage from './verlet/cages/P4Cage'; import type AxisCage from './verlet/cages/Ax...
the_stack
import { separateDisplayNameAndHOCs } from "./utils/separateDisplayNameAndHOCs"; import { ElementTypeClass, ElementTypeFunction, ElementTypeMemo, ElementTypeForwardRef, ElementTypeProvider, ElementTypeConsumer, ElementTypeHostRoot, } from "../../common/constants"; import type { CoreApi } from "./core"; im...
the_stack
import * as coreHttp from "@azure/core-http"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { StorageClientContext } from "../storageClientContext"; import { PageBlobCreateOptionalParams, PageBlobCreateResponse, PageBlobUploadPagesOptionalParams, PageBl...
the_stack
* Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import fetch from 'node-fetch'; import { Activity } from 'botbuilder'; import { BoolProperty, EnumProperty, StringProperty, UnknownProperty } from '../properties'; import { Response, Headers } from 'node-fetch'; import { ...
the_stack
import { module, test } from 'qunit'; import { click, currentURL, fillIn, settled, visit, waitFor, waitUntil, } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; import Layer1TestWeb3Strategy from '@cardstack/web-client/utils/web3-strategies/test-layer1'; import Layer2TestWeb...
the_stack
import * as React from 'react'; import { styled } from 'gatsby-theme-stitches/src/config'; import { rem } from 'polished'; import type { PropOf } from '@cometjs/react-utils'; import messages from './formField/messages'; type FormFieldVariants = ( | { type: 'text', } | { type: 'longtext', } | { t...
the_stack
import { NamedType, Argument, Field, InlineFragment, Operation, Selection, SelectionSet, Variable, Executor, Client, TypeConditionError, } from "../../src"; export const VERSION = "unversioned"; export const SCHEMA_SHA = "12df668"; export enum bookmarks_constraint { idx_16652_primary = "idx_1...
the_stack
import Dimensions = Utils.Measurements.Dimensions; import DisplayObject = etch.drawing.DisplayObject; import IDisplayContext = etch.drawing.IDisplayContext; import Size = minerva.Size; import {Device} from '../Device'; import {Commands} from './../Commands'; import {IApp} from '../IApp'; import {Recorder} from './../Bl...
the_stack
import { incrementMockedDate } from "@labelflow/dev-utils/mockdate"; import { gql } from "@apollo/client"; import { processImage } from "../../repository/image-processing"; import { client } from "../../apollo-client/schema-client"; import { setupTestsWithLocalDatabase } from "../../../utils/setup-local-db-tests"; set...
the_stack
import React, { Component, ComponentType, MutableRefObject, Ref } from 'react'; import { findNodeHandle, Platform, StyleSheet } from 'react-native'; import WorkletEventHandler from './reanimated2/WorkletEventHandler'; import setAndForwardRef from './setAndForwardRef'; import './reanimated2/layoutReanimation/LayoutAnima...
the_stack
export interface paths { "/": { get: operations["meta/root"]; }; "/app": { get: operations["apps/get-authenticated"]; }; "/app-manifests/{code}/conversions": { post: operations["apps/create-from-manifest"]; }; "/app/hook/config": { get: operations["apps/get-webhook-config-for-app"]; pa...
the_stack
import * as Bluebird from 'bluebird'; import { NextFunction, Response, Router } from 'express'; import * as _ from 'lodash'; import * as deviceState from '../device-state'; import * as apiBinder from '../api-binder'; import * as applicationManager from '../compose/application-manager'; import { CompositionStepAction,...
the_stack
import * as Jimp from 'jimp' import * as path from 'path' import javascriptBarcodeReader from '../src/index' import { combineAllPossible } from '../src/utilities/combineAllPossible' import { getImageDataFromSource } from '../src/utilities/getImageDataFromSource' import { getLines } from '../src/utilities/getLines' impo...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * An isolated set of Cloud Spanner resources on which databases can be * hosted. * * To get more information about Instance, see: * * * [API documentation](https://cloud.google.com/spanner/docs/reference/rest/v1/projects.ins...
the_stack
import * as vscode from "vscode"; import { FountainStructureProperties } from "./extension"; import * as parser from "./afterwriting-parser"; import * as path from "path"; import * as telemetry from "./telemetry"; import * as sceneNumbering from './scenenumbering'; import * as fs from "fs"; //var syllable = require('s...
the_stack
import { type ComputedRef, computed } from 'vue' import { isNil, isString, isSymbol } from 'lodash-es' import { type VKey, callEmit, useControlledProp } from '@idux/cdk/utils' import { type TableLocale } from '@idux/components/i18n' import { type MenuClickOptions, type MenuData } from '@idux/components/menu' import ...
the_stack
import { isNullOrUndefined, KeyboardEventArgs } from '@syncfusion/ej2-base'; import { MarkdownParser } from './../base/markdown-parser'; import * as CONSTANT from './../base/constant'; import { IMarkdownSubCommands, IMDKeyboardEvent, IMDFormats } from './../base/interface'; import { MarkdownSelection } from './markdown...
the_stack
import path from 'path'; import minimatch from 'minimatch'; import isEmpty from 'lodash/isEmpty'; import { getUrlToLocalDirectoryMapper, prependProtocolToBareUrl, } from './helpers'; import Downloader from './downloader'; import HtmlParser from './html-parser'; import type { JamStackApp, JamStackAppParams, } fr...
the_stack
import LRU from 'lru-cache'; import type { RenderResult } from './renderPage'; import type { CompleteTestGroupAllocation, RelevantTestGroupAllocation } from '../../../lib/abTestImpl'; import { Globals } from '../../../lib/vulcan-lib'; import type { Request } from 'express'; import { getCookieFromReq, getPathFromReq } f...
the_stack
import { ErrorCodes } from "../errors"; import { BinaryExpression, BooleanLiteral, MacroTimeFunctionInvocation, ConditionalExpression, Expression, FunctionInvocation, IdentifierNode, NodePosition, OperandType, PartialZ80AssemblyLine, Symbol, UnaryExpression, Z80AssemblyLine, } from "../parser/...
the_stack
import * as nodes from "./nodes" // "-" 45 // "[" 91 // "]" 93 // " " 32 // "/" 47 // "*" 42 // "(" 40 // ")" 41 // "!" 33 // '"' 34 // "'" 39 /** Try to find right bracket from left bracket, return `undefind` if not found. */ export function findRightBracket({ text, start = 0, end = text.length, brackets = [40, ...
the_stack
import { ResourceName, SpecialStatus, TaggedResource, TaggedSequence, } from "farmbot"; import { combineReducers, ReducersMapObject } from "redux"; import { helpReducer as help } from "../help/reducer"; import { designer as farm_designer } from "../farm_designer/reducer"; import { photosReducer as photos } from "../p...
the_stack
/// <reference lib="esnext.asynciterable" /> import { OperationOptions } from "@azure/core-client"; import { SpanStatusCode } from "@azure/core-tracing"; import "@azure/core-paging"; import { PageSettings, PagedAsyncIterableIterator } from "@azure/core-paging"; import { GeneratedClient, RepositoryWriteableProperties ...
the_stack
export interface paths { "/videos/upload": { /** アップロードしたビデオファイルを追加する */ post: { parameters: {}; responses: { /** アップロードしたビデオファイルを追加しました */ 200: unknown; /** 予期しないエラー */ default: { content: { "application/json": components["schemas"]["Error"]; ...
the_stack
import CountPerDayContract from '@DataContracts/Aggregate/CountPerDayContract'; import ArtistContract from '@DataContracts/Artist/ArtistContract'; import CommentContract from '@DataContracts/CommentContract'; import NewSongCheckResultContract from '@DataContracts/NewSongCheckResultContract'; import PagingProperties...
the_stack
import { Quaternion } from './quaternion' import { Matrix } from './matrix' const f32 = { min: Number.MIN_VALUE, max: Number.MAX_VALUE } export class Vector2 { /** Returns a vector with values set to their maximum values. */ public static MAX_VALUE: Vector2 = new Vector2(f32.max, f32.max) /** Returns a vector ...
the_stack
import 'reflect-metadata'; import * as ts from 'typescript'; import { WrappedAst, BooleanCompilerOptions, isCompilerOptionEnabled } from 'tsutils'; import * as path from 'path'; export class ConfigurationError extends Error {} export abstract class GlobalOptions { readonly [key: string]: {} | null | undefined; } ...
the_stack
import type {Fiber} from 'react-reconciler'; import type {ReactWrapper} from 'enzyme'; import React, {createRef} from 'react'; import {mount} from 'enzyme'; import {getChildrenIds, getFibersIndices, getFibersKeys} from '../__shared__'; import {addChild, getFiberFromElementInstance, removeChild} from '../../src'; import...
the_stack
import os from 'os'; import url from 'url'; import fs from 'fs-extra'; import { join } from 'path'; import listen from 'async-listen'; import { createServer } from 'http'; const { exec, fetch, fixture, testFixture, testFixtureStdio, validateResponseHeaders, } = require('./utils.js'); test('[vercel dev] sh...
the_stack
import { Project } from "./core/project"; import * as activeProject from "./activeProject"; let getProject = activeProject.GetProject.ifCurrentOrErrorOut; import { Types } from "../../../socket/socketContract"; import * as types from "../../../common/types"; import * as utils from "../../../common/utils"; let { resol...
the_stack
declare module com { export module twitter { export module sdk { export module android { export module core { export abstract class AuthToken { public static class: java.lang.Class<com.twitter.sdk.android.core.AuthToken>; public createdAt: number; public isExpired(): boolean; publ...
the_stack
import type { Episode, ExternalUrl, RecommendationSeed, SpotifyType, SearchType, Device, Cursor } from "spotify-types"; import type { Track } from "./structures/Track"; import type { User } from "./structures/User"; import type { Playlist } from "./structures/Playlist"; import type { Artist } from './structures/Artist'...
the_stack
import * as parser from '@pgql/parse'; interface RelationClause { RangeVar: { relname: string; }; } interface StringSqlValue { String: { str: string; }; } interface IntegerSqlValue { Integer: { ival: number; }; } interface TypeNameSqlValue { TypeName: { names: SqlValue[]; }; } type ...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Manages a API Management Service API Diagnostics Logs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure ...
the_stack
import rule from '../../src/rules/no-invalid-void-type'; import { RuleTester } from '../RuleTester'; const ruleTester = new RuleTester({ parser: '@typescript-eslint/parser', }); ruleTester.run('allowInGenericTypeArguments: false', rule, { valid: [ { code: 'type Generic<T> = [T];', options: [{ allo...
the_stack
import React, { ReactNode } from 'react'; import { useElementFilter } from './useElementFilter'; import { renderHook } from '@testing-library/react-hooks'; import { attachComponentData } from './componentData'; import { featureFlagsApiRef } from '../apis'; import { ApiProvider, ApiRegistry, LocalStorageFeatureFla...
the_stack
import { execute as defaultExecute, subscribe as defaultSubscribe, validateSchema as defaultValidateSchema, validate as defaultValidate, parse as defaultParse, GraphQLSchema, ExecutionResult, ExecutionArgs, DocumentNode, GraphQLError, specifiedRules as defaultValidationRules, ValidationRule, g...
the_stack
import { Lookup } from "@esfx/iter-lookup"; import * as fn from "../"; import * as users from "./data/users"; import * as nodes from "./data/nodes"; import * as books from "./data/books"; import { Comparable } from '@esfx/equatable'; import { HashSet } from '@esfx/collections-hashset'; import { HashMap } from '@...
the_stack
export default gotalk declare namespace gotalk { type int = number // connection() creates a persistent (keep-alive) connection to a gotalk responder. // If `addr` is not provided, `defaultResponderAddress` is used. // Equivalent to `Sock(handlers, proto).openKeepAlive(addr)` function connection<T>( addr :string |...
the_stack
import { AfterContentInit, ContentChildren, Directive, ElementRef, HostBinding, Input, OnDestroy, QueryList, Renderer2, Output, EventEmitter, HostListener, ChangeDetectorRef, Inject } from '@angular/core'; import { DOCUMENT } from '@angular/common'; import { MDCListFoundation, MDCListAdapter, strings, cssClasses } ...
the_stack
import { mat4, vec4, vec3, vec2 } from '@tlaukkan/tsm'; import { AvVolume, EVolumeType, EVolumeContext, AABB, matMultiplyPoint } from '@aardvarkxr/aardvark-shared'; const createRay = require( 'ray-aabb' ); export interface TransformedVolume extends AvVolume { universeFromVolume: mat4; } function closestPointWithinRa...
the_stack
import { ApolloServer, gql } from "apollo-server-micro"; import { versionManagementEnabled } from "./db"; import dbDriver from "../../src/database/drivers"; import ModuleManager from "../../src/managers/Module"; import VersionManager from "../../src/managers/Version"; import { privateConfig } from "../../src/config";...
the_stack
import Point from '../geometry/Point'; import { CURSOR } from '../../util/Constants'; import Rectangle from '../geometry/Rectangle'; import { contains } from '../../util/mathUtils'; import { setOpacity } from '../../util/styleUtils'; import ElbowEdgeHandler from './ElbowEdgeHandler'; import CellState from '../cell/Cell...
the_stack
import * as parser from "fast-xml-parser"; import * as he from 'he'; import * as cheerio from 'cheerio'; import * as iconv from 'iconv-lite'; import { URL } from "url"; import { isString, isArray, isNumber } from "util"; import { Entry, Summary } from "./content"; import * as crypto from 'crypto'; import { CheerioAPI, ...
the_stack
import { IExecuteFunctions, } from 'n8n-core'; import { IDataObject, INode, INodeExecutionData, INodeType, INodeTypeDescription, NodeOperationError, } from 'n8n-workflow'; import { get, isEqual, isObject, lt, merge, pick, reduce, set, unset, } from 'lodash'; const { NodeVM, } = require('vm2'); expo...
the_stack
import { GeoCoordinates, mercatorProjection, sphereProjection } from "@here/harp-geoutils"; import { MapView, MapViewEventNames, MapViewOptions, MapViewUtils } from "@here/harp-mapview"; import * as TestUtils from "@here/harp-test-utils/lib/WebGLStub"; import * as chai from "chai"; import * as chaiAsPromised from "chai...
the_stack
import { RGBA } from "./types"; export const COLORS = { DARK: { r: 0.03, g: 0.03, b: 0.04, a: 1 }, DARK1: { r: 0.07, g: 0.07, b: 0.08, a: 1 }, DARK2: { r: 0.1, g: 0.1, b: 0.12, a: 1 }, DARK3: { r: 0.14, g: 0.14, b: 0.16, a: 1 }, DARK4: { r: 0.18, g: 0.18, b: 0.2, a: 1 }, DARK5: { r: 0.21, g: 0.21, b: 0.24,...
the_stack
import { System } from '../system' import { IPositionCallback, IPositionEntry, IPositionObserver, } from '../types/global/IPositionObserver' import { Unlisten } from '../types/Unlisten' import callAll from '../util/call/callAll' import { parseTransformXY } from './parseTransformXY' import { animateThrottle } from...
the_stack
import {concat, map, share, switchMap} from 'rxjs/operators'; import {Injectable} from '@angular/core'; import {Observable, AsyncSubject, of} from 'rxjs'; import {Apollo, QueryRef} from 'apollo-angular'; import * as moment from 'moment'; import { GetChatsGQL, GetChatGQL, AddMessageGQL, RemoveChatGQL, RemoveMe...
the_stack
import UndoPlugin from '../../lib/corePlugins/UndoPlugin'; import { IEditor, Keys, PluginEventType, UndoPluginState } from 'roosterjs-editor-types'; import { Position } from 'roosterjs-editor-dom'; describe('UndoPlugin', () => { let plugin: UndoPlugin; let state: UndoPluginState; let editor: IEditor; l...
the_stack
// clang-format off import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; // <if expr="not chromeos_ash"> import {CrActionMenuElement} from 'chrome://settings/settings.js'; // </if> import {MAX_SIGNIN_PROMO_IMPRESSION, Router, SettingsSyncAccountControlElement, StatusAction, SyncBrowse...
the_stack
import { PdfBrush } from './../brushes/pdf-brush'; import { PdfPen } from './../pdf-pen'; import { PdfLayoutResult, PdfLayoutFormat } from './../figures/base/element-layouter'; import { PdfGraphics } from './../pdf-graphics'; import { RectangleF, PointF } from './../../drawing/pdf-drawing'; import { PdfPage } from './....
the_stack
import * as Ro from '@nakedobjects/restful-objects'; import { Dictionary } from 'lodash'; import forEach from 'lodash-es/forEach'; import fromPairs from 'lodash-es/fromPairs'; import keys from 'lodash-es/keys'; import last from 'lodash-es/last'; import map from 'lodash-es/map'; import mapKeys from 'lodash-es/mapKeys';...
the_stack
import { cancelButton } from './widgets' import { label } from './utils' import { NamedNode } from 'rdflib' import { store } from './logic' /** * @ignore */ class ContainerElement extends HTMLElement { asSettings?: boolean } type TabWidgetOptions = { backgroundColor?: string dom?: HTMLDocument items?: Array...
the_stack
import { OAuth2PopupFlow } from './'; interface ExampleTokenPayload { exp: number; foo: string; bar: number; } function createTestStorage() { const _storage: { [key: string]: string | undefined | null } = {}; return { clear: () => { for (const key of Object.keys(_storage)) { delete _storag...
the_stack
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * Display name of operation */ export interface OperationDisplay { /** * The resource provider name: Microsoft.MachineLearningExpe...
the_stack
import { Parser } from "@siteimprove/alfa-parser"; import { Predicate } from "@siteimprove/alfa-predicate"; import { Result, Err } from "@siteimprove/alfa-result"; import { Slice } from "@siteimprove/alfa-slice"; import { Token } from "./token"; const { fromCharCode } = String; const { zeroOrMore } = Parser; /** * ...
the_stack
import {Debugger} from '../common/debugger'; import * as DomUtil from '../common/dom_util'; import {EngineConst} from '../common/engine'; import * as AudioUtil from './audio_util'; import {AuditoryDescription} from './auditory_description'; import {XmlRenderer} from './xml_renderer'; export class LayoutRenderer exten...
the_stack
// @Filename:privacyFunctionParameterDeclFile_externalModule.ts class privateClass { } export class publicClass { } export interface publicInterfaceWithPrivateParmeterTypes { new (param: privateClass): publicClass; // Error (param: privateClass): publicClass; // Error myMethod(param: privateClas...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { DiagramElement } from '../../../src/diagram/core/elements/diagram-element'; import { Container } from '../../../src/diagram/core/containers/container'; import { DiagramModel, NodeModel, NodeConstraints...
the_stack
* @fileoverview A SpriteAtlas is a THREE.js Texture that handles the backing * image data for a collection of Sprites. */ import {TextFitter} from './text'; declare var THREE: any; export interface SpriteImageData { /** * The type of data. E.g. 'image/png' or 'text'. */ type: string; /** * Data cont...
the_stack
import * as diff from 'diff' import { radix64 } from '../performance/radix64' import { VNode, VSNode, SnapshotRecord, RecordData, RecordType } from '@timecat/share' export const isDev = process.env.NODE_ENV === 'development' export const version = '__VERSION__' export function logError(e: Error | string): string { ...
the_stack
import * as log from '../log'; /* TODO: for now, copy-pasted this file from an external source -- so disable tslint temporarily */ /* tslint:disable */ declare namespace OfficeExtension { interface HttpRequestInfo { /** HTTP request method */ method: string; /** Request URL */ url: string; /** R...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/devicesMappers"; import * as Parameters from "../models/parameters"; import { IotHubGatewayServiceAPIsContext } from "../iotHubGatewayServiceAPIsContext"; /** Class representing a Devices. */ export cl...
the_stack
import express from "express"; import {IpFilter, IpDeniedError} from "express-ipfilter"; // must load before node-red const runtime = require("@node-red/runtime"); const installer = require("@node-red/registry/lib/installer"); const Node = require("@node-red/runtime/lib/nodes/Node") import newExec from "./node-re...
the_stack
import { createComponent } from "../test-utils"; import { mockCreateDistributionWithTags, mockUpdateDistribution, mockCreateDistributionWithTagsPromise, mockGetDistributionConfigPromise, mockUpdateDistributionPromise, mockListTagsForResource, mockListTagsForResourcePromise, mockUntagResource, mockTag...
the_stack
import { Store as RelayModernStore, RecordSource, Environment as RelayModernEnvironment } from '../src'; import { Network as RelayNetwork, Observable as RelayObservable, createOperationDescriptor, createReaderSelector } from 'relay-runtime'; import { createPersistedStorage } from './Utils'; const { generateAndCompile }...
the_stack
* @title: Animation * @description: * This sample shows how to load multiple animations and build an animation controller hierarchy. * An animation transition controller is used to blend between two animations. * You can enable drawing of debug information to see the animation bounding box, the skeleton, * and the...
the_stack
import { IPCMessageReader, IPCMessageWriter, createConnection, InitializeResult, Diagnostic, DiagnosticSeverity, Range, CompletionItem, TextDocument, TextDocuments, TextDocumentChangeEvent, TextDocumentPositionParams, DocumentSymbolParams, DocumentFormattingParams, DocumentRangeFormattingPar...
the_stack