text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; export const CheckServiceProviderAvailabilityInput: msRest.CompositeMapper = { serializedName: "Che...
the_stack
import { Api, Client, Graph, Model } from "@core/types"; import { BaseArgs, DetectedApp } from "./types"; import path from "path"; import fs from "fs"; import os from "os"; import dotenv from "dotenv"; import { sha256 } from "@core/lib/crypto/utils"; import { getCoreProcAuthToken } from "@core/lib/client_store/key_stor...
the_stack
import { PacketMap } from '@realmlib/net'; import { EventEmitter } from 'events'; import { createWriteStream, WriteStream } from 'fs'; import { isIP } from 'net'; import { Client, LibraryManager, ResourceManager } from '../core'; import { Account, Server } from '../models'; import { ACCOUNT_IN_USE, AccountInUseEr...
the_stack
import { Renderer2 } from '@angular/core'; import { Axis } from './axis.model'; import { Layout, RowSpec, MarkerSpec } from './i-timeline'; import { Marker } from './marker.model'; import { Row } from './row.model'; export namespace Timeline { const YEAR_LEN = 31536000000; function clearChildNodes(elt: Node, fro...
the_stack
import chalk from 'chalk'; import { flags } from '@oclif/command'; import { Listr, ListrDefaultRendererOptions, ListrTask, ListrTaskWrapper, } from 'listr2'; import figures from 'figures'; import BaseCommand from '../base-command'; import { transformTagsFlagToFilterList, configureAWS } from '../util'; import {...
the_stack
import KoaApplication = require('koa'); import { Logger, EggConsoleLogger } from 'egg-logger'; import depd = require('depd'); type EggType = 'application' | 'agent'; interface PlainObject<T = any> { [key: string]: T; } export interface EggCoreOptions { /** egg type, application or agent */ type?: EggType; /*...
the_stack
import { forRemoteCluster, KubeApi } from "../kube-api"; import { KubeJsonApi } from "../kube-json-api"; import { KubeObject } from "../kube-object"; import AbortController from "abort-controller"; import { delay } from "../../utils/delay"; import { PassThrough } from "stream"; import { ApiManager } from "../api-manage...
the_stack
/** * @license Copyright © 2013 onwards, Andrew Whewell * All rights reserved. * * Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyri...
the_stack
import * as elasticsearch from 'elasticsearch'; import type * as cloudformation from '@aws-cdk/aws-cloudformation'; import type * as es from '@aws-cdk/aws-elasticsearch'; import type * as iam from '@aws-cdk/aws-iam'; import type * as cdk from '@aws-cdk/core'; import { any, AnyShape, array, boolean, Enum, integer, is...
the_stack
* 数据质量相关接口 * Data Quality Interface Define * Author: jiejieli */ // 信息总览质量事件数据 export interface IQualityInfoOverview { errors: any; message: string; code: string; data: IOverviewData; result: boolean; } export interface IOverviewData { eventNotifiedCount: number; eventCount: number; } // 信息总览审核规则数据 ...
the_stack
import { View as TNSView, Frame as TNSFrame, Page as TNSPage, ViewBase as TNSViewBase, FormattedString as TNSFormattedString, Span as TNSSpan, ActionBar as TNSActionBar, ActionItem as TNSActionItem, NavigationButton as TNSNavigationButton, Tabs as TNSTabs, TabView as TNSTabVi...
the_stack
import { Injectable, Inject, Optional } from '@angular/core'; import { Http, Response } from '@angular/http'; import { BaseLoopBackApi } from '../core/base.service'; import { LoopBackConfig } from '../../lb.config'; import { LoopBackAuth } from '../core/auth.service'; import { LoopBackFilter, SDKToken, AccessToken } fr...
the_stack
export namespace ImageEvents { // Default Application export interface Application {} // Class /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. ...
the_stack
import jsplumb from 'jsplumb' import {GanttTask} from '../../core/logic/task/task.factory' export default function (GanttDependency, GanttDependenciesEvents, GanttDependencyTaskMouseHandler) { 'ngInject' let DependenciesManager = function (gantt, pluginScope, api) { let self = this this.gantt = gantt ...
the_stack
import { Injectable, Type } from '@angular/core'; import { CoreDelegate, CoreDelegateHandler } from '@classes/delegate'; import { CoreWSFile } from '@services/ws'; import { makeSingleton } from '@singletons'; import { CoreQuestionDefaultHandler } from './handlers/default-question'; import { CoreQuestionQuestionParsed,...
the_stack
import React, { Component } from 'react' import { StyleSheet, Text, View, Image, Dimensions, TouchableNativeFeedback, TextInput, AsyncStorage, Linking, Animated, Keyboard, Platform } from 'react-native' import Ionicons from 'react-native-vector-icons/Ionicons' import { standardColor, accentCol...
the_stack
import { Credentials } from '@aws-amplify/core'; import { LocationClient, SearchPlaceIndexForTextCommand, SearchPlaceIndexForPositionCommand, } from '@aws-sdk/client-location'; import { AmazonLocationServiceProvider } from '../../src/Providers/AmazonLocationServiceProvider'; import { credentials, awsConfig, Test...
the_stack
import { Nodes } from '../nodes'; import { PositionCapableError } from '../NodeError'; import { walkPreOrder } from '../walker'; import { TokenError, IToken } from 'ebnf'; import { parser } from '../../grammar'; import { ParsingContext } from '../ParsingContext'; import { annotations } from '../annotations'; /// --- P...
the_stack
///<reference path="../rpos.d.ts"/> import { Utils } from './utils'; import { writeFileSync, readFileSync } from 'fs'; var stringifyBool = (v: boolean) => { return v ? "1" : "0"; } var utils = Utils.utils; export module v4l2ctl { export enum Pixelformat { YU12 = 0, // 4:2:0, packed YUV YUYV = 1, ...
the_stack
import 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.js'; import 'chrome://resources/cr_elements/cr_icon_button/cr_icon_button.m.js'; import 'chrome://resources/cr_elements/cr_radio_group/cr_radio_group.m.js'; import 'chrome://resources/cr_elements/cr_radio_button/cr_radio_button.m.js'; import 'chrome:/...
the_stack
import * as nls from 'vs/nls'; import * as dom from 'vs/base/browser/dom'; import { Action, IAction } from 'vs/base/common/actions'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { IContextMenuService, IContextViewService } from 'vs/platform/contextview/browser/contextVi...
the_stack
import * as Joi from '@hapi/joi'; /** * Helpers */ type ArrayType<T> = T extends (infer U)[] ? U : never; declare module '@hapi/joi' { /** * Allow extend() to use Joi types by default */ export function extend( extension: Extension | Extension[], ...extensions: Array<Extension | Extension[]> ): ...
the_stack
import React from "react"; import styled from "styled-components"; import Tooltip from "./Tooltip"; import { Button } from "../src/components/Button"; import { useDispatch, useSelector, shallowEqual } from "react-redux"; import { setCurrentReview, setCreatePullRequest } from "@codestream/webview/store/context/actions";...
the_stack
import { contactAction } from '../actions'; import { ContactStore } from '../stores/contact.store'; import { contactInit } from '../model'; import { mainAction } from '../../main/actions'; import { chatAction } from '../../chat/actions'; import { Util } from '../../../services/util'; import { global } from '../../../se...
the_stack
import { ApiContactComponent } from './pages/api/api-contact/api-contact.component'; import { ApiDocumentationComponent } from './pages/api/api-documentation/api-documentation.component'; import { ApiGeneralComponent } from './pages/api/api-general/api-general.component'; import { ApiHomepageResolver } from './resolver...
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 vscode from 'vscode'; import * as path from 'path'; import * as fs from 'fs-extra'; import { YeomanUtil } from '../../util/YeomanUtil'; import { FabricEnvironmentRegistry, FabricEnvironmentRegistryEntry, EnvironmentType, OutputAdapter, FileSystemUtil, FileConfigurations, LogType, MicrofabEnvironment, Consol...
the_stack
import sql from 'sql-template-strings' import { MatchmakingCompletion, MatchmakingType } from '../../../common/matchmaking' import { SbUserId } from '../../../common/users/user-info' import db, { DbClient } from '../db' import { Dbify } from '../db/types' export interface MatchmakingRating { userId: SbUserId match...
the_stack
import { enginesVersion } from '@prisma/engines' import { getSchemaPathAndPrint } from '@prisma/migrate' import type { Command, Generator } from '@prisma/sdk' import { arg, format, getCommandWithExecutor, getGenerators, getGeneratorSuccessMessage, HelpError, highlightTS, isError, link, loadEnvFile, ...
the_stack
import { Overlay, Placement, TriggerBoundyAdjustMode, overlayConstraints } from '../../../../../components/core/JsInterop/modules/components/overlay'; import { infoHelper } from '../../../../../components/core/JsInterop/modules/dom/infoHelper'; import * as domInit from '../../domInit' import { resizeObserver } from '....
the_stack
import { html, TemplateResult } from 'lit-html'; import { Suggestion } from '../components/auto_complete'; import { TestVariant } from '../services/resultdb'; import { parseProtoDuration } from './time_utils'; const SPECIAL_QUERY_RE = /^(-?)([a-zA-Z]+):(.+)$/; export type TestVariantFilter = (v: TestVariant) => bool...
the_stack
import { KeyCode, KeyMod } from 'vs/base/common/keyCodes'; import { EditorContextKeys } from 'vs/editor/common/editorContextKeys'; import { localize } from 'vs/nls'; import { registerAction2 } from 'vs/platform/actions/common/actions'; import { Extensions as ConfigurationExtensions, IConfigurationRegistry } from 'vs/pl...
the_stack
import { getLogger } from "../logging"; import { illegalCharactersRegex} from "./BridgedClient"; import { IrcClientConfig } from "../models/IrcClientConfig"; import { renderTemplate } from "../util/Template"; const log = getLogger("IrcServer"); const GROUP_ID_REGEX = /^\+\S+:\S+$/ export type MembershipSyncKind = "in...
the_stack
import { loggerSpy } from '../testhelpers/loggerSpy'; import { importSingleText } from '../testhelpers/importSingleText'; import { assertAddElementRule, assertAssignmentRule, assertBindingRule, assertCardRule, assertCaretValueRule, assertContainsRule, assertFlagRule, assertInsertRule, assertObeysRule,...
the_stack
namespace gdjs { declare var admob: any; export namespace adMob { export enum AdSizeType { BANNER, LARGE_BANNER, MEDIUM_RECTANGLE, FULL_BANNER, LEADERBOARD, SMART_BANNER, } // Banner let bannerAndroidId = ''; let bannerIosId = ''; let bannerPosition: 'to...
the_stack
import { CfnResource, IConstruct } from '@aws-cdk/core'; import { NagPack, NagMessageLevel, NagPackProps } from '../nag-pack'; import { APIGWCacheEnabledAndEncrypted, APIGWExecutionLoggingEnabled, APIGWSSLEnabled, APIGWXrayEnabled, } from '../rules/apigw'; import { AutoScalingGroupELBHealthCheckRequired, Au...
the_stack
import * as Common from '../common/common.js'; import * as i18n from '../i18n/i18n.js'; import * as Root from '../root/root.js'; import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js'; import * as Protocol from '../../generated/protocol.js'; import {DebuggerModel, Events as DebuggerModelEvents}...
the_stack
import * as path from "path"; import * as vscode from "vscode"; import getFrameworkSDKPathWithFallbacks from "./getFrameworkSDKPathWithFallbacks"; import BaseAsconfigTaskProvider from "./BaseAsconfigTaskProvider"; const ASCONFIG_JSON = "asconfig.json"; const FIELD_AIR_OPTIONS = "airOptions"; const FIELD_TARGET = "targ...
the_stack
import {Destination, DestinationConnectionStatus, DestinationOrigin, DestinationType, DuplexMode, MarginsType, PrinterType, PrintPreviewModelElement, PrintTicket, ScalingType, Size} from 'chrome://print/print_preview.js'; // <if expr="chromeos_ash or chromeos_lacros"> import {GooglePromotedDestinationId} from 'chrome:/...
the_stack
import * as assert from 'assert' import { waitTimeout } from './cli' import * as Selectors from './selectors' import { keys as Keys } from './keys' import { expectArray, expectText, getValueFromMonaco, expectYAMLSubset } from './util' import { AppAndCount, blockAfter } from './repl-expect' export const open = async (...
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 SSOAdmin e...
the_stack
import {Style} from 'maplibre-gl'; import * as constants from '../data/constants'; import {FlagContainer} from '../contexts/FlagContext'; // *********** BASE MAP SOURCES *************** const imageSuffix = constants.isMobile ? '' : '@2x'; // Original "light" Base layer // Additional layers found here: https://carto....
the_stack
import * as guiStateModel from 'guiState.model'; import * as guiStateController from 'guiState.controller'; import * as notificationModel from 'notification.model'; import * as comm from 'comm'; import * as $ from 'jquery'; const fadingDuration = 400; const notificationElement = $('#releaseInfo'); const notification...
the_stack
import { derived, Readable, writable, Writable } from "svelte/store"; import { maybeDerived, unwrapStoreNonNull } from "../utils"; /* _____ _______ _______ ______ _________ _______ ______ _____ / ____|__ __|/\|__ __| ____| |__ __\ \ / / __ \| ____|/ ____| | (___ | | / \ | | | |__ ...
the_stack
import { AfterViewInit, Component, QueryList, ViewChild, ViewChildren } from '@angular/core'; import { ExtensionService } from './classes/extension.service'; import { Card, CardOutput } from 'neuron-ipe-types'; import { RegexService } from './classes/regex.service'; /** * Manages the entire app in the Output Panel. ...
the_stack
import { expect } from "chai"; import * as moq from "typemoq"; import { ECSqlStatement, ECSqlValue, IModelDb } from "@itwin/core-backend"; import { DbResult, Id64 } from "@itwin/core-bentley"; import { Content, PresentationError, PropertyValueFormat } from "@itwin/presentation-common"; import { createTestCategoryDesc...
the_stack
import { Module, Configuration } from '@nuxt/types' import { NuxtRouteConfig } from '@nuxt/types/config/router' import fs from 'fs-extra' import path from 'path' import execa from 'execa' import { URL } from 'url' import { EOL } from 'os' import { moduleKey, laravelAppEnv, nuxtOutputEnv } from './constants' import { ...
the_stack
import * as sentryNode from '@sentry/node'; import * as sentryReact from '@sentry/react'; import { serialize } from 'cookie'; import type { GetServerSidePropsContext } from 'next'; import { FALLBACK_LANGUAGE, SESSION_COOKIE_NAME } from '../../../src/constants'; import type { Namespace } from '../../../src/constants'; ...
the_stack
///<reference types="winrt"/> declare namespace PlayerFramework { // Enumerations enum AdvertisingState { /** * No ad is loading or playing. **/ none = 0, /** * An ad is loading. **/ loading = 1, /** * A linear ad is playing. **/ linear = 2, /** * A non-linear ad is playing. **/ nonL...
the_stack
import * as coreHttp from "@azure/core-http"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { AzureDigitalTwinsAPI } from "../azureDigitalTwinsAPI"; import { DigitalTwinsGetByIdOptionalParams, DigitalTwinsGetByIdResponse, DigitalTwinsAddOptionalParams, ...
the_stack
import { select, event } from 'd3-selection'; import { getBrowser } from './browser-util'; import { polyfillMouseEvents } from './customPolyfills'; import { setHighContrastListener } from './accessibilityUtils'; import { createLabel, createGroupLabel } from './altTextGenerator'; const keyCodes = { parent: 27, // ESCA...
the_stack
export const cloudFormMock = { 'id': 'form-b661635a-dc3e-4557-914a-3498ed47189c', 'name': 'form-with-all-fields', 'description': '', 'version': 0, 'tabs': [], 'fields': [ { 'fieldType': 'ContainerRepresentation', 'id': '26b10e64-0403-4686-a75b-0d45279ce3a8', ...
the_stack
import { all, alt, optWhitespace, Parser, regexp, seq, string, succeed } from 'parsimmon'; import { AsciiCommand } from '../cmd_line/commands/ascii'; import { BangCommand } from '../cmd_line/commands/bang'; import { BufferDeleteCommand } from '../cmd_line/commands/bufferDelete'; import { CloseCommand } from '../cmd_lin...
the_stack
declare class Secret { /** * Converts a Latin-1 string to a Secret object. * @param {string} str Latin-1 string. * @returns {Secret} Secret object. */ static fromLatin1(str: string): Secret; /** * Converts an UTF-8 string to a Secret object. * @param {string} str UTF-8 string. ...
the_stack
namespace annie { /** * Stage 表示显示 canvas 内容的整个区域,所有显示对象的顶级显示容器 * @class annie.Stage * @extends annie.Sprite * @public * @since 1.0.0 */ export class Stage extends Sprite { /** * annie.Stage舞台初始化完成后会触发的事件 * @event annie.Event.ON_INIT_STAGE * @sinc...
the_stack
declare module "@math.gl/core/lib/assert" { export default function assert(condition: any, message: any): void; } declare module "@math.gl/core/lib/common" { const config: {}; export { config }; export function configure(options?: {}): {}; export function formatValue( value: any, { precision, }?: { pre...
the_stack
import { vec3, vec4 } from "../math"; import { Mesh, bufferView, Accessor } from "../mesh/mesh"; import { Texture } from "../texture"; import { Entity, EntityMgr } from "../ECS/entityMgr"; import { Material } from "../material/material"; import { Shader } from "../shader"; import { glsl } from "../glsl"; import { MeshR...
the_stack
interface MenuItemOptions extends Electron.MenuItemOptions {} import * as _ from "lodash"; import * as assert from "assert"; import { app, Menu } from "electron"; import * as shell from "./shell"; const menuTemplate: MenuItemOptions[] = []; export const ERR_NOT_FOUND = "NOTFOUND"; app.on("browser-window-focus", fun...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. * * To get more in...
the_stack
import 'mocha' import { BigNumber } from 'bignumber.js' import { assert } from 'chai' import { XrpUtils, XrplNetwork, XrpClient } from '../../../src' import XrpTestUtils from '../../XRP/helpers/xrp-test-utils' import bigInt from 'big-integer' describe('xrp-drops-conversion', function (): void { // randomWalletFrom...
the_stack
import { join, resolve } from 'path'; import { accessSync, readJSONSync, statSync } from 'fs-extra'; import { Logger } from '../logger/logger'; import { BuildContext, TaskInfo } from './interfaces'; import { getBooleanPropertyValue, objectAssign } from './helpers'; import { FileCache } from './file-cache'; import * as...
the_stack
import { DataTexture, LuminanceFormat, UnsignedByteType, ClampToEdgeWrapping } from "three"; import { LinearFilter } from "three/src/constants"; import Channel from "./Channel"; import { FuseChannel } from "./types"; // This is the owner of the fused RGBA volume texture atlas, and the mask texture atlas. // This modu...
the_stack
* @module Properties */ // cspell:ignore BBGGRR pushable DDTHH /** Interface used to provide a custom Date Time formatter and optional parser * for use by `DatePickerPopup`. If a parseData function is not implemented * then string to date parsing will not be possible when a `DateFormatter` is used. * @public */ ...
the_stack
import { SVErrorLevel, SVType } from 'pytea/backend/sharpValues'; import { ExecutionPath, ExecutionPathStatus } from 'pytea/service/executionPaths'; import { defaultOptions, PyteaLogLevel, PyteaOptions } from 'pytea/service/pyteaOptions'; import { PyteaService } from 'pytea/service/pyteaService'; import { buildPyteaOpt...
the_stack
import { ReactElement } from 'react'; import { EventEmitter } from 'events'; import { obx, computed, autorun, makeObservable, runInAction, wrapWithEventSwitch, action } from '@alilc/lowcode-editor-core'; import { isDOMText, isJSExpression, NodeSchema, PropsMap, PropsList, NodeData, I18nData, SlotSchema,...
the_stack
import { ABIParameter, Action, AddressString, ContractEventDescriptorClient, ContractMethodDescriptorClient, Event, ForwardOptions, GetOptions, Hash256String, InvokeReceipt, InvokeSendUnsafeReceiveTransactionOptions, Log, NetworkType, Param, RawAction, RawInvokeReceipt, Return, Scrip...
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/aDCCatalogsMappers"; import * as Parameters from "../models/parameters"; import { DataCatalogRestClientContext } from "../dataCatalogRestClientCon...
the_stack
"use strict"; import { getGlobal, strShimUndefined, strShimObject, strShimPrototype } from "@microsoft/applicationinsights-shims"; import { isString, isUndefined, strContains } from "./HelperFuncs"; // TypeScript removed this interface so we need to declare the global so we can check for it's existence. declare v...
the_stack
import {LOCALE_ID} from '@angular/core'; import {TestBed, waitForAsync} from '@angular/core/testing'; import {DateAdapter, MAT_DATE_LOCALE} from '@angular/material/core'; import {DateTime} from 'luxon'; import {LuxonDateModule} from './index'; import {MAT_LUXON_DATE_ADAPTER_OPTIONS} from './luxon-date-adapter'; const ...
the_stack
namespace pxt.py { export enum TokenType { Id, Op, Keyword, Number, String, NewLine, Comment, Indent, Dedent, EOF, Error } export interface Token { type: TokenType; value: string; auxValue?: any; ...
the_stack
import * as $protobuf from "protobufjs"; /** Properties of a ClientServerMessage. */ export interface IClientServerMessage { /** ClientServerMessage compression */ compression?: (Compression|null); /** ClientServerMessage uncompressedSize */ uncompressedSize?: (number|null); /** ClientServerMessa...
the_stack
import invariant from "invariant"; import { BigNumber } from "bignumber.js"; import { Observable, defer, from } from "rxjs"; import { reduce, filter, map } from "rxjs/operators"; import flatMap from "lodash/flatMap"; import omit from "lodash/omit"; import { InvalidAddress, RecipientRequired } from "@ledgerhq/errors"; i...
the_stack
import { ChannelTypeEnum, INotificationTemplate } from '@notifire/shared'; describe('Notifications Creator', function () { beforeEach(function () { cy.initializeSession().as('session'); }); it('should not reset data when switching channel types', function () { cy.visit('/templates/create'); cy.getBy...
the_stack
'use strict'; import * as assert from 'assert'; import {EventEmitter} from 'events'; import * as extend from 'extend'; import * as proxyquire from 'proxyquire'; import * as sinon from 'sinon'; import {util} from '@google-cloud/common'; import * as pfy from '@google-cloud/promisify'; import {before, beforeEach, afterEa...
the_stack
import * as vscode from 'vscode'; import * as path from 'path'; import * as fs from 'fs'; import * as stripJsonComments from 'strip-json-comments'; import * as cheerio from 'cheerio'; import * as ini from 'ini'; import * as nls from 'vscode-nls'; import { languageClient } from './extension'; import { EnvSection, Server...
the_stack
import { Client, MessageEmbed } from "discord.js"; import { FetchHelper } from "./fetchHelper"; import { INodeInfo } from "./models/api/chrysalis/INodeInfo"; import { IStatsGetResponse } from "./models/api/stats/IStatsGetResponse"; import { ICMCQuotesLatestResponse } from "./models/ICMCQuotesLatestResponse"; import { I...
the_stack
import { Promises, Queue } from 'vs/base/common/async'; import { CancellationToken } from 'vs/base/common/cancellation'; import { IStringDictionary } from 'vs/base/common/collections'; import { toErrorMessage } from 'vs/base/common/errorMessage'; import { getErrorMessage } from 'vs/base/common/errors'; import { Disposa...
the_stack
import test from 'ava'; import { Nohm, nohm } from '../ts'; import * as args from './testArgs'; import { cleanUpPromise } from './helper'; import { exists, get, keys } from '../ts/typed-redis-helper'; const redis = args.redis; const Model = Nohm.model('UniqueTests', { properties: { name: { defaultValue:...
the_stack
import { EventEmitter } from 'events' import { Connection, createConnection, DataAndMoneyStream } from 'ilp-protocol-stream' import IlpPluginBtp from 'ilp-plugin-btp' import { AdaptiveBandwidth, asyncUtils, getFarFutureExpiry, getSPSPResponse, PaymentDetails, SPSPError, SPSPResponse } from '@webmon...
the_stack
"use strict"; import { assert } from "chai"; import { Strings } from "../../../src/helpers/strings"; import { TfvcError, TfvcErrorCodes } from "../../../src/tfvc/tfvcerror"; import { FindWorkspace } from "../../../src/tfvc/commands/findworkspace"; import { IExecutionResult, IWorkspace } from "../../../src/tfvc/interf...
the_stack
import Game from '../Core/Game'; import Hilo3d from '../Core/Hilo3d'; import SceneActor, {isSceneActor} from '../Renderer/SceneActor'; import SceneComponent from '../Renderer/SceneComponent'; import SkeletalMeshActor from '../Renderer/SkeletalMeshActor'; import StaticMeshActor from '../Renderer/StaticMeshActor'; import...
the_stack
import { SqrlJs } from "../js/SqrlJs"; import { SqrlParseInfo, SqrlParserState, SlotFilter } from "./SqrlParserState"; import { processExprAst } from "../ast/AstExpr"; import { Expr, walkExpr, Slot } from "../expr/Expr"; import { Ast } from "../ast/Ast"; import { SqrlInputSlot } from "../slot/SqrlSlot"; import invarian...
the_stack
import { Component, Vue, Watch } from 'vue-property-decorator'; import { TweenLite } from 'gsap'; import $ from 'jquery'; import _ from 'lodash'; import { checkEdgeConnectivity } from '@/store/dataflow'; import { CreateNodeData } from '@/store/dataflow/types'; import { DEFAULT_ANIMATION_DURATION_S, PORT_SIZE_PX, PORT_...
the_stack
import * as _ from 'underscore'; import animations from './animations.js'; import * as coreState from './core_state.js'; import * as Deferred from './deferred'; import WindowGroups from './window_groups'; import WindowGroupTransactionTracker, { ITransaction } from './window_group_transaction_tracker'; import { toSafeIn...
the_stack
import { GraphQLBoolean, GraphQLFieldConfig, GraphQLFieldConfigArgumentMap, GraphQLFieldConfigMap, GraphQLFieldResolver, GraphQLFloat, GraphQLInputObjectType, GraphQLInputType, GraphQLInt, GraphQLList, GraphQLNonNull, GraphQLObjectType, GraphQLOutputType, GraphQLS...
the_stack
import express from 'express'; import * as fs from 'fs'; import { Server } from 'http'; import * as path from 'path'; import requests from 'supertest'; import { UIServer } from '../app'; import { loadConfigs } from '../configs'; import { TEST_ONLY as K8S_TEST_EXPORT } from '../k8s-helper'; import { buildQuery, commonSe...
the_stack
import {app, net} from 'electron'; // Electron app import {stat, mkdir, createWriteStream, readFile as fsReadFile} from 'fs'; import {join, parse} from 'path'; import {parse as parseUrl} from 'url'; import {createHash} from 'crypto'; import * as log from './log'; import { isFileUrl, isHttpUrl, uriToPath, isBase64 } fro...
the_stack
import { Properties } from '@posthog/plugin-scaffold' import { DateTime } from 'luxon' import { Group, Hub, Person, Team } from '../../../src/types' import { DB } from '../../../src/utils/db/db' import { createHub } from '../../../src/utils/db/hub' import { UUIDT } from '../../../src/utils/utils' import { updatePe...
the_stack
import { camelCase } from "lodash-es"; import { i18n } from "@/i18n"; /** * 通用属性 */ export interface CommonProperty { id: string; nopercent?: boolean; dmg?: boolean; noplus?: boolean; negative?: boolean; format?: (v: number) => string; } /** Property Calculate System @summary OPERATORS: base: the base ...
the_stack
import * as React from 'react' import {WebOfTrustVerificationType} from '../../constants/types/more' import * as Constants from '../../constants/profile' import * as UsersConstants from '../../constants/users' import * as Kb from '../../common-adapters' import * as Styles from '../../styles' import * as Container from ...
the_stack
import * as jschardet from "jschardet"; import * as iconv from "iconv-lite"; import * as path from "path"; import * as fs from "fs"; import { ProgressFunc } from "../../common/Reader"; import { File } from "../../common/File"; import { Logger } from "../../common/Logger"; import { Readable, Transform } from "stream"; ...
the_stack
import Patch from "../../patchwork/core/Patch"; import IPoint from "../data/interface/IPoint"; import EventDispatcher from "../../patchwork/core/EventDispatcher"; import ConnectionsSelectionGrid from "./ConnectionsSelectionGrid"; import Connection from "../../patchwork/core/Connection"; import ConnectionsCanvasEvent fr...
the_stack
import { ArgumentOutOfRangeException } from "../Exceptions/ArgumentException"; import { ArrayHelper, StringHelper, TypeSystem } from "../ExtensionMethods"; import { EwsLogging } from "../Core/EwsLogging"; import { EwsServiceJsonReader } from "../Core/EwsServiceJsonReader"; import { EwsServiceXmlWriter } from "../Core/...
the_stack
import * as xml2js from 'xml2js'; import { AbstractTest, StaticTestEventBase, AbstractTestEvent, SharedWithTest } from '../AbstractTest'; import { inspect } from 'util'; import { TestEventBuilder } from '../TestEventBuilder'; import * as pathlib from 'path'; import { Version } from '../Util'; import { Suite } from '../...
the_stack
import { expect } from "chai"; import { Id64String } from "@itwin/core-bentley"; import { SpatialClassifier, SpatialClassifierFlags, SpatialClassifierInsideDisplay, SpatialClassifierOutsideDisplay, SpatialClassifierProps, SpatialClassifiers, SpatialClassifiersContainer, } from "../SpatialClassification"; describe(...
the_stack
import { Auto, IPlugin, execPromise, validatePluginConfiguration, ILogger, getPrNumberFromEnv, DEFAULT_PRERELEASE_BRANCHES, getCurrentBranch, determineNextVersion, } from "@auto-it/core"; import { inc, ReleaseType } from "semver"; import * as t from "io-ts"; import { getPodspecContents, writePodspe...
the_stack
import * as vscode from 'vscode'; import * as assert from 'assert'; import { promises as fs } from 'fs'; import * as path from 'path'; import * as os from 'os'; import 'mocha'; const testFolder = fs.mkdtemp(path.join(os.tmpdir(), 'conf-editing-')); suite('Completions in settings.json', () => { const testFile = 'set...
the_stack
import { ScrollViewItem } from "./scrollviewitem"; import { TimerMgr } from "../timer/timer_mgr"; import { gen_handler } from "../util"; import { LayoutUtil } from "./layout_utils"; import { Action1 } from "../../const"; export class ScrollView extends cc.EventTarget { protected scrollview:cc.ScrollView; ...
the_stack
import * as PIXI from 'pixi.js'; import { Engine, Composite, World, Constraint, Body, Bodies, Vector, Grid } from 'matter-js'; import { IBallRouter } from './router'; import { Board } from './board'; import { Renderer } from 'renderer'; import { Part } from 'parts/part'; import { Ball } from 'parts/ball'; im...
the_stack
import { ModelingType } from '../modeling-type-provider.service'; import { jsonModelType } from './json.model.type'; /* cspell: disable */ export const stringModelType: ModelingType = { id: 'string', properties: jsonModelType.properties, methods: [[ { type: 'string', signat...
the_stack