text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class MQ extends... | the_stack |
import {Injectable, isDevMode, Inject} from '@angular/core';
import { HttpClient, HttpParams } from '@angular/common/http';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/catch';
import 'rxjs/add/observable/throw';
import { THEMES_CONFIG } from '../themes';
import { Router, Ca... | the_stack |
export namespace apis {
export namespace alarms {
export type Alarm = chrome.alarms.Alarm;
export type _CreateAlarmInfo = chrome.alarms.AlarmCreateInfo;
export function clear(name: string): Promise<boolean> {
return new Promise<boolean>((resolve, reject) => {
chrome.alarms.clear(name, wasCl... | the_stack |
import { Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
import { HttpErrorResponse, HttpResponse } from '@angular/common/http';
import { Subscription } from 'rxjs';
import { ActivatedRoute, Router } from '@angular/router';
import { Observable, of, Subject } from 'rxjs';
import { User... | the_stack |
import assert from "assert"
import { Event, EventTarget } from "../src/index"
import { Global } from "../src/lib/global"
import {
FalsyWasAssignedToCancelBubble,
InitEventWasCalledWhileDispatching,
NonCancelableEventWasCanceled,
TruthyWasAssignedToReturnValue,
} from "../src/lib/warnings"
import { setup... | the_stack |
import App from "../app";
import {gql, withFilter} from "apollo-server-express";
import {pubsub} from "../helpers/subscriptionManager";
import uuid from "uuid";
const mutationHelper = require("../helpers/mutationHelper").default;
// We define a schema that encompasses all of the types
// necessary for the functionality... | the_stack |
import React from 'react'
import { gql, useQuery } from '@apollo/client'
import DatasetQueryContext from '../../datalad/dataset/dataset-query-context.js'
import Markdown from 'markdown-to-jsx'
import { Link, useLocation } from 'react-router-dom'
import pluralize from 'pluralize'
import formatDistanceToNow from 'date-fn... | the_stack |
import {
TransactionRequest,
TransactionReceipt,
TransactionResponse,
BlockTag,
EventType,
Listener,
Provider,
Block
} from "@ethersproject/abstract-provider";
import { BaseProvider, Web3Provider } from "@ethersproject/providers";
import { Networkish } from "@ethersproject/networks";
import { Deferrable... | the_stack |
import { Card, CardOutput } from 'neuron-ipe-types';
import * as path from "path";
import * as fs from "fs";
import * as vscode from 'vscode';
import { Event, EventEmitter } from "vscode";
import { JSONObject, JSONArray } from '@phosphor/coreutils';
import { ContentHelpers } from './contentHelpers';
/**
* Class maint... | the_stack |
import { expect } from "chai";
import { BeDuration, Id64, Id64Arg, Id64Set, Id64String } from "@itwin/core-bentley";
import { IModelConnection, SnapshotConnection, SubCategoriesCache } from "@itwin/core-frontend";
import { TestUtility } from "../TestUtility";
describe("SubCategoriesCache", () => {
// test.bim:
// ... | the_stack |
import { ENTER, ESCAPE, SPACE } from '@angular/cdk/keycodes';
import { OverlayContainer } from '@angular/cdk/overlay';
import { Component } from '@angular/core';
import {
ComponentFixture,
TestBed,
fakeAsync,
inject,
tick,
} from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import ... | the_stack |
import beetle = require("beetle.js");
declare module "beetle" {
namespace querying {
interface ArrayQuery<T> {
/** Automatically executed before enumeration (like LINQ). */
length: number;
/**
* Applies an accumulator function over an array. The specified seed value is us... | the_stack |
import { ErrorConstant } from '@remirror/core-constants';
import { invariant, isFunction, isNullOrUndefined, isString } from '@remirror/core-helpers';
import type {
EditorState,
EditorStateProps,
GetAttributesProps,
Mark,
MarkType,
MarkTypeProps,
NodeTypeProps,
RegExpProps,
TransactionProps,
} from '@... | the_stack |
import { Tabs } from "./tabs";
import { Events } from "./events";
export namespace Windows {
/**
* The type of browser window this is. Under some circumstances a Window may not be assigned type property,
* for example when querying closed windows from the $(ref:sessions) API.
*/
type WindowType ... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as Mappers from "./mappers";
import { Operation } from "./operation";
import * as Parameters from "./parameters";
const serializer = new msRest.Serializer(Mappers, true);
// specifications for new method group start
const tableQueryOperationSpec: msRest.OperationS... | the_stack |
import { MetricsPanelCtrl } from 'grafana/app/plugins/sdk';
import _ from 'lodash';
import angular from 'angular';
import kbn from 'grafana/app/core/utils/kbn';
import * as FileExport from './file_export';
import 'datatables.net/js/jquery.dataTables.min';
import { panelDefaults, dateFormats, columnTypes, columnStyleDef... | the_stack |
import assert from 'assert'
import { handleActions } from 'redux-actions'
import mapValues from 'lodash/mapValues'
import cloneDeep from 'lodash/cloneDeep'
import merge from 'lodash/merge'
import omit from 'lodash/omit'
import omitBy from 'lodash/omitBy'
import reduce from 'lodash/reduce'
import {
getLabwareDefaultEn... | the_stack |
export interface Result {
/**
* String identifying the format of the parsed MRZ. Supported formats are:
*
* * TD1 (identity card with three MRZ lines)
* * TD2 (identity card with two MRZ lines)
* * TD3 (passport)
* * SWISS_DRIVING_LICENSE
* * FRENCH_NATIONAL_ID
*/
format:... | the_stack |
import isNull from 'lodash/isNull';
import isUndefined from 'lodash/isUndefined';
import { MouseEvent as ReactMouseEvent, useContext, useEffect, useState } from 'react';
import { IoMdRefresh, IoMdRefreshCircle } from 'react-icons/io';
import { MdAdd, MdAddCircle } from 'react-icons/md';
import { RiArrowLeftRightLine } ... | the_stack |
import { Logger } from 'common/logging/logger';
import { PromiseFactory, TimeoutError } from 'common/promises/promise-factory';
import { WindowMessagePoster } from 'injected/frameCommunicators/browser-backchannel-window-message-poster';
export type CommandMessage = {
command: string;
payload?: any;
};
export ... | the_stack |
// (C) 1995-2013 Jean-loup Gailly and Mark Adler
// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to an... | the_stack |
// clang-format off
import 'chrome://settings/lazy_load.js';
import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js';
import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import {CrInputElement, SettingsOmniboxExtensionEntryElement, SettingsSearchEngineDialogElement, Settin... | the_stack |
import * as fs from 'fs';
import * as path from 'path';
import chalk = require('chalk');
import * as ts from 'typescript';
import { resolve } from './resolver';
export const DEFAULT_EXPORT = 'default';
export type ValueExport = string;
export interface IRegistry {
[key: string]: { exports: Set<ValueExport>; depende... | the_stack |
import { IMetadata } from './imetadata';
import { IOption } from './ioption';
import { IThumbnail } from './ithumbnail';
/**
* 无需上传即可获得视频元数据和视频帧的Blob图片
*
* @author wangweiwei
*/
export class Video {
/**
* Video Element
*/
private videoElement: HTMLVideoElement;
/**
* Canvas Element
*/
private... | the_stack |
import { ExtendRegexp } from './extend-regexp';
import {
Link,
Links,
MarkedOptions,
RulesInlineBase,
RulesInlineBreaks,
RulesInlineCallback,
RulesInlineGfm,
RulesInlinePedantic,
} from './interfaces';
import { Marked } from './marked';
import { Renderer } from './renderer';
/**
* Inline Lexer & Compi... | the_stack |
import chalk from 'chalk'
import execa from 'execa'
import fs from 'fs'
import path from 'path'
import type { NormalizedPackageJson } from 'read-pkg-up'
import readPkgUp from 'read-pkg-up'
import { promisify } from 'util'
const exists = promisify(fs.exists)
const readFile = promisify(fs.readFile)
/**
* Async
*/
ex... | the_stack |
import { assert, expect } from "chai";
import { join } from "path";
import { restore as sinonRestore, spy as sinonSpy } from "sinon";
import { Guid, Id64 } from "@itwin/core-bentley";
import { CodeScopeSpec, CodeSpec, ElementProps, IModel } from "@itwin/core-common";
import { ClassRegistry } from "../../ClassRegistry";... | the_stack |
module TDev.RT {
//? A collection of objects
//@ stem("coll") icon("fa-list-ol")
//@ enumerable serializable ctx(general,json)
export class Collection<T>
extends RTValue
{
constructor(public typeInfo:any) {
super();
}
static mkAny(typeInfo:any, a:any[] = ... | the_stack |
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class ECRPUBLIC ... | the_stack |
import { client, dataKey, portal } from ".";
import { convertSkylinkToBase64, genKeyPairAndSeed, uriSkynetPrefix } from "../src";
import { randomUnicodeString } from "../utils/testing";
describe(`Upload and download end-to-end tests for portal '${portal}'`, () => {
const fileData = "testing";
const json = { key: "... | the_stack |
export as namespace system;
/**
* System events dispatched by {@link framework.CastReceiverContext}.
* @see https://developers.google.com/cast/docs/reference/web_receiver/cast.framework.system#.EventType
*/
export enum EventType {
ALLOW_GROUP_CHANGE = 'allowgroupchange',
/**
* Fired when there is a sys... | the_stack |
import { expectSaga } from 'redux-saga-test-plan'
import * as matchers from 'redux-saga-test-plan/matchers'
import { throwError } from 'redux-saga-test-plan/providers'
import request from 'app/utils/request'
import actions from 'app/containers/Organizations/actions'
import {
getOrganizations,
addOrganization,
edi... | the_stack |
import request from 'supertest';
import { resolve } from 'path';
import { readFileSync } from 'fs';
import * as redis from 'redis';
import { promisify } from 'util'; //promisify some node-redis client functionality
import app from '../../src/server/server';
import redisMonitors from '../../src/server/redis-monitors/re... | the_stack |
import { Tween24 } from "./Tween24";
import { Ease24 } from "./index";
import { Sort24 } from "./index";
import { Event24 } from "./Event24";
import { Text24 } from "./utils/Text24";
import { HTMLUtil } from "./utils/HTMLUtil";
import { ButtonTween24 } from "./ButtonTween24";
export class Button24 {
... | the_stack |
import { AxiosError, AxiosRequestConfig } from 'axios';
import type ReactLib from 'react';
import { type SyntheticEvent } from 'react';
import urlJoin from 'url-join';
import { Context, Spec } from './document-actions';
const isAxiosError = (error?: Error | AxiosError): error is AxiosError =>
Boolean(error) && Obje... | the_stack |
// IMPORTANT
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
// Generated from: https://photoslibrary.googleapis.com/\$discovery/rest... | the_stack |
declare module 'vscode' {
/**
* A reference to one of the workbench colors as defined in https://code.visualstudio.com/docs/getstarted/theme-color-reference.
* Using a theme color is preferred over a custom color as it gives theme authors and users the possibility to change the color.
*/
export class Them... | the_stack |
import {AuditoryDescription} from '../audio/auditory_description';
import {Axis, AxisOrder, DynamicCstr, DynamicCstrParser} from './dynamic_cstr';
import {Action, Precondition, SpeechRule} from './speech_rule';
import {SpeechRuleContext} from './speech_rule_context';
import {SpeechRuleEvaluator} from './speech_rule_eva... | the_stack |
import { AbstractRawJavaScriptIndexCreationTask, GetTermsOperation, IDocumentStore } from "../../../../src";
import { disposeTestDocumentStore, testContext } from "../../../Utils/TestUtil";
import moment = require("moment");
import { AbstractRawJavaScriptTimeSeriesIndexCreationTask } from "../../../../src/Documents/Ind... | the_stack |
* Function0 encapsulates a parameterless function
* which returns a value. It adds some useful functions
* to combine or transform functions.
*
* @param T the parameter type
* @param U the result type
*/
export interface Function0<R> {
/**
* Invoke the function
*/
(): R;
/**
* Returns... | the_stack |
import postcss from 'postcss';
import whitespace from 'postcss-normalize-whitespace';
import autoprefixer from 'autoprefixer';
import nested from 'postcss-nested';
import { atomicifyRules } from '../atomicify-rules';
const transform = (css: TemplateStringsArray) => {
const result = postcss([atomicifyRules(), whitesp... | the_stack |
import { captureRejectionSymbol } from "../events.ts";
import Readable, { ReadableState } from "./readable.ts";
import Stream from "./stream.ts";
import Writable, { WritableState } from "./writable.ts";
import type { WritableEncodings } from "./writable.ts";
import { Buffer } from "../buffer.ts";
import {
ERR_STREAM_... | the_stack |
import { Localized } from "@fluent/react/compat";
import { FORM_ERROR } from "final-form";
import React, { FunctionComponent, useCallback, useState } from "react";
import { Form } from "react-final-form";
import { graphql } from "react-relay";
import useCommonTranslation, {
COMMON_TRANSLATION,
} from "coral-admin/he... | the_stack |
import { TSDocConfiguration, TSDocTagDefinition, TSDocTagSyntaxKind } from '@microsoft/tsdoc';
import * as path from 'path';
import { TSDocConfigFile } from '../TSDocConfigFile';
function getRelativePath(testPath: string): string {
return path.relative(__dirname, testPath).split('\\').join('/');
}
expect.... | the_stack |
import type { UnusedInterfaceTypeDef } from './kitchen-sink-definitions'
import type { core } from 'nexus'
export interface InputType {
answer?: number | null // Int
key: string // String!
nestedInput?: InputType2 | null // InputType2
}
export interface InputType2 {
answer?: number | null // Int
key: string... | the_stack |
module TDev.RT {
//? A piece of text
//@ stem("s") icon("fa-file-text-o") immutable isData builtin ctx(general,indexkey,cloudfield,walltap,enumerable,json)
export module String_
{
//? Returns a string collection that contains the substrings in this string that are delimited by elements of a spe... | the_stack |
declare module b2 {
declare var waterParticle: any;
declare var zombieParticle: any;
declare var wallParticle: any;
declare var springParticle: any;
declare var elasticParticle: any;
declare var viscousParticle: any;
declare var powderParticle: any;
declare var tensileParticle: any;
declare var colorMixingPart... | the_stack |
import * as Gio from "@gi-types/gio";
import * as GObject from "@gi-types/gobject";
import * as GLib from "@gi-types/glib";
export const ADDRESS_ANY_PORT: number;
export const ADDRESS_FAMILY: string;
export const ADDRESS_NAME: string;
export const ADDRESS_PHYSICAL: string;
export const ADDRESS_PORT: string;
export con... | the_stack |
module TDev {
export module Collab {
// ------------------ revisionservice collaboration API
export interface CollaborationInfo {
owner: string;
ownerScriptguid: string;
group: string;
session: string;
meta: string;
}
... | the_stack |
import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { MatHorizontalStepper, MatStep, MatSelectionList } from '@angular/material';
import { FormBuilder, FormGroup, FormControl, Validators } from '@angular/forms';
import { HttpErrorResponse } from '@angular/common/http';
import { ScanService ... | the_stack |
import * as _ from 'lodash';
// The following line is important to keep in that format so it can be rendered into the page
export const config: IDashboardConfig = /*return*/ {
id: "mbf_advanced_analytics",
name: "MBF Advanced Analytics",
icon: "equalizer",
url: "mbf_advanced_analytics",
description: "Bot Fra... | the_stack |
import React, { ReactElement } from "react";
import { components } from './pages';
import { MuiPickersUtilsProvider } from '@material-ui/pickers';
import FlexLayout, { Actions, DockLocation, Model, Node, TabNode } from 'flexlayout-react';
import 'flexlayout-react/style/light.css'
import './workspace.css'
import { get... | the_stack |
// immutable proxies to host objects
import { base58Encode } from "./context";
import {Convert} from "./convert";
import {ScAddress,ScAgentID,ScChainID,ScColor,ScHash,ScHname,ScRequestID} from "./hashtypes";
import * as host from "./host";
import {Key32,MapKey} from "./keys";
// value proxy for immutable ScAddress in... | the_stack |
import compareVersions from "compare-versions";
import * as fse from "fs-extra";
import * as path from "path";
import * as vscode from "vscode";
import { instrumentOperation, sendError, sendInfo, setUserError } from "vscode-extension-telemetry-wrapper";
import { XMLSerializer } from "@xmldom/xmldom";
import { getNonce ... | the_stack |
import * as vscode from 'vscode';
import * as chai from 'chai';
import * as sinonChai from 'sinon-chai';
import * as sinon from 'sinon';
import * as k8s from 'vscode-kubernetes-tools-api';
import { OdoImpl } from '../../../src/odo';
import { Build } from '../../../src/k8s/build';
import { Progress } from '../../../src/... | the_stack |
import { action, observable, computed } from 'mobx';
import { File, FsApi, getFS } from '../services/Fs';
import { FileState } from './fileState';
import { Batch } from '../transfers/batch';
import { clipboard, shell } from 'electron';
import { lineEnding, DOWNLOADS_DIR } from '../utils/platform';
import { ViewDescript... | the_stack |
import {ExpandedType} from 'compassql/build/src/query/expandedtype';
import {Axis} from 'vega-lite/build/src/axis';
import {Channel} from 'vega-lite/build/src/channel';
import {Legend} from 'vega-lite/build/src/legend';
import {Scale} from 'vega-lite/build/src/scale';
import {contains} from 'vega-lite/build/src/util';
... | the_stack |
import { Observable } from 'rxjs/Observable'
import { ErrorObservable } from 'rxjs/observable/ErrorObservable'
import { Subscription } from 'rxjs/Subscription'
import { ConnectableObservable } from 'rxjs/observable/ConnectableObservable'
import * as lf from 'lovefield'
import * as Exception from '../exception'
import *... | the_stack |
import {ChildProcess, spawnSync} from 'child_process';
import * as fs from 'fs';
import * as glob from 'glob';
import * as ini from 'ini';
import * as path from 'path';
import * as q from 'q';
import {Logger} from '../cli';
import {Config} from '../config';
import {spawn} from '../utils';
const noop = () => {};
// ... | the_stack |
const Benchmark: any = require('benchmark');
import { execSync } from "child_process";
import { Vector } from "../src/Vector";
import { HashSet } from "../src/HashSet";
import { HashMap } from "../src/HashMap";
import { LinkedList } from "../src/LinkedList";
// import immutables through require for now so that
// the... | the_stack |
import {
any,
anyArray,
anyBoolean,
anyNumber,
anyObject,
anyString,
anyMap,
anySet,
isA,
arrayIncludes,
anyFunction,
anySymbol,
setHas,
mapHas,
objectContainsKey,
objectContainsValue,
notNull,
notUndefined,
notEmpty,
captor,
matches,
}... | the_stack |
import { GroupsHandlerService } from '../abstract/groups-handler.service';
import { Injectable } from '@angular/core';
import { BehaviorSubject, Observable, Subject } from 'rxjs';
// firebase
// import * as firebase from 'firebase/app';
import firebase from "firebase/app";
import 'firebase/messaging';
import 'firebase... | the_stack |
import {
BitwisePermissionFlags,
BotWithCache,
DiscordenoChannel,
DiscordenoGuild,
DiscordenoMember,
DiscordenoRole,
Errors,
Overwrite,
PermissionStrings,
separateOverwrites,
} from "../deps.ts";
/** Calculates the permissions this member has in the given guild */
export function calculateBasePermi... | the_stack |
// The MIT License (MIT)
//
// vs-deploy (https://github.com/mkloubert/vs-deploy)
// Copyright (c) Marcel Joachim Kloubert <marcel.kloubert@gmx.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// ... | the_stack |
import { ColorScheme, ColorSchemePropertyName, excludeSettingsForSave, SystemSchedule } from "../Settings/ColorScheme";
import { ArgumentedEvent, ResponsiveEvent } from "../Events/Event";
import { injectable, Scope } from "../Utils/DI";
import { IBaseSettingsManager, BaseSettingsManager } from "../Settings/BaseSettings... | the_stack |
import {ChartClass} from 'org_xprof/frontend/app/common/interfaces/chart';
interface FormatDiffInfo {
rangeMin?: number;
rangeMax?: number;
hasColor: boolean;
isLargeBetter: boolean;
}
interface FormatValueInfo {
rangeMin?: number;
rangeMax?: number;
multiplier: number;
fixed: number;
suffix: string... | the_stack |
import * as fs from 'fs';
import * as inputParam from '../src/input-parameters';
import * as fileHelper from '../src/utilities/files-helper';
import {
Kubectl,
} from '../src/kubectl-object-model';
import {
mocked
} from 'ts-jest/utils';
import * as kubectlUtils from '../src/utilities/kubectl-util';
var path = requi... | the_stack |
import nock from "nock";
import {createClient} from "../__mocks__/base";
import Modification from "../services/modification";
import Client from "../client";
import {
CreatePaymentAmountUpdateRequest,
CreatePaymentCancelRequest,
CreatePaymentCaptureRequest,
CreatePaymentRefundRequest, CreatePaymentRever... | the_stack |
import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
import 'chrome://resources/polymer/v3_0/iron-icon/iron-icon.js';
import 'chrome://resources/polymer/v3_0/iron-iconset-svg/iron-iconset-svg.js';
import '/common/icons.js';
import './styles.js';
import {loadTimeData} from 'chrome://resources/js/load_time_... | the_stack |
import { AbstractInputProps } from "../../input";
import { Box } from "../../box";
import { ButtonPresets } from "./ButtonPresets";
import {
ChangeEvent,
ComponentProps,
FocusEvent,
KeyboardEvent,
SyntheticEvent,
forwardRef,
useCallback,
useImperativeHandle,
useMemo,
useRef,
... | the_stack |
import * as path from 'path';
import * as os from 'os';
import { getObject, getString, isBoolean } from '@salesforce/ts-types';
import { fs } from '@salesforce/core';
import * as archiver from 'archiver';
// 3pp
import * as BBPromise from 'bluebird';
// Local
import { set } from '@salesforce/kit';
import logger = re... | the_stack |
import DisplayObjectContainer from "./../../starling/display/DisplayObjectContainer";
import BitmapFont from "./../../starling/text/BitmapFont";
import Starling from "./../../starling/core/Starling";
import RectangleUtil from "./../../starling/utils/RectangleUtil";
import ArgumentError from "openfl/errors/ArgumentError... | the_stack |
import * as ts from "typescript";
/**
* Creates a factory for a ts Transformer that calls the function of a transform visitor.
* @param transformVisitor the transform visitor to return
* @return the factory
*/
export function createTransformVisitorFactory(transformVisitor: TransformVisitor): ts.TransformerFactory<... | the_stack |
import { CloneMode, IOptions, Options, WindowID, WindowProperty, WindowType } from "./api.js";
import { getCloneBounds } from "./getCloneBounds.js";
import { getOptions, getStorageWindowPropKey } from "./options-storage.js";
// Helper functions
// -----------------------------------------------------------------------... | the_stack |
import test from 'ava';
import {ObjectMapper} from '../src/databind/ObjectMapper';
import {JsonProperty} from '../src/decorators/JsonProperty';
import {JsonClassType} from '../src/decorators/JsonClassType';
import {JacksonError} from '../src/core/JacksonError';
import {JsonIncludeType} from '../src/decorators/JsonInclu... | the_stack |
import { NetworkOrSignerOrProvider, ValidContractClass } from "../types";
import { z } from "zod";
import { ContractRegistry } from "./registry";
import { getContractAddressByChainId } from "../../constants/addresses";
import { ContractFactory } from "./factory";
import { SDKOptions } from "../../schema/sdk-options";
i... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* Resource model definition.
*/
export interface Resource extends BaseResource {
/**
* Resource identifier.
* **NOTE: This prop... | the_stack |
import { expect } from "chai";
import { IModelConnection, SnapshotConnection } from "@itwin/core-frontend";
import { ContentSpecificationTypes, KeySet, RelationshipDirection, Ruleset, RuleTypes } from "@itwin/presentation-common";
import { Presentation } from "@itwin/presentation-frontend";
import { initialize, termina... | the_stack |
import * as assert from 'assert';
import { EventEmitter } from 'events';
import * as mockery from 'mockery';
import { IMock, It, Mock, MockBehavior, Times } from 'typemoq';
import { chromeConnection, ISourceMapPathOverrides, telemetry, TargetVersions, Version } from 'vscode-chrome-debug-core';
import { DebugProtocol } ... | the_stack |
import queryString from 'querystringify';
import moment, { isDate, isMoment } from 'moment';
import { isArrayLike, ObservableMap } from 'mobx';
import { AxiosRequestConfig } from 'axios';
import isBoolean from 'lodash/isBoolean';
import isObject from 'lodash/isObject';
import isString from 'lodash/isString';
import isA... | the_stack |
import * as sinon from 'sinon';
import * as vscode from 'vscode';
import { RuntimeTreeItem } from '../../../extension/explorer/runtimeOps/disconnectedTree/RuntimeTreeItem';
import { ExtensionUtil } from '../../../extension/util/ExtensionUtil';
import { TestUtil } from '../../TestUtil';
import { ExtensionCommands } from... | the_stack |
import * as TH from './type-helpers';
import { testType } from './utils/testing';
import { getType } from './get-type';
import { isOfType } from './is-of-type';
import { isActionOf } from './is-action-of';
import { StateType, ActionType } from './type-helpers';
import { actions, types } from './type-helpers-fixtures';... | the_stack |
'use strict';
import nls = require('vs/nls');
import {TPromise} from 'vs/base/common/winjs.base';
import paths = require('vs/base/common/paths');
import strings = require('vs/base/common/strings');
import {isWindows, isLinux} from 'vs/base/common/platform';
import URI from 'vs/base/common/uri';
import errors = require... | the_stack |
import {
FabricStyles,
isTwoDimArray,
IExplanationContext,
IExplanationGenerators,
IGlobalExplanation,
ILocalExplanation,
IExplanationModelMetadata,
ITestDataset,
ModelExplanationUtils,
ModelTypes,
IFeatureValueExplanation,
IWeightedDropdownContext,
WeightVectorOption,
WeightVectors,
Joint... | the_stack |
import * as utils from '../utils'
/*******************************************************************************
* An indexed version of the min D-heap. For more information on D-heaps, see
* ./min-d-heap.ts
*
* This version of a heap allows us to add key value pairs. This gives us
* logarithmic removals and up... | the_stack |
import React, {
ReactElement,
useCallback,
useEffect,
useReducer,
useRef,
useState,
Children,
} from 'react';
import debounce from 'lodash/debounce';
import {EnableSelectionMinor} from '@shopify/polaris-icons';
import type {CheckboxHandles} from '../../types';
import {classNames} from '../../utilities/cs... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement, Operator } from "../shared";
/**
* Statement provider for service [license-manager](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awslicensemanager.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IA... | the_stack |
import { CloudflareApiError, listScripts, listTails, Tail, setEqual, setIntersect, setSubtract, isTailMessageCronEvent, parseHeaderFilter, TailFilter, TailMessage, TailOptions, ErrorInfo,
UnparsedMessage, formatLocalYyyyMmDdHhMmSs, AdditionalLog, generateUuid, dumpMessagePretty, parseLogProps, HeaderFilter } from ... | the_stack |
import * as L from 'leaflet';
declare module 'leaflet' {
interface MapOptions {
drawControl?: boolean;
drawControlTooltips?: boolean;
touchExtend?: boolean;
}
class DrawMap extends Map {
mergeOptions(options?: MapOptions): void;
addInitHook(): void;
}
inter... | the_stack |
import bigInt from 'big-integer';
import { JSONPath } from 'jsonpath-plus';
import { KeyStore, Signer } from '../../../types/ExternalInterfaces';
import * as TezosTypes from '../../../types/tezos/TezosChainTypes';
import { TezosNodeReader } from '../TezosNodeReader';
import { TezosNodeWriter } from '../TezosNodeWriter... | the_stack |
import { remove, createElement, closest, formatUnit, Browser, KeyboardEventArgs, extend } from '@syncfusion/ej2-base';
import { isNullOrUndefined, removeClass } from '@syncfusion/ej2-base';
import { DataManager, Query } from '@syncfusion/ej2-data';
import { IGrid, IRenderer, NotifyArgs, VirtualInfo, IModelGenerator, In... | the_stack |
interface IListenerInstrumentation {
/**
* Predicate-Method telling whether the instrumentation should be applied on the given attachment Target of the event and the given event type.
*
* @param attachmenTarget the element onto which the listener to check for was attached
* @param eventType the... | the_stack |
import {assert, use as chaiUse} from 'chai';
import * as path from 'path';
import {Analyzer} from '../../core/analyzer';
import {ClassScanner} from '../../javascript/class-scanner';
import {ScannedPolymerElement} from '../../polymer/polymer-element';
import {CodeUnderliner, createForDirectory, fixtureDir, runScanner} ... | the_stack |
import { codeModelSchema, SchemaResponse, CodeModel, Schema, ObjectSchema, GroupSchema, isObjectSchema, SchemaType, GroupProperty, ParameterLocation, Operation, Parameter, VirtualParameter, getAllProperties, ImplementationLocation, OperationGroup, Request, SchemaContext, StringSchema, ChoiceSchema, SealedChoiceSchema }... | the_stack |
import './user_layer.css';
import {AnnotationPropertySpec, annotationPropertySpecsToJson, AnnotationType, LocalAnnotationSource, parseAnnotationPropertySpecs} from 'neuroglancer/annotation';
import {AnnotationDisplayState, AnnotationLayerState} from 'neuroglancer/annotation/annotation_layer_state';
import {MultiscaleA... | the_stack |
// (Desktop|Mobile|Android|iOS[CLI): (New|Improved|Fixed): Some message..... (#ISSUE)
import { execCommand, githubUsername } from './tool-utils';
interface LogEntry {
message: string;
commit: string;
author: Author;
}
enum Platform {
Android = 'android',
Ios = 'ios',
Desktop = 'desktop',
Clipper = 'clipper',
... | the_stack |
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
export enum EncryptionMode {
SSE_KMS = "SSE_KMS",
SSE_S3 = "SSE_S3",
}
/**
* <p>A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary
* upl... | the_stack |
import { ApiPromise } from '@polkadot/api';
import { Abi } from '@polkadot/api-contract';
import type { AbiConstructor } from '@polkadot/api-contract/types';
import type { SubmittableExtrinsic } from '@polkadot/api/types';
import { Bytes } from '@polkadot/types';
import type { Weight } from '@polkadot/types/interfaces'... | the_stack |
import { expect } from "chai";
import * as sinon from "sinon";
import * as moq from "typemoq";
import { BeEvent, Id64String, using } from "@itwin/core-bentley";
import { IModelConnection, PerModelCategoryVisibility, SpatialViewState, Viewport, ViewState, ViewState3d } from "@itwin/core-frontend";
import { createRandomI... | the_stack |
import ono from 'ono';
import * as express from 'express';
import * as _uniq from 'lodash.uniq';
import * as middlewares from './middlewares';
import { Application, Response, NextFunction, Router } from 'express';
import { OpenApiContext } from './framework/openapi.context';
import { Spec } from './framework/openapi.sp... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.