text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { TranslateService } from '@ngx-translate/core'; import { Observable, Subject } from 'rxjs/Rx'; import { SimpleChanges, OnDestroy } from '@angular/core/src/metadata/lifecycle_hooks'; import { DeploymentData, Deployment } from '../../Models/deployment-data'; import { Component, Input, OnChanges } from '@angul...
the_stack
import { debugLogger } from './logger'; import { toHumanTime } from './dates'; import { isRetryableError, TSError, parseError, isFatalError } from './errors'; const logger = debugLogger('utils:promises'); /** promisified setTimeout */ export function pDelay<T = undefined>(delay = 0, arg?: T): Promise<...
the_stack
import { CfnResource, IConstruct } from '@aws-cdk/core'; import { NagPack, NagMessageLevel, NagPackProps } from '../nag-pack'; import { APIGWCacheEnabledAndEncrypted, APIGWExecutionLoggingEnabled, } from '../rules/apigw'; import { AutoScalingGroupELBHealthCheckRequired } from '../rules/autoscaling'; import { Clou...
the_stack
import { isAbsolute, join } from 'path'; import * as vscode from 'vscode'; import { Telemetry, APPMAP_OPEN, APPMAP_UPLOAD } from './telemetry'; import { getNonce, getRecords, workspaceFolderForDocument } from './util'; import { version } from '../package.json'; import AppMapProperties from './appmapProperties'; import ...
the_stack
import supertest from "supertest"; import { should } from "chai"; import { expect } from "chai"; import * as express from "../src/functions/express"; import * as test_helper from "./test_helper"; import * as test_db_helper from "./test_db_helper"; should(); const adminDB = test_db_helper.adminDB(); express.updateDb...
the_stack
export namespace Contacts { // Default Application export interface Application {} // Class /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ ...
the_stack
import EC2, { DescribeRegionsRequest } from 'aws-sdk/clients/ec2'; import S3, { CreateBucketRequest, PutBucketEncryptionRequest, PutBucketPolicyRequest } from 'aws-sdk/clients/s3'; import SecretsManager from 'aws-sdk/clients/secretsmanager'; import axios, { AxiosRequestConfig, AxiosResponse } from 'axios'; import { cre...
the_stack
import tc from '@spaceavocado/type-check'; import pathToRegexp from 'path-to-regexp'; import createHistory, { HISTORY_MODE, HISTORY_ACTION, HASH_TYPE, } from './history'; import { Location, RawLocation, createLocation, } from './location'; import { HistoryLocation, joinPath, fullURL, ...
the_stack
import Heap from 'qheap' import { Capability, FeeMarketEIP1559Transaction, Transaction, TypedTransaction, } from '@ethereumjs/tx' import { Address, BN } from 'ethereumjs-util' import { Config } from '../config' import { Peer } from '../net/peer' import { EthProtocolMethods } from '../net/protocol' import type {...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { DiagramElement } from '../../../src/diagram/core/elements/diagram-element'; import { ConnectorModel } from '../../../src/diagram/objects/connector-model'; import {profile , inMB, getMemoryProfile} fro...
the_stack
* @packageDocumentation * @module Voice * @publicapi * @internal */ /** * This is a generated file. Any modifications here will be overwritten. See scripts/errors.js. */ import TwilioError from './twilioError'; export { TwilioError }; // TypeScript doesn't allow extending Error so we need to run constructor log...
the_stack
import { AwsInstrumentation, AwsSdkRequestHookInformation, AwsSdkResponseHookInformation, } from '../src'; import { getTestSpans, registerInstrumentationTesting, } from '@opentelemetry/contrib-test-utils'; const instrumentation = registerInstrumentationTesting( new AwsInstrumentation() ); import * as AWS fr...
the_stack
import React, { FocusEvent, useCallback, useRef, useState } from 'react'; import { useSelect, useMultipleSelection, A11yRemovalMessage, A11yStatusMessageOptions, UseMultipleSelectionStateChange, UseMultipleSelectionStateChangeOptions, UseMultipleSelectionState, } from 'downshift'; import isEqual from 'lod...
the_stack
import * as kiwi from '@lume/kiwi'; import Attribute from './Attribute.js'; import Relation from './Relation.js'; import SubView from './SubView.js'; const defaultPriorityStrength = kiwi.Strength.create(0, 1000, 1000); /** * AutoLayoutJS API reference. * * ### Index * * |Entity|Type|Description| * |---|---|---|...
the_stack
import { Store } from 'storage/store'; import { MultiMap } from 'util/multimap'; import { Hash } from '../model/Hashing'; import { BFSHistoryWalk } from './BFSHistoryWalk'; import { FullHistoryWalk } from './FullHistoryWalk'; import { OpHeader } from './OpHeader'; // A CasualHistoryFragment is built from a (sub)set o...
the_stack
import { Http, Response } from '@angular/http'; import { esIndex } from './consts'; import {Injectable, Inject} from "@angular/core"; import * as firebase from 'firebase'; import {} from 'firebase'; import { Observable } from "rxjs/Observable"; import { FormGroup } from '@angular/forms'; import { Subject } from 'rxjs/S...
the_stack
// Myna is a parsing library: https://github.com/cdiggins/myna-parser import { Myna as m } from "./node_modules/myna-parser/myna"; // A type-inference library: https://github.com/cdiggins/type-inference import { TypeInference as ti } from "./node_modules/type-inference/type_inference"; // This is a full rewrite of t...
the_stack
import { ChildProcess, spawn } from 'child_process'; import { randomInt } from 'crypto'; import appRoot from 'app-root-path'; import axios from 'axios'; import debug from 'debug'; import { Multiaddr, multiaddr } from 'multiaddr'; import PeerId from 'peer-id'; import { hexToBuf } from '../lib/utils'; import { DefaultP...
the_stack
import {async, ComponentFixture, TestBed} from '@angular/core/testing'; import {ForceSvgComponent} from './forcesvg.component'; import { FnService, IconService, LionService, LogService, SvgUtilService, UrlFnService, WebSocketService } from 'org_onosproject_onos/web/gui2-fw-lib/public_api'; import {...
the_stack
import { Map } from 'immutable' import { connect } from 'react-redux' import { getTranslate } from 'react-localize-redux' import { withRouter } from 'react-router-dom' import { withStyles } from '@material-ui/core/styles' import Button from '@material-ui/core/Button' import Checkbox from '@material-ui/core/Checkbox' im...
the_stack
// clang-format off import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js'; import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; import {CookiePrimarySetting, PrivacyReviewHistorySyncFragmentElement, PrivacyReviewStep, PrivacyReviewWelcomeFragmentElement, SafeBrowsingSettin...
the_stack
import {getInstance, MarginsType, NativeInitialSettings, NativeLayerImpl, PluginProxyImpl, PrintPreviewAppElement, ScalingType, SerializedSettings, Setting, SettingsMixinInterface} from 'chrome://print/print_preview.js'; import {assert} from 'chrome://resources/js/assert.m.js'; import {assertEquals} from 'chrome://webu...
the_stack
import { Dispatch } from 'redux'; import isEqual from 'lodash/isEqual'; import * as actionCreators from '../src/redux/actionCreators'; import { EnqueuedAction, NetworkState } from '../src/types'; import createReducer, { initialState, networkSelector, } from '../src/redux/createReducer'; import getSimilarActionInQue...
the_stack
import * as fs from "fs"; import jBinary = require("jbinary"); // #region as (() => { const title = '"as"'; const binary1 = new jBinary([0x05, 0x03, 0x7f, 0x1e]); const binary2 = binary1.as({ "jBinary.all": "uint8" }); const data2 = binary2.readAll(); if (data2 === 5) { console.log(`[OK.] $...
the_stack
import React from "react"; import { cleanup, render, screen } from "@testing-library/react"; import "@testing-library/jest-dom"; import { Table } from "./Table"; import { ClassNames } from "@emotion/core"; import { matchers } from "jest-emotion"; import { colors } from "../colors"; // Add the custom matchers provided ...
the_stack
import { EnumShape, ShapeGuards, ShapeVisitor, TypeShape, UnionShape, Value } from '@punchcard/shape'; import { ArrayShape, MapShape, SetShape } from '@punchcard/shape/lib/collection'; import { AnyShape, BinaryShape, bool, BoolShape, NothingShape, number, NumberShape, string, StringShape, timestamp, TimestampShape } fr...
the_stack
import { html } from 'lit'; export default { title: 'Stories/Table', parameters: { options: { showPanel: true }, // a11y: { disable: true }, }, }; // const tableOptions = { // default: '', // compact: 'compact', // vertical: 'vertical', // }; // const alignmentOptions = { // 'left (default)': '...
the_stack
export class EDTAA3 { protected _useDualChannel: boolean = false; // 目前Distance Texture是8bit的,所以maxDist最大是8(4bit表示16,内外平分) public RenderSDF(texture: cc.RenderTexture, maxDist: number = 8): { texture: cc.RenderTexture, alpha: Uint8ClampedArray } { this._useDualChannel = (maxDist > 8); ...
the_stack
import "reflect-metadata"; /* ------------------------------------------------------------------------------- */ /* --------------------------------- TYPES --------------------------------------- */ /* ------------------------------------------------------------------------------- */ type Class<T> = new (...args: any...
the_stack
interface header { name: string; value: string } interface RequestHookResult { request: Request; isBreak: boolean } interface ResponseHookResult { response: Response; isBreak: boolean } interface requestHook { (request: Request): RequestHookResult; } interface responseHook { (respons...
the_stack
import { Cookies } from './cookies'; /* eslint-disable max-statements */ describe('Cookies mocked environment', () => { let cookiesValue = ''; const cookieGetMock = jest.fn().mockImplementation(() => { return cookiesValue; }); const cookieSetMock = jest.fn().mockImplementation((nextCookiesValue) => { c...
the_stack
import { objectiveId, Objective, OpenChannel, CloseChannel, SharedObjective, SubmitChallenge, DefundChannel, unreachable, } from '@statechannels/wallet-core'; import {Model, TransactionOrKnex} from 'objection'; import _ from 'lodash'; import {WaitingFor} from '../objectives/objective-manager'; functio...
the_stack
import { deployments, ethers, getNamedAccounts, getUnnamedAccounts, } from 'hardhat'; import {BigNumber} from 'ethers'; import {expect} from '../chai-setup'; import MerkleTree from '../../lib/merkleTree'; import {createClaimMerkleTree} from '../../data/giveaways/multi_giveaway_1/getClaims'; import helpers from ...
the_stack
import * as path from 'path'; import * as fs from 'fs-extra'; import * as Promise from 'bluebird'; import * as _ from 'lodash'; import * as debug from 'debug'; import { memoryFile } from '../../../help'; import RasterFactory from './factories/raster'; import { dev } from '../../utils'; import { watchImagesPath } from '...
the_stack
import React from "react"; import App from "next/app"; import Head from "next/head"; import { Global, css } from "@emotion/core"; import { View } from "react-native"; import RView, { MediaRule } from "emotion-native-media-query"; import { STRINGS, BREAKPOINTS, COLORS, STANFORD_COLORS, FONTS, FOCUS_STATES, ...
the_stack
// Keyboard is in several identical (mirrored) banks. const BANK_SIZE = 0x100; const BANK_COUNT = 4; const BEGIN_ADDR = 0x3800; const END_ADDR = BEGIN_ADDR + BANK_SIZE*BANK_COUNT; const KEY_DELAY_CLOCK_CYCLES = 50000; // Whether to force a Shift key, and how. enum ShiftState { NEUTRAL, FORCE_DOWN, FORCE_UP, } // ...
the_stack
import { quickcheck } from './test' import { token } from './token' import * as scanner from './scanner' import { sourceScanner, assertGotTok, } from './scanner_test' function numberBaseForToken(t :token) :int { return ( t == token.INT_HEX ? 16 : t == token.INT_OCT ? 8 : t == token.INT_BIN ? 2 : ...
the_stack
import * as types from './types'; import * as ts from 'typescript'; export interface ParsedData<T> { /** only if valid */ data?: T; /** only if error */ error?: ParseError; } /** * Remove the comments from a json like text. * Comments can be single line comments (starting with # or //) or multil...
the_stack
// @ts-ignore: babel-core package missing types. import * as babel from "@babel/core"; import * as swc from "@swc/core"; import * as esbuild from "esbuild"; import {fs} from "mz"; import {exists} from "mz/fs"; import * as TypeScript from "typescript"; import run from "../script/run"; import * as sucrase from "../src/i...
the_stack
import {Number2, Number3, Number4} from '../../types/GlobalTypes'; import {Vector2} from 'three/src/math/Vector2'; import {Vector3} from 'three/src/math/Vector3'; import {Vector4} from 'three/src/math/Vector4'; import {Quaternion} from 'three/src/math/Quaternion'; import {Object3D} from 'three/src/core/Object3D'; impor...
the_stack
import * as utils from './utils/utils'; import {UnitDomainPeriodGenerator} from './unit-domain-period-generator'; import { ChartConfig, ChartSettings, DataSources, UnitGuide, Expression, GPLSpec, ScaleConfig, ScaleGuide, Unit } from './definitions'; export class SpecConverter { ...
the_stack
import styles from './LocalCustomFormatter.module.scss'; /* tslint:disable */ export const LocalCustomFormatter = (e, t, r, n, i, a, o) => { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var s = (b = {}, b["toLocaleString()"] = !0, b["toLocaleDateString()"] = !0, ...
the_stack
import { Base } from "../class/Base.js" import { ClassUnion, Mixin } from "../class/Mixin.js" import { required, validateRequiredProperties } from "../class/RequiredProperty.js" import { ChainedIterator, CI, concatIterable, map, uniqueOnly } from "../collection/Iterator.js" import { DEBUG } from "../environment/Debug.j...
the_stack
'use strict'; import TypeScriptProject = require('../ts-worker/project'); import TypeScriptProjectConfig = require('../commons/projectConfig'); import FileSystemMock = require('./fileSystemMock'); import WorkingSetMock = require('./workingSetMock'); import utils = require('../commons/typeScriptUtils'); describe('Typ...
the_stack
import Page = require('../../../../base/Page'); import Response = require('../../../../http/response'); import V1 = require('../../V1'); import { SerializableClass } from '../../../../interfaces'; /** * Initialize the NetworkAccessProfileNetworkList * * PLEASE NOTE that this class contains beta products that are su...
the_stack
import 'chrome://resources/cr_elements/cr_button/cr_button.m.js'; import 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js'; import 'chrome://resources/cr_elements/cr_search_field/cr_search_field.js'; import 'chrome://resources/cr_elements/icons.m.js'; import 'chrome://resources/cr_elements/shared_style_css.m.js...
the_stack
import { VueConstructor } from 'vue'; import _ from 'lodash'; import { schemeCategory10 } from 'd3-scale-chromatic'; import { checkEdgeConnectivity } from '@/store/dataflow/util'; import { showSystemMessage } from '@/common/util'; import { Node } from '@/components/node'; import Edge, { EdgeSave } from '@/components/...
the_stack
import { BlockPort } from "../Define/Port"; import { Block } from "../Define/Block"; import { BlockGraphDocunment, BlockDocunment } from "../Define/BlockDocunment"; import BaseBlocks from '../Blocks/BaseBlocks' import logger from "../../utils/Logger"; import { BlockRunContextData } from "./BlockRunContextData"; import ...
the_stack
import { tint, shade, darken, lighten, mix, rem } from "polished"; import { createGlobalStyle } from "styled-components"; const colors = { black: "#1d1d1d", blue: "#00A1FF", green: "#2DAF7E", orange: "#EB9028", purple: "#7776D2", red: "#F65151", yellow: "#FFE248", }; export const lightTheme = { space:...
the_stack
import TreeNode from './tree-node' import Stack from '../../sequences/stack' import * as utils from '../../utils' class BinarySearchTree<T> { root: TreeNode<T> | null private sz: number private compare: utils.CompareFunction<T> constructor(compareFunction?: utils.CompareFunction<T>) { this.root = null ...
the_stack
import eris from "eris"; import { COLOR_EMOTES, DEAD_COLOR_EMOTES, GROUPING_DISABLED_EMOJI, GROUPING_ENABLED_EMOJI, GROUPING_TOGGLE_EMOJI, LEAVE_EMOJI, LobbyRegion, SessionState, } from "./constants"; import { orm } from "./database"; import AmongUsSession from "./database/among-us-sessi...
the_stack
const PointFlags = cc.Graphics.Types.PointFlags; //@ts-ignore const LineJoin = cc.Graphics.Types.LineJoin; //@ts-ignore const LineCap = cc.Graphics.Types.LineCap; import { SmoothTrail } from './SmoothTrail'; cc.game.on(cc.game.EVENT_ENGINE_INITED, () => { }); const MAX_VERTEX = 65535; const MAX_INDICE = MAX_VERTEX *...
the_stack
import { workspace, Uri, ConfigurationTarget, TextDocument, WorkspaceConfiguration, ConfigurationScope } from 'vscode'; import { extensionId } from '../constants'; import { CSpellUserSettings } from '../client'; import { findConicalDocumentScope } from '../util/documentUri'; export { CSpellUserSettings } from '../clie...
the_stack
import assert from 'assert'; import { Request, Response, NextFunction } from 'express'; import * as crypto from 'crypto'; import * as util from 'util'; import '../types'; import * as db from './db'; import * as model from '../model/user'; import { makeRandom } from './random'; import { NotFoundError, ForbiddenError, B...
the_stack
import * as vscode from 'vscode'; import * as fs from 'fs'; import * as querystring from 'querystring'; import * as path from 'path'; import * as child_process from 'child_process'; import {parseMDtoHTML} from './markdownUtils'; import {parseADtoHTML} from './asciidocUtils'; import * as scaffoldUtils from './scaffoldUt...
the_stack
import assert from 'assert'; import Node, { SourceRange } from './base'; import { FunctionDef } from './function_def'; import { Invocation, DeviceSelector, InputParam, } from './invocation'; import { BooleanExpression } from './boolean_expression'; import * as legacy from './legacy'; import { Value, ...
the_stack
// Notes - Hypermerge.front will not emit a doc if it is empty - even if its supposed to be export const EXT = "hypermerge" type FeedFn = (f: Feed<Uint8Array>) => void interface Swarm { join(dk: Buffer): void leave(dk: Buffer): void on: Function } import Queue from "capstone/Queue" import * as JsonBuffer from...
the_stack
'use strict'; import { Chart, Types, BaseChartConfig, ChartData, Colors } from '../common/types'; import Base from '../common/Base'; import errorWrap from '../common/errorWrap'; import rectTooltip, { TooltipConfig } from '../common/rectTooltip'; import rectLegend, { LegendConfig } from '../common/rectLegend'; import {...
the_stack
import React from "react"; import type {LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent, ScrollViewComponent} from "react-native"; import {Animated, FlatList, StyleSheet, Text, TouchableWithoutFeedback, View} from "react-native"; import {Triangle} from "./Triangle"; import type {Props} from "./type"; import ...
the_stack
import * as tf from '../index'; import {ALL_ENVS, describeWithFlags} from '../jasmine_util'; import {expectArraysClose, expectArraysEqual} from '../test_util'; describeWithFlags('nonMaxSuppression', ALL_ENVS, () => { it('select from three clusters', async () => { const boxes = tf.tensor2d( [ 0,...
the_stack
import { ArrayExt } from '@lumino/algorithm'; import { ISignal, Signal } from '@lumino/signaling'; export class Selection<T> { constructor(sequence: ReadonlyArray<T>, options: Selection.IOptions = {}) { this._array = sequence; this._insertBehavior = options.insertBehavior || 'select-item-if-needed'; thi...
the_stack
import {defaultsDeep} from 'lodash'; import * as _joint from 'jointjs'; // Loaded joint additions import '../../shared/support/shared-shapes'; const joint: any = _joint; const ERROR_MARKER_SIZE = {width: 20, height: 20}; const START_NODE_SIZE = {width: 15, height: 15}; const END_NODE_SIZE = {width: 20, height: 20}; ...
the_stack
import { ActionTypes, Activity, ActivityTypes, CardFactory, Channels, ConversationState, InputHints, MemoryStorage, StatePropertyAccessor, StatusCodes, TeamsChannelAccount, TestAdapter, tokenExchangeOperationName, verifyStateOperationName, } from "botbuilder-core"; import { DialogSet, Dialog...
the_stack
import { EntryStorage, BrowserStorage } from "../models/storage"; import { Encryption } from "../models/encryption"; import * as CryptoJS from "crypto-js"; import { OTPType, OTPAlgorithm } from "../models/otp"; import { ActionContext } from "vuex"; export class Accounts implements Module { async getModule() { co...
the_stack
import * as maptalks from 'maptalks'; import * as THREE from 'three'; import BaseObject from './BaseObject'; import Bar from './Bar'; import Line from './Line'; import ExtrudeLine from './ExtrudeLine'; import ExtrudePolygon from './ExtrudePolygon'; import Model from './Model'; import ExtrudeLineTrail from './ExtrudeLin...
the_stack
'use strict'; // // These must be in the files to translate // // This cannot be placed in a library. // import * as nls from 'vscode-nls'; // const config = JSON.parse(process.env.VSCODE_NLS_CONFIG as string); // const localize = nls.config(config as nls.Options)(); import * as path from 'path'; import * as vscode f...
the_stack
import BigNumber from 'bignumber.js'; import Decoder from './decoder'; import ParamType from '../spec/paramType'; import Token from '../token'; import { padU32 } from '../util/pad'; describe('decoder/Decoder', () => { const stringToBytes = function (str: string) { const matches = str.match(/.{1,2}/g); if (!...
the_stack
import * as d3 from 'd3'; import './PieChart.scss'; import Utils from "../../Utils"; import { TooltipMeasureFormat } from "./../../Constants/Enums"; import Legend from './../Legend'; import ContextMenu from './../ContextMenu'; import { PieChartData } from '../../Models/PieChartData'; import Slider from '../Slider'; imp...
the_stack
require('module-alias/register'); import * as _ from 'lodash'; import * as ABIDecoder from 'abi-decoder'; import * as chai from 'chai'; import { Address, SetProtocolTestUtils as SetTestUtils } from 'set-protocol-utils'; import { BigNumber } from 'bignumber.js'; import ChaiSetup from '@utils/chaiSetup'; import { BigNu...
the_stack
import { expect } from 'chai'; import { ListField } from '@phosphor/datastore'; type ListValue = number; /** * Return a shuffled copy of an array */ function shuffle<T>(array: ReadonlyArray<T>): T[] { let ret = array.slice(); for (let i = ret.length - 1; i > 0; i--) { let j = Math.floor(Math.random() *...
the_stack
// The MIT License (MIT) // // vs-deploy (https://github.com/mkloubert/vs-deploy) // Copyright (c) Marcel Joachim Kloubert <marcel.kloubert@gmx.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // ...
the_stack
import * as test from 'tape'; import {NoteSequence} from '../protobuf/index'; import * as sequences from './sequences'; const STEPS_PER_QUARTER = 4; function createTestNS() { const ns = NoteSequence.create(); ns.tempos.push(NoteSequence.Tempo.create({qpm: 60, time: 0})); ns.timeSignatures.push(NoteSequence.Ti...
the_stack
import fs, { copyFileSync, createReadStream, existsSync, unlinkSync, writeFileSync, statSync } from 'fs'; import * as path from 'path'; import os, { homedir } from 'os'; import { promisify } from 'util'; import crypto from 'crypto'; import globby from 'globby'; import mkdirp from 'mkdirp'; import rimRaf from 'rimraf';...
the_stack
import { useEffect, useState } from 'react'; import { useCookies } from 'react-cookie'; import { useRouter } from 'next/router' import Link from "next/link"; // helpers import { currentPlayback, CurrentSongWithAnalysis, fetchAccessToken, fetchPlaylists, fetchProfile, fetchTopData, keyCodeToKey, ...
the_stack
import { computed, makeObservable, obx } from '@alilc/lowcode-editor-core'; import { Designer, ISensor, LocateEvent, isDragNodeObject, isDragAnyObject, DragObject, Scroller, ScrollTarget, IScrollable, DropLocation, isLocationChildrenDetail, LocationChildrenDetail, LocationDetailType, Parenta...
the_stack
import { Dialog } from '@syncfusion/ej2-popups'; import { CheckBox } from '@syncfusion/ej2-buttons'; import { NumericTextBox } from '@syncfusion/ej2-inputs'; import { WTableFormat } from '../index'; import { isNullOrUndefined, L10n, createElement } from '@syncfusion/ej2-base'; import { SelectionTableFormat } from '../i...
the_stack
import JiraClient from 'jira-connector' import {BotConfig} from './bot-config' import * as Configs from './configs' import logger from './logger' import * as Errors from './errors' import {Context} from './context' import mem from 'mem' import moment from 'moment' type JiraIssue = any // import {Issue as JiraIssue} fr...
the_stack
import { makeTest, TestBedConfig, ItFuncConfig } from './scaffolding/runner'; import { Misc } from './miscellaneous/misc'; const configList: TestBedConfig[] = [{ datasourceSettings: { startIndex: 1, padding: 0.5, itemSize: 20, minIndex: -49, maxIndex: 100 }, templateSettings: { viewportHeight: 200, itemHeight: 20 ...
the_stack
import * as ng1 from 'angular'; import { NgTableDefaultGetDataProvider, DefaultGetData, NgTableParams, ngTableCoreModule } from '../../src/core'; describe('ngTableDefaultGetData', () => { interface IPerson { age: number; } beforeAll(() => expect(ngTableCoreModule).toBeDefined()); des...
the_stack
import { member } from "babyioc"; import { Section } from "eightbittr"; import { MenuDialogRaw } from "menugraphr"; import { FullScreenPokemon } from "../FullScreenPokemon"; import { Following } from "./actions/Following"; import { Grass } from "./actions/Grass"; import { Ledges } from "./actions/Ledges"; import { Ro...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/profilesMappers"; import * as Parameters from "../models/parameters"; import { TrafficManagerManagementClientContext } from "../trafficManagerManagementClientContext"; /** Class representing a Profiles...
the_stack
import {SpriteBase} from "../SpriteBase"; import {LocationKey, TileEvent} from "../tile_events/TileEvent"; import * as numbers from "../magic_numbers"; import { directions, get_centered_pos_in_px, get_directions, get_opposite_direction, get_px_position, get_surroundings, mount_collision_poly...
the_stack
import * as AWS from '@aws-sdk/types' import { AssumeRoleParams, fromIni } from '@aws-sdk/credential-provider-ini' import { fromProcess } from '@aws-sdk/credential-provider-process' import { ParsedIniData, SharedConfigFiles } from '@aws-sdk/shared-ini-file-loader' import { SSO } from '@aws-sdk/client-sso' import { SSOO...
the_stack
import { Bounds, Cursor, CursorStackSymbol, ElementBuilder, ElementOperations, Environment, GlimmerTreeChanges, GlimmerTreeConstruction, LiveBlock, Maybe, Option, UpdatableBlock, ModifierInstance, } from '@glimmer/interfaces'; import { assert, expect, Stack, symbol } from '@glimmer/util'; impo...
the_stack
import {Dictionary} from "../dictionary"; import { GetBuiltinFunction } from "./builtin"; import { resolve } from "dns"; import { isString } from "util"; import { GlobalVariableResolverResults } from "./util"; import { rubyBridge } from "../global"; export type HieraSourceResolveCallback = () => Promise<number>; expo...
the_stack
import {Component, ViewChild} from '@angular/core'; import {async, ComponentFixture, TestBed} from '@angular/core/testing'; import {FormsModule} from '@angular/forms'; import {By} from '@angular/platform-browser'; import * as moment from 'moment'; import {DlDateTimeNumberModule, DlDateTimePickerComponent, DlDateTimePic...
the_stack
import { assert } from "chai"; import "mocha"; import * as tf from "@tensorflow/tfjs"; import * as tm from "../src/index"; import * as seedrandom from "seedrandom"; import { TeachableMobileNet } from "../src/index"; import { assertTypesMatch } from "@tensorflow/tfjs-core/dist/tensor_util"; import { cropTo } from "../s...
the_stack
import BigNumber from 'bignumber.js'; import _ from 'lodash'; import initializePerpetual from './helpers/initializePerpetual'; import { expectBalances, mintAndDeposit } from './helpers/balances'; import { ITestContext, perpetualDescribe } from './helpers/perpetualDescribe'; import { buy } from './helpers/trade'; impor...
the_stack
import os = require('os'); import path = require('path'); import net = require('net'); import url = require('url'); import { spawn, ChildProcess } from 'child_process'; import { LanguageClient, LanguageClientOptions, StreamInfo, DocumentFilter, ErrorAction, CloseAction, RevealOutputChannelOn } from 'vscode-languageclie...
the_stack
import CurieDBEditor from '@/views/CurieDBEditor.vue' import GitHistory from '@/components/GitHistory.vue' import Utils from '@/assets/Utils' import {afterEach, beforeEach, describe, expect, jest, test} from '@jest/globals' import {mount, Wrapper} from '@vue/test-utils' import Vue from 'vue' import axios from 'axios' i...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * An occurrence is an instance of a Note, or type of analysis that * can be done for a resource. * * To get more information about Occurrence, see: * * * [API do...
the_stack
import { Lambda1, Lambda1_deps, Lambda1_toFunction, Lambda2, Lambda2_deps, Lambda2_toFunction, Lambda3, Lambda3_deps, Lambda3_toFunction, Lambda4, Lambda4_deps, Lambda4_toFunction, Lambda5, Lambda5_deps, Lambda5_toFunction, Lambda6, Lambda6_deps, Lambda6_toFunction, ...
the_stack
import { Injectable } from '@angular/core'; import { CoreSyncBaseProvider, CoreSyncBlockedError } from '@classes/base-sync'; import { CoreApp } from '@services/app'; import { CoreEvents } from '@singletons/events'; import { CoreSites } from '@services/sites'; import { CoreUtils } from '@services/utils/utils'; import { ...
the_stack
import { ILoggingPayload } from "../../types/logger"; import { IVersionPackage } from "../../types/option"; import { IVSCodeObject } from "../../types/vscode"; import { EXTENSION_COMMANDS, EXTENSION_MODULES } from "../constants/commands"; import { PAYLOAD_MESSAGES_TEXT } from "../constants/constants"; const postMessag...
the_stack
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { CreateAssistantAssociationCommand, CreateAssistantAssociationCommandInput, CreateAssistantAssociationCommandOutput, } from "./commands/CreateAssistantAssociationCommand"; import { CreateAssistantCommand, CreateAssistantComm...
the_stack
import React, {Component} from "react"; import {observer} from "mobx-react"; import {inject} from "../../common/utils/IOC"; import {notification} from "antd"; import Search from "../../cluster/view/clusterList/Search"; import {ClusterInfoVo, ClusterModel, ClusterSearchVo} from "../../cluster/model/ClusterModel"; import...
the_stack
import * as DbMigratePg from "db-migrate-pg"; // Throw together a dummy driver let db = {} as DbMigratePg.PgDriver; let callback = (err: any, response: any) => { // Do nothing. }; /// createTable(tableName, columnSpec, callback) db.createTable('pets', { id: { type: 'int', primaryKey: true, autoIncrement: true },...
the_stack
import * as yup from 'yup'; import { FlatConvectorModel, Controller, ConvectorController, Invokable, Param } from '@worldsibu/convector-core'; import * as fhirTypes from '../utils/fhirTypes'; import { Claim, ClaimResponse, CodeableConcept, ClaimResponseItem, InvoiceLineItemPriceComponent, P...
the_stack
import {NgSwCache, NgSwAdapter, ScopedCache, UrlConfig, UrlMatcher, Clock} from '../../worker'; import {CompareFn, SortedLinkedList} from './linked'; import {GroupManifest} from './manifest'; const DEFAULT_CACHE_SIZE = 100; /** * Metadata that's tracked for every entry in the cache. */ export interface EntryMetadat...
the_stack
import { expect } from "chai"; import { MatrixEventHandler } from "../src/matrixeventhandler"; import { RoomEvent, RoomEventContent, MembershipEvent, RedactionEvent, MessageEventContent, MessageEvent, FileMessageEventContent, TextualMessageEventContent, } from "@sorunome/matrix-bot-sdk"; import * as prometheus from "...
the_stack