text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import {Component, Inject, OnDestroy, OnInit, ViewChild} from "@angular/core"; import {ImportComponentOption, ImportComponentType, ImportProperty, ImportService} from "../../../services/ImportComponentOptionTypes"; import {FileUpload} from "../../../../services/FileUploadService"; import {RestUrlConstants} from "../../...
the_stack
import fs from 'fs'; import path from 'path'; import {homedir} from 'os'; import {ChildProcess, fork} from 'child_process'; import windowStateKeeper from 'electron-window-state'; import JSZip from 'jszip'; import { App, BrowserWindow, Dialog, IpcMain, IpcMainEvent, Menu, MenuItem, MenuItemConstructorOp...
the_stack
import * as url from "url"; import { Cancelable, CancelSubscription } from "@esfx/cancelable"; import { CancelToken } from "@esfx/async-canceltoken"; import { Disposable } from '@esfx/disposable'; // NOTE: grammarkdown requires a minimum of ES5. if (typeof Object.create !== "function") throw new Error("Grammar...
the_stack
import { Account, BlockInfoFailed, BlockInfoSucceeded, isBlockInfoPending, isConfirmedAndSignedTransaction, isConfirmedTransaction, isFailedTransaction, isSendTransaction, SendTransaction, TransactionId, TransactionState, } from "@iov/bcp"; import { Ed25519, Sha512 } from "@iov/crypto"; import { H...
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/labAccountsMappers"; import * as Parameters from "../models/parameters"; import { ManagedLabsClientContext } from "../managedLabsClientContext"; ...
the_stack
import useHandler from "./useHandler"; import { ApwContentTypes } from "~/types"; import { ApwScheduleAction, ApwScheduleActionCrud, ApwScheduleActionTypes } from "~/scheduler/types"; const ONE_MINUTE = 1000 * 60; const TIME_SEPARATOR = ":"; const getIsoStringTillMinutes = (datetime: string): string => { ...
the_stack
import { MathTmp } from './preallocatedVariables' import { FloatArray, Epsilon } from './types' import { Matrix } from './Matrix' import { Quaternion } from './Quaternion' import { Scalar } from './Scalar' /** @public */ export type ReadOnlyVector3 = { readonly y: number readonly x: number readonly z: number } ...
the_stack
import { request as ghRequest } from "@octokit/request"; import { Octokit } from "@deliverybot/core"; import { config as getConfig, EnvLockStore, WatchStore, Targets, Watch, } from "@deliverybot/deploybot"; import get from "lodash.get"; import { Repo } from "../auth"; import { timeAgoInWords, hash } from "../...
the_stack
import { MockProvider } from '@ethereum-waffle/provider' import type { TransactionRequest } from '@ethersproject/abstract-provider' import { constants } from 'ethers' import { Contract } from 'ethers' import { expect } from 'chai' import { BigNumber, ethers } from 'ethers' import { getAddress } from 'ethers/lib/utils' ...
the_stack
module Spriter { export class SpriterBin extends SpriterFile { // spriter data private static ATTR_VERSION = 0; private static ATTR_GENERATOR = 1; private static ATTR_GENERATOR_VERSION = 2; // folder private static ATTR_FOLDER_ID = 0; private static ATTR_FO...
the_stack
import * as moment from 'moment'; import { Order } from 'ccxt'; import { Influx } from '../../Influx/Influx'; import { Candle } from '../../Env/Candle'; import { logger } from '../../../logger'; import { MEASUREMENT_PORTFOLIO, MEASUREMENT_TRADES } from '../../Influx/constants'; import { PortfolioModel } from './model';...
the_stack
import { Component, OnInit, ViewChild } from '@angular/core'; import { TabsetComponent } from 'ngx-bootstrap/tabs'; import { ReportDescriptorVO, ReportRequestVO, ReportRequestParameterVO, Pair } from './../shared/model/index'; import { ShopVO, FulfilmentCentreInfoVO } from './../shared/model/index'; import { FormValida...
the_stack
import NoodeDefinition from '../types/NoodeDefinition'; import NoodelOptions from '../types/NoodelOptions'; import NoodeState from '../types/NoodeState'; import NoodelState from '../types/NoodelState'; import { showActiveSubtree } from './noodel-mutate'; import { setupRouting, unsetRouting } from './noodel-routing'; im...
the_stack
declare class AudioHelper { constructor(); /** * The primary Audio Context used to play client-facing sounds. * The context is undefined until the user's first gesture is observed. * @defaultValue `undefined` */ context: AudioContext | undefined; /** * The set of AudioBuffer objects which are c...
the_stack
import "jest-extended"; import { DatabaseService } from "@packages/core-database"; import { Container, Enums } from "@packages/core-kernel"; import { DatabaseInteraction } from "@packages/core-state/src/database-interactions"; const app = { get: jest.fn(), terminate: jest.fn(), }; const connection = { que...
the_stack
import { Reducer } from "redux"; import moment from 'moment'; import { INetatmoState, NetatmoActionTypes } from "./types"; import {DataTypes} from "../../types/netatmo"; const initialState: INetatmoState = { client_id: '', client_secret: '', username: '', password: '', loading_auth: false, loa...
the_stack
// We can elide a lot of nodes especially tokens and keywords // because we don't create the AST from text import * as ts from "typescript"; import { LuaLibFeature } from "./transformation/utils/lualib"; import { castArray } from "./utils"; export enum SyntaxKind { File, Block, // Statements DoStatem...
the_stack
declare module 'stripe' { namespace Stripe { /** * The Product object. */ interface Product { /** * Unique identifier for the object. */ id: string; /** * String representing the object's type. Objects of the same type share the same value. */ obj...
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 Serverless...
the_stack
import * as os from 'os'; import * as path from 'path'; import { Architecture, AssetCode, Code, Runtime } from '@aws-cdk/aws-lambda'; import * as cdk from '@aws-cdk/core'; import { PackageInstallation } from './package-installation'; import { PackageManager } from './package-manager'; import { BundlingOptions, SourceMa...
the_stack
import tempy from 'tempy' /** * this is not a real package and only used to utilize helper * methods without having to ignore them for test coverage */ // eslint-disable-next-line import { clean, getResults } from './helpers/wdio-allure-helper' import AllureReporter from '../src/' import { runnerEnd, runnerStart }...
the_stack
import Interval from '@yavin/client/utils/classes/interval'; import Duration from '@yavin/client/utils/classes/duration'; import { module, test } from 'qunit'; import { getPeriodForGrain, Grain } from '@yavin/client/utils/date'; import moment, { Moment } from 'moment'; const FORMAT = 'YYYY-MM-DD'; module('Unit | Util...
the_stack
import { GaxiosPromise } from 'gaxios'; import { Compute, JWT, OAuth2Client, UserRefreshClient } from 'google-auth-library'; import { APIRequestContext, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions } from 'googleapis-common'; export declare namespace games_v1 { interface Options extends Gl...
the_stack
import {IuploadfileList, IattributeList, stringToNum} from "../ICommon"; import {indexedColors} from "../common/constant"; import {LightenDarkenColor} from "../common/method"; class xmloperation { /** * @param tag Search xml tag name , div,title etc. * @param file Xml string * @return Xml element st...
the_stack
// Pulled from https://github.com/facebook/react/blob/master/packages/react-dom/src/shared/possibleStandardNames.js const possibleStandardNames = { // HTML accept: 'accept', acceptcharset: 'acceptCharset', 'accept-charset': 'acceptCharset', accesskey: 'accessKey', action: 'action', allowfullscreen: 'allow...
the_stack
import { AbortController, AbortError, AbortSignal } from "../src"; import { assert } from "chai"; describe("AbortController", () => { function doAsyncOperation(aborter: AbortSignal, runningTimeinMs: number = 100): Promise<void> { const s = Date.now(); return new Promise((resolve, reject) => { // check ...
the_stack
import { Header } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { HeaderClient } from "../headerClient"; import { HeaderParamExistingKeyOptionalParams, HeaderResponseExistingK...
the_stack
import { Injectable } from '@angular/core'; import { AwesomeCordovaNativePlugin, Cordova, Plugin } from '@awesome-cordova-plugins/core'; const hypertrackIonicPluginVersion = "0.2.0" // Minimal cordova-plugin-hypertrack-v3 version: 0.5.0 @Plugin({ pluginName: 'cordova-plugin-hypertrack-v3', plugin: 'cordova-plugin-...
the_stack
import { createElement, isBlazor, isNullOrUndefined } from '@syncfusion/ej2-base'; import { ClickEventArgs } from '@syncfusion/ej2-buttons'; import { MenuEventArgs, Toolbar as Tool } from '@syncfusion/ej2-navigations'; import { PdfViewer, PdfViewerBase, Toolbar } from '../index'; import { DropDownButton, BeforeOpen...
the_stack
import { DebugElement } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { DropdownSitesComponent, Relations } from './sites-dropdown.component'; import { SitesService, setupTestBed } from '@alfresco/adf-core'; import { of } ...
the_stack
import * as assert from 'assert' import * as sinon from 'sinon' import * as vscode from 'vscode' import * as path from 'path' import * as codeLensUtils from '../../../shared/codelens/codeLensUtils' import * as Picker from '../../../shared/ui/picker' import { API_TARGET_TYPE, CODE_TARGET_TYPE, TEMPLATE_TARGE...
the_stack
import * as coreClient from "@azure/core-client"; /** The container for solution. */ export interface Solution { /** * Resource ID. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * Resource name. * NOTE: This property will not be ...
the_stack
import { clearNode, createEvent, createDomain, forward, createStore, sample, combine, createEffect, split, } from 'effector' import {argumentHistory} from 'effector/fixtures' it('will deactivate event', () => { const fn = jest.fn() const event = createEvent<number>() event.watch(x => fn(x)) c...
the_stack
/// <reference path="../typings/jquery/jquery.d.ts"/> /// <reference path="../typings/qunit/qunit.d.ts"/> /// <reference path="../ClientApi/WebApiCoreJQClientAuto.ts"/> // Make sure chutzpah.json is updated with reference to the jQuery lib when the lib is upgraded. // Sometimes the test cases are not appearing in Te...
the_stack
import assert from "assert"; import fs from "fs/promises"; import path from "path"; import { Awaitable, Context, Mount, Option, OptionType, Plugin, PluginContext, RequestContext, SetupResult, getRequestContext, viewToBuffer, } from "@miniflare/shared"; import dotenv from "dotenv"; import { Minifla...
the_stack
export = () => { it("should support element access", () => { const arr = [1, 2, 3]; expect(arr[0]).to.equal(1); expect(arr[1]).to.equal(2); expect(arr[2]).to.equal(3); expect([1, 2, 3][0]).to.equal(1); expect([1, 2, 3][1]).to.equal(2); expect([1, 2, 3][2]).to.equal(3); function foo() { const result...
the_stack
* @module @morgan-stanley/desktopjs */ import { Container, WebContainerBase } from "../container"; import { ContainerWindow, PersistedWindowLayout, Rectangle, WindowEventArgs } from "../window"; import { ScreenManager, Display, Point } from "../screen"; import { NotificationOptions } from "../notification"; import { ...
the_stack
import * as React from "react"; import { StyleSheet, View, Animated, BackHandler, Dimensions, } from "react-native"; import { PanGestureHandler, State } from "react-native-gesture-handler"; import { enableScreens, screensEnabled, ScreenContainer, Screen, } from "react-native-screens"; import { SharedE...
the_stack
import * as pathModule from 'path'; import { PathLike, symlink } from 'fs'; import { Node, Link, File } from './node'; import Stats from './Stats'; import Dirent from './Dirent'; import { Buffer, bufferAllocUnsafe, bufferFrom } from './internal/buffer'; import setImmediate from './setImmediate'; import process from './...
the_stack
namespace ts.projectSystem { describe("unittests:: tsserver:: ExternalProjects", () => { describe("can handle tsconfig file name with difference casing", () => { function verifyConfigFileCasing(lazyConfiguredProjectsFromExternalProject: boolean) { const f1 = { ...
the_stack
import assert from 'assert'; import clsx from 'clsx'; import dedent from 'dedent'; import React, { createContext, useContext, useMemo, Fragment, ReactNode, CSSProperties, ComponentType, } from 'react'; import { Atoms, atoms } from '../../css/atoms/atoms'; import { BackgroundProvider, BackgroundVariant...
the_stack
import { AbstractDatabase } from '../abstract/AbstractDatabase' import { Table, TablePrimary, TableIndex, TableUnique } from '../abstract/Table' import { TableColumn } from '../abstract/TableColumn' import * as Operations from './Operation' // @ts-ignore import isEqual from 'lodash.isequal' export async function compu...
the_stack
import {MDCFloatingLabel} from '../../mdc-floating-label/index'; import {MDCLineRipple} from '../../mdc-line-ripple/index'; import {MDCNotchedOutline} from '../../mdc-notched-outline/index'; import {MDCRipple} from '../../mdc-ripple/index'; import {emitEvent} from '../../../testing/dom/events'; import {createMockFounda...
the_stack
import { BuiltinTypes, createRefToElmWithValue, CORE_ANNOTATIONS, ElemID, ObjectType, createRestriction, ListType, } from '@salto-io/adapter-api' import * as constants from '../../../constants' import { enums } from '../enums' export const mapreducescriptInnerTypes: ObjectType[] = [] const mapreducescriptElemID = n...
the_stack
import Scanner, { isAlphaWord, isAlpha, isNumber, isAlphaNumericWord, isSpace, isQuote } from '@emmetio/scanner'; import { AllTokens, Literal, OperatorType, NumberValue, ColorValue, WhiteSpace, Operator, Bracket, StringValue, Field } from './tokens'; import { Chars } from './utils'; export * from './tokens'; export d...
the_stack
* @module PropertyEditors */ import "./SliderEditor.scss"; import classnames from "classnames"; import * as React from "react"; import { PropertyEditorParams, PropertyEditorParamTypes, PropertyValue, PropertyValueFormat, SliderEditorParams, StandardEditorNames, StandardTypeNames, } from "@itwin/appui-abstract"; imp...
the_stack
import { PublicKey, SystemProgram, SYSVAR_RENT_PUBKEY, TransactionInstruction, } from '@solana/web3.js'; import { programIds } from '../utils/ids'; import { deserializeBorsh } from './../utils/borsh'; import { serialize } from 'borsh'; import BN from 'bn.js'; import { PublicKeyInput } from 'node:crypto'; import...
the_stack
import { Yok } from "../lib/common/yok"; import * as stubs from "./stubs"; import { PackageManager } from "../lib/package-manager"; import { PackageInstallationManager } from "../lib/package-installation-manager"; import { NodePackageManager } from "../lib/node-package-manager"; import { YarnPackageManager } from "../l...
the_stack
// Work In Progress /// <reference types="jquery" /> export const DOM: dom.DOMUtils; export const PluginManager: AddOnManager; export const ScriptLoader: dom.ScriptLoader; export const ThemeManager: AddOnManager; export const EditorManager: EditorManager; export const baseURL: string; export const activeEditor:...
the_stack
import { expect } from "chai"; import { mount } from "enzyme"; import * as React from "react"; import sinon from "sinon"; import { PropertyRecord } from "@itwin/appui-abstract"; import { Orientation } from "@itwin/core-react"; import { fireEvent, render } from "@testing-library/react"; import { LinksRenderer } from ".....
the_stack
import { pluralize } from 'ember-inflector'; import { camelize } from '@ember/string'; import RSVP from 'rsvp'; import DS from 'ember-data'; import Ember from 'ember'; import FirebaseAppService from '../services/firebase-app'; import ModelRegistry from 'ember-data/types/registries/model'; import { inject as service } f...
the_stack
namespace eui.sys { let STATE = "eui.State"; let ADD_ITEMS = "eui.AddItems"; let SET_PROPERTY = "eui.SetProperty"; let SET_STATEPROPERTY = "eui.SetStateProperty"; let BINDING_PROPERTIES = "eui.Binding.$bindProperties"; /** * @private * 代码生成工具基类 */ export class CodeBase { ...
the_stack
import React, { useEffect, useState } from 'react'; import { Box, Icon, StatelessTextInput as Input, Row, Text, Button, Col, LoadingSpinner, } from '@tlon/indigo-react'; import Invoice from './Invoice'; import BridgeInvoice from './BridgeInvoice'; import ExternalInvoice from './ExternalInvoice'; import ...
the_stack
* This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Run 'yarn update-api-types' to regenerate. */ /** * FIPS Code. FIPS codes are either 2-digit state codes, 5-digit county codes, or 5-digit CBSA codes. */ export type Fips = string; /** * 2-letter ISO-3166 Country cod...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/versionsMappers"; import * as Parameters from "../models/parameters"; import { LuisAuthoringContext } from "../luisAuthoringContext"; /** Class representing a Versions. */ export class Versions { pri...
the_stack
import { ISessionContext, Toolbar } from '@jupyterlab/apputils'; import { CodeEditor } from '@jupyterlab/codeeditor'; import { IChangedArgs as IChangedArgsGeneric } from '@jupyterlab/coreutils'; import { IModelDB } from '@jupyterlab/observables'; import { IRenderMime } from '@jupyterlab/rendermime-interfaces'; import {...
the_stack
interface Structure<T extends StructureConstant = StructureConstant> extends RoomObject { readonly prototype: Structure; /** * The current amount of hit points of the structure. */ hits: number; /** * The total amount of hit points of the structure. */ hitsMax: number; /** ...
the_stack
import fs from 'fs-extra'; import * as path from 'path'; import { expect } from 'chai'; import Helper from '../../src/e2e-helper/e2e-helper'; import { VersionNotFound } from '../../src/scope/exceptions'; import * as fixtures from '../../src/fixtures/fixtures'; import { MissingBitMapComponent } from '../../src/consumer/...
the_stack
var cubeRotation = 0.0; // will set to true when video can be copied to texture var copyVideo = false; import * as glMatrix from './gl-matrix'; const mat4 = glMatrix.mat4; import { Video } from '@nativescript/canvas-media'; // // Start here // export function handleVideo(canvas) { const gl = canvas.getContext('webgl2'...
the_stack
import { Injectable } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; // firebase // import * as firebase from 'firebase/app'; import firebase from "firebase/app"; import 'firebase/messaging'; import 'firebase/database'; import 'firebase/auth'; import 'firebase/storage'; // models import { ConversationM...
the_stack
'use strict'; import {IStream} from 'vs/editor/common/modes'; export class LineStream implements IStream { static STRING_TO_ARRAY_CACHE:{ [key:string]:boolean[]; } = {}; /*protected*/ _source:string; private sourceLength:number; /*protected*/ _pos:number; private whitespace:string; private whitespaceArr:boole...
the_stack
* @module models/room-member */ import { EventEmitter } from "events"; import { getHttpUriForMxc } from "../content-repo"; import * as utils from "../utils"; import { User } from "./user"; import { MatrixEvent } from "./event"; import { RoomState } from "./room-state"; export class RoomMember extends EventEmitter {...
the_stack
import localVarRequest = require('request'); import http = require('http'); let defaultBasePath = 'https://virtserver.swaggerhub.com/ohanlon/AdvancedTypeScript3CRM/1.0'; // =============================================== // This file is autogenerated - Please do not edit // ===========================================...
the_stack
import * as React from 'react'; import { composeEventHandlers } from '@radix-ui/primitive'; import { createContextScope } from '@radix-ui/react-context'; import { Primitive } from '@radix-ui/react-primitive'; import * as MenuPrimitive from '@radix-ui/react-menu'; import { createMenuScope } from '@radix-ui/react-menu'; ...
the_stack
import { GraphQLFieldExtensions } from 'https://cdn.skypack.dev/graphql?dts'; import type { InputFieldMap, InputShapeFromFields, Resolver, Subscriber } from '../builder-options.ts'; import { SchemaTypes } from '../schema-types.ts'; import { FieldNullability, FieldRequiredness, InputShapeFromTypeParam, InputType, ShapeF...
the_stack
import React from "react"; import { View } from "react-native"; import styled from "@emotion/native"; import RView, { MediaRule } from "emotion-native-media-query"; import { STANFORD_COLORS, FOCUS_STATES, BREAKPOINTS, FONTS, LINKS, } from "helpers/constants"; import { Category } from "helpers/wpapi"; import L...
the_stack
import type { ValidationRule } from 'ant-design-vue/lib/form/Form'; import { IField, IFieldBeetWeen, IFieldContains, IFieldLength, IFieldRange, IFieldMatch, IFieldRegular, IFieldValidator, } from './typing'; import { useLocalization } from './useLocalization'; import { isEmail, isPhone } from '/@/utils...
the_stack
import * as tf from '../../dist/tfjs.esm.js'; import * as fxImage from './imagefx'; import type { Tensor } from '../tfjs/types'; import type { Config } from '../config'; import { env } from '../util/env'; import { log, now } from '../util/util'; export type Input = Tensor | ImageData | ImageBitmap | HTMLImageElement |...
the_stack
import { GlobalProps } from 'ojs/ojvcomponent'; import { ComponentChildren } from 'preact'; import Color = require('../ojcolor'); import { editableValue, editableValueEventMap, editableValueSettableProperties } from '../ojeditablevalue'; import { JetElement, JetSettableProperties, JetElementCustomEvent, JetSetPropertyT...
the_stack
/* eslint-disable @typescript-eslint/class-name-casing */ /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-empty-interface */ /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-disable no-irregular-whitespace */ import { OAuth2Client, JWT, Compute, User...
the_stack
import * as _ from 'lodash'; import { callable } from './callable'; import { ComponentSlotStyle, ComponentSlotStylesInput, ComponentSlotStylesPrepared, ComponentVariablesInput, ComponentVariablesPrepared, FontFace, SiteVariablesInput, SiteVariablesPrepared, StaticStyle, ThemeAnimation, ThemeCompo...
the_stack
* @module WebGL */ import { assert } from "@itwin/core-bentley"; import { DrawParams } from "../DrawCommand"; import { UniformHandle } from "../UniformHandle"; import { Matrix4 } from "../Matrix"; import { Pass, TextureUnit } from "../RenderFlags"; import { IsInstanced, PositionType } from "../TechniqueFlags"; import...
the_stack
import { fetchAddr, fetchSize, sanitizeAddr } from '../../backend/backUtils'; import { ConstraintSet } from '../../backend/constraintSet'; import { Constraint } from '../../backend/constraintType'; import { Context, ContextSet } from '../../backend/context'; import { absExpIndexByLen, isInstanceOf, reluLen,...
the_stack
import { ConfigurationError } from '../errors/external-error'; import { AssertError, UnreachableCaseError } from '../errors/internal-error'; import { ItemType, JsonValue, ResponsiveMode, Side } from '../utils/types'; import { ResolvedComponentItemConfig, ResolvedHeaderedItemConfig, ResolvedItemConfig, R...
the_stack
import Messages = require('../messages'); import MetadataRegistry = require('./metadataRegistry'); const messages = Messages(); import * as syncCommandHelper from './syncCommandHelper'; import logger = require('../core/logApi'); import { SourceDeployApiBase } from './sourceDeployApiBase'; import { createOutputDir, cle...
the_stack
import * as utils from '../src/util'; import * as service from '../src/service'; import * as embed from '../src/embed'; import * as report from '../src/report'; import * as visual from '../src/visual'; import * as create from '../src/create'; import * as dashboard from '../src/dashboard'; import * as page from '../src/...
the_stack
/* * Copyright(c) 2017 Microsoft Corporation. All rights reserved. * * This code is licensed under the MIT License (MIT). * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software withou...
the_stack
'use strict'; import * as _ from 'underscore'; import * as fs from "fs"; import * as nock from "nock"; import * as querystring from "querystring"; import * as url from "url"; require('date-utils'); var adaldir = process.env.ADAL_COV ? '../../lib-cov/' : '../../lib/'; function testRequire(file: any) { return requir...
the_stack
import * as assert from 'assert'; import { Constants } from 'vs/base/common/uint'; import { Range } from 'vs/editor/common/core/range'; import { DiffComputer, ICharChange, ILineChange } from 'vs/editor/common/diff/diffComputer'; import { IIdentifiedSingleEditOperation, ITextModel } from 'vs/editor/common/model'; import...
the_stack
export interface ApplicationDataListResponse { /** List of requested objects. */ value?: ApplicationData[]; /** Token used in retrieving the next page. If null, there are no additional pages. */ skipToken?: string; /** Continuation link (absolute URI) to the next page of results in the list. */ nextLink?: s...
the_stack
import test from 'ava'; import * as fse from 'fs-extra'; import { join, dirname, basename } from '../src/path'; import { exec, generateUniqueTmpDirName, EXEC_OPTIONS, getSnowexec, } from './helper'; import { COMMIT_ORDER, REFERENCE_TYPE, Repository } from '../src/repository'; import { Reference } from '../src/refer...
the_stack
import { INodeProperties } from 'n8n-workflow'; import { capitalizeInitial } from '../GenericFunctions'; import { CamelCaseResource } from '../types'; export const billingAddress: INodeProperties = { displayName: 'Billing Address', name: 'Billing_Address', type: 'fixedCollection', default: {}, placeholder: 'Add ...
the_stack
import { SRNC } from './SRNC-Definitions'; import { register as registerLandmarksJaws } from './SRNC-LandmarksAndGroups-Win_JAWS'; import { register as registerLandmarksJawsVpc } from './SRNC-LandmarksAndGroups-Win_JAWS_VPC'; import { register as registerElementTypesJaws } from './SRNC-ElementTypes-Win_JAWS'; import {...
the_stack
import {ArrayUtils} from '../../../core/ArrayUtils'; import {TypedGlNode} from './_Base'; import { GlConnectionPoint, GlConnectionPointComponentsCountMap, GlConnectionPointType, } from '../utils/io/connections/Gl'; // https://github.com/stegu/webgl-noise/ import NoiseCommon from './gl/noise/common.glsl'; // import ...
the_stack
import Footer from "./Footer"; import IPoint from "./data/interface/IPoint"; import ViewCode from "./ViewCode"; import Help from "./Help"; import Share from "./share"; import LiveCode from "./code/LiveCode"; import BufferList from "./buffer/BufferList"; import FooterEvent from "./event/FooterEvent"; import ConnectionsC...
the_stack
import "jest"; import React from "react"; import "react-native"; import renderer from "react-test-renderer"; import { inMemory } from "@hickory/in-memory"; import { createRouter, prepareRoutes } from "@curi/router"; import { TouchableHighlight, Text } from "react-native"; import { sleep } from "../../../utils/tests"; ...
the_stack
import config from '../util/config' import logger from '../util/logger' import { users } from './user' import { branches as globalBranches, BranchController, Branch } from './branch' import { messages, TextMessage, Message, ServerMessage } from './message' import { NLU } from './nlu' import { Envelope } from './envelop...
the_stack
import {Mutable, FromAny, AnyTiming, Timing, Easing, Interpolator} from "@swim/util"; import {Affinity} from "../fastener/Affinity"; import type {FastenerOwner, FastenerFlags} from "../fastener/Fastener"; import {PropertyInit, PropertyClass, Property} from "../property/Property"; import {StringAnimator} from "./"; // f...
the_stack
import { Component, Input, OnInit, ViewChild, ElementRef, Type, OnDestroy } from '@angular/core'; import { FormControl } from '@angular/forms'; import { CoreError } from '@classes/errors/error'; import { CoreFileUploader, CoreFileUploaderStoreFilesResult } from '@features/fileuploader/services/fileuploader'; import { C...
the_stack
import type { CSSProperties, ReactNode, Component, PureComponent, HTMLAttributes, TextareaHTMLAttributes } from 'react'; // 忽略 T 对象中 键在 K 中的所有的属性 type Override<T1, T2> = Omit<T1, keyof T2> & T2; // base type export type SizeType = 'sm' | 'md' | 'lg'; // ThemeProvider interface ThemeProviderProps { theme: any; } ...
the_stack
import * as assert from 'assert'; import { VSBuffer } from 'vs/base/common/buffer'; import { DisposableStore, toDisposable } from 'vs/base/common/lifecycle'; import { IFileService } from 'vs/platform/files/common/files'; import { ILogService } from 'vs/platform/log/common/log'; import { IUserDataProfilesService } from ...
the_stack
* @module OrbitGT */ //package orbitgt.spatial.geom; type int8 = number; type int16 = number; type int32 = number; type float32 = number; type float64 = number; import { ASystem } from "../../system/runtime/ASystem"; import { Coordinate } from "./Coordinate"; /** * Class Line defines a line between two 3D XYZ po...
the_stack
import type * as ts from "typescript"; import * as fs from "fs"; import * as path from "path"; import type { Application } from "../application"; import type { Theme } from "./theme"; import { RendererEvent, PageEvent } from "./events"; import type { ProjectReflection } from "../models/reflections/project"; import typ...
the_stack
import { expect } from "chai"; import { Arc3d } from "../../curve/Arc3d"; import { CurveCurve } from "../../curve/CurveCurve"; import { GeometryQuery } from "../../curve/GeometryQuery"; import { LineSegment3d } from "../../curve/LineSegment3d"; import { Point3d } from "../../geometry3d/Point3dVector3d"; import { Checke...
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_icon_button/cr_icon_button.m.js'; import 'chrome://resources/cr_elements/cr_icons_css.m.js'; import 'chrome://resources/cr_elements/cr_input/cr_in...
the_stack
import ApiClient = require('./apiclient'); import Application = require('application'); import Batch = require('./batch'); import BitmapFactory = require('./bitmap-factory'); import Enumerable = require('./enumerable'); import Moment = require('./moment'); import { ObservableArray } from 'data/observable-array'; ...
the_stack
import { commands, ExtensionContext, window } from "vscode"; import * as vscode from "vscode"; import { LanguageClient } from "vscode-languageclient/node"; import { logError, OUTPUT_CHANNEL } from "../channel"; const RF_INTERACTIVE_LOCAL_RESOURCE_ROOT = process.env.RF_INTERACTIVE_LOCAL_RESOURCE_ROOT; function getWebv...
the_stack
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * Contains the localized display information for this particular operation / action. */ export interface OperationDisplay { /** * ...
the_stack
import * as assert from 'assert'; import * as sinon from 'sinon'; import { ConfigurationChangeEvent, Disposable, Uri, WorkspaceFolder, WorkspaceFoldersChangeEvent } from 'vscode'; import { JediLanguageServerManager } from '../../client/activation/jedi/manager'; import { LspNotebooksExperiment } from '../../client/activ...
the_stack
import { ClassReflection, ParameterReflection, PropertyReflection, reflect, reflection } from "@plumier/reflect" import debug from "debug" import { Class, entityHelper, isCustomClass, memoize } from "./common" import { ResponseTypeDecorator } from "./decorator/common" import { EntityIdDecorator, RelationDecorator } fr...
the_stack