text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { GridListItem } from './GridListItem'; import { IGridsterOptions } from '../IGridsterOptions'; const GridCol = function(lanes) { for (let i = 0; i < lanes; i++) { this.push(null); } }; // Extend the Array prototype GridCol.prototype = []; /** * A GridList manages the two-dimensional positions...
the_stack
import { setupDevtoolsPlugin, TimelineEvent } from '@vue/devtools-api' import { App, ComponentPublicInstance, markRaw, toRaw, unref, watch, } from 'vue-demi' import { Pinia, PiniaPluginContext } from '../rootStore' import { GettersTree, MutationType, StateTree, ActionsTree, StoreGeneric, } from '....
the_stack
import { RequestHandler0, RequestHandler, ProgressType } from 'vscode-jsonrpc'; import { TextDocumentIdentifier, Diagnostic, DocumentUri, integer } from 'vscode-languageserver-types'; import * as Is from './utils/is'; import { ProtocolRequestType0, ProtocolRequestType } from './messages'; import { PartialResultParams...
the_stack
import * as BluebirdPromise from 'bluebird'; import { app, ipcMain, session } from 'electron'; import log from 'electron-log'; import { omit } from 'ramda'; import { Observable } from 'rxjs/Observable'; import { fromEvent } from 'rxjs/observable/fromEvent'; import { Subject } from 'rxjs/Subject'; import { sendToAllWebc...
the_stack
import {KSeq, OpKind, InsertOp, RemoveOp} from '../src'; import {Ident} from '../src/idents'; import {assert} from 'chai'; function getWallTime(): number { return Math.floor(new Date().valueOf() / 1000); } function randomize(arr) { for (let i = arr.length - 1; i > 0; i--) { let j = Math.floor(Math.random...
the_stack
import expect from "expect"; import { assert, Assignment, ASTKind, ASTNode, ASTReader, Block, ContractDefinition, ExpressionStatement, FunctionCall, FunctionDefinition, Identifier, ImportDirective, IndexAccess, MemberAccess, OverrideSpecifier, ParameterLis...
the_stack
namespace LiteMol.Extensions.ComplexReprensetation.Carbohydrates.Mapping { export interface RepresentationEntry { instanceName: string, name: string, shape: Core.Geometry.Surface[], color: Visualization.Color[], axisUp: number[], axisSide: number[] } export c...
the_stack
// IMPORTANT // This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator // Generated from: https://firestore.googleapis.com/$discovery/rest?version=v1beta1 ...
the_stack
* Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use t...
the_stack
import path from 'path'; import _ from 'lodash'; import uuid from 'uuid'; import inquirer from 'inquirer'; import { $TSContext, stateManager, pathManager, JSONUtilities, exitOnNextTick } from 'amplify-cli-core'; import { functionParametersFileName } from './constants'; import { categoryName } from '../../../constants';...
the_stack
import {protoManage} from "../proto/manage" import {globals} from "./globals"; import axios from "axios"; import {convert} from "./convert"; import i18n from '../base/i18n' export module request { export function reqFindSystemInitInfo(req:protoManage.ReqSystemInitInfo):Promise<protoManage.AnsSystemInitInfo> { ...
the_stack
import HostedNumbers = require('../../HostedNumbers'); import Page = require('../../../../base/Page'); import Response = require('../../../../http/response'); import { SerializableClass } from '../../../../interfaces'; type DependentHostedNumberOrderStatus = 'received'|'pending-verification'|'verified'|'pending-loa'|'...
the_stack
import { useScopedStore } from '@edtr-io/core' import { change, findNextNode, findPreviousNode, focusNext, focusPrevious, getDocument, getFocusTree, getParent, getPlugins, insertChildAfter, mayInsertChild, mayRemoveChild, removeChild, replace, getFocusPath, getPlugin, } from '@edtr-io/st...
the_stack
import { ts } from "../../../deps.ts"; import { defaultKeyword, IdentifierMap } from "./_util.ts"; const printer: ts.Printer = ts.createPrinter({ removeComments: false }); export function typescriptInjectIdentifiersTransformer( identifierMap: Map<string, string>, blacklistIdentifiers: Set<string>, ) { return (c...
the_stack
import { mockAwsS3, mockAwsSecretManager } from './mock'; import SecretsManager from 'aws-sdk/clients/secretsmanager'; import S3 from 'aws-sdk/clients/s3'; import { ImageRequest } from '../image-request'; import { ImageHandlerError, RequestTypes, StatusCodes } from '../lib'; import { SecretProvider } from '../secret-...
the_stack
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * An interface representing ErrorDetails. */ export interface ErrorDetails { code?: string; target?: string; message?: string; } ...
the_stack
import http from "http"; import type { AddressInfo } from "net"; import test, { Test } from "tape-promise/tape"; import { v4 as uuidv4 } from "uuid"; import express from "express"; import bodyParser from "body-parser"; import { Configuration, DefaultApi as BesuApi, IPluginHtlcEthBesuErc20Options, PluginFactoryH...
the_stack
import { Position, SourceNode } from 'source-map'; // Matches <%= expr %>. This does not support structural JavaScript (for/if/...). const kInterpolateRe = /<%=([\s\S]+?)%>/g; // Matches <%# text %>. It's a comment and will be entirely ignored. const kCommentRe = /<%#([\s\S]+?)%>/g; // Used to match template delimite...
the_stack
import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { NgModel } from '@angular/forms'; import { MatDialog } from '@angular/material/dialog'; import { MatSnackBar } from '@angular/material/snack-bar'; import { ActivatedRoute, Router } from '@angular/router'; import { AuthService } from '@app/...
the_stack
import {ChevronDownIcon} from '@sanity/icons' import React, { cloneElement, forwardRef, useCallback, useEffect, useMemo, useReducer, useRef, useState, } from 'react' import {EMPTY_ARRAY} from '../../constants' import {_hasFocus, _raf, focusFirstDescendant} from '../../helpers' import {useForwardedRef, u...
the_stack
import {assert} from 'chai'; import * as mm from '../lib'; import * as path from 'path'; const t = assert; const samplePath = path.join(__dirname, 'samples'); // https://github.com/Borewit/music-metadata/pull/544 describe('Add, change and fix some mappings #pr-544', () => { describe('Movement Name', () => { ...
the_stack
import Vue, { VNode } from 'vue' declare global { interface NumberConstructor { ['@@vueTag']: number } interface StringConstructor { ['@@vueTag']: string } interface BooleanConstructor { ['@@vueTag']: boolean } namespace JSX { interface Element extends VNode { } interface Elemen...
the_stack
import * as React from 'react'; import * as actions from '../../actions'; import './index.less'; import { Button, Input, Transfer, Select } from 'antd'; import { CustomBreadcrumb, CommonHead, NavRouterLink } from '../../component/CustomComponent'; import { getCollectListColumns, collectBreadcrumb, getCollectFormColumns...
the_stack
import * as widgets from '@jupyter-widgets/base'; import {cloneDeep, extend, includes as contains, each, times, map, unzip as transpose} from 'lodash'; import {semver_range} from './version'; import {RendererModel} from './renderer'; import {ipysheet_init_cell_type} from './widget_cell_type' // @ts-ignore import Hand...
the_stack
import React from "react"; import {fireEvent, render, wait, cleanup, screen} from "@testing-library/react"; import Steps from "./steps"; import axiosMock from "axios"; import mocks from "../../api/__mocks__/mocks.data"; import data from "../../assets/mock-data/curation/steps.data"; import StepsConfig from "../../config...
the_stack
import { Long } from 'bson'; import { createSessionWebClient, DataWebRequest, SessionWebClient } from './web-client'; import { DefaultConfiguration, WebApiConfig } from '../config'; import { OAuthCredential } from '../oauth'; import { AsyncCommandResult, DefaultRes, KnownDataStatusCode } from '../request'; import { Jso...
the_stack
import fs = require('fs'); import path = require('path'); import clone = require('clone'); export namespace dtsmake{ const DTS_INTERFACE_STR = "!!!dtsinterface!!!"; const DTS_NAMESPACE_STR = "!!!dtsnamespace!!!"; export class DTSMake{ /** * ternjs json format data */ ternjsData:JSON; /** * cur...
the_stack
import * as cp from 'child_process' import * as github from '@actions/github' import * as os from 'os' import * as path from 'path' import * as process from 'process' import {expect, test} from '@jest/globals' import {promises} from 'fs' const {readFile, writeFile} = promises import {Formatter, FormatterOptions} from '...
the_stack
export interface DeleteProductRequest { /** * 需要删除的产品 ID */ ProductId: string; /** * 删除LoRa产品需要skey */ Skey?: string; } /** * DescribePrivateCABindedProducts请求参数结构体 */ export interface DescribePrivateCABindedProductsRequest { /** * 证书名称 */ CertName: string; ...
the_stack
import moment from "moment"; import {ProwJobState, Pull} from "../api/prow"; import {relativeURL} from "./urls"; // This file likes namespaces, so stick with it for now. /* tslint:disable:no-namespace */ // The cell namespace exposes functions for constructing common table cells. export namespace cell { export fun...
the_stack
import Dictionary from '../../../util/Dictionary'; import Rectangle from '../../geometry/Rectangle'; import Geometry from '../../geometry/Geometry'; import Point from '../../geometry/Point'; import { Graph } from '../../Graph'; import Cell from '../../cell/datatypes/Cell'; import CellArray from '../../cell/datatypes/Ce...
the_stack
import * as Fs from 'fs'; import * as Path from 'path'; import Bluebird from 'bluebird'; import { EventEmitter } from 'events'; import d from 'debug'; import Parser from './parser'; import Protocol from './protocol'; import Stats from './sync/stats'; import Entry from './sync/entry'; import PushTransfer from './sync/pu...
the_stack
import Page = require('../../../../../base/Page'); import Response = require('../../../../../http/response'); import V1 = require('../../../V1'); import { SerializableClass } from '../../../../../interfaces'; type UserConversationNotificationLevel = 'default'|'muted'; type UserConversationState = 'inactive'|'active'|...
the_stack
import { AfterContentInit, AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, Output, Renderer2, ViewChild } from "@angular/core"; import {IPopupable, PopupInfo, PopupOptions, PopupPositionType, PopupService} from "../../com...
the_stack
import { RefObject, useCallback, useMemo, useRef } from "react"; import { flatten2DArray, reverseArray } from "ariakit-utils/array"; import { useControlledState, useInitialValue, useLiveRef, } from "ariakit-utils/hooks"; import { useStorePublisher } from "ariakit-utils/store"; import { SetState } from "ariakit-ut...
the_stack
import Config from "../config/Config"; import DSLCombinerTypes from "../constants/DSLCombinerTypes"; import DSLExpression from "../structs/DSLExpression"; import DSLFilterTypes from "../constants/DSLFilterTypes"; import DSLUtil from "./DSLUtil"; const STRING_EXPR = /(['"])[^\1]+?(?=\1)\1/; const DSLUpdateUtil = { /...
the_stack
import {ObjectLoader} from 'three/src/loaders/ObjectLoader'; import {Object3D} from 'three/src/core/Object3D'; import {BufferGeometry} from 'three/src/core/BufferGeometry'; import {Poly} from '../../engine/Poly'; import {ModuleName} from '../../engine/poly/registers/modules/Common'; import {LineSegments} from 'three/sr...
the_stack
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest'; import * as models from '../models'; /** * @class * AutoscaleSettings * __NOTE__: An instance of this class is automatically created for an * instance of the InsightsManagementClient. */ export interface Autos...
the_stack
import parseISO from 'date-fns/parseISO'; import loggerFactory from '~/utils/logger'; import ConfigModel from '../models/config'; import S2sMessage from '../models/vo/s2s-message'; import { S2sMessagingService } from './s2s-messaging/base'; import { S2sMessageHandlable } from './s2s-messaging/handlable'; import Confi...
the_stack
import { close, createReadStream, createWriteStream, fdatasync, mkdir, open, stat, unlink } from "fs"; import multistream = require("multistream"); import { join } from "path"; import { Writable } from "stream"; import { promisify } from "util"; import uuid = require("uuid"); import { ZERO_EXTENT_ID } ...
the_stack
import { loggerSpy } from '../testhelpers/loggerSpy'; import { importSingleText } from '../testhelpers/importSingleText'; import { leftAlign } from '../utils/leftAlign'; describe('FSHErrorListener', () => { beforeEach(() => loggerSpy.reset()); it('should not log any errors for valid FSH', () => { const input ...
the_stack
import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import { expect } from 'chai'; import * as sinon from 'sinon'; import { DebugProtocol } from 'vscode-debugprotocol/lib/debugProtocol'; import { ApexDebug, ApexDebugStackFrameInfo, ApexVariable, ApexVariableKind, Col...
the_stack
'use strict'; import * as React from 'react'; // DataSet import { DataSet } from '@antv/data-set/lib/data-set'; import { View as DataView } from '@antv/data-set/lib/view'; import '@antv/data-set/lib/api/statistics'; import '@antv/data-set/lib/api/geo'; import '@antv/data-set/lib/connector/geojson'; import '@antv/data-...
the_stack
import { Storage } from '../types'; import { Group, Match, MatchGame, Round, SeedOrdering, Stage, StageType } from 'brackets-model'; import { BracketKind, RoundPositionalInfo } from '../types'; import { Create } from '../create'; import * as helpers from '../helpers'; export class BaseGetter { protected readonly ...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Manages a Cloud Dataproc cluster resource within GCP. * * * [API documentation](https://cloud.google.com/dataproc/docs/reference/rest/v1/projects.regions.clusters...
the_stack
import AWS from 'aws-sdk'; import AWSMock from 'aws-sdk-mock'; import { mockProcessStdout } from 'jest-mock-process'; import { ListrTaskWrapper } from 'listr2'; import nock from 'nock'; import { createMockTask } from '../util'; import { SnapshotRemoveElasticacheRedisTrick, SnapshotRemoveElasticacheRedisState, } f...
the_stack
const params : {[index: string]: any} = { '2048': { publicKey:{ jwk: { e: 'AQAB', kty: 'RSA', n: 'scsBr8BRbrcyZIKFT9i_ev6pPYLoGkZhie4vis1JnlEgkpKmgzDDzdqE5HmHxK5QXcKeTAZWuEsQFMmDJOYfkcINMYtopiLTYFo6YLvs6MyZt_lm5CUPnURi1wu3ni5gZ2EbhDECyvUxZHWswJKF19kZ-haa5cE5otHzMUENeodhaVnsKiWJLYH2Ey...
the_stack
import * as mqtt from 'mqtt'; import axios from 'axios'; import { BehaviorSubject, Subject } from 'rxjs'; import { Widget } from './widget'; import bonjour from 'bonjour'; import * as WebSocket from 'ws'; import * as schedule from 'node-schedule'; import * as pauseable from 'pauseable'; import { tip, warn, error, timer...
the_stack
import { TxData } from "../../types"; import * as promisify from "tiny-promisify"; import { classUtils } from "../../../utils/class_utils"; import { Web3Utils } from "../../../utils/web3_utils"; import { BigNumber } from "../../../utils/bignumber"; import { Collateralizer as ContractArtifacts } from "@dharmaprotocol/co...
the_stack
import { define } from 'elements-sk/define'; import { html } from 'lit-html'; import * as d3Scale from 'd3-scale'; import * as d3Array from 'd3-array'; import * as ResizeObserverPolyfill from 'resize-observer-polyfill'; // This import is needed because https://github.com/Microsoft/TypeScript/issues/28502 import ResizeO...
the_stack
module android.graphics.drawable { import Resources = android.content.res.Resources; import Canvas = android.graphics.Canvas; import PixelFormat = android.graphics.PixelFormat; import Rect = android.graphics.Rect; import View = android.view.View; import System = java.lang.System; import Runn...
the_stack
import { GLCapabilityType, IPlatformRenderTarget, Logger, RenderBufferDepthFormat, RenderColorTexture, RenderDepthTexture, RenderTarget, TextureCubeFace } from "@oasis-engine/core"; import { GLRenderColorTexture } from "./GLRenderColorTexture"; import { GLRenderDepthTexture } from "./GLRenderDepthTextur...
the_stack
import React, { useContext, useState } from "react"; import { useActor } from "@xstate/react"; import Modal from "react-bootstrap/Modal"; import close from "assets/icons/close.png"; import sunflowerRock from "assets/nfts/sunflower_rock.png"; import sunflowerTombstone from "assets/nfts/sunflower_tombstone.png"; import...
the_stack
import DagGraph from '../src/DagGraph' import * as DagHistory from '../src/DagHistory' import Configuration from '../src/Configuration' const config = new Configuration<BasicState>({ actionName: (state: any, id: string) => id, branchName: (oldBranch: any, newBranch: any, actionName: string) => actionName, }) cons...
the_stack
import test from 'ava'; import {JsonGetter} from '../src/decorators/JsonGetter'; import {JsonSetter} from '../src/decorators/JsonSetter'; import {JsonClassType} from '../src/decorators/JsonClassType'; import {ObjectMapper} from '../src/databind/ObjectMapper'; import {JsonIgnoreProperties} from '../src/decorators/JsonIg...
the_stack
import { User } from "@microsoft/microsoft-graph-types"; import { AadHttpClient, AadHttpClientConfiguration, HttpClientResponse, IAadHttpClientConfiguration, IAadHttpClientConfigurations, IAadHttpClientOptions } from "@microsoft/sp-http"; import { IODataUser } from "@microsoft/sp-odata-types"; import { SPPermission } ...
the_stack
import { reactive, shallowReactive } from "../reactive" import { isProxy, isReactive, markRaw, toRaw } from "../utils" import { computed, isRef, ref } from "../ref" import { createEffect } from "../effect" describe("reactive", () => { it("should create a deep proxy", () => { let subject, expected ...
the_stack
import expandTilde = require('expand-tilde'); import { RevealOutputChannelOn as RevealOutputChannelOnEnum } from 'vscode-languageclient'; import { ConfigurationParameter } from '../../ConfigurationParameter'; import { FileSystem } from '../file_system/FileSystem'; import { Rustup } from './Rustup'; import { RustSource ...
the_stack
import { SerializableHash } from "@stablelib/hash"; import { readUint32LE, writeUint32LE } from "@stablelib/binary"; import { wipe } from "@stablelib/wipe"; export const BLOCK_SIZE = 64; export const DIGEST_LENGTH = 32; export const KEY_LENGTH = 32; export const PERSONALIZATION_LENGTH = 8; export const SALT_LENGTH = 8...
the_stack
import React from 'react' import PropTypes from 'prop-types' function uniq (arr) { let out = [] for (let i = 0; i < arr.length; i++) { if (out.indexOf(arr[i]) === -1) { out.push(arr[i]) } } return out } /* istanbul ignore next */ function getClipboardData (e) { if (window.clipboardData) { ...
the_stack
import { expect } from 'chai'; import { last } from 'rxjs/operators/last'; import { take } from 'rxjs/operators/take'; import { App } from './App'; import createApp from './createApp'; describe('frint › App', () => { it('throws error when creating new instance without name', () => { expect(() => { // tsl...
the_stack
import "jest-extended"; import { Application, Contracts } from "@packages/core-kernel"; import { DelegateEvent } from "@packages/core-kernel/src/enums"; import { Identifiers } from "@packages/core-kernel/src/ioc"; import { Wallets } from "@packages/core-state"; import { StateStore } from "@packages/core-state/src/stor...
the_stack
import * as moment from "moment"; /** * Defines the query context that Bing used for the request. */ export interface QueryContext { /** * The query string as specified in the request. */ originalQuery: string; /** * The query string used by Bing to perform the query. Bing uses the altered query strin...
the_stack
import _ from 'lodash'; import { Content, ContentVersion, DSL, File, FileTypes } from '@foxpage/foxpage-server-types'; import { CONT_STORE, LOG, PRE, TAG, TYPE } from '../../../config/constant'; import * as Model from '../../models'; import { AppTypeFileUpdate, FileCheck, FileContentVersion, FileFolderContent...
the_stack
import * as coreClient from "@azure/core-client"; /** Result of the request to list Relay operations. It contains a list of operations and a URL link to get the next set of results. */ export interface OperationListResult { /** * List of Relay operations supported by resource provider. * NOTE: This property wi...
the_stack
import { URLSearchParams } from 'url'; import { Route } from '@vercel/routing-utils'; import { Proxy } from '../src/proxy'; import { generateMockedFetchResponse } from './test-utils'; describe('Proxy unit', () => { test('Captured groups', async () => { const mockedFetch = jest .fn() .mockImplementa...
the_stack
import { assert } from "chai"; import { suite, test } from "mocha-typescript"; import { outdent } from "outdent"; import { BlockCompiler, BlockDefinitionCompiler, INLINE_DEFINITION_FILE } from "../../src"; import { REGEXP_COMMENT_DEFINITION_REF } from "../../src/PrecompiledDefinitions"; import { setupImporting } from ...
the_stack
import { SpecPage } from '@stencil/core/testing'; import { flushTransitions, parseTransform, asyncForEach } from './unit-test-utils'; export const wrapLabel_applied_default = { prop: 'wrapLabel', group: 'axes', name: 'wrap label should be applied by default on load', testProps: {}, testSelector: '[data-testi...
the_stack
import { getRandomBytes } from '@liskhq/lisk-cryptography'; import { sortByBitmapAndKey, binaryStringToBuffer, bufferToBinaryString, areSiblingQueries, filterQueries, calculateRoot, getOverlappingStr, verify, leafData, isLeaf, branchData, parseBranchData, parseLeafData, binaryExpansion, } from '../../src/...
the_stack
* {{cookiecutter.project_name}} * {{cookiecutter.project_name}} API * * The version of the OpenAPI document: 0.1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import globalAxios, { Axios...
the_stack
import * as Fs from 'fs-extra'; import * as Handlebars from 'handlebars'; import * as Path from 'path'; import { Git} from '../git'; import { Paths} from '../paths'; import { Release} from '../release'; import { Utils} from '../utils'; /** A wrapper for Handlebars with several additions which are essential for Torti...
the_stack
import { t, N, AnyOp, VarUint7 } from './ast' import { utf8 } from './utf8' import { uint8, uint16, uint32, float32, float64 } from './basic-types'; import { opcodes } from './info' export type Writer = (s :string)=>void export inter...
the_stack
import * as a from '../parser/ast'; import { wat2wasm, convertMiBToPage } from '../wasm'; import { CodegenContext } from './context'; import { SExp, beautify } from 's-exify'; export function genWASM( mod: a.Module, opts: { exports: Array<string>; memorySize: number }, ): Buffer { return wat2wasm(genWAT(mod, opt...
the_stack
import { URL_SOUND_LIST_CONVERSATION } from './../chat21-core/utils/constants'; import { ArchivedConversationsHandlerService } from 'src/chat21-core/providers/abstract/archivedconversations-handler.service'; import { AppStorageService } from 'src/chat21-core/providers/abstract/app-storage.service'; import { Component,...
the_stack
import React, { lazy, Suspense } from 'react'; import CssBaseline from '@material-ui/core/CssBaseline'; import { ThemeProvider as MuiThemeProvider, StylesProvider, } from '@material-ui/core/styles'; import { BrowserRouter, Route, Redirect, Switch } from 'react-router-dom'; import { ThemeProvider as ScThemeProvider ...
the_stack
import { IDomChangeEvent, INodeData } from '@secret-agent/interfaces/IDomChangeEvent'; import { IMouseEvent } from '@secret-agent/interfaces/IMouseEvent'; import { IFocusEvent } from '@secret-agent/interfaces/IFocusEvent'; import { IScrollEvent } from '@secret-agent/interfaces/IScrollEvent'; import { ILoadEvent } from ...
the_stack
module Kiwi.GameObjects.Tilemap { /** * A TileMap handles the creation of TileMapLayers and the TileTypes that they use. * Since a TileMap isn't a Entity itself you cannot add it to the Stage inorder to render that it manages, * Instead you have to add each layer lies within it. This way you can have other GameO...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormCampaign_Response { interface tab_new_campaign_response_Sections { description: DevKit.Controls.Section; details: DevKit.Controls.Section; summary: DevKit.Controls.Section; } interface tab_new_campaign_response ext...
the_stack
import { parseBinaryStructure, readBinaryFields, writeBinaryFields } from "./binary_table"; import { BroadcasterDatabase } from "./broadcaster_database"; import { Resources } from "./resource"; type NvramAccessId = "broadcaster_id" | // 事業者ごと(BSとCS) "original_network_id" | // ネットワークごと(地上波とCS) "affiliation_...
the_stack
import * as React from "react"; import * as Utility from "../Utility"; import { AppState } from "../States/AppState"; import * as $ from "jquery"; import { BrowserRouter as Router, Route, Link, withRouter, } from "react-router-dom"; import { match } from "react-router"; import { RouteComponent } fro...
the_stack
import { Vector2Like } from "@here/harp-geoutils"; import { assert } from "@here/harp-utils"; import * as THREE from "three"; import { MAX_FOV_RAD, MIN_FOV_RAD } from "./FovCalculation"; // In centered projections the principal point is at NDC origin, splitting vertical and horizontal // fovs in two equal halves. fun...
the_stack
import { App, PluginSettingTab, Setting, sanitizeHTMLToDom, RequestUrlParam, requestUrl } from "obsidian"; import { EntryDoc, LOG_LEVEL, RemoteDBSettings } from "./lib/src/types"; import { path2id, id2path } from "./utils"; import { NewNotice, runWithLock } from "./lib/src/utils"; import { Logger } from "./lib/src/logg...
the_stack
import { colors, fs, path, ts } from "../../deps.ts"; import { Asset, getAsset } from "../../graph.ts"; import { Logger } from "../../logger.ts"; import { addRelativePrefix, timestamp } from "../../_util.ts"; import { Chunk, Context, DependencyType, Export, Format, getFormat, Item, } from "../plugin.ts"; ...
the_stack
import * as fsSyncer from 'fs-syncer' import * as typegen from '../src' import * as path from 'path' import {getHelper} from './helper' import './register-mock-serializer' export const {typegenOptions, logger, poolHelper: helper} = getHelper({__filename}) // todo: test two tables, where sql parser can't automatically...
the_stack
import { expect, preferencesTestSet, loadBackground, nextTick, Background, } from './setup'; preferencesTestSet.map(preferences => { describe(`preferences: ${JSON.stringify(preferences)}`, () => { describe('Multi-Account Containers Confirm Page reopening', () => { [false, true].map(macWasFaster =...
the_stack
import * as oauth1 from './strategies/oauth1' import * as oauth2 from './strategies/oauth2' import { authenticate, fetchAuthDetails } from './strategy' import { MiddlewareTestHarness } from '../../../../tests/utils' import { TAuthenticateRequest, EAuthType } from './types' import { RequestHandler } from 'express' impor...
the_stack
module BABYLON { class FocusScopeData { constructor(focusScope: UIElement) { this.focusScope = focusScope; this.focusedElement = null; } focusScope: UIElement; focusedElement: UIElement; } export class FocusManager { constructor() { ...
the_stack
import { expect } from "chai"; import "mocha"; import { range, Subject } from "rxjs"; import { skip, take } from "rxjs/operators"; import { Reducer, Store } from "../src/index"; import { ExampleState, GenericState, RootState, SliceState } from "./test_common_types"; describe("initial state setting", () => { class ...
the_stack
import * as tar from "tar-stream"; import * as path from "path"; import * as fs from "fs"; import * as zlib from "zlib"; import * as bunzip2 from "unbzip2-stream"; import { ArchiveCommon } from "./ArchiveCommon"; import { File, FileLink } from "../../common/File"; import { ProgressFunc, ProgressResult } from "../../co...
the_stack
import { expect } from 'chai'; import * as http from 'http'; import * as qs from 'querystring'; import * as path from 'path'; import * as url from 'url'; import * as WebSocket from 'ws'; import { ipcMain, protocol, session, WebContents, webContents } from 'electron/main'; import { AddressInfo } from 'net'; import { emi...
the_stack
import { Arn, Aws, Lazy, Resource, SecretValue, Stack } from '@aws-cdk/core'; import { Construct } from 'constructs'; import { IGroup } from './group'; import { CfnUser, CfnUserToGroupAddition } from './iam.generated'; import { IIdentity } from './identity-base'; import { IManagedPolicy } from './managed-policy'; impor...
the_stack
declare namespace Magix3 { /** * 配置信息接口 */ interface Config { /** * 默认加载的view */ defaultView?: string /** * 默认路径 */ defaultPath?: string /** * path与view关系映射对象或方法 */ routes?: string | ((this: Config, p...
the_stack
import { SectionHeading } from "../site/SectionHeading" import * as cheerio from "cheerio" import urlSlug from "url-slug" import * as lodash from "lodash" import * as React from "react" import * as ReactDOMServer from "react-dom/server" import { HTTPS_ONLY } from "../settings/serverSettings" import { getTables } from "...
the_stack
import { SpecPage } from '@stencil/core/testing'; import { flushTransitions } from './unit-test-utils'; const fakePosition = { pageX: 125, pageY: 250 }; const tooltipSelector = '[data-testid=tooltip-container]'; export const tooltip_showTooltip_default = { prop: 'showTooltip', group: 'labels', name: 'tooltip sh...
the_stack
import * as nls from 'vs/nls'; import { isObject } from 'vs/base/common/types'; import { IJSONSchema, IJSONSchemaMap, IJSONSchemaSnippet } from 'vs/base/common/jsonSchema'; import { IWorkspaceFolder } from 'vs/platform/workspace/common/workspace'; import { IConfig, IDebuggerContribution, IDebugAdapter, IDebugger, IDebu...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Chart } from '../../../src/chart/chart'; import { LineSeries } from '../../../src/chart/series/line-series'; import { DataLabel } from '../../../src/chart/series/data-label'; import { Category } from '../../../src/chart/axis/category-axis'; import { DateTim...
the_stack
import { AppendCommand, BitCountCommand, BitOpCommand, BitPosCommand, CommandOptions, DBSizeCommand, DecrByCommand, DecrCommand, DelCommand, EchoCommand, EvalCommand, EvalshaCommand, ExistsCommand, ExpireAtCommand, ExpireCommand, FlushAllCommand, FlushDBCommand, GetBitCommand, GetC...
the_stack
import { ITokenService, IProfileProperties } from "@pnp/modern-search-extensibility"; import { ServiceKey, ServiceScope, Log, UrlQueryParameterCollection } from "@microsoft/sp-core-library"; import { PageContext } from '@microsoft/sp-page-context'; import { SPHttpClient } from '@microsoft/sp-http'; import { DateHelper ...
the_stack
import { AfterContentInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, HostBinding, HostListener, Inject, Input, NgZone, OnChanges, OnDestroy, OnInit, Output, PLATFORM_ID, SimpleChange, SimpleChanges } from '@angular/core'; import { isPlatformBrowser } from '@a...
the_stack
import nock from 'nock'; import TerasliceClient from '../src'; import Client from '../src/client'; describe('Teraslice Client', () => { describe('when using the main export function', () => { it('returns a function', () => { expect(typeof TerasliceClient).toEqual('function'); }); ...
the_stack