text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import localVarRequest from 'request'; import http from 'http'; /* tslint:disable:no-unused-locals */ import { SettingsChangeRequest } from '../model/settingsChangeRequest'; import { SettingsResponse } from '../model/settingsResponse'; import { ObjectSerializer, Authentication, VoidAuth, Interceptor } from '../model/...
the_stack
import {ArrayExpression, BinaryExpression, CallExpression, Expression, Identifier, Literal, LogicalExpression, MemberExpression, Program, Statement, UnaryExpression} from "estree"; import {QueryEngineConstants} from "./query-engine-constants"; import {ParseException} from "./parse-exception"; import {ScriptExpression} ...
the_stack
import * as constants from "../constants"; import * as path from "path"; import { isInteractive } from "../common/helpers"; import { ICreateProjectData, IProjectService } from "../definitions/project"; import { IOptions } from "../declarations"; import { ICommand, ICommandParameter } from "../common/definitions/command...
the_stack
import { EventHandler } from './event-handler'; import { isNullOrUndefined, getValue, setValue, isObject, extend } from './util'; const SVG_REG: RegExp = /^svg|^path|^g/; export interface ElementProperties { id?: string; className?: string; innerHTML?: string; styles?: string; attrs?: { [key: stri...
the_stack
// A '.tsx' file enables JSX support in the TypeScript compiler, // for more information see the following page on the TypeScript wiki: // https://github.com/Microsoft/TypeScript/wiki/JSX import { ReactNode } from 'react'; // 重新导出 ReactNode export { ReactNode } from 'react'; /** * 提供 UBB 处理上下文所需要的相关数据。 */ export...
the_stack
import { ServiceClientOptions } from "@azure/ms-rest-js"; import * as msRest from "@azure/ms-rest-js"; /** * An interface representing LanguagesResultTranslationLanguageCode. */ export interface LanguagesResultTranslationLanguageCode { name?: string; nativeName?: string; dir?: string; } /** * An interface re...
the_stack
import * as React from "react"; import styles from "./StaffDirectory.module.scss"; import { IStaffDirectoryProps } from "./IStaffDirectoryProps"; import { IStaffDirectoryState } from "./IStaffDirectoryState"; import { WebPartTitle } from "@pnp/spfx-controls-react"; import { IStackTokens, mergeStyleSets, IBasePick...
the_stack
import { bootstrap } from 'aurelia-bootstrapper'; import { PLATFORM } from 'aurelia-pal'; import { ComponentTester, StageComponent } from 'aurelia-testing'; import { VirtualRepeat } from '../src/virtual-repeat'; import { ITestAppInterface } from './interfaces'; import './setup'; import { AsyncQueue, createAssertionQueu...
the_stack
import { GatewayConfig, GenericProvider, Mutation, MutationEventSignature, MutationEventTypeKind, SignMethod } from '@0xcert/ethereum-generic-provider'; import { ZERO_ADDRESS } from '@0xcert/ethereum-utils'; import { AssetLedgerDeployOrder, AssetSetOperatorOrder, DappValueApproveOrder, DynamicActionsOrder, FixedActions...
the_stack
import {useLayoutEffect, useState} from 'react'; import {Twitter} from 'twit'; import {TweetDeckChirp, TweetDeckColumn, TweetdeckMediaEntity} from '../types/tweetdeckTypes'; import {TweetDeckObject} from '../types/tweetdeckTypes'; import {HandlerOf} from './typeHelpers'; /** * Finds a mustache template whose content...
the_stack
import test from 'ava'; import * as _ from 'lodash'; import * as async from 'async'; import * as td from 'testdouble'; import * as args from './testArgs'; import { cleanUpPromise } from './helper'; import { hgetall, keys, sismember, zscore } from '../ts/typed-redis-helper'; // to make prefixes per-file separate we ...
the_stack
import { Aspect, Aspected, Compiler, Parser, ViewBehaviorFactory, ViewTemplate, } from "@microsoft/fast-element"; import { Attribute, DefaultTreeCommentNode, DefaultTreeElement, DefaultTreeNode, DefaultTreeParentNode, DefaultTreeTextNode, parse, parseFragment, } f...
the_stack
import { errors } from '@tanker/core'; import type { Tanker, b64string } from '@tanker/core'; import { encryptionV4, utils } from '@tanker/crypto'; import { getPublicIdentity } from '@tanker/identity'; import { expect, sinon, BufferingObserver, makeTimeoutPromise, isIE } from '@tanker/test-utils'; import { SlicerStream...
the_stack
* @module WebGL */ import { assert } from "@itwin/core-bentley"; import { AttributeMap } from "../AttributeMap"; import { TextureUnit } from "../RenderFlags"; import { FragmentShaderBuilder, FragmentShaderComponent, ProgramBuilder, ShaderBuilderFlags, VariableType, VertexShaderBuilder, VertexShaderComponent, } from...
the_stack
declare namespace GoogleAppsScript { namespace Gmail { namespace Collection { namespace Users { namespace Messages { interface AttachmentsCollection { // Gets the specified message attachment. get(userId: string, messageId: string, id: string): Gmail.Schema.MessageP...
the_stack
import * as React from 'react'; import { ISPFieldLookupValue, ITerm, IPrincipal } from '../SPEntities'; import { FieldTextRenderer } from '../../controls/fields/fieldTextRenderer/FieldTextRenderer'; import { FieldDateRenderer } from '../../controls/fields/fieldDateRenderer/FieldDateRenderer'; import { ListItemAccessor ...
the_stack
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders, HttpErrorResponse } from '@angular/common/http'; import { BehaviorSubject } from 'rxjs'; import { ActivatedRoute } from '@angular/router'; import { ConnectionService } from 'ng-connection-service'; // firebase // import * as firebase from 'fi...
the_stack
import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; export const Resource: msRest.CompositeMapper = { serializedName: "Resource", type: { name: "...
the_stack
import { IconButton } from "office-ui-fabric-react/lib/Button"; import { initializeIcons } from '@uifabric/icons'; initializeIcons(); import * as React from "react"; import styles from "./Carousel.module.scss"; import { ICarouselProps, ICarouselState, CarouselButtonsDisplay, CarouselButtonsLocation, CarouselIndicatorS...
the_stack
import * as qlog from '@/data/QlogSchema'; import { PacketizationLane, PacketizationRange, LightweightRange, PacketizationPreprocessor, PacketizationDirection } from './PacketizationDiagramModels'; import QlogConnection from '@/data/Connection'; import PacketizationDiagramDataHelper from './PacketizationDiagramDataHelp...
the_stack
import * as t from 'io-ts'; import { RTTI_id } from '../Scalar/RTTI_id'; import { RTTI_Meta, IMeta } from './RTTI_Meta'; import { RTTI_uri } from '../Scalar/RTTI_uri'; import { RTTI_Element, IElement } from './RTTI_Element'; import { RTTI_code } from '../Scalar/RTTI_code'; import { RTTI_Narrative, INarrative } from './...
the_stack
import { TypeAssertion, ValidationContext } from '../types'; import { validate, getType } from '../validator'; import { compile } from '../compiler'; import { serialize, deserialize } from '../serializer'; describe("compiler-2", function() { it("compiler-inter...
the_stack
/* eslint-disable jsx-a11y/click-events-have-key-events */ /* eslint-disable react/button-has-type */ import React, { cloneElement, Component, ReactElement } from 'react'; import * as inputUsageTypes from './types/inputUsageTypes'; import * as dataTypes from './types/dataTypes'; import * as deltaTypes from './types/d...
the_stack
import React, { Fragment, useCallback, FC, useState } from 'react'; import { scaleOrdinal, scaleLinear, scalePoint } from 'd3-scale'; import { range } from 'd3-array'; import { Tooltip } from 'realayers'; import { Placement } from 'rdk'; import { HiveNode } from './HiveNode'; import { HiveAxis } from './HiveAxis'; impo...
the_stack
import type { MarkRequired } from 'ts-essentials'; import type { AnyDevice, SendOptions } from '../client'; import { extractResponse, hasErrCode, HasErrCode, isDefinedAndNotNull, isObjectLike, } from '../utils'; type ScheduleDateStart = { smin: number; stime_opt: number; }; type ScheduleDateEnd = { e...
the_stack
import {assert} from '@esm-bundle/chai'; import {render as litRender} from 'lit-html'; import {prepareTemplate, render} from '../stampino.js'; suite('stampino', () => { let container: HTMLDivElement; setup(() => { container = document.createElement('div'); }); test('No bindings', () => { const templa...
the_stack
import { AfterViewInit, ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core'; import Swal, { SweetAlertOptions, SweetAlertResult, SweetAlertUpdatableParameters } from 'sweetalert2'; import { dismissOnDestroyToken, fireOnInitT...
the_stack
import * as path from "path"; import { Project as ITwin, ProjectsAccessClient, ProjectsSearchableProperty } from "@itwin/projects-client"; import { IModelHost, IModelJsFs, V1CheckpointManager } from "@itwin/core-backend"; import { AccessToken, ChangeSetStatus, GuidString, Logger, OpenMode, PerfLogger } from "@itwin/cor...
the_stack
import * as chai from 'chai' import * as chaiAsPromised from 'chai-as-promised' import 'mocha' import { PermissionRequest, BeaconMessageType, ConnectionContext, LocalStorage, NetworkType, P2PTransport, BEACON_VERSION, Origin, PermissionResponseInput, AppMetadataManager, PermissionManager, Permis...
the_stack
import * as ChildProcess from 'child_process'; import { EventEmitter } from 'events'; import * as Fs from 'fs-extra'; import { resolve } from 'path'; /** Contains general utilities. */ let cwdReturnValue: string; let git; let npm; let node; function init() { // Defaults to process's current working dir cwdRetu...
the_stack
import * as ts from 'typescript'; import {ModulesManifest} from './modules_manifest'; import {getIdentifierText, Rewriter} from './rewriter'; import {isDtsFileName} from './tsickle'; import {toArray} from './util'; export interface Es5ProcessorHost { /** * Takes a context (the current file) and the path of the f...
the_stack
namespace LiteMol.Bootstrap.Entity.Transformer.Molecule { "use strict"; export interface DownloadMoleculeSourceParams { id: string, format: Core.Formats.FormatInfo } export function downloadMoleculeSource(params: { sourceId: string, name: string, description: string, urlTemplate: (id: string) => string, de...
the_stack
import RecordDeletion from './record-deletion' import { recordRequestBinding } from './record-request' import { RecordTransition } from './record-transition' import { SubscriptionRegistry, Handler, DeepstreamConfig, DeepstreamServices, SocketWrapper, EVENT } from '@deepstream/types' import { ListenerRegistry } from '.....
the_stack
* github-sls-rest-api * To generate a JWT token, go to the <a href=\"https://sso.saml.to/auth/jwt.html\" target=\"_blank\">JWT Token Generator</a> * * The version of the OpenAPI document: 1.0.51-0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-g...
the_stack
import { getMetaDataProperty } from '../../test/helper/get-meta-data-property.function' import { ComplexModel, CustomTableNameModel, DifferentModel, IdMapper, INDEX_ACTIVE, INDEX_ACTIVE_CREATED_AT, INDEX_COUNT, ModelWithABunchOfIndexes, ModelWithCustomMapperModel, ModelWithEnum, ModelWithGSI, Ne...
the_stack
import * as astTypes from 'ast-types'; import {NodePath} from 'ast-types'; import * as dom5 from 'dom5'; import * as estree from 'estree'; import {Iterable as IterableX} from 'ix'; import * as jsc from 'jscodeshift'; import {EOL} from 'os'; import * as parse5 from 'parse5'; import {AstNodeWithLanguage} from 'polymer-an...
the_stack
'use strict'; import * as chai from 'chai'; import * as sinonChai from 'sinon-chai'; import * as chaiAsPromised from 'chai-as-promised'; import * as vscode from 'vscode'; import { ExtensionCommands } from '../../ExtensionCommands'; import { FabricRuntimeUtil, FabricNode, FabricEnvironmentRegistryEntry, FabricEnvironmen...
the_stack
module Kiwi.Geom { /** * Contains a collection of STATIC methods for determining intersections between geometric objects. * * May methods contained here store the results of the intersections in a 'IntersectResult' Object, * which is either created for you (by the methods which require it) OR you can pass one to...
the_stack
import 'chrome://resources/cr_elements/md_select_css.m.js'; import 'chrome://resources/polymer/v3_0/iron-icon/iron-icon.js'; import '../settings_shared_css.js'; import '../settings_vars_css.js'; import '../i18n_setup.js'; import {assert, assertNotReached} from 'chrome://resources/js/assert.m.js'; import {I18nMixin} fr...
the_stack
import dispatcher from "../dispatcher"; import { File, Directory, Project } from "../models"; import { Template } from "../components/NewProjectDialog"; import { View, ViewType } from "../components/editor/View"; import appStore from "../stores/AppStore"; import { Service } from "../service"; import Group from "../util...
the_stack
import { browser, element, by, protractor, $} from 'protractor'; import { Login } from '../page-objects/login.po'; import { OverviewCompliance } from '../page-objects/overview.po'; import { TaggingCompliance } from '../page-objects/tagging-compliance.po'; import { PolicyViolations } from '../page-objects/policy-violati...
the_stack
import * as fs from "fs-extra"; import * as junk from "junk"; import * as micromatch from "micromatch"; import * as path from "path"; import { CONFIGURATION_EXCLUDED_EXTENSIONS, CONFIGURATION_EXCLUDED_SETTINGS, CONFIGURATION_KEY, CONFIGURATION_POKA_YOKE_THRESHOLD, CONFIGURATION_SEPARATE_KEYBINDINGS...
the_stack
import React, { useState, createElement } from "react"; import { use100vh } from "react-div-100vh"; import { SwitchTransition } from "react-transition-group"; import type { ISetupStep } from "./types"; import { useMediaQuery, Paper, Stepper, Step, StepButton, MobileStepper, IconButton, Typography, St...
the_stack
* This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; import { EntityId } from "@reduxjs/toolkit"; import { O } from "fp-ts"; import { LogMessage } from "...
the_stack
import { __String, Declaration, Decorator, Expression, Identifier, isArrayTypeNode, isEnumDeclaration, isIdentifier, isImportDeclaration, isImportSpecifier, isIndexSignatureDeclaration, isLiteralTypeNode, isMethodDeclaration, isNamedImports, isParameter, i...
the_stack
import { sleep } from '@celo/base' import { StableToken } from '@celo/contractkit' import { GoldTokenWrapper } from '@celo/contractkit/lib/wrappers/GoldTokenWrapper' import { StableTokenWrapper } from '@celo/contractkit/lib/wrappers/StableTokenWrapper' import { describe, test } from '@jest/globals' import BigNumber fro...
the_stack
import * as maptalks from 'maptalks'; import BaseObject from './BaseObject'; import { ThreeLayer } from './index'; import { getBaseObjectMaterialType, Queue } from './type'; import { generateImage } from './util/CanvasUtil'; /** * */ class BaseVectorTileLayer extends maptalks.TileLayer { _opts: any; _layer: ...
the_stack
import { chain, externalSchematic, noop, Rule, SchematicContext, SchematicsException, Tree, } from '@angular-devkit/schematics'; import { ArrowFunction, CallExpression, Expression, Identifier, Node, SourceFile, ts as tsMorph, } from 'ts-morph'; import { Schema as SpartacusOptions } from '../...
the_stack
import {combine, createStore, Store} from 'effector' const typecheck = '{global}' describe('combine cases (should pass)', () => { test('combine({R,G,B})', () => { const R = createStore(233) const G = createStore(88) const B = createStore(1) const store: Store<{R: number; G: number; B: number}> = com...
the_stack
module Fayde.Controls { export interface IIsEnabledListener { Callback: (newIsEnabled: boolean) => void; Detach(); } export class ControlNode extends FENode { XObject: Control; TemplateRoot: FrameworkElement; IsFocused: boolean = false; LayoutUpdate...
the_stack
import type {Mutable, Proto, ObserverType} from "@swim/util"; import type {FastenerOwner, Fastener} from "@swim/component"; import type {AnyModel, Model} from "./Model"; import {ModelRelationInit, ModelRelationClass, ModelRelation} from "./ModelRelation"; /** @internal */ export type ModelRefType<F extends ModelRef<an...
the_stack
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest'; import * as models from '../models'; /** * @class * Operations * __NOTE__: An instance of this class is automatically created for an * instance of the MLTeamAccountManagementClient. */ export interface Operati...
the_stack
import { InputNode, InputRelation, NodeId, InternalUpGradeNode, InternalUpGradeLink, BaseDAGConfig, } from './types'; import LinkGenerator, { Polyline } from './Link'; import { minBy, find, sumBy, reverseArray, maxBy, getObjectMaxMin } from '../../Utils/utils'; import { sortNodelevel, crossing ...
the_stack
import * as THREE from "three"; import { EdgeCalculatorCoefficients } from "./EdgeCalculatorCoefficients"; import { EdgeCalculatorDirections } from "./EdgeCalculatorDirections"; import { EdgeCalculatorSettings } from "./EdgeCalculatorSettings"; import { NavigationDirection } from "./NavigationDirection"; import { Navi...
the_stack
import { Linter, Rule } from 'template-lint'; import { BindingRule } from '../source/rules/binding'; import { Reflection } from '../source/reflection'; import { AureliaReflection } from '../source/aurelia-reflection'; import { ASTNode } from '../source/ast'; describe("Static-Type Binding Tests", () => { describe("r...
the_stack
import { ethers, network, upgrades, waffle } from "hardhat"; import { Signer, BigNumberish, utils, Wallet } from "ethers"; import chai from "chai"; import { solidity } from "ethereum-waffle"; import "@openzeppelin/test-helpers"; import * as TestHelpers from "../../../../helpers/assert"; import { MockERC20, MockERC2...
the_stack
* 此组件为基础组件,用于数据开发画布节点基类,所有节点详情可基于此类扩展 * 谨慎修改,所有修改需要进行 merge request 评审 */ import Bus from '@/common/js/bus.js'; import { exitFullscreen, fullScreen, isFullScreen } from '@/common/js/util.js'; import { deduplicate } from '@/common/js/util.js'; import { bkButton } from 'bk-magic-vue'; import styled from '@tencent/vue-...
the_stack
import { Inject, Injectable, HttpService } from '@nestjs/common' import { InjectModel } from '@nestjs/sequelize' import format from 'date-fns/format' import { RecyclingRequestModel, RecyclingRequestUnion, RequestErrors, RequestStatus, } from './model/recycling.request.model' import type { Logger } from '@island...
the_stack
import 'chrome://resources/cr_elements/hidden_style_css.m.js'; import 'chrome://resources/cr_elements/shared_style_css.m.js'; import 'chrome://resources/cr_elements/shared_vars_css.m.js'; import 'chrome://resources/polymer/v3_0/iron-flex-layout/iron-flex-layout-classes.js'; import '../appearance_page/appearance_page.js...
the_stack
import * as React from "react"; import { PBRMaterial } from "babylonjs"; import { Inspector, IObjectInspectorProps } from "../../components/inspector"; import { InspectorList } from "../../gui/inspector/fields/list"; import { InspectorColor } from "../../gui/inspector/fields/color"; import { InspectorNumber } from "...
the_stack
import React, { KeyboardEvent } from 'react' import { DEFAULT_EXTERNAL_DATE_FORMAT, INTERNAL_DATE_FORMAT } from './constants' /** * This file contains the USWDS DatePicker date manipulation functions converted to TypeScript */ /** * Keep date within month. Month would only be over by 1 to 3 days * * @param {Dat...
the_stack
declare const WhereSymbol: unique symbol; declare const UpdateDataSymbol: unique symbol; interface ReadOnlyAttribute { readonly readOnly: true; } interface RequiredAttribute { readonly required: true; } interface HiddenAttribute { readonly hidden: true; } interface DefaultedAttribute { readonly defa...
the_stack
//let RayTrace = new BenchmarkSuite('RayTrace', 739989, [ // new Benchmark('RayTrace', renderScene) //]); // Variable used to hold a number that can be used to verify that // the scene was ray traced correctly. //TODO: move this stuff to prelude? /*@ qualif HasP (x: string, y: A): hasProperty(x, y) */ /*@ qualif Enu...
the_stack
import type {Mutable, Class, Initable, AnyTiming} from "@swim/util"; import {Affinity, MemberFastenerClass, Property, Animator} from "@swim/component"; import {AnyLength, Length, R2Point, R2Box} from "@swim/math"; import {AnyFont, Font, AnyColor, Color} from "@swim/style"; import {ThemeAnimator} from "@swim/theme"; imp...
the_stack
import "jquery"; import { Config, ImageIconOptions, SvgIconOptions, Identifiable, SvgIconSetOptions, SvgCumulativeIconSetOptions, CssIconSetOptions, ImageIcon, DynamicUrlDeclaration, SvgIconSet, SvgCumulativeIconSet, CssIconSet } from "webicon"; /** * Provides tests for...
the_stack
import * as React from 'react'; import * as Common from '../index'; import * as Styled from './styled'; const RestoreScrollOnMount = Common.createRestoreScrollOnMount(); export const createMoveExamples = (options: { useDistinctEnd: boolean; namePrefix: string }) => ( Motion: React.ComponentType<{ name: string; in?:...
the_stack
module android.widget { import ColorStateList = android.content.res.ColorStateList; import Canvas = android.graphics.Canvas; import Color = android.graphics.Color; import Paint = android.graphics.Paint; import Align = android.graphics.Paint.Align; import Rect = android.graphics.Rect; import ...
the_stack
import { IdentityTypes, RequestLogicTypes, SignatureTypes } from '@requestnetwork/types'; import Utils from '@requestnetwork/utils'; import CancelAction from '../../../src/actions/cancel'; import Version from '../../../src/version'; const CURRENT_VERSION = Version.currentVersion; import * as TestData from '../utils/t...
the_stack
import * as React from 'react'; import * as ReactDOM from "react-dom"; import JqxButton from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxbuttons'; import JqxInput from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxinput'; import JqxTreeGrid, { jqx } from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxtreegrid'; // import JqxT...
the_stack
import React, { useRef, Key } from "react" import cn from "classnames" import { useListBox, useListBoxSection, useOption } from "@react-aria/listbox" import { Node } from "@react-types/shared" import { SelectState } from "@react-stately/select" import { ComboBoxState } from "@react-stately/combobox" import { FocusScop...
the_stack
import * as testUtils from "./helper/testUtils"; import { buyMarket, sellMarket, TOKEN_CODES } from "./helper/testUtils"; import { DarknodeRegistryContract } from "./bindings/darknode_registry"; import { OrderbookContract } from "./bindings/orderbook"; import { RenExBalancesContract } from "./bindings/ren_ex_balances...
the_stack
/* * Copyright (c) 2016 - now David Sehnal, licensed under Apache 2.0, See LICENSE file for more info. */ namespace LiteMol.Visualization.Surface { "use strict"; import Data = Core.Geometry.Surface import ChunkedArray = Core.Utils.ChunkedArray interface Context { data: Data, comput...
the_stack
import { colord, random, getFormat, Colord, AnyColor } from "../src/"; import { fixtures, lime, saturationLevels } from "./fixtures"; it("Converts between HEX, RGB, HSL and HSV color models properly", () => { for (const fixture of fixtures) { expect(colord(fixture.rgb).toHex()).toBe(fixture.hex); expect(colo...
the_stack
import * as cache from "@actions/cache"; import * as core from "@actions/core"; import { Events, Inputs, RefKey } from "../src/constants"; import run from "../src/restore"; import * as actionUtils from "../src/utils/actionUtils"; import * as testUtils from "../src/utils/testUtils"; jest.mock("../src/utils/actionUtils...
the_stack
namespace ts.tscWatch { describe("unittests:: tsc-watch:: watchAPI:: tsc-watch with custom module resolution", () => { const configFileJson: any = { compilerOptions: { module: "commonjs", resolveJsonModule: true }, files: ["index.ts"] }; const mainFile: File = {...
the_stack
import eris, { Emoji, PossiblyUncachedMessage } from "eris"; import { createEmptyNewSession, movePlayersToSilenceChannel, movePlayersToTalkingChannel } from "./actions"; import { BOT_INVITE_LINK, COLOR_EMOTE_IDS, GROUPING_TOGGLE_EMOJI, LEAVE_EMOJI, LobbyRegion, SessionState, } from "./constants"...
the_stack
import {PolymerElement, html} from '@polymer/polymer'; import {computed, customElement, observe, property} from '@polymer/decorators'; import {Canceller} from '../../../components/tf_backend/canceller'; import {RequestManager} from '../../../components/tf_backend/requestManager'; import {getRouter} from '../../../comp...
the_stack
import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, HostListener, Input, Renderer2, ViewChild } from '@angular/core'; import { IgxListPanState, IListChild, IgxListBaseDirective } from './list.common'; import { HammerGesturesManager } from '../core/touch'; ...
the_stack
import { KubernetesObject } from 'kpt-functions'; import * as apisMetaV1 from './io.k8s.apimachinery.pkg.apis.meta.v1'; // MutatingWebhook describes an admission webhook and the resources and operations it applies to. export class MutatingWebhook { // AdmissionReviewVersions is an ordered list of preferred `Admissio...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { AppServiceCertificateOrder, AppServiceCertificateOrdersListOptionalParams, AppServiceCertificateOrdersListByResourceGroupOptionalParams, AppServiceCertificateResource, Ap...
the_stack
import { module, test } from 'qunit'; import { click, visit, findAll } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; //@ts-ignore import { setupAnimationTest, animationsSettled } from 'ember-animated/test-support'; //@ts-ignore import { clickTrigger } from 'ember-basic-dropdown/test-su...
the_stack
import * as Leaflet from 'leaflet'; import * as React from 'react'; // All events need to be lowercase so they don't collide with React.DOMAttributes<T> // which already declares things with some of the same names export type Children = React.ReactNode | React.ReactNode[]; export interface MapEvents { onclick?(e...
the_stack
/*global TurbulenzBridge*/ /*global TurbulenzServices*/ // // API // class LeaderboardManager { /* tslint:disable:no-unused-variable */ static version = 1; /* tslint:enable:no-unused-variable */ getTypes = { top: 'top', near: 'near', above: 'above', below: 'below' }...
the_stack
import { Data } from '../data'; import { Type } from '../enum'; import { Visitor } from '../visitor'; import { VectorType } from '../interfaces'; import { instance as iteratorVisitor } from './iterator'; import { DataType, Dictionary, Bool, Null, Utf8, Binary, Decimal, FixedSizeBinary, List, FixedSizeList, Map_...
the_stack
import Logger from '../logger/Logger'; import AsyncScheduler from '../scheduler/AsyncScheduler'; import SimulcastLayers from '../simulcastlayers/SimulcastLayers'; import SimulcastTransceiverController from '../transceivercontroller/SimulcastTransceiverController'; import { Maybe } from '../utils/Types'; import DefaultV...
the_stack
import { Middleware, AnyMiddlewareArgs, SlackActionMiddlewareArgs, SlackCommandMiddlewareArgs, SlackEventMiddlewareArgs, SlackOptionsMiddlewareArgs, SlackShortcutMiddlewareArgs, SlackViewMiddlewareArgs, SlackEvent, SlackAction, SlackShortcut, SlashCommand, SlackOptions, BlockSuggestion, In...
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'; interface Blob {} declare class ECR extends Ser...
the_stack
import { alert } from 'store/alert'; import * as rosterOperations from 'store/roster/operations'; import { onPost, onPut, onDelete } from 'store/rest/RestTestUtils'; import { Shift } from 'domain/Shift'; import moment from 'moment'; import { serializeLocalDateTime } from 'store/rest/DataSerialization'; import { HardMed...
the_stack
import * as React from 'react'; import type { LatLng } from 'leaflet'; import { MapContainer, Marker, TileLayer, useMapEvents } from 'react-leaflet'; import classnames from 'classnames'; import axios from 'axios'; import produce from 'immer'; import type { LatLngTuple, Venue, VenueLocation } from 'types/venues'; impor...
the_stack
import { mat2, mat4, vec3, vec4 } from 'gl-matrix'; import Point, { PointLike } from '../geo/point'; import { clamp, interpolate, wrap } from '../util'; import Aabb from '../utils/Aabb'; import Frustum from '../utils/primitives'; import EdgeInsets, { IPaddingOptions } from './edge_insets'; import LngLat from './lng_lat...
the_stack
import { extend } from '@syncfusion/ej2-base'; import { DataManager, Query, Deferred, UrlAdaptor } from '@syncfusion/ej2-data'; import { Kanban } from './kanban'; import { ActionEventArgs, SaveChanges, DataStateChangeEventArgs, DataSourceChangedEventArgs, PendingState } from './interface'; import { ReturnType } from '....
the_stack
import { expect } from 'chai'; import { Observable, of } from 'rxjs'; import { switchMapTo, mergeMap, take } from 'rxjs/operators'; import { TestScheduler } from 'rxjs/testing'; import { observableMatcher } from '../helpers/observableMatcher'; /** @test {switchMapTo} */ describe('switchMapTo', () => { let testSchedu...
the_stack
import { StyleSheet, css } from 'aphrodite'; import debounce from 'lodash/debounce'; import isEqual from 'lodash/isEqual'; import * as React from 'react'; import { SnackMissingDependencies } from 'snack-sdk'; import { SnackCodeFile, SnackFile, SnackFiles, SnackDependencies, SnackDependency, Annotation, A...
the_stack
import { fakeAsync, TestBed, tick } from '@angular/core/testing'; import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { Course } from 'app/entities/course.model'; import { ArtemisTestModule } from '../../../test.module'; import { ExamManagementService } from 'app/exam/m...
the_stack
import pDefer from "p-defer"; import should from "should"; import sinon from "sinon"; import { stderr, stdout } from "stdout-stderr"; import { PassThrough } from "stream"; import { ReadableStreamBuffer, WritableStreamBuffer } from "stream-buffers"; import { Message, MessageStreamClient, MessageStreamer, ...
the_stack
import * as ts from "typescript"; import * as util from "util"; /** * Error thrown during code generation. Has a node attach allowing to identify the source of the error. * The error can either be the use of an unsupported language feature, an assertion error or any uncatched compiler error. */ export interface Cod...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { class SimilarityRuleApi { /** * DynamicsCrm.DevKit SimilarityRuleApi * @param entity The entity object */ constructor(entity?: any); /** * Get the value of alias * @param alias the alias value * @param isMultiOptionSet tru...
the_stack
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions, } from '@ngx-grpc/common'; import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf'; import * as googleProtobuf000 from '@ngx-grpc/well-known-types'; /** * Message implementation for echo.EchoRequest */ export class EchoRequest imple...
the_stack
declare module 'gijgo' { export = Types; } declare module Types { //Grid interface GridPager { limit?: number; sizes?: Array<number>; leftControls?: Array<any>; rightControls?: Array<any>; } interface GridColumn { align?: string; cssClass?: string; ...
the_stack
import * as Common from '../../core/common/common.js'; import * as Host from '../../core/host/host.js'; import * as i18n from '../../core/i18n/i18n.js'; import * as Platform from '../../core/platform/platform.js'; import * as SDK from '../../core/sdk/sdk.js'; import * as UI from '../../ui/legacy/legacy.js'; import {An...
the_stack