text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import type { ElementHandle, JSHandle } from 'puppeteer'; import type { AsyncHookTracker } from './async-hooks'; import { activeAsyncHookTrackers } from './async-hooks'; import { createClientRuntimeServer } from './module-server/client-runtime-server'; import { deserialize, serialize } from './serialize'; import { is...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Manages a Linked Service (connection) between a Kusto Cluster and Azure Data Factory. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * cons...
the_stack
import { ActionTree } from 'vuex'; import { StateInterface } from '../index'; import { AuthStateInterface } from './state'; import { apiNoAuth as $httpNoAuth } from '../../boot/httpNoAuth'; import { api as $http } from '../../boot/http'; import { Notify } from 'quasar'; import { LoginHttpResponse, HttpError, HttpRespon...
the_stack
import React from 'react'; import client from "js/slycat-web-client"; /** * this class sets up and tests a remote session to an agent */ export default class SmbAuthentication extends React.Component<any,any> { /** *Creates an instance of SlycatRemoteControls. * @param {callBack, ConnectButton} props, * ...
the_stack
declare module '*.json' { const content: Record<string, unknown> export default content } interface IPoint { x: number y: number } /** Namespace for blueprint string interfaces */ declare namespace BPS { interface IColor { r: number g: number b: number a: number ...
the_stack
var glValidEnumContexts = { // Generic setters and getters enable: {1: {0: true}}, disable: {1: {0: true}}, getParameter: {1: {0: true}}, // Rendering drawArrays: {3: {0: true}}, drawElements: {4: {0: true, 2: true}}, // Shaders createShader: {1: {0: true}}, getShaderParameter: {2: {1: true}}, ...
the_stack
import { RequestParameters } from "@azure-rest/core-client"; export type PathsGetBooleanTrueParameters = RequestParameters; export type PathsGetBooleanFalseParameters = RequestParameters; export type PathsGetIntOneMillionParameters = RequestParameters; export type PathsGetIntNegativeOneMillionParameters = RequestParam...
the_stack
export default { en: { // debug test_I18N: 'Test I18N', switch_theme: 'Switch theme', switch_device_status: 'Switch device status', switch_network_status: 'Switch network status', switch_bluetooth: 'Switch Bluetooth', switch_wifi: 'Switch Wifi', show_toolbox: 'Show toolbox', hide_t...
the_stack
import { Promise } from 'bluebird'; import { calculateFilenameExt } from './calculateFilenameExt'; import { createFeatureHierarchySubExtension } from './createFeatureHierarchySubExtension'; import { Gltf, GltfType, GLenumName } from './gltfType'; import { FeatureHierarchyClass } from './featureHierarchyClass'; import {...
the_stack
import { ethers } from 'ethers' import linker from 'solc/linker' import { POOL_INIT_CODE_HASH_OPTIMISM, POOL_INIT_CODE_HASH_OPTIMISM_KOVAN, } from '@uniswap/v3-sdk' import { sleep, add0x, remove0x, clone } from '@eth-optimism/core-utils' import { OLD_ETH_ADDRESS, WETH_TRANSFER_ADDRESSES, UNISWAP_V3_KOVAN_MULT...
the_stack
import { ANTLRInputStream, CommonTokenStream } from 'antlr4ts'; import * as Lexer from './TomLexer'; import * as Parser from './TomParser'; import * as _ from 'lodash'; export class XDoc { private parser: Parser.TomParser constructor(source: string) { this.parser = new Parser.TomParser(new CommonTokenStream( ...
the_stack
import { Buffer } from 'buffer'; import { RSA_PKCS1_PADDING } from 'constants'; import { publicEncrypt } from 'crypto'; import { promises } from 'fs'; import { resolve } from 'path'; import { AccountBalanceInterface, AccountBalanceResponseInterface, AuthorizeResponseInterface, B2CInterface, B2CResponseInterfa...
the_stack
import * as fse from "fs-extra" import os from "os" import path, { join } from "path" import { ExifDateTime } from "./ExifDateTime" import { exiftool, ExifTool } from "./ExifTool" import { ReadTask } from "./ReadTask" import { Tags } from "./Tags" import { expect, isWin32, renderTagsWithISO, renderTagsWithRawVa...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormTask { interface Header extends DevKit.Controls.IHeader { /** Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user. */ OwnerId: DevKit.Co...
the_stack
import Service from '@ember/service'; import { getOwner } from '@ember/application'; import DS from 'ember-data'; import { get } from '@ember/object'; import { run } from '@ember/runloop'; import { firestore, database } from 'firebase/app'; // TODO don't hardcode these, but having trouble otherwise import { rootCollec...
the_stack
import { expect } from "chai"; import { FirestoreIndexes } from "../../firestore/indexes"; import { FirebaseError } from "../../error"; import * as API from "../../firestore/indexes-api"; import * as Spec from "../../firestore/indexes-spec"; import * as sort from "../../firestore/indexes-sort"; import * as util from "....
the_stack
* SetTrafficMirrorHealthSwitch请求参数结构体 */ export interface SetTrafficMirrorHealthSwitchRequest { /** * 流量镜像实例ID。 */ TrafficMirrorId: string /** * 健康检查开关,0:关闭,1:打开 */ HealthSwitch: number /** * 健康检查判断健康的次数,最小值2,最大值10。 */ HealthNum?: number /** * 健康检查判断不健康的次数,最小值2,最大值10。 */ Unhe...
the_stack
import * as builder from "botbuilder"; import { TriggerActionDialog } from "../../../utils/TriggerActionDialog"; import { DialogIds } from "../../../utils/DialogIds"; import { DialogMatches } from "../../../utils/DialogMatches"; import { Strings } from "../../../locale/locale"; import * as teams from "botbuilder-teams"...
the_stack
import { HTMLDocument } from "./deps/dom.ts"; /** The data of a page */ export interface Data { /** List of tags assigned to a page or folder */ tags?: string[]; /** The url of a page */ url?: string | ((page: Page) => string); /** If is `true`, the page will be visible only in `dev` mode */ draft?: bool...
the_stack
import allSettled from 'promise.allsettled'; import { Writer } from '@transcend-io/conflux'; // import streamSaver from 'streamsaver'; import { createWriteStream } from 'streamsaver'; import mime from 'mime-types'; // import { WritableStreamPonyfill, WritableStreamIsNative } from './streams'; import { PenumbraFile, Zip...
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 ProxyOperation from "../../../../main/js/joynr/proxy/ProxyOperation"; import MessagingQos from "../../../../main/js/joynr/messaging/MessagingQos"; import * as Request from "../../../../main/js/joynr/dispatching/types/Request"; import * as OneWayRequest from "../../../../main/js/joynr/dispatching/types/OneWayRequ...
the_stack
import { Update, ClientState, ClientResponse, UpdateHandler, ResponseHandler, Event, } from './types' import { getWalletOp, getChannelOps } from './helpers' import { URL } from 'url' require('isomorphic-fetch') const StrKey = require('stellar-base').StrKey export { ClientState, UpdateHandler, ResponseHa...
the_stack
// Tipos que operan principalmente sobre interfaces y permiten realizar // cómodamente transformaciones de los mismos. // Esquema copy/paste para presentar: // *** X *************** // -- Caso Base -- // -- Caso Práctico -- // -- Definición -- // *** READONLY *************** // Convierte todas las propiedad...
the_stack
* @packageDocumentation * @module DID */ import type { Option, u32, U128, GenericAccountId } from '@polkadot/types' import type { IIdentity, SubmittableExtrinsic, IDidKeyDetails, IDidServiceEndpoint, KeystoreSigningOptions, IDidDetails, } from '@kiltprotocol/types' import { KeyRelationship } from '@kiltp...
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 { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * The object that represents the operation. */ export interface OperationDisplay { /** * Service provider: Microsoft.PowerBIDedica...
the_stack
'use strict'; import { join, sep, dirname, basename, relative } from 'path'; import { setExtensionPath } from './providers/extensionPath' import { workspace, ExtensionContext, commands, window, Uri, WorkspaceConfiguration, debug, WorkspaceFolder, RelativePattern, OutputChannel } from 'vscode'; import { LanguageClient, ...
the_stack
"use strict"; import { GraphQLClient } from "graphql-request"; import { memoize, groupBy as _groupBy, sortBy as _sortBy, flatten as _flatten, uniq as _uniq, uniqBy as _uniqBy } from "lodash-es"; import { ResponseError } from "vscode-jsonrpc/lib/messages"; import { URI } from "vscode-uri"; import { InternalError, ...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Manages a Kusto (also known as Azure Data Explorer) Event Grid Data Connection * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const examp...
the_stack
import _ from 'lodash'; import AggregateError from 'aggregate-error'; import ensureError from 'ensure-error'; import invariant from 'assert'; import objectHash from 'object-hash'; export function errorPrefix(resourcePath: ReadonlyArray<string>): string { return `[dataloader-codegen :: ${resourcePath.join('.')}]`; ...
the_stack
import {assert} from '../platform/assert-web.js'; import {ArcId, IdGenerator, Id} from './id.js'; import {Manifest} from './manifest.js'; import {Recipe, Particle, Handle, Slot, effectiveTypeForHandle} from './recipe/lib-recipe.js'; import {SlotComposer} from './slot-composer.js'; import {Dictionary, Mutex} from '../ut...
the_stack
// clang-format off import 'chrome://settings/lazy_load.js'; import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js'; // <if expr="not chromeos and not lacros"> import {listenOnce} from 'chrome://resources/js/util.m.js'; // </if> import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled...
the_stack
import localVarRequest from 'request'; export * from './accountingAppSettings'; export * from './accountingAppUrls'; export * from './accountingExtensionCustomer'; export * from './accountingExtensionInvoice'; export * from './accountingExtensionTerm'; export * from './accountingFeatures'; export * from './actionRespo...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/changesMappers"; import * as Parameters from "../models/parameters"; import { AzureChangeAnalysisManagementClientContext } from "../azureChangeAnalysisManagementClientContext"; /** Class representing a...
the_stack
import {simpleArray, randomArray, oddArray, jsn} from "./data"; import {assert} from "chai"; import * as Linq from "../lib/linq"; describe('Immediate Execution -', function () { // Aggregate it('Aggregate() - No seed', function () { assert.equal(55, Linq.From(simpleArray).Aggregate((a, b) => a + b)...
the_stack
"use strict"; import assert from "assert"; import path from "path"; import { TextLintCore } from "../../src/index"; import { TextlintRuleSeverityLevelKeys } from "@textlint/kernel"; import { coreFlags, resetFlags } from "@textlint/feature-flag"; import { TextlintFilterRuleContext, TextlintFilterRuleReportHandle...
the_stack
import { ObjectUtils } from '../utils/object.utils'; import { ClassParameter } from '../utils/typescript.utils'; import { IDiConstructorHandler, IDiDepLeft, IDiEntry, IDiServiceMetadata, IServiceIdentifier, OnInit, OnServiceReadyCallback } from './di.shared'; import { DiService } from './di.service'; /** * Service co...
the_stack
import {assert, assertNotReached} from '../assert.js'; import {reportError} from '../error.js'; import {Point} from '../geometry.js'; import { ErrorLevel, ErrorType, MimeType, } from '../type.js'; import {windowController} from '../window_controller.js'; import { CameraAppHelper, CameraAppHelperRemote, Cam...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as k8s from "@pulumi/kubernetes"; import * as rbac from "./rbac"; import { config } from "./config"; // TODO: import from a persisent package location import * as kx from "../../../kx"; export type NginxIngressControllerOptions = { namespace?: pulumi.Input<string>...
the_stack
declare module 'ember-cli/lib/broccoli/ember-app' { import { Node as BroccoliNode } from 'broccoli-node-api'; import CoreObject from 'core-object'; import Project from 'ember-cli/lib/models/project'; export default class EmberApp extends CoreObject { options: Record<string, unknown>; name: string; ...
the_stack
import { BaseResource } from 'ms-rest-azure'; import { CloudError } from 'ms-rest-azure'; import * as moment from 'moment'; export { BaseResource } from 'ms-rest-azure'; export { CloudError } from 'ms-rest-azure'; /** * @class * Initializes a new instance of the Resource class. * @constructor * Base resource obj...
the_stack
import { cloneNode, getScrollingParent, getContainerGridGap, getEdgeOffset, getElementMargin, getPosition, setStyle, setTransitionDuration, setTranslate3d, addEventListener, removeEventListener, IBrowserEvent, } from './utils'; import { ISortableElement, IAxis, IPosition, IBounds, IOf...
the_stack
(function language_init():void { "use strict"; const language:language = { setlexer: function language_setlexer(input:string):string { const langmap = { c_cpp : "script", coldfusion: "markup", csharp : "script", c...
the_stack
import { StreamWriter } from '../src/stream-writer'; import { Encoding, EncodingType } from '../src/encoding'; /** * Stream Writer Spec Modules */ describe('Create StreamWriter instance', () => { beforeEach(() => { jasmine.DEFAULT_TIMEOUT_INTERVAL = 500; }); it('Validate constructor', (done) => ...
the_stack
declare module '*.css' declare module '*.png' declare module '*.svg' declare module '*.gif' declare module '*.less' declare module '@antv/g6' declare module 'react-json-tree' declare module '@antv/g6/plugins/layout.dagre' declare module '@antv/data-set' declare module 'filesize' declare module 'react-transition-group' ...
the_stack
export interface OpenApiV2 { swagger: "2.0"; info: InfoObject; host?: string; basePath?: string; schemes?: Schemes[]; consumes?: string[]; produces?: string[]; paths: PathsObject; definitions?: DefinitionsObject; parameters?: ParametersDefinitionsObject; responses?: ResponsesDefinitionsObject; s...
the_stack
import avalanche_go_api from '@/avalanche_go_api' import { ISubnetData } from '@/store/modules/platform/ISubnet' import Blockchain from '@/js/Blockchain' import { IValidator, IValidatorData, IDelegator, IDelegatorData, IPendingValidatorData, IPendingValidator, IPendingDelegator, IPending...
the_stack
import Color from 'color'; import ColorName from 'color-name'; import { ImageEdits, ImageFitTypes, ImageFormatTypes } from './lib'; export class ThumborMapper { private static readonly EMPTY_IMAGE_EDITS: ImageEdits = {}; /** * Initializer function for creating a new Thumbor mapping, used by the image * han...
the_stack
import { InitializationError, UniswapishPriceError, SERVICE_UNITIALIZED_ERROR_CODE, SERVICE_UNITIALIZED_ERROR_MESSAGE, } from '../../services/error-handler'; import { logger } from '../../services/logger'; import { UniswapConfig } from './uniswap.config'; import { Contract, ContractInterface } from '@ethersproj...
the_stack
import React, { useEffect, useRef, useState, useContext } from 'react'; import { useThree } from '@react-three/fiber'; import useAnnounceStore from './announceStore'; import { useA11ySectionContext } from './A11ySection'; import { stylesHiddenButScreenreadable } from './A11yConsts'; import { Html } from './Html'; inte...
the_stack
module fng.services { /*@ngInject*/ export function routingService($injector, $locationProvider) { var config:fng.IRoutingConfig = { // fixedRoutes: [] an array in the same format as builtInRoutes that is matched before the generic routes. Can be omitted hashPrefix: '', html5Mode: false, r...
the_stack
import React from 'react' import ReactDOM from 'react-dom' import * as MaterialUI from '@material-ui/core' import { requestProgress, requestBlockLimiterStatus } from '../scripts/background/request-sender' import { onStorageChanged } from '../scripts/background/storage' import { loadOptions } from '../scripts/backgroun...
the_stack
namespace Textor { export class TextEditor { public set theme(value: ITheme) { for (const propertyName of Object.keys(value)) { this._theme[propertyName] = value[propertyName]; if (propertyName === "fontFamily" || propertyName === "fontSize") { ...
the_stack
export const SEQ = 'sequential'; export const SIN = 'singlehue'; export const QUA = 'qualitative'; export const DIV = 'diverging'; export const DataVizColors = { aqua: '#12939A', tumbleweed: '#DDB27C', mule_fawn: '#88572C', tree_poppy: '#FF991F', flame: '#F15C17', sapphire: '#223F9A', orchid: '#DA70BF', ...
the_stack
/** * * Copyright 2018 Infosys Ltd. * Use of this source code is governed by MIT license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT.” * **/ import { Component, OnInit } from "@angular/core"; import { IdprestapiService } from "../idprestapi.service"; import { IdpService } from ".....
the_stack
import { action } from 'mobx'; import { observer } from 'mobx-react-lite'; import { useEffect, useState } from 'react'; import { Alert, Badge, Box, Button, Checkbox, FormField, Header, Input, Modal, Select, SpaceBetween, StatusIndicator, Table, } from '@awsui/components-react'; import { useI18...
the_stack
declare class MPSGraph extends NSObject { static alloc(): MPSGraph; // inherited from NSObject static new(): MPSGraph; // inherited from NSObject options: MPSGraphOptions; readonly placeholderTensors: NSArray<MPSGraphTensor>; L2NormPooling4DGradientWithGradientTensorSourceTensorDescriptorName(gradient: MPSGra...
the_stack
import { assertEquals } from "../../deps.ts"; import * as Drash from "../../../mod.ts"; import type { ConnInfo } from "../../../deps.ts"; const connInfo: ConnInfo = { localAddr: { transport: "tcp", hostname: "localhost", port: 1337, }, remoteAddr: { transport: "udp", hostname: "localhost", ...
the_stack
import { DndContext, DragOverlay, useDndContext, closestCorners, rectIntersection, closestCenter, useSensors, useSensor, PointerSensor, MouseSensor, } from '@dnd-kit/core'; import { observer, RecursionField } from '@formily/react'; import React, { useState } from 'react'; import { useContext } from ...
the_stack
import { Agile, CollectionPersistent, Collection, Storage, Persistent, StatePersistent, Group, Item, assignSharedStorageManager, createStorageManager, Storages, } from '../../../src'; import { LogMock } from '../../helper/logMock'; import waitForExpect from 'wait-for-expect'; describe('Collection...
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 RUM extend...
the_stack
import dayjs from 'dayjs' import { kea } from 'kea' import { router } from 'kea-router' import api, { PaginatedResponse } from 'lib/api' import { errorToast, toParams } from 'lib/utils' import { ActionFilter, FilterType, ViewType, FunnelVizType, PropertyFilter, PersonType } from '~/types' import { personsModalLogicType...
the_stack
import * as assert from 'assert'; import { timeout } from 'vs/base/common/async'; import { newWriteableBufferStream, VSBuffer } from 'vs/base/common/buffer'; import { CancellationToken } from 'vs/base/common/cancellation'; import { Event } from 'vs/base/common/event'; import { DisposableStore } from 'vs/base/common/lif...
the_stack
import { ConfalPyramidsProvider } from './property'; import { ConfalPyramidsTypes as CPT } from './types'; import { OrderedSet, Segmentation } from '../../../mol-data/int'; import { Vec3 } from '../../../mol-math/linear-algebra'; import { ChainIndex, ElementIndex, ResidueIndex, Structure, StructureElement, StructurePro...
the_stack
import omit from 'lodash/omit' import { getPreciseDefaultValue, getFilterParams, getVariableParams, getCustomOptionVariableParams } from 'app/components/Control/util' import { FieldSortTypes } from '../Widget/components/Config/Sort' import { decodeMetricName } from '../Widget/components/util' import { IDashbo...
the_stack
import { NULL_ADDRESS } from '@celo/base/lib/address' import { assertEqualBN, assertLogMatches2, assertRevert, matchAddress, matchAny, timeTravel, } from '@celo/protocol/lib/test-utils' import { fixed1, toFixed } from '@celo/utils/lib/fixidity' import BigNumber from 'bignumber.js' import _ from 'lodash' imp...
the_stack
import { afterEach, describe, expect, it } from 'vitest'; import { faker } from '../src'; import { times } from './support/times'; function degreesToRadians(degrees: number) { return degrees * (Math.PI / 180.0); } function kilometersToMiles(miles: number) { return miles * 0.621371; } // http://nssdc.gsfc.nasa.go...
the_stack
import { CancellationToken } from 'vscode-languageserver'; import * as AnalyzerNodeInfo from '../analyzer/analyzerNodeInfo'; import { AliasDeclaration, Declaration, DeclarationType, FunctionDeclaration, isAliasDeclaration, isFunctionDeclaration, } from '../analyzer/declaration'; import { ar...
the_stack
import * as fs from "fs"; import * as path from "path"; import * as util from "util"; import { ANTLRInputStream } from "../src/ANTLRInputStream"; import { CharStream } from "../src/CharStream"; import { CharStreams } from "../src/CharStreams"; import { CommonTokenStream } from "../src/CommonTokenStream"; import { Grap...
the_stack
import { extent as d3Extent, max, min } from "d3-array"; import { ScaleContinuousNumeric, ScaleTime } from "d3-scale"; import * as PropTypes from "prop-types"; import * as React from "react"; import { clearCanvas, functor, head, identity, isDefined, isNotDefined, last, shallowEqual } from "./utils"; import { mouseBased...
the_stack
import { IBufferLine } from "xterm"; import { ActiveCharPrompt, ActivePrompt, closestLeftBoundary, closestRightBoundary, collectAutocompleteCandidates, getLastToken, hasTrailingWhitespace, isIncompleteInput } from "./shell-utils"; import ShellHistory from "./shell-history"; import WasmTerminalConfig f...
the_stack
import { Injectable } from '@angular/core'; import { CoreError } from '@classes/errors/error'; import { CoreSite, CoreSiteWSPreSets } from '@classes/site'; import { CoreApp } from '@services/app'; import { CoreSites } from '@services/sites'; import { CoreUtils } from '@services/utils/utils'; import { CoreWSExternalWarn...
the_stack
import {HttpClient, HttpHeaders, HttpParams} from '@angular/common/http'; import {Injectable} from '@angular/core'; import {Observable} from 'rxjs'; import {ActionSummaryMetaData} from '../constants/actions'; import {BACKEND_BASE_URL, KeyCodes, RotateDirection, SwipeDirection} from '../constants/constants'; import {Cur...
the_stack
import addElOrigin, { addElAttributeValueOrigin, addElAttributeNameOrigin } from "./addElOrigin"; import { normalizeHtml, normalizeHtmlAttribute } from "./normalize"; import { consoleWarn } from "../../helperFunctions/logging"; var htmlEntityRegex = /^\&[#a-zA-Z0-9]+\;/; var whitespaceRegex = /^[\s]+/; var tagEndR...
the_stack
import { forEachProperty } from '@fluid-experimental/property-binder'; import { BaseProxifiedProperty, PropertyProxy } from '@fluid-experimental/property-proxy'; import { Workspace} from '@fluid-experimental/property-properties'; import {TypeIdHelper} from '@fluid-experimental/property-changeset'; import { BasePropert...
the_stack
import { AxiosRequestConfig } from "axios"; import { DEFAULT_RPC, NEO_NETWORK, RPC_VERSION } from "../consts"; import logger from "../logging"; import { timeout } from "../settings"; import { BaseTransaction } from "../tx/transaction/BaseTransaction"; import { isAddress, Claims, Balance, Coin } from "../wallet"; ...
the_stack
module WinJSTests { "use strict"; var Key = WinJS.Utilities.Key; var NavBarContainer = <typeof WinJS.UI.PrivateNavBarContainer> WinJS.UI.NavBarContainer; // Item sized from TestData/NavBar.css var itemMargins = 5; var itemHeight = 100; var itemHeightWithMargins = itemHeight + itemMargins ...
the_stack
import { IncomingMessage, ServerResponse, ClientRequest, IncomingHttpHeaders } from 'http'; import proxy from 'http-proxy-middleware'; import HttpStatus from 'http-status-codes'; import setCookieParser, { Cookie } from 'set-cookie-parser'; import zlib from 'zlib'; // node.js standard lib import { AppRenderer } fro...
the_stack
import { Output, EventEmitter, Directive, Input, TemplateRef, ViewContainerRef, OnDestroy, ChangeDetectorRef } from '@angular/core'; import { PLATFORM_ID, Inject } from '@angular/core'; import { isPlatformBrowser } from '@angular/common'; import { Subscription } from 'rxjs'; import { IResponsivePattern, IResponsiveSub...
the_stack
import * as React from 'react'; import styled, { keyframes } from 'styled-components'; import { useState } from 'react'; // import { ipcRenderer } from 'electron'; import { Client } from 'pg'; const getTables = (client) => { return new Promise((resolve, reject) => { client.query(`SELECT table_name FROM informa...
the_stack
import inquirer, { Answers, InputQuestionOptions, QuestionCollection } from "inquirer"; import { createDirectoryIfNotExists, FEATURES } from "./utils"; export function chooseSubscription(subscriptionsList: AzureSubscription[]): Promise<Answers> { const questions: QuestionCollection = [ { type: "list", ...
the_stack
import {Mutable, Class, AnyTiming, Timing} from "@swim/util"; import {Affinity, FastenerOwner} from "@swim/component"; import {Length} from "@swim/math"; import type {Color} from "@swim/style"; import {Look, Mood, MoodVector, ThemeMatrix, ThemeAnimator} from "@swim/theme"; import {ViewContextType, ViewContext, View, Vi...
the_stack
import path from "path"; import fg from "fast-glob"; import yaml from "js-yaml"; import mapObj from "map-obj"; import fs from "fs-extra"; import { log } from "./log"; import { template, getTemplateStringByParentName, getRawTriggers, getTriggerWebhookBasePath, getAsyncStringFunctionResult, } from "./utils"; im...
the_stack
import { Component, SimpleChange, ViewChild, OnInit, Output, EventEmitter } from '@angular/core'; import { ComponentFixture, fakeAsync, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { AppConfigService, setupTestBed, DataRowEvent, ObjectDataRow, DataCellEvent, ObjectDataC...
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/imagesMappers"; import * as Parameters from "../models/parameters"; import { ComputeManagementClientContext } from "../computeManagementClientCont...
the_stack
namespace egret { /** * Easing function set. Different easing functions are used to make an animation proceed according to the corresponding equation * @see http://edn.egret.com/cn/index.php/article/index/id/53 Easing effect Demo * @version Egret 2.4 * @platform Web,Native * @language en_US...
the_stack
import { AffectedTaskOccurrence } from "../../../Enumerations/AffectedTaskOccurrence"; import { ArchiveTag } from "../../../ComplexProperties/ArchiveTag"; import { DeleteMode } from "../../../Enumerations/DeleteMode"; import { EffectiveRights } from "../../../Enumerations/EffectiveRights"; import { EwsLogging } from "...
the_stack
import { Camera, ArrayCamera, PerspectiveCamera, Vector3, Quaternion, Matrix4, Group, Mesh, RingBufferGeometry, MeshBasicMaterial, BufferGeometry, RawShaderMaterial, GreaterDepth, CircleBufferGeometry, MathUtils } from "three"; import * as createTextGeometry from "three-bmfont-text"; import * as createTextSha...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import convict from 'convict'; import { ipaddress, url } from 'convict-format-with-validator'; import json5 from 'json5'; import yaml from 'yaml'; import toml from 'toml'; import { cpus, networkInterfaces } from 'os'; import Logger from '../logger/Logger'; impor...
the_stack
import { FramePoint, HorizontalFramePointsExceptSize, isFramePoint, isPercentPin, LayoutSystem, NormalisedFrame, valueToUseForPin, VerticalFramePointsExceptSize, VerticalFramePoints, HorizontalFramePoints, isHorizontalPoint, numberPartOfPin, } from 'utopia-api' import { FlexLayoutHelpers } from ...
the_stack
import * as fs from "fs-extra"; import path from "path"; import micromatch from "micromatch"; import { ValidationError } from "@changesets/errors"; import { warn } from "@changesets/logger"; import { Packages } from "@manypkg/get-packages"; import { Config, WrittenConfig, Linked } from "@changesets/types"; import packa...
the_stack
'use strict'; import { illegalArgument } from 'vs/base/common/errors'; import * as instantiation from './instantiation'; export class AbstractDescriptor<T> { constructor(private _staticArguments: any[]) { // empty } public appendStaticArguments(more: any[]): void { this._staticArguments.push.apply(this._stat...
the_stack
import deepEqual from 'deep-equal'; import * as fs from 'fs'; import { getElementCategory, getSignatureDoc, printStats } from './common'; // -------------------------------------------------- // Main Logic // -------------------------------------------------- const oldApiFile = process.argv[2]; const newApiFile = proc...
the_stack
export enum QueryType { Single = 1, KV = 2, AllKV = 3, Range = 4, StaticRange = 5, } export enum ResultType { // Raw = 0, Single = 1, KV = 2, Range = 4, } // export type QueryType = 'single' | 'allkv' | 'kv' | 'range' | 'static range' // export type ResultType = 'single' | 'kv' | 'range' export typ...
the_stack
import { assert, expect } from 'chai'; import 'mocha'; import { Index } from '../lib/index'; import { DataFrame } from '../lib/dataframe'; import { ArrayIterable } from '../lib/iterables/array-iterable'; describe('DataFrame constructor', () => { it('create dataframe from array of values', () => { const d...
the_stack
import { format, IConnection } from "mysql"; import { AccessKeyQueries, UserAuthProviderQueries, UserQueries } from "../queries"; import BaseDAO from "./BaseDAO"; import { UserDTO } from "../dto"; import Encryptor from "../Encryptor"; import { difference, forOwn, omit, pick } from "lodash"; export default class Use...
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 path from "path"; import { ConfigurationTarget, extensions, ProgressLocation, TextDocument, Uri, window, workspace, WorkspaceConfiguration } from "vscode"; import { Component, ComponentsByName, ComponentsByUri, COMPONENT_EXT, COMPONENT_FILE_GLOB, parseComponent } from "../entities/component"; import { Globa...
the_stack
import PlayerComponent from '../interfaces/component'; import EventsList from '../interfaces/events-list'; import Level from '../interfaces/level'; import SettingsItem from '../interfaces/settings/item'; import SettingsSubItem from '../interfaces/settings/subitem'; import Player from '../player'; import { EVENT_OPT...
the_stack