text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { Table } from "./Table" import { PostgreSqlConnection } from "./connections/PostgreSqlConnection" import { ConsoleLogNoopQueryRunner } from "./queryRunners/ConsoleLogNoopQueryRunner" import { View } from "./View" import { ConsoleLogQueryRunner } from "./queryRunners/ConsoleLogQueryRunner" import { NoopQueryRunn...
the_stack
import { expect } from 'chai'; import * as fse from 'fs-extra'; import * as _git from 'nodegit'; import * as path from 'path'; import { VcsAccountDummy, VcsAuthenticationInfoDummy } from '../../core/dummies'; import { GitMergeConflictedError } from '../../core/git'; import { VcsFileChange, VcsFileChangeStatusTypes } fr...
the_stack
import { CancellationToken, ConfigurationTarget, CustomTextEditorProvider, Disposable, Position, Range, TextDocument, Uri, WebviewPanel, window, workspace, WorkspaceEdit, } from 'vscode'; import { getNonce } from '@env/crypto'; import { ShowQuickCommitCommand } from '../../commands'; import { configuration ...
the_stack
import * as reflect from 'jsii-reflect'; import * as log4js from 'log4js'; import { validateStabilities } from './stability'; import { Analysis, FailedAnalysis, isSuperType, isNominalSuperType, } from './type-analysis'; import { IReport } from './types'; const LOG = log4js.getLogger('jsii-diff'); /** * The ...
the_stack
const jStat: any = require('jStat').jStat; export enum StatisticResult {Slower, Undecided, Faster} export enum DisplayMode { DisplayMean, DisplayMedian, BoxPlot } export enum FrameworkType { KEYED, NON_KEYED } export interface Framework { name: string; type: FrameworkType; issues: number[]; displayna...
the_stack
import React, { useCallback, useState, FC, useEffect, } from 'react'; import nodePath from 'path'; import { pathUtils, pagePathUtils } from '@growi/core'; import { useDrag, useDrop } from 'react-dnd'; import { useTranslation } from 'react-i18next'; import { UncontrolledTooltip, DropdownToggle } from 'reactstrap'; ...
the_stack
import * as _ from "underscore"; import {UserDatasource} from "../../../model/user-datasource"; import {A_Expr, BoolExpr, JoinExpr, JoinType, RangeVar, ResTarget, SqlDialect, VisualQueryModel, VisualQueryService} from "../../../services/VisualQueryService"; import {QueryParser} from "../../wrangler/query-parser"; impo...
the_stack
import type { TextDocumentContentChangeEvent } from 'vscode-languageserver-textdocument' import { TextDocument } from 'vscode-languageserver-textdocument' import type { ExternalEventEmitter, Externals, FsWatcher, IntervalId } from '../common/index.js' import { bufferToString, Logger, SingletonPromise, StateProxy } from...
the_stack
import * as crypto from "crypto"; import ICryptoKeyIV from "../../ICryptoKeyIV"; import CryptoTools from "../../CryptoTools"; const TAG_SIZE = 16; const MIN_CHUNK_LEN = TAG_SIZE * 2 + 3; const MIN_CHUNK_SPLIT_LEN = 0x0800; const MAX_CHUNK_SPLIT_LEN = 0x3FFF; const INFO_STR = "ss-subkey"; /** * calculate the HMAC fr...
the_stack
import { Component, Output, OnInit, EventEmitter, Input, ChangeDetectorRef, OnDestroy } from "@angular/core"; import { IslDataService } from "../services/isl-data.service"; import { DygraphService } from "../services/dygraph.service"; import * as _moment from 'moment'; declare var moment: any; declare var Dygraph :any;...
the_stack
import { _, IsServerSideGroupOpenByDefaultParams, RowBounds, Autowired, Bean, BeanStub, Column, ColumnModel, PostConstruct, RowNode, ValueService, NumberSequence, Beans } from "@ag-grid-community/core"; import { NodeManager } from "../nodeManager"; @Bean('ssrmBlockUt...
the_stack
import { formatAndWriteItem, formatAndWriteList } from '../format' import { IOFormat } from '../io-util' import * as output from '../output' import * as outputBuilder from '../output-builder' import { buildMockCommand } from './test-lib/mock-command' import { SimpleType } from './test-lib/simple-type' describe('forma...
the_stack
module RongIMLib { /** * 消息基类 */ export class BaseMessage { _name = "BaseMessage"; _header: Header; _headerCode: any; lengthSize: any = 0; constructor(arg: any) { if (arg instanceof Header) { this._header = arg; } else { ...
the_stack
import type { MapLike } from 'typescript' import { ControlDescription, ObjectControlDescription, Vector2ControlDescription, Vector3ControlDescription, PropertyControls, expression, importStar, } from 'utopia-api' const Vector3: Vector3ControlDescription = { control: 'vector3', } const Vector2: Vector2...
the_stack
import { Message } from "@keplr-wallet/router"; import { ChainInfo, KeplrSignOptions, Key } from "@keplr-wallet/types"; import { AminoSignResponse, StdSignature, StdSignDoc } from "@cosmjs/launchpad"; export class EnableAccessMsg extends Message<void> { public static type() { return "enable-access"; } const...
the_stack
import * as React from 'react'; import { useMemo, useState } from 'react'; import * as TestRenderer from 'react-test-renderer'; import { useFragment as useFragmentNodeOriginal, useFragmentSubscription, ReactRelayContext, } from '../src'; import { FRAGMENT_OWNER_KEY, FRAGMENTS_KEY, ID_KEY, cr...
the_stack
import type * as Database from 'better-sqlite3'; import {Utils, FS, ProcessManager, Repl} from '../lib'; import {Config} from './config-loader'; import * as path from 'path'; /** Max friends per user */ export const MAX_FRIENDS = 100; /** Max friend requests. */ export const MAX_REQUESTS = 6; export const DEFAULT_FILE...
the_stack
import * as TKUnit from '../../tk-unit'; import * as helper from '../../ui-helper'; import { Builder } from '@nativescript/core/ui/builder'; import { Label } from '@nativescript/core/ui/label'; import { Button } from '@nativescript/core/ui/button'; import { Page } from '@nativescript/core/ui/page'; import { View, isIOS...
the_stack
import { AfterViewChecked, AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentFactoryResolver, ComponentRef, ContentChildren, Directive, ElementRef, EmbeddedViewRef, EventEmitter, HostListener, Injector, Input, Output, Query...
the_stack
import { TokenType } from './lexer' import { ExpressionNode, Parser, TemplateParser } from './parser' describe('Parser', () => { const TESTS: { [expr: string]: ExpressionNode } = { '!a': { Unary: { operator: '!', expression: { Identifier: 'a' }, }, ...
the_stack
import * as assert from 'assert' import * as E from 'fp-ts/lib/Either' import { none, some } from 'fp-ts/lib/Option' import { flow } from 'fp-ts/lib/function' import * as t from 'io-ts' import { failure } from 'io-ts/lib/PathReporter' import * as sinon from 'sinon' import { Decoder } from '../src/Decode' import * as Ht...
the_stack
import ago from "s-ago"; import { matchSorter } from "match-sorter"; import { Fragment, useCallback, useEffect, useRef, useState } from "react"; import { groupBy } from "../../../common/groupBy"; import type { LocalStateUI, MenuItemHeader, MenuItemLink, MenuItemText, } from "../../../common/types"; import { helper...
the_stack
import * as ast from "@typescript-eslint/types/dist/ast-spec" import { AST_NODE_TYPES, parse } from "@typescript-eslint/typescript-estree" import { ExtractedToken, ExtractedTokenKind, Extractor } from "." const twinLabel = "twin.macro" export function findAll(code: string, jsxPropImportChecking: boolean) { const tok...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/imagesOperationsMappers"; import * as Parameters from "../models/parameters"; import { ImageSearchClientContext } from "../imageSearchClientContext"; /** Class representing a ImagesOperations. */ expor...
the_stack
import * as _ from 'lodash'; import { safeYAMLToJS, safeJSToYAML } from '@console/shared/src/utils/yaml'; import { ImageOptionFormData } from '../sections/ImagesSection'; import { BuildConfig, BuildConfigTrigger, ImageReference } from '../types'; import { BuildConfigFormikValues } from './types'; const deleteKeys = (o...
the_stack
import * as fs from 'fs'; import * as ts from 'typescript'; interface Const { typeName: string // repeated in each const goType: string me: ts.Node name: string // constant's name value: string // constant's value } let Consts: Const[] = []; let seenConstTypes = new Map<string, boolean>(); interface St...
the_stack
import { v4 as uuid } from "uuid"; import * as he from "html-entities"; import { IBasicProtocolMessage } from "../MessageFormatter"; import { XMPPFeatures, XMPPStatusCode } from "./XMPPConstants"; function encode(text) { return he.encode(text, { level: "xml", mode: "nonAscii"}); } export interface IStza { typ...
the_stack
import * as pem from 'pem'; import * as fs from 'fs'; const tests = { 'Create default sized dhparam key': (test: any) => { pem.createDhparam((error: any, data: any) => { const dhparam = (data && data.dhparam || '').toString(); test.ifError(error); test.ok(dhparam); test.ok(dhparam.match(/...
the_stack
import { EventEmitter } from "events"; import * as most from "most"; import { Promise } from "bluebird"; import { StreamDSL } from "./StreamDSL"; import { LastState } from "../actions"; import { StorageMerger } from "../StorageMerger"; import { messageProduceHandle } from "../messageProduceHandle"; const MESSAGE = "me...
the_stack
import React from 'react'; import { bind } from 'lodash-decorators'; import clsx from 'clsx'; import * as DraftJs from 'draft-js'; import { List } from 'immutable'; import { VisibilityProperty } from 'csstype'; import { LinkDecorator, isSoftNewLineEvent, isListBlock, RichTextEditorCommand, RichText...
the_stack
import 'mocha'; import { expect } from '@integration/testing-tools'; import { actorCalled, AssertionError, Expectation } from '@serenity-js/core'; import { and, contain, containAtLeastOneItemThat, endsWith, Ensure, equals, includes, isFalse, isGreaterThan, isLessThan, isTru...
the_stack
import SObject from '../Core/SObject'; import {SClass} from '../Core/Decorator'; import Texture from '../Texture/Texture'; import Debug from '../Debug'; import {Matrix3} from '../Core/Math'; /** * `AtlasManager`的初始化参数类型。 */ export interface IAtlasOptions { /** * 图片。 */ image?: HTMLImageElement | HTMLCanvas...
the_stack
import { Component } from 'vue-property-decorator'; import _ from 'lodash'; import * as history from './history'; import ColumnSelect from '@/components/column-select/column-select'; import ConstantsList from '@/components/constants-list/constants-list'; import FormInput from '@/components/form-input/form-input'; impo...
the_stack
import { format, parseISO, isValid } from 'date-fns' // eslint-disable-line no-restricted-imports // Importing 'is' directly from date-fns/locale/is has caused unexpected problems import { is } from 'date-fns/locale' // eslint-disable-line no-restricted-imports import { CaseAppealDecision, CaseCustodyRestrictions,...
the_stack
import {Watcher, Program, RawMap, RawValue, RawEAV, forwardDiffs, appendAsEAVs, createId} from "../watchers/watcher"; import {CompilerWatcher} from "../watchers/compiler"; class EditorWatcher extends Watcher { editor: Program; setup() { this.editor = this.createEditor(); let {editor, program} = this; ...
the_stack
module WinJSTests { "use strict"; var COUNT = 6; var JUMPSCOUNT = 10; var FlipView = <typeof WinJS.UI.PrivateFlipView> WinJS.UI.FlipView; function narratorScrollChangedTest(element, flipview, rawData, complete) { var tests = [ function () { LiveUnit.Assert.are...
the_stack
import { Component } from '@angular/core'; import { CustomInsightsWidget, IBaseStyleConfig, ICustomColorElement, ICustomData, ICustomElement, ICustomInsightsWidgetConfig, IEmotion, ITopic, IInsightsWidgetConfig, IWidgetStyle, InsightsWidget } from '@azure/video-analyzer-for-m...
the_stack
import { Component, Input, Directive } from '@angular/core'; import { ComponentFixture, TestBed, fakeAsync, tick, inject, async } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { ...
the_stack
import { TextRange, Position, TextProcessor, TextProcessingOptions, TextResult, KeyCode } from "./common" import { Deasciifier, Asciifier } from "./deasciifier" import { CorrectionCallback, CorrectionMenu } from "./correction_menu" import { KeyboardCallback, Keyboard } from "./keyboard" import { TextHelper } from "...
the_stack
import { promises as fs } from 'fs' import path from 'path' import { isArray, isBoolean, isEmptyObject, isString } from '@intlify/shared' import { createFilter } from '@rollup/pluginutils' import { generateJSON, generateYAML, checkInstallPackage } from '@intlify/bundle-utils' import fg from 'fast-glob' import cre...
the_stack
import * as http from "http"; import * as path from "path"; import * as fs from "fs"; import * as url from "url"; import { File, BCVE, CVEString, CommitID, CommitDescription, ToolID, RuleID, CWEString } from "../../../../../src/persistent-types"; import * as ClientTypes from "../shared/shared-types"; fu...
the_stack
import { getQuickJS, QuickJSVm, QuickJSHandle, InterruptHandler, QuickJSDeferredPromise, } from './quickjs' import { it, describe } from 'mocha' import assert from 'assert' import { VmCallResult } from './vm-interface' import fs from 'fs' describe('QuickJSVm', async () => { let vm: QuickJSVm = undefined as...
the_stack
import * as React from 'react'; import { Box as ReakitBox } from 'reakit'; import ConditionalWrap from 'conditional-wrap'; import { Size } from '../types'; import { useClassName, createComponent, createElement, createHook, mergeRefs, pickCSSProps, omitCSSProps, useLabelPlaceholder, useUniqueId, } fro...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [macie2](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonmacie.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/refere...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { DiagramElement } from '../../../src/diagram/core/elements/diagram-element'; import { Canvas } from '../../../src/diagram/core/containers/canvas'; import { HorizontalAlignment, VerticalAlignment, Relati...
the_stack
import * as Common from '../../../../core/common/common.js'; import * as i18n from '../../../../core/i18n/i18n.js'; import * as Platform from '../../../../core/platform/platform.js'; import * as UI from '../../legacy.js'; import {MinimalTimeWindowMs} from './FlameChart.js'; export interface ChartViewportDelegate { ...
the_stack
import { TKeyType, IKey, ManagedKeyInfo, MinimalImportableKey, RequireOnly } from '@veramo/core' import { AbstractKeyManagementSystem, AbstractPrivateKeyStore } from '@veramo/key-manager' import { ManagedPrivateKey } from '@veramo/key-manager' import { EdDSASigner, ES256KSigner } from 'did-jwt' import { generateKeyP...
the_stack
import { isDeno } from '../util' import { CANCEL_BUBBLE_IMMEDIATELY } from './Event' // note that we are using provided EventTarget if possible (deno) class EventTarget implements globalThis.EventTarget { // beware collisions, preact is using node._listeners #listeners = {} addEventListener(type: string, listen...
the_stack
import * as _ from 'lodash'; import { Component, ElementRef, EventEmitter, Injector, Input, OnDestroy, OnInit, Output } from '@angular/core'; import { PopupService } from '@common/service/popup.service'; import { AbstractPopupComponent } from '@common/component/abstract-popup.component'; import { PrDataset } from '@dom...
the_stack
import React, { Component } from 'react' import { StyleSheet, Text, View, Image, Dimensions, TouchableNativeFeedback, TextInput, Linking, Animated, Platform, Keyboard } from 'react-native' declare var global import Ionicons from 'react-native-vector-icons/Ionicons' import { standardColor, accentC...
the_stack
import { UxPositioningOptions, UxPlacement, UxMissingSpaceStrategy, UxPositioningConfiguration } from './interfaces'; import { inject, TaskQueue } from 'aurelia-framework'; // import this CSS for the default hidden class `.ux-positioning--hidden` import './ux-positioning.css'; type MainPlacement = 'left' | 'right' | '...
the_stack
// tslint:disable:no-duplicate-imports // tslint:disable:trailing-comma import * as assert from 'assert'; import * as parsec from 'typescript-parsec'; import { buildLexer, Token } from 'typescript-parsec'; import { alt, apply, errd, kleft, kmid, kright, opt, opt_sc, rep, rep_sc, repr, seq, str, tok } from 'typescript-...
the_stack
import { RequestParameters } from "@azure-rest/core-client"; import { BasicDef, IntWrapper, LongWrapper, FloatWrapper, DoubleWrapper, BooleanWrapper, StringWrapper, DateWrapper, DatetimeWrapper, Datetimerfc1123Wrapper, DurationWrapper, ByteWrapper, ArrayWrapper, DictionaryWrapper, Siamese,...
the_stack
import { SourceLocation, SourceRange } from '../utils/source_locations'; import { ThingTalkSyntaxError } from '../utils/errors'; import { CONTEXTUAL_KEYWORDS, DOLLAR_KEYWORDS, FORBIDDEN_KEYWORDS, KEYWORDS } from './keywords'; import { Token } from './token'; function unescape(string : string, sourceloc : SourceRange) ...
the_stack
import { JsonConvert } from "../src/json2typescript/json-convert"; import { JsonObject, JsonProperty } from "../src/json2typescript/json-convert-decorators"; import { PropertyConvertingMode, ValueCheckingMode } from "../src/json2typescript/json-convert-enums"; describe("JsonConvert primitive type tests", () => { ...
the_stack
import { includes, map, reduce, indexOf, constant, escapeRegExp, get, } from 'lodash'; import React, { useState } from 'react'; import { Meta } from '@storybook/react'; import { SearchableSingleSelect, Underline } from '../../index'; //👇 Provide Storybook with the component name, 'section', any subcomponents ...
the_stack
import { Aurelia, TaskQueue, useShadowDOM } from 'aurelia-framework'; import { inlineView, Controller, bindable, ShadowDOM, ViewSlot, ShadowSlot } from './aurelia-templating'; import 'aurelia-loader-webpack'; import { child, children } from '../src/child-observation'; interface IChildObserver {} interface IBindableMu...
the_stack
import { ChangeEvent, DragEvent, useCallback, useEffect, useReducer, } from "react"; import { nanoid } from "nanoid"; import { omit } from "@react-md/utils"; import { CompletedFileUploadStats, getFileParser as defaultGetFileParser, FileAccessError, FileReaderResult, FileUploadHandlers, FileUpload...
the_stack
import { Component, ViewEncapsulation, OnInit } from '@angular/core'; import { LogService, Logger } from './service/log/log.service'; import * as MidiConvert from "midiconvert"; import { IHeader, ITrack, INote } from "./service/mtosState/mtosState.module"; import { ContextMenuService } from "./ui/contextMenu/contextM...
the_stack
import { info } from 'console'; import { pathExists, writeJSON } from 'fs-extra'; import { defaultsDeep } from 'lodash'; import { dirname, resolve } from 'path'; import readPackage from 'read-pkg'; import resolvePackage from 'resolve-pkg'; import writePackage from 'write-pkg'; import { generateContent, getVariable, re...
the_stack
import { join, resolve, sep } from "path"; import { expect } from "chai"; import * as mock from "mock-fs"; import * as sinon from "sinon"; import { _files, _findPackage, _resolvePackageMap, dependencies, INpmPackage, INpmPackageMap, readPackage, readPackages, } from "../../../src/lib/util/dependencies...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormCampaign { interface Header extends DevKit.Controls.IHeader { /** Type the expected revenue for the campaign for return on investment projections and post-campaign reporting. */ ExpectedRevenue: DevKit.Controls.Money; ...
the_stack
import Vue from 'vue'; import Vuex, { CommitOptions, DispatchOptions, Module, ModuleTree, Payload, Store, StoreOptions, } from 'vuex'; Vue.use(Vuex); // Override dispatch and commit so that we can have them typed with the real mutations/actions. interface VuexDispatch<P> { <T extends keyof P>(type: T, payload...
the_stack
import { LitElement, css, PropertyValues, html, nothing, render, TemplateResult, } from 'lit'; import {DirectiveResult} from 'lit/directive.js'; import {customElement, property, query, state} from 'lit/decorators.js'; import {ifDefined} from 'lit/directives/if-defined.js'; import {CodeMirror} from './inte...
the_stack
import * as _ from 'lodash'; // The following line is important to keep in that format so it can be rendered into the page export const config: IDashboardConfig = /*return*/ { id: "mbf_advanced_health", name: "MBF Advanced Health", icon: "av_timer", url: "mbf_advanced_health", description: "Bot Framework Adv...
the_stack
const mysql = require('mysql') const pbkdf2 = require('pbkdf2') const crypto = require('crypto') const index = require('./index') const jwt = require('jsonwebtoken') const config = require('config') import { FindUserResult, BlockGpsStat, MergedBlockGpsStat, MergeBlocksInput, WorkerShareStat, PoolStat, DatabaseGrinStat ...
the_stack
import { AuditApp } from '../model/auditApp'; import { AuditAppPaging } from '../model/auditAppPaging'; import { AuditBodyUpdate } from '../model/auditBodyUpdate'; import { AuditEntryEntry } from '../model/auditEntryEntry'; import { AuditEntryPaging } from '../model/auditEntryPaging'; import { BaseApi } from './base.ap...
the_stack
import * as chai from 'chai'; import * as spies from 'chai-spies'; import * as os from 'os'; import { resolve } from 'path'; import { commands, Position, Range, Selection, Uri, window } from 'vscode'; import * as capitalizationOfMetadata from '../../../../controllers/cleanup/capitalizationOfMetadata'; import { ...
the_stack
import log from "loglevel"; const rPlural = /(children|ies|ves|oes|ses|ches|shes|xes|s)$/i; const mSingular: { [key: string]: string | number } = { children: -3, ies: "y", ves: "f", oes: -2, ses: -2, ches: -2, shes: -2, xes: -2, s: -1, }; function collectClassInfo(metadata: ClassInfo, className: str...
the_stack
import { ApexExecutionOverlayResultCommandSuccess } from '../../../src/commands/apexExecutionOverlayResultCommand'; import { ApexHeapDump } from '../../../src/core'; // Rather than duplicate a large heapdump in multiple places just have a common function return it. The // heap dump for triggers is ends up bring pretty...
the_stack
import * as fs from 'fs-extra'; import * as path from 'path'; import * as rimraf from 'rimraf'; import { addFunction, addLayer, addOptData, addOptFile, amplifyPushAuth, amplifyPushLayer, amplifyStatus, createNewProjectDir, deleteProject, deleteProjectDir, ExecutionContext, expectDeployedLayerDes...
the_stack
import ts from 'typescript'; import {absoluteFrom} from '../../src/ngtsc/file_system'; import {runInEachFileSystem} from '../../src/ngtsc/file_system/testing'; import {loadStandardTestFiles} from '../../src/ngtsc/testing'; import {NgtscTestEnvironment} from './env'; const testFiles = loadStandardTestFiles(); runInE...
the_stack
module android.view.menu { import Resources = android.content.res.Resources; import R = android.R; import ListPopupWindow = android.widget.ListPopupWindow; import KeyEvent = android.view.KeyEvent; import LayoutInflater = android.view.LayoutInflater; import MenuItem = android.view.MenuItem; import Menu = android.view.Me...
the_stack
import {TestBed} from '@angular/core/testing'; import * as tf from '@tensorflow/tfjs'; import fetchMock from 'fetch-mock'; import {AppComponent} from './app.component'; const weightsManifest: tf.io.WeightsManifestEntry[] = [{name: 'Const', dtype: 'int32', shape: [1]}]; const SIMPLE_MODEL = { node: [ { ...
the_stack
import BigNumber from 'bignumber.js'; import { assert } from 'chai'; import { DODOContext, getDODOContext } from '../utils-v1/ProxyContextV1'; import { ProxyContext, getProxyContext } from '../utils/ProxyContextV2'; import { decimalStr, MAX_UINT256, fromWei, mweiStr } from '../utils-v1/Converter'; import { logGas } fro...
the_stack
import { assign, defaults, differenceBy, each, flatMap, groupBy, map, reverse, uniqBy } from 'lodash'; // import * as _ from 'lodash'; import { Observable, Subject } from 'rxjs'; import { createConnection, CodeLens, CompletionItem, CompletionList, Diagnostic, DiagnosticSeverity, DidChangeTex...
the_stack
module android.view.animation { import RectF = android.graphics.RectF; import ArrayList = java.util.ArrayList; import List = java.util.List; import Long = java.lang.Long; import Animation = android.view.animation.Animation; import Interpolator = android.view.animation.Interpolator; import Transformation = android.view....
the_stack
import * as THREE from 'three'; const container = document.createElement('div'); const camera = new THREE.PerspectiveCamera(50, window.innerWidth / window.innerHeight, 1, 1000); const scene = new THREE.Scene(); const renderer = new THREE.WebGLRenderer({ antialias: true }); const group = new THREE.Group(); let targe...
the_stack
import options from '../options'; import type { HookType, Ref as ReactRef, ContextInternal as ReactContext, } from '../types'; import type { Inputs, Ref, PropRef, Reducer, HookState, EffectHookState, Component, HookTypeMap, StateUpdater, EffectCallback, } from './types'; let currentHook = 0;...
the_stack
import { ITextIntentSequenceLabelObjectByPosition} from "./ITextIntentSequenceLabelObjectByPosition"; import { Data } from "./Data"; import { Utility } from "../utility/Utility"; export class ColumnarData extends Data { public static createColumnarDataFromSamplingExistingColumnarDataUtterances( existing...
the_stack
import ThePlugin from "../main"; import { GenericFuzzySuggester, SuggesterItem } from "./GenericFuzzySuggester"; import { grabCommmunityPluginList, grabCommmunityThemesList } from "../features/githubUtils"; import { themeseCheckAndUpdates, themesInstallFromCommunityList } from "../features/themes"; import AddNewTheme f...
the_stack
import * as _ from 'lodash'; import * as setProtocolUtils from 'set-protocol-utils'; import { Address } from 'set-protocol-utils'; import { CoreContract, CoreMockContract, LiquidatorMockContract, SetTokenContract, RebalanceAuctionModuleContract, RebalancingSetTokenContract, RebalancingSetTokenV2Contract,...
the_stack
declare module ManipulationHelpers { import Color3 = BABYLON.Color3; import Scene = BABYLON.Scene; import Vector3 = BABYLON.Vector3; import Quaternion = BABYLON.Quaternion; import Vector2 = BABYLON.Vector2; const enum RadixFeatures { None = 0, /** * Display the Arrow tha...
the_stack
import { implementsIAcmImportCertProps, implementsINewSecretProps, implementsISecretCertificate, implementsIX509CertificateEncodePkcs12, implementsIX509CertificateGenerate, implementsIX509ResourceProperties, implementsTag, } from '../types'; test.each([ // Valid [ [{ Key: 'key', Value: 'val' }], ...
the_stack
import { AdjacentBoundaryBehaviour, Annotation, AnnotationCollection, AnnotationConstructor, AnnotationJSON, compareAnnotations, Deletion, EdgeBehaviour, Insertion, ParseAnnotation, UnknownAnnotation, } from "./internals"; /** * Get the function that converts between two documents. Use this to g...
the_stack
import { assertCardRule, assertAssignmentRule, assertFlagRule, assertOnlyRule, assertBindingRule, assertContainsRule, assertCaretValueRule, assertObeysRule, assertInsertRule, assertAddElementRule } from '../testhelpers/asserts'; import { FshCanonical, FshCode, FshQuantity, FshRatio, FshRef...
the_stack
import 'intl-pluralrules'; import '@formatjs/intl-relativetimeformat/polyfill-locales'; import IntlRelativeFormat, { IntlRelativeFormatOptions } from '../src'; import { expect as chaiExpect } from 'chai'; import { LocaleData, STYLE, SUPPORTED_FIELD } from '../src/types'; declare global { var expect: typeof chaiExpect...
the_stack
declare module 'util' { import * as types from 'util/types'; export interface InspectOptions extends NodeJS.InspectOptions { } export type Style = 'special' | 'number' | 'bigint' | 'boolean' | 'undefined' | 'null' | 'string' | 'symbol' | 'date' | 'regexp' | 'module'; export type CustomInspectFunction =...
the_stack
import { Component } from 'vue-property-decorator'; import _ from 'lodash'; import $ from 'jquery'; import L, { Map as LeafletMap, LeafletEvent, LeafletMouseEvent, Circle } from 'leaflet'; import template from './map.html'; import ColumnSelect from '@/components/column-select/column-select'; import { Visualization, ...
the_stack
import type { DataItem } from "../../core/render/Component"; import { VennDefaultTheme } from "./VennDefaultTheme"; import { Series, ISeriesSettings, ISeriesDataItem, ISeriesPrivate } from "../../core/render/Series"; import { Template } from "../../core/util/Template"; import { Graphics, visualSettings } from "../../c...
the_stack
import { Rule, Diagnostic } from "@siteimprove/alfa-act"; import { Cache } from "@siteimprove/alfa-cache"; import { Color } from "@siteimprove/alfa-css"; import { Device } from "@siteimprove/alfa-device"; import { Element, Node, Text } from "@siteimprove/alfa-dom"; import { Equatable } from "@siteimprove/alfa-equatable...
the_stack
//import expect = require("chai").expect; import chai = require("chai"); import chaiAsPromised = require("chai-as-promised"); import lb_constants = require("../../lib/constants/loopback_constants"); import {LoopbackRelationDefinition} from "../../lib/types/loopbacktypes"; import {ODataGetBase} from "../../../lib/base/g...
the_stack
import { isNullOrUndefined } from '@syncfusion/ej2-base'; import { DataManager } from '@syncfusion/ej2-data'; import { Grid } from '../../../src/grid/base/grid'; import { ReturnType } from '../../../src/grid/base/type'; import { Sort } from '../../../src/grid/actions/sort'; import { Selection } from '../../../src/grid/...
the_stack
import * as assert from 'assert'; import { isWindows } from 'vs/base/common/platform'; import { tmpdir } from 'os'; import { createHash } from 'crypto'; import { insert } from 'vs/base/common/arrays'; import { hash } from 'vs/base/common/hash'; import { isEqual } from 'vs/base/common/resources'; import { existsSync, re...
the_stack
export type URLProtocol = 'http' | 'https' | 'ftp' | string; export type UUIDVersion = 1 | 2 | 3 | 4 | 5 | '1' | '2' | '3' | '4' | '5' | 'all'; export type IPVersion = 4 | 6; export type AlphaLocale = | 'ar' | 'ar-AE' | 'ar-BH' | 'ar-DZ' | 'ar-EG' | 'ar-IQ' | 'ar-JO' | 'ar-KW' | 'ar-LB' | 'ar-LY' ...
the_stack
import { URI, UriComponents } from 'vs/base/common/uri'; import { MainContext, IMainContext, ExtHostFileSystemShape, MainThreadFileSystemShape, IFileChangeDto } from './extHost.protocol'; import type * as vscode from 'vscode'; import * as files from 'vs/platform/files/common/files'; import { IDisposable, toDisposable }...
the_stack
import * as React from 'react'; import { AnimatePropTypeInterface, CategoryPropType, Data, DataGetterPropType, EventCallbackInterface, EventPropTypeInterface, Helpers, NumberOrCallback, OriginType, PaddingProps, SliceNumberOrCallback, SortOrderPropType, StringOrNumberOrCallback, StringOrNumb...
the_stack
declare module '@stripe/stripe-js' { // Polyfill for TypeScript < 3.5 compatibility type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>; type CreatePaymentMethodData = | CreatePaymentMethodAcssDebitData | CreatePaymentMethodAffirmData | CreatePaymentMethodAfterpayClearpayData | Creat...
the_stack
// IMPORTANT // This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator // Generated from: https://dataproc.googleapis.com/$discovery/rest?version=v1 /// <...
the_stack
import { PdfAnnotationBaseModel, PdfFormFieldBaseModel } from './pdf-annotation-model'; import { DrawingElement, TextElement, PointModel, Point, BaseAttributes, rotateMatrix, identityMatrix, transformPointByMatrix, Matrix } from '@syncfusion/ej2-drawings'; import { Transforms } from './drawing'; import { getValue } fro...
the_stack