text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { DeploymentOperations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { ResourceManagementClient } from "....
the_stack
import { Cartesian2 } from '../angular-cesium/models/cartesian2'; import { Cartesian3 } from '../angular-cesium/models/cartesian3'; import { GeoUtilsService } from '../angular-cesium/services/geo-utils/geo-utils.service'; import * as h337 from 'heatmap.js/build/heatmap.js'; import { Injectable } from '@angular/core'; ...
the_stack
import * as React from "react"; import BrowserAdapter, { ICanAddEventListener, IIFrameWindow, IHostWindow } from "../../../src/components/BrowserAdapter"; import { Action } from "redux"; import { MemoryRouter } from "react-router-dom"; import MlsClient from "../../../src/MlsClient"; import actions from "../../../src/ac...
the_stack
import * as net from 'net'; import {EventEmitter} from 'events'; import {BitsUtil} from '../util/BitsUtil'; import {BuildInfo} from '../BuildInfo'; import {AddressImpl, IOError, UUID} from '../core'; import {ClientMessageHandler} from '../protocol/ClientMessage'; import {deferredPromise, DeferredPromise} from '../util/...
the_stack
import * as React from 'react' import { render, screen, within } from '@testing-library/react' import { Modal, ModalHeader, ModalFooter, ModalBody, ModalCloseButton } from './modal' import userEvent from '@testing-library/user-event' import { axe } from 'jest-axe' describe('Modal', () => { function TestCaseWithSta...
the_stack
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class AccessAnal...
the_stack
import ProxyEvent from "../../../../main/js/joynr/proxy/ProxyEvent"; import DiscoveryQos from "../../../../main/js/joynr/proxy/DiscoveryQos"; import MessagingQos from "../../../../main/js/joynr/messaging/MessagingQos"; import MulticastSubscriptionQos from "../../../../main/js/joynr/proxy/MulticastSubscriptionQos"; imp...
the_stack
import { CSSInlineStyles } from "./cssTypes"; import { afterFrameCallback, beforeFrameCallback, beforeRenderCallback, reallyBeforeFrameCallback, RenderPhase, } from "./frameCallbacks"; import { isString, isNumber, isObject, isFunction, isArray } from "./isFunc"; import { assert, createTextNode, hOP,...
the_stack
import type { Token } from "@saberhq/token-utils"; import { Fraction, ONE, TokenAmount, ZERO } from "@saberhq/token-utils"; import JSBI from "jsbi"; import mapValues from "lodash.mapvalues"; import type { IExchangeInfo } from "../entities/exchange"; import type { Fees } from "../state/fees"; import { computeD, compute...
the_stack
import { Component, OnInit, Input } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { MetadataService } from '../../../services/metadata.service'; import { CommandService } from '../../../services/command.service'; import { MessageService } from '../../../message/message.service'...
the_stack
* @module DisplayStyles */ import { Id64, Id64String, NonFunctionPropertiesOf } from "@itwin/core-bentley"; import { ColorDef, ColorDefProps } from "./ColorDef"; import { TextureImageSpec } from "./RenderTexture"; /** Supported types of [[SkyBox]] images. * @see [[SkyBoxImageProps]]. * @public * @extensions */ e...
the_stack
import { render } from '@testing-library/react'; import * as React from 'react'; import { act } from 'react-dom/test-utils'; // import { mount } from 'enzyme'; import { Transition } from '@uirouter/core'; import { makeTestRouter, muteConsoleErrors } from '../../__tests__/util'; import { TransitionPropCollisionError, U...
the_stack
import path from "path"; import wretch from "wretch"; import {DOMParser} from "xmldom"; // @ts-ignore import domino from "domino-ext"; import tumblr from "tumblr.js"; import Snoowrap from "snoowrap"; import * as imgur from "imgur"; import * as Twitter from "twitter"; import {IgApiClient} from "instagram-private-api"; ...
the_stack
import TestCase from '../testcase'; import { RegisterTypes } from '../../src/assets/ts/register'; describe('yank', function() { describe('characters', function() { it('works in basic case', async function() { let t = new TestCase(['px']); t.sendKeys('xp'); t.expect(['xp']); t.expectRegist...
the_stack
import WarpAffine from './warpAffine'; class DetectProcess { private modelResult: any; private output_size: number; private anchor_num: number; private detectResult: any; private hasHand: number; private originCanvas: HTMLCanvasElement; private originImageData: ImageData; private maxInd...
the_stack
import { Injectable } from '@angular/core'; import { SidePreviewsConfig, SlideConfig } from '../model/slide-config.interface'; import { PlayConfig } from '../model/play-config.interface'; import { KS_DEFAULT_ACCESSIBILITY_CONFIG } from '../components/accessibility-default'; import { PreviewConfig } from '../model/previ...
the_stack
import {AUTH_MESSAGE} from "./authentication-component"; /** * Created by frank.zickert on 28.02.19. */ declare var require: any; import jwt from 'jsonwebtoken'; import {getBasename} from '../libs/iso-libs'; /** * token handed over to the user's browser, serves as password to encrypt/decrypt the Medium-access tok...
the_stack
import React, { Component, ReactNode } from 'react'; import { Badge, Button, ButtonGroup, ButtonToolbar, Col, Row, ToggleButton, InputGroup, FormControl, Spinner } from 'react-bootstrap'; import { BsArrowCounterclockwise, BsArrowRepeat, BsPauseFill, BsPlayFill, BsFilter, BsTrashFill } fr...
the_stack
import React from 'react'; import {get, has, isNil, isEqual, isObjectLike} from 'lodash'; import {ErrorBoundary} from './ErrorBoundary'; import {getRuntimeContext} from './util/util'; import {isExpression, parseExpressionString} from './util/vm'; import {RootState} from '../data/reducers'; import { BasicProps, ...
the_stack
import { FileManager } from "../../jupyter-hooks/file-manager"; import { Checkpoint, ChangeType, CellRunData } from "../../checkpoint"; import { NodeyCell, Nodey, NodeyCodeCell, NodeyOutput, NodeyNotebook, NodeyMarkdown, NodeyRawCell, } from "../../nodey"; import { History } from "../history"; import { Co...
the_stack
import {Actions} from '../common/actions'; import {Engine} from '../common/engine'; import { AggregationAttrs, AVAILABLE_AGGREGATIONS, AVAILABLE_TABLES, getDescendantsTables, getParentStackColumn, getStackColumn, getStackDepthColumn, PivotAttrs, PivotTableQueryResponse, removeHiddenAndAddStackColumn...
the_stack
import { CamelCaseNamingConvention, PascalCaseNamingConvention, SnakeCaseNamingConvention, } from '@automapper/core'; import { setupPojos } from '../setup.spec'; import { createSimpleFooBarPascalMetadata, PascalSimpleBar, PascalSimpleBarVm, PascalSimpleFoo, PascalSimpleFooVm, } from './fixtures/interfac...
the_stack
'use strict'; import { createBuildings, Building } from './createBuilding'; import { Mesh } from './Mesh'; import { createFeatureMetadataExtension } from './createFeatureMetadataExtension'; var Cesium = require('cesium'); var createB3dm = require('./createB3dm'); var path = require('path'); var createGltf = require('...
the_stack
import type {Class} from "@swim/util"; import {Affinity, MemberFastenerClass, Property} from "@swim/component"; import {AnyLength, Length} from "@swim/math"; import {AnyFocus, Focus, AnyExpansion, Expansion} from "@swim/style"; import { Look, Feel, ThemeAnimator, FocusThemeAnimator, ExpansionThemeAnimator, ...
the_stack
import { DOWN_ARROW, ENTER, ESCAPE, UP_ARROW } from '@angular/cdk/keycodes'; import { OverlayContainer } from '@angular/cdk/overlay'; import { CommonModule } from '@angular/common'; import { Component, NgModule, NgZone, OnDestroy, QueryList, ViewChild, ViewChildren } from '@angular/core'; import { Type } from '@angular...
the_stack
import { EventEmitter } from 'events' import { priorityQueue, AsyncPriorityQueue } from 'async' import { Logger, LoggerOptions } from 'node-log-it' import { merge, map, difference, filter, take } from 'lodash' import { Node } from './node' import { Mesh } from './mesh' import { MemoryStorage } from '../storages/memory-...
the_stack
import { Base } from "../../src/class/Base.js" import { calculate, Entity, field } from "../../src/replica/Entity.js" import { reference } from "../../src/replica/Reference.js" import { bucket } from "../../src/replica/ReferenceBucket.js" import { Replica } from "../../src/replica/Replica.js" import { Schema } from ".....
the_stack
import { AfterContentInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentRef, ElementRef, EventEmitter, Inject, InjectionToken, Input, NgZone, OnDestroy, OnInit, Optional, Output, ViewChild, ViewContainerRef, ViewEncapsulation, } from '@angular/core'; import { Direc...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { ConnectorModel } from '../../../src/diagram/objects/connector-model'; import { NodeModel } from '../../../src/diagram/objects/node-model'; import { profile, inMB, getMemoryProfile } from '../../../spec...
the_stack
import React, { useState, useEffect, useReducer } from 'react'; import styles from './SpFxAlm.module.scss'; import { ISpFxAlmProps } from './ISpFxAlmProps'; import { escape } from '@microsoft/sp-lodash-subset'; import { PrimaryButton } from 'office-ui-fabric-react/lib/Button'; import HttpService from './service'; impor...
the_stack
import * as path from 'path'; import * as os from 'os'; import { isNil, get as _get } from 'lodash'; import { SfdxError, SfdxErrorConfig, fs, Logger, Messages, SfdxProject } from '@salesforce/core'; import srcDevUtil = require('../core/srcDevUtil'); import consts = require('../core/constants'); import MdapiPackage = r...
the_stack
import * as assert from 'assert'; import {describe, it, afterEach, beforeEach} from 'mocha'; import * as nock from 'nock'; import * as sinon from 'sinon'; import {AwsClient} from '../src/auth/awsclient'; import {StsSuccessfulResponse} from '../src/auth/stscredentials'; import {BaseExternalAccountClient} from '../src/au...
the_stack
'use strict'; import * as child_process from 'child_process'; import { DebugSession, Thread, Breakpoint, Source, StackFrame, Variable, Handles, InitializedEvent, StoppedEvent, TerminatedEvent, BreakpointEvent, OutputEvent } from 'vscode-debugadapter'; import {DebugProtocol} from 'vscode-debugpr...
the_stack
import { Events } from "./events"; export namespace Cookies { /** * A cookie's 'SameSite' state (https://tools.ietf.org/html/draft-west-first-party-cookies). * 'no_restriction' corresponds to a cookie set without a 'SameSite' attribute, 'lax' to 'SameSite=Lax', * and 'strict' to 'SameSite=Strict'. ...
the_stack
import { Observable } from "data/observable"; import { ObservableArray } from "data/observable-array"; /** * List of batch operation execution types. */ export declare enum BatchOperationExecutionContext { /** * Global "before" action. */ before = 0, /** * Operation action is exe...
the_stack
import * as React from 'react'; // tslint:disable-next-line: no-submodule-imports import { act } from 'react-dom/test-utils'; import { mount } from 'enzyme'; import { PluginHost } from '@devexpress/dx-react-core'; import { pluginDepsToComponents, executeComputedAction } from '@devexpress/dx-testing'; import { Confirmat...
the_stack
import {Observable, Subject} from 'rxjs'; import { ClearCacheOptions, DispatchFailReason, DispatchOptions, DispatchValueProducer, EventUnitClear, EventUnitClearCache, EventUnitClearPersistedValue, EventUnitClearValue, EventUnitDispatch, EventUnitDispatchFail, EventUnitFreeze, EventUnitJump, Ev...
the_stack
import { hashUnknown } from './internal/hashCode'; /** * Represents a value that can compare its equality with another value. */ export interface Equatable { /** * Determines whether this value is equal to another value. * @param other The other value. * @returns `true` if this value is e...
the_stack
import { createAutocomplete } from '@algolia/autocomplete-core'; import { noop } from '@algolia/autocomplete-shared'; import userEvent from '@testing-library/user-event'; import insightsClient from 'search-insights'; import { createPlayground, createSource, runAllMicroTasks, } from '../../../../test/utils'; impo...
the_stack
import HierarchicalLayout from '../HierarchicalLayout'; import GraphAbstractHierarchyCell from '../datatypes/GraphAbstractHierarchyCell'; import GraphHierarchyModel from './GraphHierarchyModel'; import HierarchicalLayoutStage from './HierarchicalLayoutStage'; import MedianCellSorter from '../util/MedianCellSorter'; imp...
the_stack
// See: https://github.com/aws/aws-encryption-sdk-c/blob/master/tests/unit/t_hkdf.c export const tv0Ikm = new Uint8Array([ 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, ]) export const tv0Salt = new Uint8Array([ 0x00, 0x01, 0x...
the_stack
import * as R from "ramda"; import { Client, Model, Rbac, Api } from "@core/types"; import { parseMultiFormat } from "@core/lib/parse"; import { getEnvironmentName, getEnvironmentsByEnvParentId, getSubEnvironmentsByParentEnvironmentId, graphTypes, } from "@core/lib/graph"; import chalk from "chalk"; import Tabl...
the_stack
import type {TextureFormat, DeviceFeature, Device} from '@luma.gl/api'; import {decodeTextureFormat} from '@luma.gl/api'; import GL from '@luma.gl/constants'; import {isWebGL2} from '../../context/context/webgl-checks'; // TEXTURE FEATURES // Define local device feature strings to optimize minification const texture_...
the_stack
import { track } from '../Interface'; // MP4 boxes generator for ISO BMFF (ISO Base Media File Format, defined in ISO/IEC 14496-12) class MP4 { static types: Record<string, Array<number>> static HDLR_TYPES: Record<string, Uint8Array> static STTS: Uint8Array static STSC: Uint8Array static STCO:...
the_stack
import { GameConfiguration, Module, PathUtil, Scene, XorshiftRandomGenerator } from ".."; import { customMatchers, Game } from "./helpers"; expect.extend(customMatchers); describe("test Module", () => { function resolveGameConfigurationPath(gameConfiguration: any, pathConverter: any): any { function objectMap(obj:...
the_stack
interface Rect { top: number; left: number; bottom: number; right: number; width: number; height: number; } interface AnimationState { rect: Rect; target: HTMLElement; } function userAgent(pattern: RegExp): any { if (typeof window !== 'undefined' && window.navigator) { return !!(/*@__PURE__*/ na...
the_stack
import {Constructor, valueof, Number2} from '../../../types/GlobalTypes'; import {WebGLRenderTarget} from 'three/src/renderers/WebGLRenderTarget'; import {ShaderMaterial} from 'three/src/materials/ShaderMaterial'; import {Scene} from 'three/src/scenes/Scene'; import { FloatType, HalfFloatType, RGBAFormat, NearestFi...
the_stack
/// <reference path="../typings/tsd.d.ts" /> import assert = require("assert"); import util = require("util"); import stream = require("stream"); import StringMap = require("../lib/StringMap"); export interface SourceLocation { fileName: string; line: number; column: number; } export function setSourceL...
the_stack
class TransitOptions implements JQueryTransitOptions { opacity: number; duration: number; delay: number; easing: string; complete: () => void; scale: any; } $(document).ready(function() { test_translate(); test_x(); test_y(); test_width(); test_height(); test_margin(); ...
the_stack
import type { AppInterface, sourceType, SandBoxInterface, sourceLinkInfo, sourceScriptInfo, Func, } from '@micro-app/types' import extractHtml from './source' import { execScripts } from './source/scripts' import { appStates, lifeCycles, keepAliveStates } from './constants' import SandBox from './sandbox' i...
the_stack
import * as nbformat from '@jupyterlab/nbformat'; import { PartialJSONObject } from '@lumino/coreutils'; import { IDisposable } from '@lumino/disposable'; import { ISignal } from '@lumino/signaling'; /** * ISharedBase defines common operations that can be performed on any shared object. */ export interface ISharedBas...
the_stack
import React, { ExoticComponent, useState } from "react" import { Redirect, Route, Switch } from "react-router-dom" import { Button, Form, Input, message, Modal } from "antd" import "./App.less" import ApplicationServices from "./lib/services/ApplicationServices" import { CenteredSpin, GlobalError, handleError, Prelo...
the_stack
import { expect } from 'chai'; import { SinonStub, stub } from 'sinon'; import { promises as fs } from 'fs'; import * as systeminformation from 'systeminformation'; import * as fsUtils from '../../../src/lib/fs-utils'; import * as sysInfo from '../../../src/lib/system-info'; describe('System information', () => { be...
the_stack
import { VSBuffer } from 'vs/base/common/buffer'; import { Emitter, Event } from 'vs/base/common/event'; import { Disposable, dispose, IDisposable } from 'vs/base/common/lifecycle'; import * as platform from 'vs/base/common/platform'; import * as process from 'vs/base/common/process'; import { IIPCLogger, IMessagePassi...
the_stack
import { defineComponent, h, PropType, ref, Ref, computed, onUnmounted, watch, reactive, nextTick } from 'vue' import XEUtils from 'xe-utils' import GlobalConfig from '../../v-x-e-table/src/conf' import { useSize } from '../../hooks/size' import { createResizeEvent, XEResizeObserver } from '../../tools/resize' import {...
the_stack
import { createTestEnv_artwork } from "v2/__generated__/createTestEnv_artwork.graphql" import { createTestEnvCreditCardMutation } from "v2/__generated__/createTestEnvCreditCardMutation.graphql" import { createTestEnvOrderMutation } from "v2/__generated__/createTestEnvOrderMutation.graphql" import { createTestEnvQueryRa...
the_stack
import { TileKey } from "@here/harp-geoutils"; import { expect } from "chai"; import * as sinon from "sinon"; import * as THREE from "three"; import { MapView } from "../lib/MapView"; import { PickHandler } from "../lib/PickHandler"; import { Tile } from "../lib/Tile"; describe("PickHandler", function () { let pi...
the_stack
import './segment_list.css'; import debounce from 'lodash/debounce'; import throttle from 'lodash/throttle'; import {SegmentationDisplayState, SegmentWidgetWithExtraColumnsFactory} from 'neuroglancer/segmentation_display_state/frontend'; import {changeTagConstraintInSegmentQuery, executeSegmentQuery, ExplicitIdQuery, ...
the_stack
import { expect } from 'chai'; import { of as observableOf } from 'rxjs'; import { deepEqual, instance, mock, when } from 'ts-mockito'; import { Convert } from '../../src/core/format/Convert'; import { MetadataRepository } from '../../src/infrastructure/MetadataRepository'; import { Page } from '../../src/infrastructur...
the_stack
import React from 'react'; import * as d3Zoom from 'd3-zoom'; import * as d3Selection from 'd3-selection'; import useTheme from '@material-ui/core/styles/useTheme'; import dagre from 'dagre'; import debounce from 'lodash/debounce'; import { BackstageTheme } from '@backstage/theme'; import { DependencyEdge, Dependen...
the_stack
'use strict'; import 'vs/css!./goToDeclaration'; import * as nls from 'vs/nls'; import { Throttler } from 'vs/base/common/async'; import { onUnexpectedError } from 'vs/base/common/errors'; import { alert } from 'vs/base/browser/ui/aria/aria'; import { MarkedString } from 'vs/base/common/htmlContent'; import { KeyCode,...
the_stack
import { assert, expect } from "chai"; import * as semver from "semver"; import { AccessToken, DbResult, GuidString, Id64, Id64String } from "@itwin/core-bentley"; import { Code, ColorDef, GeometryStreamProps, IModel, QueryRowFormat, RequestNewBriefcaseProps, SchemaState, SubCategoryAppearance, } from "@itwin/core-co...
the_stack
import { encodeBech32Pubkey } from "@cosmjs/amino"; import { fromBase64 } from "@cosmjs/encoding"; import { coin, coins } from "@cosmjs/proto-signing"; import { MsgMultiSend, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx"; import { MsgFundCommunityPool, MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, M...
the_stack
* ORY Oathkeeper * ORY Oathkeeper is a reverse proxy that checks the HTTP Authorization for validity against a set of rules. This service uses Hydra to validate access tokens and policies. * * The version of the OpenAPI document: v0.38.15-beta.1 * Contact: hi@ory.am * * NOTE: This class is auto generated by OpenA...
the_stack
import React = require('React'); // Before Each var container; var attachedListener = null; var renderedName = null; class Inner extends React.Component { getName() { return this.props.name; } render() { attachedListener = this.props.onClick; renderedName = this.props.name; return React.createE...
the_stack
import BytesList from 'goog:proto.tensorflow.BytesList'; import Example from 'goog:proto.tensorflow.Example'; import Feature from 'goog:proto.tensorflow.Feature'; import FeatureList from 'goog:proto.tensorflow.FeatureList'; import FeatureLists from 'goog:proto.tensorflow.FeatureLists'; import Features from 'goog:proto....
the_stack
import { expect, preferencesTestSet, loadBackground, nextTick, Background, } from './setup'; preferencesTestSet.map(preferences => { describe(`preferences: ${JSON.stringify(preferences)}`, () => { describe('addons that do redirects in automatic mode', () => { if (!preferences.automaticMode.active...
the_stack
import * as Fs from 'fs' import * as Path from 'path' import { Emitter, Disposable } from 'event-kit' import { Repository } from '../../models/repository' import { WorkingDirectoryFileChange, AppFileStatus } from '../../models/status' import { Branch, BranchType } from '../../models/branch' import { Tip, TipState } fro...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/modelMappers"; import * as Parameters from "../models/parameters"; import { LuisAuthoringContext } from "../luisAuthoringContext"; /** Class representing a Model. */ export class Model { private read...
the_stack
import { Observable, Subject, } from "rxjs"; import config from "../../../config"; import { formatError, ICustomError } from "../../../errors"; import Manifest, { Adaptation, ISegment, Period, Representation, } from "../../../manifest"; import { ISegmentLoadingProgressInformation, ISegmentParserParsedIn...
the_stack
import type { Point, SimpleBBox } from '@antv/g-canvas'; import { isEmpty } from 'lodash'; import { CellTypes, HORIZONTAL_RESIZE_AREA_KEY_PRE, KEY_GROUP_COL_RESIZE_AREA, ResizeAreaEffect, ResizeDirectionType, S2Event, } from '../common/constant'; import { CellBorderPosition } from '../common/interface'; imp...
the_stack
import "@babylonjs/core/Debug/debugLayer"; import "@babylonjs/inspector"; import "@babylonjs/loaders/glTF"; import { Engine, Scene, ArcRotateCamera, Vector3, HemisphericLight, Mesh, MeshBuilder, FreeCamera, Color4, StandardMaterial, Color3, PointLight, ShadowGenerator, Quaternion, Matrix, SceneLoader } from "@babylonjs...
the_stack
import React, { useCallback, useEffect, useState } from 'react' import { makeStyles } from '@material-ui/core/styles' import { AppBar, ButtonBase, darken, Fade, IconButton, lighten, Toolbar, Typography, } from '@material-ui/core' import BackRoundedIcon from '@material-ui/icons/ArrowBackRounded' import {...
the_stack
export type UserId = { /** * id of the user for which the methods apply. * This value should be changed to the special keyword 'me' to simplify calls when access using OAuth2 with three-legged authentication */ user_id: string } export type PhoneNumber = { /** The phone number to which the order refers ...
the_stack
import ez = require("TypeScript/ez") import EZ_TEST = require("./TestFramework") export class TestTransform extends ez.TypescriptComponent { /* BEGIN AUTO-GENERATED: VARIABLES */ /* END AUTO-GENERATED: VARIABLES */ constructor() { super() } static RegisterMessageHandlers() { ez.T...
the_stack
import { CancellationToken, CancellationTokenSource, DisposableStore, Emitter, Event, isCanceledError, MapSet, Uri, } from '@velcro/common'; import type { Resolver, ResolverContext } from '@velcro/resolver'; import { Plugin, PluginManager } from '../plugins'; import { parse } from './commonjs'; import t...
the_stack
import { CUSTOM_ELEMENTS_SCHEMA, DebugElement } from '@angular/core'; import { ComponentFixture, inject, TestBed, waitForAsync } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { Store, StoreModule } from '@ngrx/store'; import { authReducer, AuthState } from '../../core/auth/auth....
the_stack
import { AnyShapeStyle, RectangleShapeStyle, StrokeStyle } from "./configs" import { LinePosition, Position } from "./types" import * as V from "../common/vector" import minBy from "lodash-es/minBy" interface Line { source: Position target: Position } /** * Convert `LinePosition` to list of `Position` * @param ...
the_stack
import { Duration, Resource } from '@aws-cdk/core'; import { Construct } from 'constructs'; import { Grant } from './grant'; import { IIdentity } from './identity-base'; import { IManagedPolicy } from './managed-policy'; import { Policy } from './policy'; import { PolicyDocument } from './policy-document'; import { Pol...
the_stack
import { Transaction } from '@ethereumjs/tx' import Web3 from 'web3' import axios from 'axios' import chai from 'chai' import chaiAsPromised from 'chai-as-promised' import express from 'express' import sinon from 'sinon' import sinonChai from 'sinon-chai' import { ChildProcessWithoutNullStreams } from 'child_process' i...
the_stack
import * as promisify from '@google-cloud/promisify'; import * as assert from 'assert'; import {before, beforeEach, afterEach, describe, it} from 'mocha'; import * as proxyquire from 'proxyquire'; import * as sinon from 'sinon'; import {google} from '../protos/protos'; import * as fm from '../src/family'; import {Table...
the_stack
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { CreateCanaryCommand, CreateCanaryCommandInput, CreateCanaryCommandOutput, } from "./commands/CreateCanaryCommand"; import { DeleteCanaryCommand, DeleteCanaryCommandInput, DeleteCanaryCommandOutput, } from "./commands/Dele...
the_stack
import { StorageBackendPlugin } from '@worldbrain/storex' import { DexieStorageBackend } from '@worldbrain/storex-backend-dexie' import { AnnotSearchParams } from './types' import { transformUrl } from '../pipeline' import AnnotsStorage from 'src/annotations/background/storage' import { Annotation } from 'src/annotati...
the_stack
import Raw from './raw.js'; import Ref from './ref.js'; import Runner from './runner.js'; import Formatter from './formatter.js'; import Transaction from './transaction.js'; import QueryBuilder from './query/builder.js'; import QueryCompiler from './query/compiler.js'; import SchemaBuilder from './schema/builder.js';...
the_stack
import {Body, Get, HttpCode, HttpStatus, Param, Post, Query, Req} from '@nestjs/common'; import {Request} from 'express'; import { PathHash, GeneratePrivateKey, PathAddress, PathAddressContractAddress, QueryMnemonic, Pagination, PathXpub, } from '@tatumio/blockchain-connector-common'; import { BroadcastTx, EgldTr...
the_stack
// This doesn't work when `@types/node` is present: declare const global: SnapchatLensStudio.Global; // // Instead, when `@types/node` is present, please add this shim will be needed to establish the typings `global`: // declare module NodeJS { // interface Global extends SnapchatLensStudio.Global {} // } /** Ret...
the_stack
import * as React from 'react'; import { renderWithProvider } from '@synerise/ds-utils/dist/testing'; import { DSProvider } from '@synerise/ds-core'; import { fireEvent, cleanup } from '@testing-library/react'; import ItemsRoll from '../ItemsRoll'; import { propsFactory, ACTIONS, ITEM_TEXT } from './utils'; const mes...
the_stack
import { version as v } from "../package.json"; const version: string = v; interface Opts { leftOutsideNot: string | string[]; leftOutside: string | string[]; leftMaybe: string | string[]; searchFor: string | string[]; rightMaybe: string | string[]; rightOutside: string | string[]; rightOutsideNot: strin...
the_stack
import { KubernetesObject } from "kpt-functions"; import * as apisMetaV1 from "./io.k8s.apimachinery.pkg.apis.meta.v1"; import * as pkgUtilIntstr from "./io.k8s.apimachinery.pkg.util.intstr"; // IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podS...
the_stack
import './definition'; import PlSqlParser from './plsqlParser'; import * as iconv from 'iconv-lite'; import * as path from 'path'; import * as fs from 'fs'; export interface PLSQLCursorInfos { previousWord: string; currentWord: string; previousDot: boolean; } export class PlSqlNavigator { private st...
the_stack
import React, { Component } from 'react'; import { StyleSheet, Text, View, NativeEventEmitter, ScrollView, TouchableOpacity, Alert, } from 'react-native'; import type { EmitterSubscription, ColorValue } from 'react-native'; import Kontakt, { KontaktModule } from 'react-native-kontaktio'; import type { R...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/registeredServersMappers"; import * as Parameters from "../models/parameters"; import { StorageSyncManagementClientContext } from "../storageSyncM...
the_stack
import chalk from 'chalk'; import fs from 'fs'; import glob from 'glob'; import path from 'path'; import rlSync from 'readline-sync'; import urljoin from 'url-join'; import { ScJssConfig, JssConfiguration } from '../resolve-scjssconfig'; import { findAppNameInConfig } from './find-app-name'; import { createSecr...
the_stack
import ShaderChunk, {IShaderChunkCode, IMaterialUniform, IMaterialAttribute} from '../Material/ShaderChunk'; import {IShaderChunk} from './ShaderChunk'; import {IMaterial} from '../Material/Material'; import Hilo3d from '../Core/Hilo3d'; import Debug from '../Debug'; import Material from '../Material/Material'; import ...
the_stack
import { Buffer } from '@stacks/common'; import { MAX_STRING_LENGTH_BYTES, MEMO_MAX_LENGTH_BYTES, AddressHashMode, AddressVersion, TransactionVersion, StacksMessageType, PostConditionPrincipalID, } from './constants'; import { StacksPublicKey, serializePublicKey, deserializePublicKey, isCompressed } from...
the_stack
import { ConcreteRouteDef, isConcreteRouteDef, isStaticRedirectionRouteDef, ProgrammticRedirectionRouteDef, RedirectionRouteDef, RouteDef, } from './route_config_types'; import {Route, RouteKind, RouteParams, SerializableQueryParams} from './types'; interface NegativeMatch { result: false; } interface P...
the_stack
import { Secp256k1, Sha256 } from '../../../crypto/crypto'; import { flattenBinArray } from '../../../format/hex'; import { AuthenticationProgramStateCommon, AuthenticationProgramStateError, AuthenticationProgramStateSignatureAnalysis, AuthenticationProgramStateStack, } from '../../vm-types'; import { combine...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { MongoDBDatabaseGetResults, MongoDBResourcesListMongoDBDatabasesOptionalParams, MongoDBCollectionGetResults, MongoDBResourcesListMongoDBCollectionsOptionalParams, MongoDBR...
the_stack
import { Dispatchable } from '../helpers/dispatchable'; import { Dic, Utils } from '../helpers/utils'; import { auth, debug, logger } from '../main'; import { DocType } from '../model/doc'; import { AppError, AppErrorType, AppProblem } from '../model/exceptions'; import { /*TokenUpdateWebMessage,*/ WebMessage, WebMessa...
the_stack
import { mocked } from "ts-jest/utils"; import { User } from "../../models/user"; import { Dashboard, DashboardState, DashboardItem, } from "../../models/dashboard"; import DynamoDBService from "../../services/dynamodb"; import DashboardRepository from "../dashboard-repo"; import WidgetFactory from "../../factori...
the_stack