text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { Observable } from "data/observable"; import { ObservableArray } from "data/observable-array"; import { VirtualArray } from "data/virtual-array"; /** * Regular expression for trimming a string * at the beginning and the end. */ export declare const REGEX_TRIM: RegExp; /** * Describes a grouping. ...
the_stack
import { h, mount, patch, PetitDom, unmount } from "petit-dom"; function assertEqual<T>(a: T, b: T) { } function eventHandler(event: Event): void { } interface CustomProps { name: string; count: number; onSomeEvent(event: Event): void; } /** * Create an <a> element with text content, using HyperScript ...
the_stack
import { assert } from "chai"; import { Value, load, loadAll } from "../../src/dom"; import { Decimal, dom, IonType, IonTypes, Timestamp } from "../../src/Ion"; import * as ion from "../../src/Ion"; import JSBI from "jsbi"; import * as JsValueConversion from "../../src/dom/JsValueConversion"; import { Constructor } fro...
the_stack
(function ($: JQueryStatic) { // you have to extend jQuery with the fn["pluginName"] notation because in Typescript you can't extend // the existing typing interface with fn.pluginName! $.fn["butterExpandable"] = function () { return this.each((index, element) => { let rootElement: JQuer...
the_stack
import { ShellRunner } from "../process/shell-runner.ts"; import { Account, AccountResponse, AssumedRoleResponse, CostResponse, Credentials, Group, GroupResponse, Policy, PolicyResponse, Tag, TagResponse, User, UserResponse, } from "./aws.model.ts"; import { ShellOutput } from "../process/shel...
the_stack
import * as PIXI from 'pixi.js' import FD from '../core/factorioData' import G from '../common/globals' import { Tile } from '../core/Tile' import { Entity } from '../core/Entity' import { Blueprint } from '../core/Blueprint' import { IConnection } from '../core/WireConnections' import { isActionActive, callAction } fr...
the_stack
import { LicenseScanResultItem, SecurityScanResultItem } from '@app/models'; import { LogProjectChangeCommand } from '@app/models/commands/LogProjectChangeCommand'; import { ProjectDistinctLicenseDto, ProjectDistinctVulnerabilityDto } from '@app/models/DTOs'; import { LicenseDto } from '@app/models/DTOs/LicenseDto'; im...
the_stack
import 'mocha'; import expect from 'expect'; import { SpanKind } from '@opentelemetry/api'; import { ExpressInstrumentation } from '../src'; import { AddressInfo } from 'net'; import { ReadableSpan } from '@opentelemetry/sdk-trace-base'; import { SemanticAttributes } from '@opentelemetry/semantic-conventions'; import {...
the_stack
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Components, registerComponent } from '../../lib/vulcan-lib'; import classNames from 'classnames'; import withUser from '../common/withUser'; import { captureException }from '@sentry/core'; import { isServer } from '../../lib/executionE...
the_stack
import { Config, ConfigParameters, getConfig, AuthorizationParameters, DeepPartial } from '../../src/auth0-session'; const defaultConfig = { secret: '__test_session_secret__', clientID: '__test_client_id__', issuerBaseURL: 'https://op.example.com', baseURL: 'https://example.org', routes: { callback: '/ca...
the_stack
import * as ipaddr from 'ipaddr.js'; import {Base64} from 'js-base64'; import * as punycode from 'punycode'; // Custom error base class export class ShadowsocksConfigError extends Error { constructor(message: string) { super(message); // 'Error' breaks prototype chain here if this is transpiled to es5 Objec...
the_stack
function isNullOrUndefined(object: any): object is null | undefined { return object === undefined || object === null } /** * 操作类型 */ enum ActionType { forEach = 'forEach', filter = 'filter', map = 'map', flatMap = 'flatMap', sort = 'sort', reduce = 'reduce', reduceRight = 'reduceRight', findIndex =...
the_stack
import type {GraphicProps, Series} from '../types'; import React from 'react'; import {scaleOrdinal} from 'd3-scale'; import {schemeCategory10} from 'd3-scale-chromatic'; import {create, act} from 'react-test-renderer'; import {Chart} from '../Chart'; import {generateRandomSeries, random, range} from '../helpers'; im...
the_stack
import { state, mechanicsEngine, Combat, template, SpecialObjectsUse, CombatTurn, GndDiscipline, translations, gameView } from "../.."; /** * Combats mechanics */ export class CombatMechanics { /** Selector for elude buttons */ public static readonly ELUDE_BTN_SELECTOR = ".mechanics-elude"; /** Selecto...
the_stack
import { device_sources, logger } from ".."; import { RegisterTallyInput } from "../_decorators/RegisterTallyInput.decorator"; import { FreePort, UsePort } from "../_decorators/UsesPort.decorator"; import { Source } from '../_models/Source'; import { TallyInputConfigField } from "../_types/TallyInputConfigField"; ...
the_stack
import { Translation } from '../i18'; // Brazilian Portuguese // // Translated by: Celio Rodrigues (https://github.com/rodriguescelio) export const translation: Translation = { __plugins: { reload: { failed: 'Não foi possivel recarregar os plugins: {0}', loaded: { m...
the_stack
import Singleton from '../../src/server' import BaseClient from '../../src/core/client' import { nullLogger } from './helpers' import sinon from 'sinon' import nock from 'nock' import express from 'express' import request from 'supertest' describe('server client', function () { let client beforeEach(function ()...
the_stack
import { BoxBufferGeometry, Mesh, MeshBasicMaterial, Quaternion, Vector3, Group, Color, Ray, Box3 } from 'three'; import FootstepsSFX from '../assets/sfx/walking.wav'; import { PhysicalType, Peer, PointerLockControls, raycast } from '../libs'; import { Coords3 } from '../libs/types'; import { Helper } from '../utils';...
the_stack
import {jsn, fruits, people, pets, unorderedMix, unorderedStr} from "./data"; import {assert} from "chai"; import {asEnumerable, Range} from "../lib/linq"; describe('Custom Iterator based -', function () { const comparator = (a : string, b : string) => { var a1 = a.charCodeAt(3); var b1 = b.char...
the_stack
import { opConcatMap, pipeSync } from '@cspell/cspell-pipe'; import type { CSpellSettingsWithSourceTrace, CSpellUserSettings, PnPSettings } from '@cspell/cspell-types'; import assert from 'assert'; import { CSpellSettingsInternal } from '../Models/CSpellSettingsInternalDef'; import { TextDocument, updateTextDocument } ...
the_stack
import { Form as RemixForm, useFetcher, useSubmit } from "@remix-run/react"; import uniq from "lodash/uniq"; import React, { ComponentProps, FormEvent, RefObject, useCallback, useEffect, useMemo, useRef, useState, } from "react"; import { useIsSubmitting, useIsValid } from "./hooks"; import { FORM_ID_FI...
the_stack
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/dist/src/signer-with-address"; import { id } from "../src/index"; import ERC20MockArtifact from "../artifacts/contracts/mocks/ERC20Mock.sol/ERC20Mock.json"; import TimelockArtifact from "../artifacts/contracts/utils/Timelock.sol/Timelock.json"; import { ERC...
the_stack
import * as React from 'react'; import { IDataGridStore } from '../providers'; import { connectStore } from '../hoc'; import { isFunction, getDataItem } from '../utils'; import { DataGridEnums } from '../common/@enums'; import { IDataGrid } from '../common/@types'; import getAvailScrollTop from '../utils/getAvailScroll...
the_stack
import * as coreClient from "@azure/core-client"; export const ResourceSku: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceSku", modelProperties: { name: { serializedName: "name", required: true, type: { name: "String" } ...
the_stack
import { Collection } from '../util'; import { BaseManager } from './BaseManager'; import { SearchTweetsBook, TweetsCountBook } from '../books'; import { RemovedRetweetResponse, RequestData, RetweetResponse, TweetLikeResponse, TweetReplyHideUnhideResponse, TweetUnlikeResponse, SimplifiedTweet, User, T...
the_stack
import { SchemaRegistry, AvroKafka, AvroProducer, AvroConsumer, AvroEachMessagePayload, AvroBatch, AvroKafkaMessage, } from '../src'; import { Kafka, logLevel, Admin, CompressionTypes } from 'kafkajs'; import { retry } from 'ts-retry-promise'; import * as uuid from 'uuid'; import { schema } from 'avsc'; i...
the_stack
import { TestBed, fakeAsync, tick } from '@angular/core/testing'; import { Component, Type } from '@angular/core'; import { LIST_DIRECTIVES } from './mdc.list.directive'; import { hasRipple } from '../../testutils/page.test'; // TODO tests for checbox/radio input controlled list items describe('mdcList', () => { ...
the_stack
import { RedisClient } from './redis-client'; import { ICallback, IConfig, TConsumerOptions, TRedisClientMulti, TUnaryFunction, } from '../types'; import { redisKeys } from './redis-keys'; import { Message } from './message'; import { Instance } from './instance'; import { events } from './events'; import { C...
the_stack
import * as ts from 'typescript'; import * as base from './base'; import {FacadeConverter} from './facade_converter'; import {Transpiler} from './main'; export default class DeclarationTranspiler extends base.TranspilerBase { constructor( tr: Transpiler, private fc: FacadeConverter, private enforceUnderscoreC...
the_stack
import * as $protobuf from "protobufjs"; /** Namespace protoManage. */ export namespace protoManage { /** Order enum. */ enum Order { Unknow = 0, ManagerUpdate = 101, ManagerDel = 102, NodeFuncCallReq = 608, NodeFuncCallAns = 609, NodeReportUpdateVal = 704, ...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/webTestsMappers"; import * as Parameters from "../models/parameters"; import { ApplicationInsightsManagementClientContext } from "../applicationInsightsManagementClientContext"; /** Class representing ...
the_stack
import { __Foo__ as Foo, __Bar__ as Bar } from './shared-utils.fixture'; // Wrong cases for private-instance-field-fields class InvalidFixture1 { private static readonly a1: string; private a2 = 'someString'; protected static a3: string; private a4 = 5; protected a5; private a6; a7; private a8 = 5; p...
the_stack
import { Address, BigInt } from "@graphprotocol/graph-ts"; // Import event types from the registrar contract ABIs import { BondingManager, ClaimEarningsCall, BondCall, Unbond, WithdrawStake, TranscoderUpdate, TranscoderResigned, TranscoderEvicted, } from "../types/BondingManagerV1/BondingManager"; // ...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace Formmsdyn_omnichannelconfiguration_Information { interface tab_tab_skillbasedrouting_new_Sections { tab_2_section_1_2: DevKit.Controls.Section; tab_skillbasedrouting_section_2_3: DevKit.Controls.Section; } interface tab_t...
the_stack
import React from 'react'; import Navigation, { NavigateEvent, BackEvent } from './Navigation'; import AnimationLayer from './AnimationLayer'; import GhostLayer from './GhostLayer'; import { ScreenChild } from '.'; import {AnimationConfig, AnimationKeyframeEffectConfig, ReducedAnimationConfigSet, SwipeDirection} from '...
the_stack
import React from 'react'; import renderer from 'react-test-renderer'; import { cleanup, fireEvent, render } from '@testing-library/react'; import '@testing-library/jest-dom'; import { expectFnCalled } from '@test/utils'; import { EditorTree, IOpenEditProps } from '../explore/editorTree'; import { editorTreeActive...
the_stack
import merge from 'lodash.merge' import logger from '@wdio/logger' import { WebDriverProtocol, MJsonWProtocol, JsonWProtocol, AppiumProtocol, ChromiumProtocol, SauceLabsProtocol, SeleniumProtocol, GeckoProtocol } from '@wdio/protocols' import Protocols from '@wdio/protocols' import { Options, Capabilities } fro...
the_stack
import '../../../test/common-test-setup-karma'; import './gr-rule-editor'; import {GrRuleEditor} from './gr-rule-editor'; import {AccessPermissionId} from '../../../utils/access-util'; import {query, queryAll, queryAndAssert} from '../../../test/test-utils'; import {GrButton} from '../../shared/gr-button/gr-button'; im...
the_stack
import React, { useState, useEffect } from "react"; import _find from "lodash/find"; import _sortBy from "lodash/sortBy"; import _isEmpty from "lodash/isEmpty"; import { makeStyles, createStyles, Popover, Button, Typography, IconButton, Grid, MenuItem, TextField, Switch, Chip, } from "@material-u...
the_stack
import assert = require('assert'); import {} from 'mocha'; import * as path from 'path'; import {LabelResolver} from '../src/labelresolver'; import {OrchestratorBaseModel} from '../src/basemodel'; import {OrchestratorHelper} from '../src/orchestratorhelper'; import {Utility} from '../src/utility'; import {LabelTyp...
the_stack
import { ReactWrapper, ShallowWrapper } from "enzyme" import React from "react" import { FileError } from "react-dropzone" import { mount, shallow } from "src/lib/test_util" import { FileUploader as FileUploaderProto, FileUploaderState as FileUploaderStateProto, UploadedFileInfo as UploadedFileInfoProto, } from ...
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 * Resource Manager ...
the_stack
import * as _ from "underscore"; import {HttpClient} from "@angular/common/http"; import {StateService} from "@uirouter/angular"; import {Component, EventEmitter, Injector, Input, OnInit, Output} from "@angular/core"; import {DomSanitizer} from "@angular/platform-browser"; import {SelectionService, SingleSelectionPoli...
the_stack
// Borrowed from https://github.com/kelseasy/web-ext-types // Last updated at 7-4-2018 to commit daae1085685b97efdb98c59668cbdfd91c5c874c // This Source Code Form is subject to the terms of the Mozilla Public // license, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at h...
the_stack
import { BaseResource, CloudError } from "ms-rest-azure"; import * as moment from "moment"; export { BaseResource, CloudError }; /** * Properties of a weekly schedule. */ export interface WeekDetails { /** * The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.). */ w...
the_stack
import { XYZ, AxisMap, EulerRotation } from "../Types"; import { PI, TWO_PI } from "./../constants"; /** Vector Math class. */ export default class Vector { public x: number; public y: number; public z: number; constructor(a?: number[] | XYZ | number | Vector | EulerRotation, b?: number, c?: number) {...
the_stack
///////////////////////////// /// Worker Iterable APIs ///////////////////////////// interface Cache { addAll(requests: Iterable<RequestInfo>): Promise<void>; } interface DOMStringList { [Symbol.iterator](): IterableIterator<string>; } interface FileList { [Symbol.iterator](): IterableIterator<File>; } ...
the_stack
const serverRequire = require; let THREE: typeof SupEngine.THREE; // NOTE: It is important that we require THREE through SupEngine // so that we inherit any settings, like the global Euler order // (or, alternatively, we could duplicate those settings...) if ((<any>global).window == null) THREE = serverRequire("../../....
the_stack
import { Col, Row, Form, Input, Button } from 'antd' import React, { useEffect, useRef } from 'react' import './Signup.scss' import { Link } from 'lib/components/Link' import { SocialLoginButtons } from 'lib/components/SocialLoginButton' import { PasswordInput } from './PasswordInput' import { useActions, useValues } f...
the_stack
import { concat as observableConcat, defer as observableDefer, EMPTY, filter, finalize, map, merge as observableMerge, mergeMap, Observable, of as observableOf, ReplaySubject, share, switchMap, take, } from "rxjs"; import { ICustomError } from "../../../errors"; import log from "../../../log...
the_stack
import * as iam from '@aws-cdk/aws-iam'; import * as cdk from '@aws-cdk/core'; import { Alarm, ComparisonOperator, TreatMissingData } from './alarm'; import { IMetric, MetricAlarmConfig, MetricConfig, MetricGraphConfig, Unit } from './metric-types'; export declare type DimensionHash = { [dim: string]: any; }; /** ...
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 { Component, Input, OnInit, EventEmitter, Output, ViewChild, ElementRef } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; import { LoggerService } from '../../../../chat21-core/providers/abstract/logger.service'; import { LoggerInstance } from '../../../../chat21-core/providers/lo...
the_stack
import * as sdk from "../microsoft.cognitiveservices.speech.sdk"; import { ConsoleLoggingListener, WebsocketMessageAdapter, } from "../src/common.browser/Exports"; import { ServiceRecognizerBase } from "../src/common.speech/Exports"; import { Events, EventType } from "../src/common/Exports"; import { B...
the_stack
import { expect } from "chai"; import * as sinon from "sinon"; import * as React from "react"; import { fireEvent, render } from "@testing-library/react"; import { MultiValueFilter } from "../../../../components-react/table/columnfiltering/multi-value-filter/MultiValueFilter"; import { ReactDataGridColumn, TableColumn ...
the_stack
import { ServiceClientOptions } from "@azure/ms-rest-js"; import * as msRest from "@azure/ms-rest-js"; /** * @interface * An interface representing MetricsPostBodySchemaParameters. * The parameters for a single metrics query * */ export interface MetricsPostBodySchemaParameters { /** * @member {MetricId} me...
the_stack
import * as coreClient from "@azure/core-client"; /** The result of the request to list REST API operations. It contains a list of operations and a URL to get the next set of results. */ export interface OperationListResult { /** * The list of operations supported by the resource provider. * NOTE: This proper...
the_stack
import { CommandData } from "../module.base"; import { ReJSONGetParameters } from "./rejson.types"; export class RejsonCommander { /** * Deleting a JSON key * @param key The name of the key * @param path The path of the key defaults to root if not provided. Non-existing keys and paths are ignored. D...
the_stack
import { HttpOperationResponse } from '@azure/ms-rest-js'; import { AzExtRequestPrepareOptions, sendRequestWithTimeout } from '@microsoft/vscode-azext-azureutils'; import { IActionContext, UserCancelledError } from '@microsoft/vscode-azext-utils'; import * as unixPsTree from 'ps-tree'; import * as vscode from 'vscode';...
the_stack
import Cell from '../cell/Cell'; import CellArray from '../cell/CellArray'; import { mixInto } from '../../util/Utils'; import { removeDuplicates } from '../../util/arrayUtils'; import { findNearestSegment } from '../../util/mathUtils'; import Geometry from '../geometry/Geometry'; import EventObject from '../event/Even...
the_stack
import * as React from 'react'; import { Button, Expandable, Modal, Tab, Tabs } from '@patternfly/react-core'; import { WorkloadOverview } from '../../types/ServiceInfo'; import * as API from '../../services/Api'; import { Response } from '../../services/Api'; import * as AlertUtils from '../../utils/AlertUtils'; impor...
the_stack
import { browser, Bookmarks } from "webextension-polyfill-ts"; import BookmarkService from '../../utils/services' import { Setting } from '../../utils/setting' import iconLogo from '../../icons/icon128.png' import { OperType, BookmarkInfo, SyncDataInfo, RootBookmarksType, BrowserType } from '../../utils/models' let cur...
the_stack
import Micromerge, { OperationPath, Patch } from "./micromerge" import { EditorState, TextSelection, Transaction } from "prosemirror-state" import { EditorView } from "prosemirror-view" import { Schema, Slice, Node, Fragment, Mark } from "prosemirror-model" import { baseKeymap, Command, Keymap, toggleMark } from "prose...
the_stack
* numeral.js * version : 2.0.6 * author : Adam Draper * license : MIT * http://adamwdraper.github.com/Numeral-js/ */ /************************************ Variables ************************************/ var numeral, _, VERSION = '2.0.6', formats = {}, locales = {}, defaults = { currentLocale: '...
the_stack
declare type Observable<T> = any; declare type Subject<T> = any; declare module ngMetadataPlatform{ // type AppRoot = string | Element | Document; // function bootstrap(angular1Module: string, {element, strictDi}?: { // element?: AppRoot; // strictDi?: boolean; // }): void; const platformBrowserDynam...
the_stack
import {LanguageService} from '../../src/language_service'; import {APP_COMPONENT, MockService, setup} from './mock_host'; import {HumanizedDefinitionInfo, humanizeDefinitionInfo} from './test_utils'; describe('type definitions', () => { let service: MockService; let ngLS: LanguageService; beforeAll(() => { ...
the_stack
import { connect, ConnectRequest, Emitter, EmitterMessage } from "emitter-io"; import LatLon from "geodesy/latlon-spherical.js"; import { Hangar } from "./hangar"; import { Delivery, Warehouse } from "./warehouse"; import { Weather } from "./weather"; const MAX_PAYLOAD_BATT_DRAIN: number = .005; // max batt drain...
the_stack
import * as pdfMake from 'pdfmake/build/pdfmake'; import * as pdfFonts from 'pdfmake/build/vfs_fonts'; const definitions = [ { content: [ 'First paragraph', 'Another paragraph, this time a little bit longer to make sure, this line will be divided into at least two lines' ] ...
the_stack
import { createNanoEvents, Emitter as EventEmitter } from 'nanoevents' import { Bsp } from './Bsp' import { Sound } from './Sound' import { extname } from './Util' import { Config } from './Config' import { Tga } from './Parsers/Tga' import { Wad } from './Parsers/Wad' import { Replay } from './Replay/Replay' import { ...
the_stack
import chai, { expect } from 'chai'; import Helper from '../../src/e2e-helper/e2e-helper'; import { ExportMissingVersions } from '../../src/scope/exceptions/export-missing-versions'; import ServerIsBusy from '../../src/scope/exceptions/server-is-busy'; chai.use(require('chai-fs')); describe('export functionality on H...
the_stack
import { BundlerConfigType } from '@umijs/types'; import { chalk, createDebug, mkdirp } from '@umijs/utils'; import assert from 'assert'; import { existsSync, readFileSync } from 'fs'; import mime from 'mime'; import { dirname, join, parse } from 'path'; import { IApi } from 'umi'; import webpack from 'webpack'; import...
the_stack
import { mkdirSync, readFileSync, writeFileSync } from 'fs'; import path from 'path'; import * as astTypes from 'ast-types'; import * as babel from '@babel/core'; import traverse from '@babel/traverse'; import * as _ from 'lodash'; import kebabCase from 'lodash/kebabCase'; import * as prettier from 'prettier'; import r...
the_stack
import * as React from 'react'; import * as monacoEditor from 'monaco-editor'; import { FlexColDiv } from './FlexDivs'; export interface ITextRange { /** * Beginning position as a character index of the text in the editor */ pos: number; /** * End position as a character index of the text in...
the_stack
import React, { ForwardedRef, useCallback, useLayoutEffect, useMemo, useState, } from "react"; import { ListRenderItem, FlatListProps, NativeScrollEvent, NativeSyntheticEvent, LayoutChangeEvent, } from "react-native"; import { PanGestureHandler, State as GestureState, FlatList, PanGestureHan...
the_stack
- TypeDoc is unable to generate documentation for a single exported module, as we have with api.ts, - TypeDoc has an unreasonable amount of dependencies and code, - we want very nice looking documentation without superfluous junk. This gives full control. */ // tslint:disable:object-literal-sort-keys import * a...
the_stack
import { OfferParameters } from "./OfferParameters"; import { AcceptanceParameters } from "./AcceptanceParameters"; import { MultiplexingStream } from "./MultiplexingStream"; import { randomBytes } from "crypto"; import { getBufferFrom, writeAsync } from "./Utilities"; import CancellationToken from "cancellationtoken";...
the_stack
import { ethers, waffle } from "hardhat"; import { expect, use } from "chai"; import { solidity } from "ethereum-waffle"; use(solidity); import { hexlify, keccak256, randomBytes } from "ethers/lib/utils"; import { Wallet, BigNumberish, constants, providers, Contract } from "ethers"; import { RevertableERC20, Transact...
the_stack
module CorsicaTests { "use strict"; var DeclTest = function (element, options) { return options; }; (<any>DeclTest).supportedForProcessing = true; window["DeclTest"] = DeclTest; var AsyncDeclTest = function (element, options, complete) { setTimeout(complete, 32); retur...
the_stack
import { Injectable } from '@nestjs/common'; import { Model } from 'mongoose'; import { InjectModel } from '@nestjs/mongoose'; import { UserDocument, UserModel } from './schemas/user.schema'; import { CreateUserInput, UpdateUserInput } from '../graphql.classes'; import { randomBytes } from 'crypto'; import { createTran...
the_stack
import * as https from 'https'; import { Readable } from 'stream'; import { createGunzip } from 'zlib'; import { metricScope, Configuration, Unit } from 'aws-embedded-metrics'; import type { AWSError, S3 } from 'aws-sdk'; import * as JSONStream from 'JSONStream'; import { CatalogModel } from '../../../backend'; import ...
the_stack
/// <reference path="../../../jqwidgets-ts/jqwidgets.d.ts" /> function createRibbon( selector, fileItemButton, saveButton, saveAsButton, openButton, closeButton, exitButton, subscriptButton, superscriptButton, boldButton, italicButton, underlineButton, strikethroughButton, shrinkFontButton, copyButton, cut...
the_stack
module fng.directives { enum tabsSetupState {Y, N, Forced} /*@ngInject*/ export function formInput($compile, $rootScope, $filter, $timeout, cssFrameworkService, formGenerator, formMarkupHelper):angular.IDirective { return { restrict: 'EA', link: function (scope:fng.IFormScope, element, attrs:fng...
the_stack
export type BaseConstructor<T> = Function & { prototype: T }; /** * A plain object with following properties: * * **src**: *string* * File system path, relative path or URL. The [data URI](https://en.wikipedia.org/wiki/Data_URI_scheme) scheme is also supported. Relative paths are resolved relative to 'package.j...
the_stack
import { Projection, ProjectionOptions, VNode, VNodeProperties } from "./interfaces"; const NAMESPACE_W3 = "http://www.w3.org/"; const NAMESPACE_SVG = `${NAMESPACE_W3}2000/svg`; const NAMESPACE_XLINK = `${NAMESPACE_W3}1999/xlink`; let emptyArray = <VNode[]>[]; export let extend = <T>(base: T, overrides: any): T => {...
the_stack
* @module Tiles */ import { assert, BeTimePoint } from "@itwin/core-bentley"; import { Matrix3d, Point3d, Range3d, Transform, Vector3d, XYZProps } from "@itwin/core-geometry"; import { Cartographic, ColorDef, Frustum, FrustumPlanes, GeoCoordStatus, ViewFlagOverrides } from "@itwin/core-common"; import { BackgroundMap...
the_stack
import config from "../config" export type PageKind = 'view' | 'static-page' | 'page' export type Options = { kind: (path: string[]) => PageKind isStaticView: (path: string[]) => boolean isStaticPage: (path: string[]) => boolean isStandardPage: (path: string[]) => boolean } export const options = (kind: (pa...
the_stack
import { collectionWithQueryAtom } from "@/atoms/firestore"; import { actionDeleteDoc, actionDuplicateDoc, actionSetFieldValue, } from "@/atoms/firestore.action"; import { navigatorCollectionPathAtom, navigatorPathAtom, propertyListAtom, propertyListCoreAtom, sorterAtom, } from "@/atoms/navigator"; impo...
the_stack
import { DiagnosticAddendum } from '../common/diagnostic'; import { Localizer } from '../localization/localize'; import { maxSubtypesForInferredType, TypeEvaluator } from './typeEvaluatorTypes'; import { AnyType, ClassType, combineTypes, FunctionType, FunctionTypeFlags, isAny, isAnyOrUnknown...
the_stack
import UdsClient from "../../../../../main/js/joynr/messaging/uds/UdsClient"; import FakeUdsServer from "./FakeUdsServer"; import MagicCookieUtil from "../../../../../main/js/joynr/messaging/uds/MagicCookieUtil"; import JoynrMessage from "../../../../../main/js/joynr/messaging/JoynrMessage"; import * as MessageSerializ...
the_stack
import {DataDescription} from './DataDescription'; import { memo, useMemo, useRef, useState, useEffect, useCallback, createContext, useContext, } from 'react'; import styled from '@emotion/styled'; import DataPreview, {DataValueExtractor, InspectorName} from './DataPreview'; import {getSortedKeys} from ...
the_stack
namespace luci { /** * Describes the exposed functionality of a single Polymer RPC call, defined * in "rpc-call.html". */ interface PolymerClientCall { /** Aborts the call, if it is currently ongoing. */ abort(): void; /** * Completes performs the configured RPC, returning a Promise that ...
the_stack
import traverse, {NodePath} from 'babel-traverse'; import * as babel from 'babel-types'; import * as clone from 'clone'; import {FileRelativeUrl, Import, PackageRelativeUrl, ResolvedUrl} from 'polymer-analyzer'; import {rollup} from 'rollup'; import {getAnalysisDocument} from './analyzer-utils'; import {serialize} fro...
the_stack
import { Spreadsheet } from '../base/index'; import { getSheetIndex, SheetModel, isHiddenRow, CellModel, getCell, setCell, Workbook, getSheet } from '../../workbook/index'; import { initiateChart, ChartModel, getRangeIndexes, isNumber, isDateTime, dateToInt, LegendPosition, getSheetIndexFromAddress } from '../../workbo...
the_stack
import type {BrowserObject} from 'webdriverio' import {createEvent, createStore, restore, sample} from 'effector' import {block, h, list, node, rec, remap, spec, text, using} from 'forest' // let addGlobals: Function declare const act: (cb?: () => any) => Promise<void> declare const initBrowser: () => Promise<void> de...
the_stack
import Avatar from '@material-ui/core/Avatar' import Button from '@material-ui/core/Button' import Divider from '@material-ui/core/Divider' import List from '@material-ui/core/List' import ListItem from '@material-ui/core/ListItem' import ListItemAvatar from '@material-ui/core/ListItemAvatar' import ListItemText from '...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import * as coreHttp from "@azure/core-http"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { PhoneNumbersClientContext } from "../phoneNumbersClientContext"; import { LROPoller, shouldDeserialize...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * A managed metastore service that serves metadata queries. * * ## Example Usage * ### Dataproc Metastore Service Basic * * ```typescript * import * as pulumi f...
the_stack
import { useTheme } from '@pluralsight/ps-design-system-theme' import { ValueOf, isString, useMatchMedia, classNames } from '@pluralsight/ps-design-system-util' import React from 'react' import ConditionalWrap from './conditional-wrap' import '../css/index.css' import { toPercentageString } from '../js/index' ...
the_stack
import PropTypes from "prop-types"; import * as React from "react"; import { routerShape } from "react-router"; import { Trans } from "@lingui/macro"; import { i18nMark } from "@lingui/react"; import { Icon } from "@dcos/ui-kit"; import { ProductIcons } from "@dcos/ui-kit/dist/packages/icons/dist/product-icons-enum"; i...
the_stack
import { NodeAPI } from 'node-red' import express from 'express' import HapCategories from './types/HapCategories' import { Characteristic, Perms, SerializedService, Service } from 'hap-nodejs' import CustomCharacteristicType from './types/CustomCharacteristicType' import HAPServiceNodeType from './types/HAPServiceNode...
the_stack