text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { Command } from "commander";
import { log } from "console";
import * as fs from "fs";
import * as path from "path";
import { AnomalyDetectionModels, MindSphereSdk } from "../../api/sdk";
import { retry } from "../../api/utils";
import {
adjustColor,
errorLog,
generateTestData,
getColor,
getS... | the_stack |
* @group unit/did
*/
import { IDidServiceEndpoint, KeyRelationship } from '@kiltprotocol/types'
import { BN, hexToU8a } from '@polkadot/util'
import type { IDidKeyDetails } from '@kiltprotocol/types'
import type {
INewPublicKey,
LightDidDetailsCreationOpts,
FullDidDetailsCreationOpts,
} from '../types'
import {... | the_stack |
import * as React from 'react';
import { useEffect, useLayoutEffect, useRef, useState } from 'react';
import { Observable, Subscription } from 'rxjs';
import { Viewport } from '../../mol-canvas3d/camera/util';
import { PluginContext } from '../../mol-plugin/context';
import { ViewportScreenshotHelper } from '../../mol-... | the_stack |
import { IServer } from "./IServer.interface";
import { ISocket } from "./ISocket.interface";
import { EventEmitter } from "./EventEmitter";
import { Stub } from "./Stub";
import { Transport } from "./Transport";
import { Util } from "./Util.class";
import { Contract } from "./Contract.class";
import { Protocol } from... | the_stack |
import { Spreadsheet, SpreadsheetModel, CellSaveEventArgs, RowModel, SheetModel, getCell } from '../../../src/index';
import { SpreadsheetHelper } from '../util/spreadsheethelper.spec';
import { defaultData } from '../util/datasource.spec';
import { createElement } from '@syncfusion/ej2-base';
/**
* Clipboard test c... | the_stack |
import {} from "ts-expose-internals";
import * as path from "path";
import {
createTsProgram,
EmittedFiles,
getEmitResultFromProgram,
getManualEmitResult,
getTsNodeEmitResult,
} from "../../utils";
import { projectsPaths, ts, tsModules } from "../../config";
import { TsTransformPathsConfig } from "../../../sr... | the_stack |
import { expect } from "chai";
import { BeDuration } from "@itwin/core-bentley";
import { ColorDef, Environment, EnvironmentProps, ImageSource, ImageSourceFormat, RenderTexture, SkyBox, SkyBoxImageType } from "@itwin/core-common";
import { EnvironmentDecorations } from "../../EnvironmentDecorations";
import { imageElem... | the_stack |
import { Language, cordovaApp, state, KaiDiscipline, projectAon, Section, MgnDiscipline, GndDiscipline, BookSeriesId, SectionRenderer, BookSeries, mechanicsEngine } from "..";
/** Book disciplines table */
export interface DisciplinesTable {
/** Discipline id */
[disciplineId: string]: {
/** Discipli... | the_stack |
import {Graph} from './graph';
import {MondrianArtConfig, GeneratorData, Item, ItemType, TPoint} from './types';
import { RC, RGN } from './utils';
import {gradient} from './styling';
import * as isect from 'isect';
import * as tinycolor_ from 'tinycolor2';
const tinycolor = tinycolor_;
export default (config: Mondri... | the_stack |
import expect from 'expect.js';
import { BinaryStream, ByteUtils, Consts, Int64, VarDictionary } from '../../lib';
import { ValueType } from '../../lib/utils/var-dictionary';
describe('VarDictionary', () => {
const data =
'00010808000000426f6f6c5472756501000000010809000000426f6f6c46616c' +
'7365010... | the_stack |
import { Config } from '../../lib/core/configApi';
/**
* Org Preferences are exposed through different APIs
* Singleton object encapsulating registry of supported Org Preference types
*/
// P R I V A T E
let currentApiVersion: string;
// pref APIs
const AccountSettingsApi = 'accountSettings';
const ActivitiesSett... | the_stack |
import { JsPsych } from "./JsPsych";
import {
repeat,
sampleWithReplacement,
sampleWithoutReplacement,
shuffle,
shuffleAlternateGroups,
} from "./modules/randomization";
import { deepCopy } from "./modules/utils";
export class TimelineNode {
// a unique ID for this node, relative to the parent
relative_i... | the_stack |
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest';
import * as models from '../models';
/**
* @class
* Pricings
* __NOTE__: An instance of this class is automatically created for an
* instance of the SecurityCenter.
*/
export interface Pricings {
/**
... | the_stack |
import { CSSState, CSSToken } from '../types/global/global.js'
import * as cp from './code-points.js'
import * as is from './is.js'
import * as tt from './token-types.scss.js'
const { fromCharCode } = String
/** Consumes and returns a token. [↗](https://drafts.csswg.org/css-syntax/#consume-token) */
export const con... | the_stack |
import { Component, NgZone, OnInit, ViewChild } from "@angular/core";
import { animate, state, style, transition, trigger } from "@angular/animations";
import { AbstractMenuPageComponent } from "~/abstract-menu-page-component";
import { RouterExtensions } from "nativescript-angular";
import { PluginInfo } from "~/share... | the_stack |
import { IPC } from "../../ipc/client";
import {Dictionary} from "../../dictionary";
const ipc = IPC();
const Dialogs = require('dialogs');
const $ = require("jquery");
const ellipsis = require('text-ellipsis');
const electron = require('electron');
const remote = electron.remote;
const {Menu, MenuItem} = remote;
con... | the_stack |
module TDev.RT {
//? A json data structure builder
//@ stem("jsb") ctx(general,enumerable,json)
//@ serializable
export class JsonBuilder
extends RTValue {
private item: any = {};
public isSerializable() { return true; }
static wrap(i: any) {
if (i === undefi... | the_stack |
import { QueryFilter } from "@graphback/core"
import * as Knex from 'knex';
import { createKnexQueryMapper, CRUDKnexQueryMapper } from "../src/knexQueryMapper"
describe('knexQueryMapper', () => {
let queryBuilder: CRUDKnexQueryMapper;
let db: Knex;
beforeAll(() => {
db = Knex({
client: 'sqlite3',
... | the_stack |
import { MathConstants } from './MathConstants';
/**
* Units - class representing the most important units (length, area, volume, mass).
*
* @author <b>Mariusz Gromada</b><br>
* <a href="mailto:mariuszgromada.org@gmail.com">mariuszgromada.org@gmail.com</a><br>
* <a href="http://github.com/mariuszgromada/... | the_stack |
declare module 'jscodeshift' {
import {
NodePath,
Node,
Builders,
NamedTypes,
AstTypes,
Type,
NamedType,
AstNode,
TypeName,
} from 'ast-types';
import { PrinterOptions, Parser, ParserOptions } from 'recast';
interface CollectionBas... | the_stack |
import { copy, defineConfig } from '@agile-ts/utils';
import { logCodeManager } from '../logCodeManager';
import { Agile } from '../agile';
import { getSharedStorageManager } from './shared';
import { StorageKey } from './storage';
export class Persistent {
// Agile Instance the Persistent belongs to
public agileI... | the_stack |
import {
BigNumber,
BigNumberish,
BytesLike,
ethers,
constants,
providers,
utils,
} from "ethers";
import {
SnapshotInputSchema,
SnapshotSchema,
} from "../schema/contracts/common/snapshots";
import {
approveErc20Allowance,
fetchCurrencyValue,
isNativeToken,
normalizePriceValue,
} from "./curr... | the_stack |
import { AssigneeIdentifierRepresentation } from '../model/assigneeIdentifierRepresentation';
import { FormIdentifierRepresentation } from '../model/formIdentifierRepresentation';
import { TaskRepresentation } from '../model/taskRepresentation';
import { UserIdentifierRepresentation } from '../model/userIdentifierRepre... | the_stack |
import { Component, Inject } from '@angular/core';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs';
import * as dataverseActions from '../../shared/actions/dataverse.actions';
import * as datasetActions from '../../shared/actions/dataset.actions';
import * as datatypesActions from '../../shared/a... | 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/moveCollectionsMappers";
import * as Parameters from "../models/parameters";
import { ResourceMoverServiceAPIContext } from "../resourceMoverServi... | the_stack |
import type { JsonlDB } from "@alcalzone/jsonl-db";
import { TypedEventEmitter } from "@zwave-js/shared";
import { CommandClasses } from "../capabilities/CommandClasses";
import { isZWaveError, ZWaveError, ZWaveErrorCodes } from "../error/ZWaveError";
import type { ValueMetadata } from "../values/Metadata";
/** Unique... | the_stack |
import path from 'path';
import { promises as fs } from 'fs';
import {
branchFromContentKey,
generateContentKey,
contentKeyFromBranch,
CMS_BRANCH_PREFIX,
statusToLabel,
labelToStatus,
parseContentKey,
} from 'netlify-cms-lib-util/src/APIUtils';
import { parse } from 'what-the-diff';
import simpleGit from ... | the_stack |
import { memoize, mutableProxyFactory } from '../package'
import { Parser, TokenPointer } from './url-attributes/types'
interface ParsedView extends Array<TokenPointer> {
// Array of course already had a toString() method, but we redefine it, so just to be explicit:
toString(): string;
}
/**
* Allows manipul... | the_stack |
var Color = xray.Color;
var Color3 = xray.Color3;
var Camera = xray.Camera;
var Sampler = xray.Sampler;
// var Vector = xray.Vector;
// var Scene = xray.Scene;
export class xRayTracer {
id:number;
flags:Uint8Array;
pixelMemory:Uint8ClampedArray;
sampleMemory:Float32Array;
camera:number;
scene:... | the_stack |
import * as React from 'react';
import { fireEvent, render, waitFor } from '@testing-library/react';
import { Modal } from '../src';
describe('modal', () => {
describe('overlay', () => {
it('should call onClose when click on the overlay', () => {
const onClose = jest.fn();
const { getByTestId } = ren... | the_stack |
import { WebPartContext } from "@microsoft/sp-webpart-base";
import { sp, Web, PermissionKind, RegionalSettings } from '@pnp/sp';
import { graph, } from "@pnp/graph";
import * as $ from 'jquery';
import { IEventData } from './IEventData';
import * as moment from 'moment';
import { SiteUser } from "@pnp/sp/src/siteusers... | the_stack |
import { App, aws_lambda, Stack } from "aws-cdk-lib";
import "jest";
import {
Function,
AppsyncContext,
EventBus,
AsyncFunctionResponseEvent,
AsyncResponseSuccess,
AsyncResponseFailure,
asyncSynth,
} from "../src";
import { reflect } from "../src/reflect";
import { appsyncTestCase } from "./util";
interf... | the_stack |
import {CollectionViewer, DataSource} from '@angular/cdk/collections';
import {Component, Type, ViewChild} from '@angular/core';
import {ComponentFixture, fakeAsync, flushMicrotasks, TestBed} from '@angular/core/testing';
import {BehaviorSubject, combineLatest} from 'rxjs';
import {map} from 'rxjs/operators';
import {C... | the_stack |
import deepmerge from 'deepmerge';
import Color from 'color';
import { object } from './dot';
import * as designLanguage from './colors';
import codesandboxBlack from '../themes/codesandbox-black';
import codesandboxLight from '../themes/codesandbox-light.json';
const polyfillTheme = (vsCodeTheme) => {
/**
*
*... | the_stack |
export as namespace ejs;
/**
* Version of EJS.
*/
export const VERSION: string;
/**
* Name for detection of EJS.
*/
export const name: 'ejs';
/**
* Get the path to the included file from the parent file path and the
* specified path.
*
* @param name specified path
* @param filename parent file path
* @para... | the_stack |
import {ENGINE} from '../engine';
import {Tensor, Tensor3D, Tensor4D, Tensor5D} from '../tensor';
import {convertToTensor} from '../tensor_util_env';
import {TensorLike} from '../types';
import * as util from '../util';
import {batchToSpaceND, spaceToBatchND} from './array_ops';
import * as conv_util from './conv_util'... | the_stack |
import { inspect } from '../jsutils/inspect';
import { devAssert } from '../jsutils/devAssert';
import { keyValMap } from '../jsutils/keyValMap';
import { isObjectLike } from '../jsutils/isObjectLike';
import { parseValue } from '../language/parser';
import type { GraphQLSchemaValidationOptions } from '../type/schema... | the_stack |
import React, { Component, useEffect, useState } from 'react';
import {
Alert,
Button,
FlatList,
PermissionsAndroid,
Platform,
StyleSheet,
Text,
View,
} from 'react-native';
import Slider from '@react-native-community/slider';
import RtcEngine, {
AudioEffectPreset,
AudioEqualizationBandFrequency,
... | the_stack |
import { Buffer } from '@stacks/common';
import * as blockstack from 'blockstack';
import * as bitcoin from 'bitcoinjs-lib';
import * as process from 'process';
import * as fs from 'fs';
import * as winston from 'winston';
import cors from 'cors';
import * as crypto from 'crypto';
import * as bip39 from 'bip39';
impor... | the_stack |
import {
DataState,
PipelineExampleNames,
pipelineTestData,
} from '../../../../../test-data/pipeline-data';
import { PipelineKind, PipelineRunKind } from '../../../../../types';
import { preferredNameAnnotation, TektonResourceLabel, VolumeTypes } from '../../../const';
import { CommonPipelineModalFormikValues } ... | the_stack |
import { Type } from '@angular/core';
import {
async,
ComponentFixture,
fakeAsync,
tick,
} from '@angular/core/testing';
import {
FormsModule,
ReactiveFormsModule,
} from '@angular/forms';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } from '@angular/platform-browser/animati... | the_stack |
import MathHelper from './MathHelper';
// import Vector2 from './Vector2';
import Vertex from './Vertex';
import Edge from './Edge';
// import Ring from './Ring';
import Atom from './Atom';
/**
* A class representing the molecular graph.
*
* @property {Vertex[]} vertices The vertices of the graph.
* @pr... | the_stack |
import { Plugin } from "@webiny/plugins/types";
import { TenancyContext } from "@webiny/api-tenancy/types";
import { SecurityPermission } from "@webiny/api-security/types";
import { FileManagerContext } from "@webiny/api-file-manager/types";
import { I18NContext } from "@webiny/api-i18n/types";
import { Topic } from "@... | the_stack |
import { ClientError, gql, GraphQLClient } from 'graphql-request';
import fetch, { Response } from 'node-fetch';
import readLine from 'readline';
import HttpAgent from 'agentkeepalive';
import { HttpsProxyAgent } from 'https-proxy-agent';
import { SocksProxyAgent } from 'socks-proxy-agent';
import { HttpProxyAgent } f... | the_stack |
import {Entity} from './Entity';
import {System} from './System';
import {Class} from '../utils/Class';
import {Query} from './Query';
import {Subscription} from './Subscription';
import {Signal} from '../utils/Signal';
/**
* Engine represents game state, and provides entities update loop on top of systems.
*/
expor... | the_stack |
import * as ec2 from '@aws-cdk/aws-ec2';
import * as iam from '@aws-cdk/aws-iam';
import * as secretsmanager from '@aws-cdk/aws-secretsmanager';
import * as cdk from '@aws-cdk/core';
import { Construct } from 'constructs';
import { IDatabaseCluster } from './cluster-ref';
import { IEngine } from './engine';
import { ID... | the_stack |
import {
Connection,
InitializeResult,
CompletionItem,
CompletionParams,
} from 'vscode-languageserver/node'
import { TextDocuments } from 'vscode-languageserver/lib/common/server'
import { CompletionTriggerKind } from 'vscode-languageserver-protocol/lib/common/protocol'
import { TextDocument } from 'vscode-lan... | the_stack |
import { createSelector } from 'reselect'
import flatMap from 'lodash/flatMap'
import isEmpty from 'lodash/isEmpty'
import mapValues from 'lodash/mapValues'
import uniq from 'lodash/uniq'
import { getFileMetadata } from './fileFields'
import { getInitialRobotState, getRobotStateTimeline } from './commands'
import { sel... | the_stack |
import * as crypto from 'crypto';
import * as dateFormat from 'date-and-time';
import * as http from 'http';
import * as url from 'url';
import {encodeURI, qsStringify, objectEntries} from './util';
interface GetCredentialsResponse {
client_email?: string;
}
export interface AuthClient {
sign(blobToSign: string):... | the_stack |
import { TestBed, fakeAsync } from '@angular/core/testing';
import { provideMockActions } from '@ngrx/effects/testing';
import { hot, cold, getTestScheduler } from 'jasmine-marbles';
import { RouterTestingModule } from '@angular/router/testing';
import { StoreModule } from '@ngrx/store';
import { MatSnackBarModule } fr... | the_stack |
namespace correction {
function textToCharTransforms(text: string, transformId?: number) {
let perCharTransforms: Transform[] = [];
for(let i=0; i < text.kmwLength(); i++) {
let char = text.kmwCharAt(i); // is SMP-aware
let transform: Transform = {
insert: char,
deleteLeft: 0,
... | the_stack |
import { Compiler } from '@0x/sol-compiler';
import * as fs from 'fs';
import * as path from 'path';
import { promisify } from 'util';
import {
ArrayTypeNameNode,
AstNode,
ContractKind,
EnumValueNode,
FunctionKind,
isArrayTypeNameNode,
isContractDefinitionNode,
isEnumDefinitionNode,
... | the_stack |
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/dist/src/signer-with-address";
import { constants, id } from "../src/index";
const { WAD } = constants;
import ERC20MockArtifact from "../artifacts/contracts/mocks/ERC20Mock.sol/ERC20Mock.json";
import ERC20RewardsMockArtifact from "../artifacts/contracts/m... | the_stack |
import * as cdk from '@aws-cdk/core';
import * as kms from '@aws-cdk/aws-kms';
import * as iam from '@aws-cdk/aws-iam';
import * as lambda from '@aws-cdk/aws-lambda';
import * as s3 from '@aws-cdk/aws-s3';
import * as sns from '@aws-cdk/aws-sns';
import * as dynamodb from '@aws-cdk/aws-dynamodb';
import * as events fro... | the_stack |
* @packageDocumentation
* @hidden
*/
import { JSB } from 'internal:constants';
import { Camera, Model } from 'cocos/core/renderer/scene';
import { UIStaticBatch } from '../components';
import { Material } from '../../core/assets/material';
import { RenderRoot2D, Renderable2D, UIComponent } from '../framework';
import... | the_stack |
import { ApolloServer } from "apollo-server-lambda";
import { APIGatewayProxyEvent, APIGatewayProxyResult, Context as AWSContext } from "aws-lambda";
import http from "http";
import { get, set } from "lodash";
import { xml2js } from "xml-js";
import { Context, Scope } from ".";
import directives from "./directives";
im... | the_stack |
import chai, {expect} from 'chai';
import chaiAsPromised from 'chai-as-promised';
import chaiDom from 'chai-dom';
chai.use(chaiDom);
chai.use(chaiAsPromised);
import {readFileSync} from 'fs';
import {resolve} from 'path';
import ace from 'brace';
import fetchMock from 'fetch-mock';
import {OutputArea} from '../../sr... | the_stack |
import * as http from "http";
import { Counter, ParsedServerInput } from "tsrpc-base-client";
import { ApiReturn, BaseServiceType, ServiceProto, TsrpcError, TsrpcErrorType } from 'tsrpc-proto';
import { HttpUtil } from '../../models/HttpUtil';
import { TSRPC_VERSION } from "../../models/version";
import { BaseServer, B... | the_stack |
* Defines the portion of the cell which is to be used as a connectable
* region. Default is 0.3. Possible values are 0 < x <= 1.
*/
export const DEFAULT_HOTSPOT = 0.3;
/**
* Defines the minimum size in pixels of the portion of the cell which is
* to be used as a connectable region. Default is 8.
*/
export const M... | the_stack |
import L2Object from "./L2Object";
import { Sex } from "../enums/Sex";
import { Race } from "../enums/Race";
import Vector from "../mmocore/Vector";
import L2ObjectCollection from "./L2ObjectCollection";
import L2Buff from "./L2Buff";
import { Console } from "console";
export default abstract class L2Creature extends ... | the_stack |
import { Mimetype } from './GuacCommon';
import { Tunnel } from './Tunnel';
import { OutputStream } from './OutputStream';
import { InputStream } from './InputStream';
import { Status } from './Status';
import { Display } from './Display';
import { AudioPlayer } from './AudioPlayer';
import { VideoPlayer } from './Vide... | the_stack |
// ====================================================
// GraphQL fragment: FeedGroup
// ====================================================
export interface FeedGroup_user {
__typename: "User";
id: number;
label: string;
name: string;
href: string | null;
}
export interface FeedGroup_owner_User {
__typ... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* Manages a Policy Assignment to a Resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulum... | the_stack |
import hyphenate from 'hyphenate';
import _ from 'lodash';
import {action, makeObservable, observable, runInAction} from 'mobx';
import {Dict, EmptyObjectPatch} from 'tslang';
import {parseRef, parseSearch} from './@utils';
import {HistorySnapshot, IHistory, getActiveHistoryEntry} from './history';
import {RouteBuilde... | the_stack |
import { Package } from "../common/npmPackage";
import { fatal, exec, execNoError } from "./utils";
import { MonoRepo, MonoRepoKind } from "../common/monoRepo";
import * as semver from "semver";
export class VersionBag {
private versionData: { [key: string]: string } = {};
public add(pkg: Package, version: str... | the_stack |
import { deepClone } from "@cds/core/internal";
import actions from "actions";
import LoadingWrapper from "components/LoadingWrapper";
import SearchFilter from "components/SearchFilter/SearchFilter";
import {
Context,
InstalledPackageReference,
InstalledPackageStatus,
InstalledPackageStatus_StatusReason,
Inst... | the_stack |
import { Map } from 'immutable'
import { connect } from 'react-redux'
import { getTranslate } from 'react-localize-redux'
import { push } from 'connected-react-router'
import { withRouter } from 'react-router-dom'
import { withStyles } from '@material-ui/core/styles'
import Badge from '@material-ui/core/Badge'
import D... | the_stack |
import { getValue, init, publish, subscribe } from '@virtuoso.dev/urx'
import { AANode, ranges, walk } from '../src/AATree'
import { initialSizeState, offsetOf, rangesWithinOffsets, sizeStateReducer, sizeSystem } from '../src/sizeSystem'
function toKV<T>(tree: AANode<T>) {
return walk(tree).map((node) => [node.k, no... | the_stack |
module Music {
export enum WaveType {
Sine = 0,
HalfSine = 1,
AbsSign = 2,
PulseSign = 3,
SineEven = 4,
AbsSineEven = 5,
Square = 6,
DerivedSquare = 7
}
export enum KeyState {
Off,
Attack,
Sustain,
Decay,
... | the_stack |
import { JoinType, QueryType, WhereType } from "./querybuilder.ts";
import { testQueryBuilder } from "./testutils.ts";
import { Q, QueryOperator } from "./q.ts";
// Where
testQueryBuilder(
"basic `where`",
(query) => query.where("email", "a@b.com"),
{
wheres: [{
type: WhereType.Default,
column: ... | the_stack |
import * as sinon from 'sinon'
import { clientHandler } from './client-handler'
import * as utils from './utils'
import * as assert from 'assert'
function getRecordData (clientExpression: string, recordName: string) {
return clientHandler.getClients(clientExpression).map((client) => client.record.records[recordName]... | the_stack |
import {
ArrayLiteralExpression,
ArrowFunction,
CallExpression,
ClassDeclaration,
Expression,
Identifier,
Node,
ObjectLiteralExpression,
Project,
PropertyAccessExpression,
SourceFile,
SpreadElement,
Type,
TypeChecker
} from 'ts-morph';
import { resolve, sep } from 'path';
import { evaluate }... | the_stack |
import * as fs from 'fs';
import '../../../testing/to-be-similar-gql-doc';
import { parseImportLine, processImport } from '../../src';
import { mergeTypeDefs } from '@graphql-tools/merge';
import { Kind, print } from 'graphql';
const importSchema = (schema: string, schemas?: Record<string, string>) => {
const docume... | the_stack |
import type { IconTree } from './icon-types';
/**
* The icon for `ab.svg` created by [RemixIcons](https://remixicons.com).
* 
*/
export const ab: IconTree[] = [
{ tag: 'path', attr: { fill: 'none', d: 'M0 0h24v24H0z' } },
{
tag: 'path',... | the_stack |
import { getMeshUuid } from '../../connection_manager';
import { registerActionMap } from './api_protocol_base.js';
import { System } from '../../api/system.js';
import * as log from '../../log';
import {
Acker,
APIHandlerMap,
APIMessage,
APIPayloadAck,
Cookie,
Entity,
FileStatInfo,
Iden... | the_stack |
* @module Rendering
*/
import { assert, Id64String } from "@itwin/core-bentley";
import {
AnyCurvePrimitive, Arc3d, Loop, Path, Point2d, Point3d, Polyface, Range3d, SolidPrimitive, Transform,
} from "@itwin/core-geometry";
import { AnalysisStyle, ColorDef, Feature, Frustum, GeometryClass, GraphicParams, LinePixels,... | the_stack |
declare namespace lunr {
const version: string;
/**
* A function for splitting a string into tokens ready to be inserted into
* the search index. Uses `lunr.tokenizer.seperator` to split strings, change
* the value of this property to change how strings are split into tokens.
*
* @para... | the_stack |
import * as AEL from "adaptive-expressions";
class EvaluationContext {
private static readonly _reservedFields = ["$data", "$when", "$root", "$index"];
private _stateStack: Array<{ $data: any, $index: any }> = [];
private _$data: any;
$root: any;
$index: number;
constructor(context?: IEvalua... | the_stack |
import assert from 'assert'
import { Patch, applyLensToPatch, PatchOp, expandPatch } from '../src/patch'
import { applyLensToDoc } from '../src/doc'
import { updateSchema, schemaForLens } from '../src/json-schema'
import { LensSource } from '../src/lens-ops'
import {
renameProperty,
addProperty,
inside,
map,
... | the_stack |
// Fixture taken from https://github.com/RyanCavanaugh/koany/blob/master/koany.tsx
interface Garden {
colors: Gardens.RockColor[];
shapes: Gardens.RockShape[];
}
namespace Gardens {
export enum RockShape {
Empty,
Circle,
Triangle,
Square,
Max
}
export const RockShapes = [RockShape.Circle, RockShape.Tri... | the_stack |
import React, { useEffect } from "react";
import Chart from "chart.js";
import { SiteVariablesPrepared } from "@fluentui/react-northstar";
import { TeamsTheme } from "../../../themes";
import { IChartData } from "../ChartTypes";
import {
tooltipTrigger,
tooltipAxisXLine,
chartConfig,
axesConfig,
setTooltipCol... | the_stack |
import {
DisassemblyItem,
DisassemblyOutput,
MemorySection,
MemorySectionType,
SpectrumSpecificDisassemblyFlags,
processMessages,
intToX2,
intToX4,
toSbyte,
FloatNumber,
} from "./disassembly-helper";
import { CancellationToken } from "../utils/cancellation";
/**
* Number of disassembler items to ... | the_stack |
import type { CSSProperties } from 'react';
import { useEffect, useMemo, useRef, useState } from 'react';
import { Button, Col, message, Modal, Row, Space, Spin, Tooltip } from 'antd';
import { select, mouse } from 'd3-selection';
import { DATA_SOURCE_ENUM, HBASE_FIELD_TYPES, HDFS_FIELD_TYPES } from '@/constant';
impor... | the_stack |
export interface HeaderFromValue {
/**
* Name of the header
*/
name: string;
/**
* Value of the header
*/
value: string;
}
/**
*
* https://hasura.io/docs/1.0/graphql/manual/api-reference/schema-metadata-api/syntax-defs.html#headerfromenv
*/
export interface HeaderFromEnv {
/**
* Name of the ... | the_stack |
import { ActorDirMode } from '../../game/Actor';
import {WORLD_SCALE, getHtmlColor, SPEED_ADJUSTMENT } from '../../utils/lba';
import { Resource } from '../load';
import { getPalette, getText, getSceneMap } from '..';
import { initHeroFlags, parseStaticFlags } from './scene2';
import { LBA1_ISLAND } from '../../game/s... | the_stack |
import React from 'react';
import { render, act } from '@testing-library/react';
import 'jest-styled-components';
import { Grommet, Image, Box, InfiniteScrollProps } from '../..';
import { InfiniteScroll } from '..';
type InfiniteScrollItemType = InfiniteScrollProps['items'] extends (infer U)[]
? U
: never;
cons... | the_stack |
'use strict';
import * as chai from 'chai';
import * as fs from 'fs-extra-promise';
import 'mocha';
import * as path from 'path';
import * as request from 'request';
import { Container } from 'typescript-ioc';
import { SDK } from '../../src/admin/config/sdk';
import { ApiConfig } from '../../src/config/api';
import {... | the_stack |
import { ChronoGraph } from "../../src/chrono/Graph.js"
declare const StartTest : any
StartTest(t => {
t.it('Should not recalculate nodes outside of affected scope', async t => {
const graph : ChronoGraph = ChronoGraph.new()
const box1 = graph.variable(0)
const box2 = gra... | the_stack |
import {SecurityException} from '../exception/security_exception';
import * as KeyManager from '../internal/key_manager';
import {PbAesCtrHmacAeadKey, PbAesCtrHmacAeadKeyFormat, PbAesCtrKey, PbAesCtrKeyFormat, PbAesCtrParams, PbHashType, PbHmacKey, PbHmacKeyFormat, PbHmacParams, PbKeyData, PbMessage} from '../internal/... | the_stack |
import {forEach} from "./Enumeration/Enumerator";
import {areEqual} from "../Compare";
import {ArgumentNullException} from "../Exceptions/ArgumentNullException";
import {InvalidOperationException} from "../Exceptions/InvalidOperationException";
import {DisposableBase} from "../Disposable/DisposableBase";
import {IColle... | the_stack |
import { UnitRecord } from '../DayFunctions';
import { Functions as fn } from '../Functions';
import { Locale, Locales } from '../Locale';
// tslint:disable: no-magic-numbers
const unitToWordSingular: UnitRecord<string> = {
millis: 'Millisekunde',
second: 'Sekunde',
minute: 'Minute',
hour: 'Stunde',
day: 'T... | the_stack |
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { ExcelExportService } from '@slickgrid-universal/excel-export';
import { SlickCompositeEditorComponent } from '@slickgrid-universal/composite-editor-component';
import {
AngularGridInstanc... | the_stack |
import {
ITypeSyncer,
IPackageJSONService,
ITypeDefinitionSource,
ITypeDefinition,
IPackageFile,
ISyncOptions,
IDependenciesSection,
IPackageVersion,
ISyncResult,
ISyncedFile,
IPackageSource,
IPackageInfo,
ISyncedTypeDefinition,
IConfigService,
IDependencySection,
ICLIArguments,
} from '... | the_stack |
import * as DiscoveryEntry from "../../../generated/joynr/types/DiscoveryEntry";
import * as DiscoveryEntryWithMetaInfo from "../../../generated/joynr/types/DiscoveryEntryWithMetaInfo";
import DiscoveryError from "../../../generated/joynr/types/DiscoveryError";
import * as Version from "../../../generated/joynr/types/V... | the_stack |
import _ from 'lodash';
import rxmq, { Rx } from 'ecc-messagebus';
import {
isRootOrObjectRule,
MAPPING_RULE_TYPE_COMPLEX,
MAPPING_RULE_TYPE_COMPLEX_URI,
MAPPING_RULE_TYPE_DIRECT,
MAPPING_RULE_TYPE_OBJECT,
MAPPING_RULE_TYPE_ROOT,
MAPPING_RULE_TYPE_URI,
MESSAGES,
} from './utils/constants... | the_stack |
import * as coreClient from "@azure/core-client";
/** The properties for the table query response. */
export interface TableQueryResponse {
/** The metadata response of the table. */
odataMetadata?: string;
/** List of tables. */
value?: TableResponseProperties[];
}
/** The properties for the table response. ... | the_stack |
import {PageConfig} from 'rcre';
import chalk from 'chalk';
import {get, isEqual, find} from 'lodash';
import format from 'pretty-format';
import {Store} from 'redux';
import {RCRETestUtil} from './RCRETestUtil';
export interface StepItem {
// 是否启用
enable?: boolean;
// 定位的name
name?: string;
// 定位的... | the_stack |
import * as am5 from "@amcharts/amcharts5";
import * as am5xy from "@amcharts/amcharts5/xy";
import am5themes_Animated from "@amcharts/amcharts5/themes/Animated";
// Create root element
// https://www.amcharts.com/docs/v5/getting-started/#Root_element
const root = am5.Root.new("chartdiv");
// Set themes
... | the_stack |
import clone = require('clone');
import sprintf = require('sprintf');
import agile_keychain_crypto = require('./agile_keychain_crypto');
import asyncutil = require('./base/asyncutil');
import collectionutil = require('./base/collectionutil');
import dateutil = require('./base/dateutil');
import err_util = require('./b... | the_stack |
import { Command, flags } from "@oclif/command";
import chalk from "chalk";
import fs from "fs";
import inquirer from "inquirer";
import path from "path";
import cliAPI, { successOnly } from "../lib/cli-api";
import {
defaultConfigPath,
DEFAULT_SITE,
NPM_BINARY_NAME,
} from "../lib/config";
import { print, ... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.