text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { applyMixins } from '@nativescript-community/ui-material-core'; import { AndroidActivityBackPressedEventData, Application, Utils, View, fromObject } from '@nativescript/core'; import { BottomSheetOptions, StateBottomSheet, ViewWithBottomSheetBase } from './bottomsheet-common'; export { ViewWithBottomSheetBase ...
the_stack
import { WITHDRAW_STATE_TIMEOUT } from "@connext/apps"; import { AppInstanceJson, CoinTransfer, MinimalTransaction, PublicParams, WithdrawAppAction, WithdrawAppName, WithdrawAppState, SingleAssetTwoPartyCoinTransferInterpreterParamsJson, EventNames, EventPayloads, } from "@connext/types"; import { g...
the_stack
import * as React from 'react'; import {render, fireEvent} from '@testing-library/react'; import {renderHook} from '@testing-library/react-hooks'; import {InformationIcon} from '@twilio-paste/icons/esm/InformationIcon'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore import axe from '../../...
the_stack
import ava, {TestInterface} from 'ava'; import {DialogflowConversation} from '../conv'; import * as ApiV1 from '../api/v1'; import {clone} from '../../../common'; import {Permission, SimpleResponse, Image, List} from '../../actionssdk'; interface AvaContext { conv: DialogflowConversation; } const test = ava as Test...
the_stack
import * as promiseLimit from 'promise-limit'; import config from '../../../config'; import Resolver from '../resolver'; import post from '../../../services/note/create'; import { resolvePerson, updatePerson } from './person'; import { resolveImage } from './image'; import { IRemoteUser, User } from '../../../models/e...
the_stack
import { NgZone } from '@angular/core'; import { createStore, Reducer, Action, AnyAction, Store } from 'redux'; import { Observable } from 'rxjs'; import { combineLatest, filter } from 'rxjs/operators'; import { NgRedux } from './ng-redux'; import { RootStore } from './root-store'; import { select } from '../decorato...
the_stack
import { FlatTheme, SolidLineStyle, StyleSet, Theme } from "@here/harp-datasource-protocol"; import { getTestResourceUrl } from "@here/harp-test-utils"; import { cloneDeep, ContextLogger, getAppBaseUrl, resolveReferenceUri, UriResolver } from "@here/harp-utils"; import { assert } from "chai"; impor...
the_stack
import { Component, OnDestroy, OnInit } from '@angular/core'; import { FormBuilder } from '@angular/forms'; import { Router } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { BehaviorSubject, combineLatest, Observable, Subscription } from 'rxjs'; import { map, switchMap, take } f...
the_stack
import { inject, injectable } from "inversify"; import { TYPES } from "../types"; import { ILogger } from "../../utils/logging"; import { EMPTY_ROOT, IModelFactory } from "../model/smodel-factory"; import { SModelRoot } from "../model/smodel"; import { AnimationFrameSyncer } from "../animations/animation-frame-syncer";...
the_stack
import * as path from 'path'; import * as vscode from 'vscode'; import WebSocket from 'ws'; import TelemetryReporter from './telemetry'; import QuickPickItem = vscode.QuickPickItem; import * as utils from './utils'; import packageJson from "../package.json"; interface IPackageInfo { name: string; version: stri...
the_stack
namespace annie { declare let require: any; import Shape = annie.Shape; import Bitmap = annie.Bitmap; //打包swf用 export let _isReleased = false; export let suffixName = ".swf"; export let classPool: any = {}; //打包swf用 export let _shareSceneList: any = []; //存储加载资源的总对象 export le...
the_stack
import { assert } from 'chai'; import { groupBy } from 'lodash'; import * as moment from 'moment'; import { Article, Category, Comment, CommentScore, CommentScoreRequest, CommentSummaryScore, Decision, MODERATION_ACTION_ACCEPT, MODERATION_ACTION_REJECT, Tag, } from '../../models'; import { compil...
the_stack
import { Endpoint } from "butlerd"; import { Cave, CleanDownloadsEntry, Download, DownloadProgress, Game, GameUpdate, GameUpdateChoice, Profile, InstallLocationSummary, } from "common/butlerd/messages"; import { LogEntry } from "common/logger"; import { TypedModal, TypedModalUpdate } from "common/moda...
the_stack
import * as chai from "chai"; import "url-search-params-polyfill"; import { MindSphereSdk } from "../src"; import { decrypt, loadAuth } from "../src/api/utils"; import { setupDeviceTestStructure, tearDownDeviceTestStructure } from "./test-device-setup-utils"; import { getPasskeyForUnitTest } from "./test-utils"; chai.s...
the_stack
import * as vscode from 'vscode'; interface ExpressionInfo { functionName: string; parameterPosition: number; } interface RelativeExpressionInfo { startPosition: number; parameterPosition: number; } const CLJ_TEXT_DELIMITER = `"`; const CLJ_TEXT_ESCAPE = `\\`; const CLJ_COMMENT_DELIMITER = `;`; const...
the_stack
import {Animation} from './animation'; import {AnimationManager, AnimationResult} from './animationmanager'; import {ModelData} from '../render/program/animatedentityprogram'; import {Vec3} from '../math/vec3'; import {Mat4} from '../math/mat4'; import {Quaternion} from '../math/quaternion'; // Size of primitives con...
the_stack
import { Timezone } from "chronoshift"; import memoizeOne from "memoize-one"; import { $ } from "plywood"; import * as React from "react"; import { CSSTransition } from "react-transition-group"; import { ClientAppSettings } from "../../../common/models/app-settings/app-settings"; import { Clicker } from "../../../commo...
the_stack
import { isFileModuleRef, isPackageModuleRef, parseModuleRef, } from "@rnx-kit/tools-node"; import path from "path"; import ts from "typescript"; import { ExtensionsJavaScript, ExtensionsJSON, ExtensionsTypeScript, } from "./extension"; import { changeModuleResolutionHostToLogFileSystemReads, logModule...
the_stack
import { parse } from 'pathington'; const O = Object; const { create, getOwnPropertySymbols, getPrototypeOf, keys, propertyIsEnumerable } = O; const { isArray } = Array; type ToString = (value: any) => string; const toStringFunction: ToString = Function.prototype.bind.call( Function.prototype.call, Function.pro...
the_stack
import React, {useState, useEffect} from "react"; import {Form, Input, Icon, Select} from "antd"; import styles from "./create-edit-load.module.scss"; import {srcOptions, tgtOptions, fieldSeparatorOptions} from "../../../config/formats.config"; import StepsConfig from "../../../config/steps.config"; import {NewLoadTool...
the_stack
export type Browsers = typeof Browsers; /** * @internal */ export const Browsers = { chrome: { releases: { "1": { date: 1228953600000 }, "2": { date: 1242864000000 }, "3": { date: 1252972800000 }, "4": { date: 1264377600000 }, "5": { date: 1274745600000 }, "6": { date: 12833...
the_stack
import BN from 'bn.js'; import BigNumber from 'bignumber.js'; import { PromiEvent, TransactionReceipt, EventResponse, EventData, Web3ContractContext, } from 'ethereum-abi-types-generator'; export interface CallOptions { from?: string; gasPrice?: string; gas?: number; } export interface SendOptions { ...
the_stack
import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, OnChanges, Output, SimpleChanges, TemplateRef, ViewEncapsulation, } from '@angular/core'; import { FormControl } from '@angular/forms'; import { coerceNumberProperty } from '@terminus/...
the_stack
import {fakeAsync, TestBed, tick} from "@angular/core/testing"; import {HttpClientTestingModule, HttpTestingController} from "@angular/common/http/testing"; import * as Immutable from "immutable"; import {LoggerService} from "../../../../services/utils/logger.service"; import {AutoQueueService} from "../../../../serv...
the_stack
import {default as codegen, FormattedCodeGen} from '@jsoverson/shift-codegen'; import DEBUG from 'debug'; import deepEqual from 'fast-deep-equal'; import {BindingIdentifier, Expression, IdentifierExpression, LiteralStringExpression, Node, Statement} from 'shift-ast'; import {parseScript} from 'shift-parser'; import {De...
the_stack
import * as vscode from 'vscode'; import * as assert from 'assert'; import * as sinon from 'sinon'; import * as path from 'path'; import * as fs from 'fs'; import { afterEach, beforeEach } from 'mocha'; import { codeCovViewService } from '../../../src/services'; import { addErrorToDoc, removeErrorOnDoc, createFor...
the_stack
import * as assert from 'assert'; import { commands, Uri, workspace } from 'vscode'; import { IDisposable } from '../../extension/types'; import * as tmp from 'tmp'; import * as fs from 'fs'; import { Compiler } from '../../extension/kernel/compiler'; import * as recast from 'recast'; import { parse } from 'acorn'; con...
the_stack
import dynamicProto from "@microsoft/dynamicproto-js"; import { ISession, utlCanUseLocalStorage, utlGetLocalStorage, utlSetLocalStorage } from "@microsoft/applicationinsights-common"; import { IDiagnosticLogger, _InternalMessageId, LoggingSeverity, DiagnosticLogger, IAppInsightsCore, ICookieMgr, safeGetCookieMgr, i...
the_stack
import { OutputTemplateConverter } from '@jovotech/output'; import { AlexaOutputTemplateConverterStrategy, CardType, OutputSpeechType } from '../src'; const converter = new OutputTemplateConverter( new AlexaOutputTemplateConverterStrategy({ validation: false, }), ); // Due to AlexaOutputTemplateConverterStrat...
the_stack
import {Class, Equivalent, Initable} from "@swim/util"; import {Affinity, MemberFastenerClass, Animator} from "@swim/component"; import {AnyLength, Length, AnyAngle, Angle, AnyR2Point, R2Point, R2Box} from "@swim/math"; import {AnyFont, Font, AnyColor, Color} from "@swim/style"; import {Look, ThemeAnimator} from "@swim...
the_stack
import * as fs from "fs"; import * as path from "path"; import { schema } from "yaml-cfn"; import yaml from "js-yaml"; interface AwsSamProjectMap { [pname: string]: string; } interface AwsSamPluginOptions { projects: AwsSamProjectMap; outFile: string; vscodeDebug: boolean; } interface IEntryPointMap { [pna...
the_stack
import { Button, Col, Row, Space, Tooltip } from 'antd' import { ThemeContext } from 'contexts/themeContext' import { Split } from 'models/v2/splits' import { PropsWithChildren, useContext, useState } from 'react' import { parseWad } from 'utils/formatNumber' import FormattedAddress from 'components/shared/FormattedAdd...
the_stack
import { Component, DoCheck, EventEmitter, Input, IterableDiffers, OnChanges, Output, SimpleChange } from '@angular/core'; import { BasicList } from './basic-list'; export type compareFunction = (a: any, b: any) => number; var nextId = 0; @Component({ selector: 'dual-list', templateUrl: './dual-list.component.ht...
the_stack
import { fancy } from 'fancy-test' import chai, { expect } from 'chai' import sinonChai from 'sinon-chai' import { useFakeTimers } from 'sinon' import { createQuote, createLightOrder } from '@airswap/utils' import { ADDRESS_ZERO, REQUEST_TIMEOUT } from '@airswap/constants' import { Server } from '..' import { addJS...
the_stack
import * as fs from "fs"; import * as querystring from 'querystring' import * as terminalImage from 'terminal-image' import { Logger } from "log4js"; import { $axios } from "../http"; import { log4js } from "../log"; import * as crypt from '@/util/crypt' const md5 = require('md5-node') export class User {...
the_stack
import urlJoin from 'url-join'; import mapValues from 'lodash/mapValues'; import { assert } from 'common/utils'; import statesByFipsJson from 'common/data/states_by_fips.json'; export type FipsCode = string; export type ZipCode = string; export enum RegionType { NATION = 'nation', COUNTY = 'county', STATE = '...
the_stack
import type * as babel from '@babel/core'; import * as parser from '@babel/parser'; import traverse from '@babel/traverse'; import { RemoteConsole } from 'vscode-languageserver/node'; import * as util from 'util'; const PLACEHOLDER = 'TRIGGER_CHARACTER'; export interface VisitorSelection { start: { line: number, ch...
the_stack
* #%L * %% * Copyright (C) 2019 BMW Car IT GmbH * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
the_stack
import * as assert from 'assert' import * as O from 'fp-ts/Option' import * as RA from 'fp-ts/ReadonlyArray' import * as _ from '../src/Markdown' import { Class, Constant, Documentable, Export, Function, Interface, Method, Module, Property, TypeAlias } from '../src/Module' const content = _.PlainT...
the_stack
import { TypedEmitter } from 'tiny-typed-emitter' import { IpcServerOptions } from '@src/sharding/interfaces/ipc/IpcServerOptions' import { IPC as RawIpc, server as RawIpcServer } from 'node-ipc' import { Collection } from '@discordoo/collection' import { IpcCacheOpCodes, IpcEvents, IpcOpCodes, RAW_IPC_EVENT } from '@s...
the_stack
import * as React from "react"; import { PureComponent, ReactNode, RefObject, CSSProperties } from "react"; import { isMobileDevice, supportPassive } from "./eventHelpers"; import { Placement, TouchPosition } from "./Airr"; import { getProperContent, isTopOrLeftPlacement, isBottomOrRightPlacement, isLef...
the_stack
import * as ts from 'typescript'; import { resolveCachedResult, hasSupportedExtension, mapDefined } from './utils'; import * as path from 'path'; import { ProcessorLoader } from './services/processor-loader'; import { FileKind, CachedFileSystem } from './services/cached-file-system'; import { Configuration, AbstractPro...
the_stack
import * as fs from "fs"; import * as path from "path"; import { Dictionary, DictionaryNoCase, find, SAXStackParser, scopedLogger, XMLNode } from "@hpcc-js/util"; import { ClientTools, locateClientTools } from "./eclcc"; const logger = scopedLogger("clienttools/eclmeta"); export interface IFilePath { scope: ECLS...
the_stack
import { expect } from 'chai'; import { merge as _merge } from 'lodash'; import * as listValidation from '../../../../../src/lib/device/validation/list'; describe('./lib/device/validation/list.ts', () => { it('should validate thumbnail - positive', () => { // GIVEN const input = 'http://someimage.com/foo.jpg...
the_stack
import BN from 'bn.js'; import Web3 from 'web3'; import { TransactionReceipt, TransactionConfig } from 'web3-core'; import { ContractOptions } from 'web3-eth-contract'; import { AbiItem } from 'web3-utils'; import ERC20ABI from '../contracts/abi/erc-20'; import ForeignAMBABI from '../contracts/abi/foreign-amb'; import ...
the_stack
import App from "../app"; import {gql, withFilter} from "apollo-server-express"; import {pubsub} from "../helpers/subscriptionManager"; import GraphQLClient from "../helpers/graphqlClient"; import request from "request"; import fetch from "node-fetch"; import uuid from "uuid"; import {capitalCase} from "change-case"; ...
the_stack
import anyTest, { afterEach as anyAfterEach, beforeEach as anyBeforeEach, } from 'ava'; import type { AfterInterface, BeforeInterface, TestInterface, } from 'ava'; import delay from 'delay'; import { BackendTerminatedError, createPool, InvalidInputError, sql, StatementCancelledError, StatementTime...
the_stack
import { Component, OnInit, OnDestroy, EventEmitter, ViewChild } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { MatOptionSelectionChange } from '@angular/material/core/option'; import { Store, select } from '@ngrx/store'; import { Observable, combineLatest, Subject }...
the_stack
import { Inject, Injectable, Optional } from '@angular/core'; import { Http, Headers, URLSearchParams } from '@angular/http'; import { RequestMethod, RequestOptions, RequestOptionsArgs } from '@angular/http'; import { Response, ResponseContentType } from '@ang...
the_stack
export async function listDurableObjectsNamespaces(accountId: string, apiToken: string): Promise<readonly DurableObjectsNamespace[]> { const url = `${computeAccountBaseUrl(accountId)}/workers/durable_objects/namespaces`; return (await execute('listDurableObjectsNamespaces', 'GET', url, apiToken) as ListDurableO...
the_stack
import set from 'lodash/set'; import cloneDeep from 'lodash/cloneDeep'; import '../../fixtures/window'; import { Project } from '../../../src/project/project'; import { Node } from '../../../src/document/node/node'; import { Designer } from '../../../src/designer/designer'; import formSchema from '../../fixtures/schema...
the_stack
import { version as v } from "../package.json"; const version: string = v; import languageJson from "./tag_language.json"; import extlangJson from "./tag_extlang.json"; import grandfatheredJson from "./tag_grandfathered.json"; // import redundant from "./tag_redundant.json"; import regionJson from "./tag_region.json"; ...
the_stack
import { signer, } from './signer'; import { readArrayPrefix, readIntoArray, teeResponse, } from './streams'; import { arrayBufferToBase64, } from './utils'; import { WasmResponse, workerPromise, WasmRequest, } from './wasmFunctions'; addEventListener('fetch', (event) => { event.respondWith(handleReq...
the_stack
import { Field, Label } from "@components/field"; import { act, waitFor } from "@testing-library/react"; import { DateInput } from "@components/date-input"; import { createRef } from "react"; import { renderWithTheme } from "@jest-utils"; import userEvent from "@testing-library/user-event"; // Using userEvent.type wi...
the_stack
import * as vscode from 'vscode' import * as actions from './actions' import { TextDecoder } from 'util' //#endregion /** * ## Command Arguments * * Most commands provided by ModalEdit take arguments. Since command arguments * are stored in objects by-design, we define them as interfaces. * * ### Search Arguments...
the_stack
import { mXparserConstants } from '../mXparserConstants'; /** * Variadic functions (n parameters)- mXparserConstants tokens definition. * * @author <b>Mariusz Gromada</b><br> * <a href="mailto:mariuszgromada.org@gmail.com">mariuszgromada.org@gmail.com</a><br> * <a href="http://github.com/mariuszgromada/M...
the_stack
import chalk from 'chalk'; import fs from 'fs'; import { MiddlewareConsumer, Module, NestModule, OnModuleInit } from '@nestjs/common'; import mongoose from 'mongoose'; import { GraphQLSchema } from 'graphql'; import { GraphQLModule } from '@nestjs/graphql'; import { SubscriptionsModule } from './graphql/subscriptio...
the_stack
import BN = require('bn.js') import chai = require('chai') import 'mocha' import { globalState } from '../../src/globalstate' import Block from '../../src/models/Block' import ExternalTransaction, { IJSONExternalTransaction, isExternalTransaction, } from '../../src/models/ExternalTransaction' import InternalTransa...
the_stack
module android.text { import Canvas = android.graphics.Canvas; import Paint = android.graphics.Paint; import Rect = android.graphics.Rect; import Path = android.graphics.Path; import LeadingMarginSpan = android.text.style.LeadingMarginSpan; import LeadingMarginSpan2 = android.text.style.LeadingMarginSpan.LeadingMarginS...
the_stack
import { Component } from '@dtinsight/molecule/esm/react'; import type { ITaskResultService } from './taskResultService'; import taskResultService, { createLinkMark, createLog, createTitle } from './taskResultService'; import type { CatalogueDataProps, IOfflineTaskProps, IResponseBodyProps } from '@/interface'; import ...
the_stack
'use strict'; import * as vscode from 'vscode'; import * as fs from 'fs'; import * as path from 'path'; import tinycolor from '@ctrl/tinycolor'; import { chooseScope, showNotification, getInfoProvider } from './extension'; import { getConfig } from './configuration'; import * as theme from './theme'; interface Color...
the_stack
import { assert } from "./errors"; /** * Returns whether this `RegExp` may match on a string that contains a `\n` * character. * * @see https://tc39.es/ecma262/#sec-regexp-regular-expression-objects */ export function canMatchLineFeed(re: RegExp) { // The functions defined below return an integer >= 0 to indica...
the_stack
import * as RoutingProxy from "../../../generated/joynr/system/RoutingProxy"; import BrowserAddress = require("../../../generated/joynr/system/RoutingTypes/BrowserAddress"); import ChannelAddress = require("../../../generated/joynr/system/RoutingTypes/ChannelAddress"); import WebSocketAddress = require("../../../genera...
the_stack
import { SpriteFrame } from "../../cocos/2d/assets/sprite-frame"; import { Sprite } from "../../cocos/2d/components/sprite"; import { assetManager, loader } from "../../cocos/core/asset-manager"; import releaseManager from "../../cocos/core/asset-manager/release-manager"; import { Texture2D } from "../../cocos/core/ass...
the_stack
import { ScoreDisplayConfig } from "~/data/config/overlayConfig"; import ScoreboardConfig from "~/data/scoreboardConfig"; import StateData from "~/data/stateData"; import PlaceholderConversion from "~/PlaceholderConversion"; import IngameScene from "~/scenes/IngameScene"; import TextUtils from "~/util/TextUtils"; impor...
the_stack
export interface FakeUploadProgress { eventListeners: { progress: any[]; load: any[]; abort: any[]; error: any[]; }; addEventListener(event: string, listener: (e: Event) => any): void; removeEventListener(event: string, listener: (e: Event) => any): void; dispatchEve...
the_stack
Date: 2018-05-23 05:58:12 Version: 5.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://10.0.0.201:8080 //GlobalNamespace: DTOs //MakePropertiesOptional: True //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //IncludeTypes:...
the_stack
import { isPlatform } from '@ionic/vue'; import { HTTP } from '@ionic-native/http'; import * as _ from 'lodash'; declare const Buffer: any declare global { interface Window { net: any; } } type Method = "get" | "post" | "put" | "patch" | "head" | "delete" | "options" | "upload" | "download"; type Serializer ...
the_stack
/// <reference types="node" /> import { EventEmitter } from 'events'; declare namespace bearcat { type CallbackFunc = () => void; type ParamClassFunc = () => void; type ConstructorFunction = (...params: any[]) => any; interface BeanPostProcessor { postProcessBeanFactory: CallbackFunc; } ...
the_stack
export const mailchimpSubscribe = 'http://eepurl.com/hb6y4T' const title = 'Risk Tracker Changelog' const shortTitle = 'Changelog' interface Change { date: Date versionNum?: string title?: string spreadsheetURL?: string whatsNew: string instructions?: string } // NOTE: Do not include '/edit' at the end o...
the_stack
import { Component, ViewChildren, QueryList, ElementRef, OnInit } from '@angular/core'; import { Router, NavigationStart, ActivatedRoute } from '@angular/router'; import { DomSanitizer } from '@angular/platform-browser'; import { trigger, transition, style, animate } from '@angular/animations'; import { ServiceFive } ...
the_stack
import fs from 'fs-extra'; import _ from 'lodash'; import path from 'path'; import ts from 'typescript'; import {log} from './logger'; import {fail} from './test-tracker'; import {writeTempFile, matchAndExtract, getTempDir, matchAll} from './utils'; import {CodeSample} from './types'; import {runNode} from './node-ru...
the_stack
import { ref, markRaw, computed, Ref } from 'vue' import { Metamask, MetaMaskProvider, MetaMaskProviderRpcError, } from '../wallets/metamask' import { Walletconnect, WalletConnectProvider } from '../wallets/walletconnect' import { Walletlink, WalletLinkProvider, WalletLinkProviderRpcError, } from '../wallet...
the_stack
import { BiString, Alignment } from ".."; test("new BiString", () => { expect(() => new BiString(42 as any)).toThrow(TypeError); expect(() => new BiString("fourty-two", 42 as any)).toThrow(TypeError); expect(() => new BiString("fourty-two", "42", 42 as any)).toThrow(TypeError); expect(() => new BiStri...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { HybridConnections } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { RelayAPI } from "../relayAPI"; import...
the_stack
import * as path from 'path'; import * as fs from 'mz/fs'; import {expect} from 'chai'; import './support'; import BuildMonitor from '../src/build-monitor'; import {Observable, Subscription, Subject, Observer} from 'rxjs'; import {TestScheduler} from '@kwonoj/rxjs-testscheduler-compat'; import '../src/custom-rx-ope...
the_stack
jest.mock('../../node_modules/twilio', () => { // because we don't do a traditional require of twilio but a "project require" we have to mock this differently. const actualTwilio = jest.requireActual('twilio'); const twilio: any = jest.genMockFromModule('twilio'); twilio['twiml'] = actualTwilio.twiml; retur...
the_stack
export = Plyr; export as namespace Plyr; declare class Plyr { /** * Setup a new instance */ static setup(targets: NodeList | HTMLElement | HTMLElement[] | string, options?: Plyr.Options): Plyr[]; /** * Check for support * @param mediaType * @param provider * @param playsInline Whether the play...
the_stack
import "../../../SpecMain"; import { reaction, runInAction } from "mobx"; import i18next from "i18next"; import Cartesian2 from "terriajs-cesium/Source/Core/Cartesian2"; import IonResource from "terriajs-cesium/Source/Core/IonResource"; import Cesium3DTileFeature from "terriajs-cesium/Source/Scene/Cesium3DTileFeature";...
the_stack
interface MockPointerEvent { target?: HTMLElement; type?: string; button?: number; pointerId?: number; pointerType?: string; clientX?: number; clientY?: number; movementX?: number; movementY?: number; altKey?: boolean; ctrlKey?: boolean; metaKey?: boolean; shiftKey?: ...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type CommerceSelectShippingOptionInput = { clientMutationId?: string | null; id: string; selectedShippingQuoteId: string; }; export type SelectShippingOptionMutationVariables = { input: CommerceSelectSh...
the_stack
import { DynamsoftEnums as Dynamsoft } from "./Dynamsoft.Enum"; import { WebTwainEdit } from "./WebTwain.Edit"; export interface WebTwainAcquire extends WebTwainEdit { /** * Start image acquisition. * @param deviceConfiguration Configuration for the acquisition. * @param successCallback A callback f...
the_stack
import Editor from '../../editor/index' import { arrForEach, forEach } from '../../utils/util' import post from '../../editor/upload/upload-core' import Progress from '../../editor/upload/progress' type ResImgItemType = string | { url: string; alt?: string; href?: string } export type ResType = { errno: number | ...
the_stack
import type { DocumentData, DocumentReference, FieldPath, Settings, WhereFilterOp } from '@google-cloud/firestore'; import type { Logger } from 'pino'; import type { Transaction } from './db/transaction'; import type { FirestoreConnectorModel } from './model'; import type { PickReferenceKeys, PopulatedByKeys } from './...
the_stack
import { validateCall } from "./validate-call" import { logger } from "../logger" import { createArgument } from "../argument" import { createOption, processGlobalOptions } from "../option" import { registerCompletion } from "../autocomplete" import { Completer } from "../autocomplete/types" import { getOptsMapping } f...
the_stack
import {GoogleApis} from './googleapis'; const google = new GoogleApis(); export {google, GoogleApis}; export * as Common from 'googleapis-common'; export * as Auth from 'google-auth-library'; export {abusiveexperiencereport_v1} from './apis/abusiveexperiencereport/v1'; export {acceleratedmobilepageurl_v1} from './api...
the_stack
import { assertNever, assertNodeKind } from "./assert"; import {} from "./error"; import { ErrorCodes, SynthError } from "./error-code"; import { CallExpr, Expr, FunctionExpr, Identifier } from "./expression"; import { isArgument, isArrayLiteralExpr, isBinaryExpr, isBlockStmt, isBooleanLiteralExpr, isBreakS...
the_stack
import { AddonModDataSyncResult } from '@addons/mod/data/services/data-sync'; import { Injectable } from '@angular/core'; import { CoreCourseActivityPrefetchHandlerBase } from '@features/course/classes/activity-prefetch-handler'; import { CoreCourse, CoreCourseAnyModuleData } from '@features/course/services/course'; im...
the_stack
import {Collection, DropEvent, DropOperation, DroppableCollectionProps, DropPosition, DropTarget, KeyboardDelegate, Node} from '@react-types/shared'; import * as DragManager from './DragManager'; import {DroppableCollectionState} from '@react-stately/dnd'; import {getTypes} from './utils'; import {HTMLAttributes, Key, ...
the_stack
import * as _ from "lodash"; import * as clc from "cli-color"; import * as ora from "ora"; import { Client } from "../apiv2"; import { FirebaseError } from "../error"; import { pollOperation } from "../operation-poller"; import { promptOnce } from "../prompt"; import { Question } from "inquirer"; import * as api from ...
the_stack
import { Component, Optional, OnInit, OnDestroy } from '@angular/core'; import { IonContent } from '@ionic/angular'; import { CoreConstants } from '@/core/constants'; import { CoreSite } from '@classes/site'; import { CoreCourseModuleMainActivityComponent } from '@features/course/classes/main-activity-component'; impo...
the_stack
import { UserError } from '../../../src/compiler/UserError'; import { prepareCompiler } from '../../unit/PrepareCompiler'; import { ClickHouseDbRunner } from './ClickHouseDbRunner'; import { debugLog, logSqlAndParams } from '../../unit/TestUtil'; import { ClickHouseQuery } from '../../../src/adapter/ClickHouseQuery'; ...
the_stack
import { Idl } from "@project-serum/anchor" import { IdlField, IdlType } from "@project-serum/anchor/dist/cjs/idl" import camelcase from "camelcase" import { sha256 } from "js-sha256" import { snakeCase } from "snake-case" /** * * Makes the type checker error if this part of code is reachable (all cases aren't handl...
the_stack
import { Body, C, fromBodyLegacy, IncomingResponseMessage, Logger, OutgoingPublishRequest, OutgoingRequestMessage, URI } from "../core"; import { Emitter, EmitterImpl } from "./emitter"; import { PublisherOptions } from "./publisher-options"; import { PublisherPublishOptions } from "./publisher-publish-...
the_stack
interface ICDPOperationClassification { // Domain: Accessibility // Domain: Animation 'animation.animationcanceled': { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth' }; '!animation.animationcanceled.errors': { classification: 'CallstackOrException'; purpose: 'PerformanceAndHealth' }; 'anim...
the_stack
import { expect, test } from '@jest/globals'; import 'reflect-metadata'; import { Plan, SimpleModel, StringCollectionWrapper, SubModel } from './entities'; import { getClassSchema, jsonSerializer, t } from '../index'; import { resolvePropertySchema } from '../src/jit'; test('resolvePropertySchema simple', () => { ...
the_stack
import { AllStarToken, CollectionToken, EmptyToken, GroupToken, ParameterToken, SeparatorToken, StringToken, TableStarToken, Token, createQueryState, } from './tokens'; import { Any, AnyNumber, Int4, Int8, Text, ToPostgresDataType } from './data-types'; import { AnyExpression, DefaultExpression,...
the_stack
import { Invitation, Inviter, SessionDescriptionHandler, SessionState } from "../../../src/api"; import { Logger, OutgoingRequestDelegate, SessionState as SessionDialogState, SignalingState, Timers, URI } from "../../../src/core"; import { EmitterSpy, makeEmitterSpy } from "../../support/api/emitter-spy"; i...
the_stack
import * as path from 'path'; import crypto from 'crypto'; import * as fse from 'fs-extra'; import * as gltf from './schema'; import { isUndefined, isNullOrUndefined } from 'util'; import { ImagePlaceholder } from '../common/image-placeholders'; import * as IMF from '../common/intermediate-format'; const MaxBufferSiz...
the_stack
import { Component, OnInit, OnDestroy, ViewChild, ChangeDetectorRef, ElementRef } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { IonContent } from '@ionic/angular'; import { CoreError } from '@classes/errors/error'; import { CanLeave } from '@guards/can-leave'; import { CoreApp...
the_stack