text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import * as vscode from "vscode";
import type { Argument, InputOr, RegisterOr } from ".";
import { insert as apiInsert, Context, deindentLines, edit, indentLines, joinLines, keypress, Positions, replace, Selections, selectionsLines, setSelections, Shift } from "../api";
import type { Register } from "../state/register... | the_stack |
import crypto from 'crypto';
import {EventEmitter} from 'events';
import {
Db,
GridFSBucket,
GridFSBucketWriteStream,
MongoClient,
MongoClientOptions,
ObjectId,
} from 'mongodb';
import isPromise from 'is-promise';
import isGenerator from 'is-generator';
import pump from 'pump';
import {Request} from 'express';
i... | the_stack |
import {
Injectable,
Logger,
OnApplicationBootstrap,
OnModuleInit,
} from '@nestjs/common';
import { Peripheral, Advertisement } from '@mkerix/noble';
import { EntitiesService } from '../../entities/entities.service';
import { ConfigService } from '../../config/config.service';
import { XiaomiMiConfig, XiaomiMi... | the_stack |
import { OverlayContainer } from '@angular/cdk/overlay';
import { Component, ElementRef, ViewChild } from '@angular/core';
import { fakeAsync, inject, tick, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } from '@angular/platform-browser/animations'... | the_stack |
import SObject from '../Core/SObject';
import {SClass} from '../Core/Decorator';
import {Vector3, Quaternion} from '../Core/Math';
import {IPhysicWorld, TColliderParams, EColliderType, IPickOptions, IPickResult, EPickMode, ERigidBodyType, TJointParams, EJointType, IPointToPointJointOptions, IDistanceJointOptions, ISpri... | the_stack |
import { Layouts } from '../../src'
import { mathEqual } from '../util';
import MDS from '../../src/layout/radial/mds';
// import G6 from '@antv/g6';
// const div = document.createElement('div');
// div.id = 'global-spec';
// document.body.appendChild(div);
// const graph = new G6.Graph({
// container: div,
// wid... | the_stack |
import { DirectiveResolver } from '../linker/directive_resolver';
import { assign, isFunction, noop, resolveDirectiveNameFromSelector, stringify, isJsObject } from '../../facade/lang';
import { StringMapWrapper } from '../../facade/collections';
import { Type } from '../../facade/type';
import { resolveImplementedLifeC... | the_stack |
import _ = require('lodash');
import url = require('url');
import type * as net from 'net';
import { encode as encodeBase64 } from 'base64-arraybuffer';
import { Readable, Transform } from 'stream';
import { stripIndent } from 'common-tags';
import {
Headers,
CompletedRequest,
CompletedBody,
Explainabl... | the_stack |
import * as utils from "../utils/utils";
import * as React from "react";
//const connect = require("react-redux").connect;
import { connect } from "react-redux";
import * as _ from "lodash";
import {
addListItem, removeListItem, getListItemsAction, saveListItemAction,
undoListItemChangesAction, updateListItemActi... | the_stack |
import * as assert from "assert";
import {
AccountSASPermissions,
AccountSASResourceTypes,
AccountSASServices,
AnonymousCredential,
generateAccountSASQueryParameters,
generateQueueSASQueryParameters,
QueueSASPermissions,
SASProtocol,
StorageSharedKeyCredential,
QueueServiceClient,
newPipeline,
... | the_stack |
import React from 'react';
import { composeRefs } from '@radix-ui/react-compose-refs';
import { range } from 'utils';
import {
Children,
createContext,
CSSProperties,
ForwardedRef,
forwardRef,
isValidElement,
memo,
ReactElement,
ReactNode,
Ref,
useCallback,
useContext,
useImperativeHandle,
u... | the_stack |
import {BackgroundGeolocation} from "./background-geolocation";
import * as utils from "utils/utils";
declare var TSLocationManager: any;
declare var TSConfig: any;
declare var NSString: any;
declare var NSDictionary: any;
declare var NSArray: any;
declare var NSUTF8StringEncoding: any;
declare var CLCircularRegion: ... | the_stack |
import {AuditoryDescription} from '../audio/auditory_description';
import * as L10n from '../l10n/l10n';
import {SpeechRuleEngine} from '../rule_engine/speech_rule_engine';
import * as BaseUtil from './base_util';
import {Debugger} from './debugger';
import {Engine, EngineConst} from './engine';
import {SREError} from... | the_stack |
import { Button, ButtonGroup, Card, CardContent, Divider, Grid, MenuItem, Skeleton, Tab, Tabs, Typography } from '@mui/material';
import { Suspense, useCallback, useContext, useEffect, useMemo, useState } from 'react';
import { ArtifactSheet } from '../Artifact/ArtifactSheet';
import { buildContext } from '../Build/Bui... | the_stack |
module android.view {
import SparseArray = android.util.SparseArray;
import LayoutDirection = android.util.LayoutDirection;
import Drawable = android.graphics.drawable.Drawable;
import ColorDrawable = android.graphics.drawable.ColorDrawable;
import ScrollBarDrawable = android.graphics.drawable.Scrol... | the_stack |
/// <reference path="./definitions/mocha.d.ts"/>
import assert = require('assert');
import path = require('path');
import fm = require('./lib/feedback');
import trp = require('../agent/testrunpublisher');
import trr = require('../agent/testresultreader');
import cm = require('../agent/common');
import ifm = require('.... | the_stack |
import Entity from '../Entity';
import { EntityCompanionDefinition } from '../EntityCompanionProvider';
import EntityConfiguration from '../EntityConfiguration';
import { EntityEdgeDeletionBehavior } from '../EntityFieldDefinition';
import { UUIDField } from '../EntityFields';
import { EntityTriggerMutationInfo, Entity... | the_stack |
import type {Class} from "@swim/util";
import type {MemberFastenerClass} from "@swim/component";
import type {TraitConstructor, TraitClass, Trait} from "@swim/model";
import type {View} from "@swim/view";
import type {HtmlViewClass, HtmlView} from "@swim/dom";
import {Controller, TraitViewRef, TraitViewControllerSet} f... | the_stack |
import {
buildSchema,
GraphQLSchema,
graphqlSync,
IntrospectionQuery,
getIntrospectionQuery,
} from 'graphql'
import { JSONSchema6 } from 'json-schema'
import { isEqual, cloneDeepWith } from 'lodash'
type GetTodoSchemaIntrospectionResult = {
schema: GraphQLSchema
introspection: IntrospectionQuery
}
expo... | the_stack |
declare module 'amf-client-js' {
/* amf-client-js */
export class ResourceNotFound {
constructor(error: String)
}
export class AMF {
static init(): Promise<void>
static raml10Parser(): Raml10Parser
static ramlParser(): RamlParser
static raml10Generator(): Raml10Renderer
static raml... | the_stack |
import { describe, it, expect } from "@jest/globals";
import { NamedNode } from "@rdfjs/types";
import { DataFactory } from "n3";
import { createThing, getThing, getThingAll, setThing } from "../thing/thing";
import {
addAgent,
addNoneOfRuleUrl,
addGroup,
addAnyOfRuleUrl,
addAllOfRuleUrl,
createRule,
get... | the_stack |
import {log} from "@blitzjs/display"
import chalk from "chalk"
import spawn from "cross-spawn"
import {readJSONSync, writeJson} from "fs-extra"
import {join} from "path"
import username from "username"
import {Generator, GeneratorOptions, SourceRootType} from "../generator"
import {fetchLatestVersionsFor} from "../util... | the_stack |
import { readFileSync } from 'fs'
import JSON5 from 'next/dist/compiled/json5'
import { createConfigItem, loadOptions } from 'next/dist/compiled/babel/core'
import loadConfig from 'next/dist/compiled/babel/core-lib-config'
import { NextBabelLoaderOptions, NextJsLoaderContext } from './types'
import { consumeIterator ... | the_stack |
import { EventEmitter, NgZone } from '@angular/core';
import { fakeAsync, TestBed, tick } from '@angular/core/testing';
import { StateRecordedVoiceoversService } from
// eslint-disable-next-line max-len
'components/state-editor/state-editor-properties-services/state-recorded-voiceovers.service';
import { SiteAnalyt... | the_stack |
import { BSONRegExp, Decimal128, ObjectId } from 'bson';
import { expectAssignable, expectNotType, expectType } from 'tsd';
import { Filter, MongoClient } from '../../../../src';
/**
* test the Filter type using collection.find<T>() method
* MongoDB uses Filter type for every method that performs a document search
... | the_stack |
import { $, addDisposableListener, addStandardDisposableListener, append, clearNode, Dimension, EventHelper, EventType, isAncestor } from 'vs/base/browser/dom';
import { ActionBar } from 'vs/base/browser/ui/actionbar/actionbar';
import { ButtonBar } from 'vs/base/browser/ui/button/button';
import { IMessage, InputBox, ... | the_stack |
import { Template } from '@aws-cdk/assertions';
import * as iam from '@aws-cdk/aws-iam';
import * as kms from '@aws-cdk/aws-kms';
import * as cdk from '@aws-cdk/core';
import * as cxapi from '@aws-cdk/cx-api';
import * as ssm from '../lib';
test('creating a String SSM Parameter', () => {
// GIVEN
const stack = new... | the_stack |
import {Platform, _supportsShadowDom} from '@angular/cdk/platform';
import {
Component,
ViewChild,
TemplateRef,
ViewContainerRef,
ViewEncapsulation,
} from '@angular/core';
import {waitForAsync, ComponentFixture, TestBed} from '@angular/core/testing';
import {PortalModule, CdkPortalOutlet, TemplatePortal} fro... | the_stack |
import { PluginKey, Selection, TextSelection } from 'prosemirror-state';
import { Decoration, DecorationSet } from 'prosemirror-view';
import { isFunction, isString, object, sort } from '@remirror/core-helpers';
import {
isInvalidSplitReason,
isJumpReason,
isTextSelection,
isValidMatch,
} from './suggest-predi... | the_stack |
import { Nullable } from "babylonjs/types";
import { Observable } from "babylonjs/Misc/observable";
import { Deferred } from "babylonjs/Misc/deferred";
import { Material } from "babylonjs/Materials/material";
import { TransformNode } from "babylonjs/Meshes/transformNode";
import { Mesh } from "babylonjs/Meshes/mesh";
i... | the_stack |
import { ViewChild, Component, Input, Output, EventEmitter } from '@angular/core';
import { MetricQuery } from 'app/view/game/module/shared/class/index';
import { Observable } from 'rxjs/Observable';
import { ToastsManager } from 'ng2-toastr/ng2-toastr';
import { ModalComponent } from 'app/shared/component/index';
impo... | the_stack |
import { equals } from "../../Data/Eq"
import { blackbirdF } from "../../Data/Function"
import { fmap, fmapF, mapReplace } from "../../Data/Functor"
import { consF, elem, filter, find, flength, head, List, map, maximum, NonEmptyList, notNull } from "../../Data/List"
import { any, bind, bindF, ensure, fromJust, fromMayb... | the_stack |
import { mount } from '@vue/test-utils';
import QueryBuilder from '@/QueryBuilder.vue';
import QueryBuilderGroup from '@/QueryBuilderGroup.vue';
import QueryBuilderRule from '@/QueryBuilderRule.vue';
import { QueryBuilderConfig } from '@/types';
import App from '../components/App.vue';
import Component from '../compone... | the_stack |
declare class MXAnimationMetric extends MXMetric {
static alloc(): MXAnimationMetric; // inherited from NSObject
static new(): MXAnimationMetric; // inherited from NSObject
readonly scrollHitchTimeRatio: NSMeasurement<NSUnit>;
}
declare class MXAppExitMetric extends MXMetric {
static alloc(): MXAppExitMetric; ... | the_stack |
import Restful from '../../';
import {
FulfillmentPolicyRequest,
PaymentPolicyRequest,
Program,
ReturnPolicyRequest, SalesTaxBase
} from '../../../../types';
import {PaymentsProgramType} from '../../../../enums';
/**
* The <b>Account API</b> gives sellers the ability to configure their eBay seller accounts,
... | the_stack |
'use strict';
var $ = require('preconditions').singleton();
import {
BitcoreLib,
BitcoreLibCash,
Deriver,
Transactions
} from 'crypto-wallet-core';
import * as _ from 'lodash';
import 'source-map-support/register';
import { Constants, Utils } from './common';
import { Credentials } from './credentials';
var B... | the_stack |
import {Subject} from "../Subject";
import {OrmUtils} from "../../util/OrmUtils";
import {ObjectLiteral} from "../../common/ObjectLiteral";
import {RelationMetadata} from "../../metadata/RelationMetadata";
/**
* Builds operations needs to be executed for many-to-many relations of the given subjects.
*
* by example:... | the_stack |
require('./data-cube-edit.css');
import * as React from 'react';
import { List } from 'immutable';
import { AttributeInfo, Attributes, findByName, Nameable } from 'plywood';
import { classNames } from '../../../utils/dom/dom';
import { Ajax } from '../../../utils/ajax/ajax';
import { generateUniqueName } from '../../... | the_stack |
import {
IntentRequest,
ui
} from 'ask-sdk-model';
import { expect } from 'chai';
import { HandlerInput } from '../../../lib/dispatcher/request/handler/HandlerInput';
import { BaseSkillFactory } from '../../../lib/skill/factory/BaseSkillFactory';
import { MockAlwaysFalseErrorHandler } from '../../mocks/error/Mo... | the_stack |
import { LoggerFactoryMethod } from '@stryker-mutator/api/logging';
import { commonTokens } from '@stryker-mutator/api/plugin';
import { testInjector, assertions, factory, tick } from '@stryker-mutator/test-helpers';
import { expect } from 'chai';
import { TestResults } from 'karma';
import sinon from 'sinon';
// esli... | the_stack |
import * as _ from 'lodash'
import {isUndefined,isNullOrUndefined} from 'util';
import {ActivatedRoute} from '@angular/router';
import {Component, ElementRef, Injector, OnDestroy, OnInit, ViewChild} from '@angular/core';
import {Modal} from '@common/domain/modal';
import {Alert} from '@common/util/alert.util';
import {... | the_stack |
export const sevenzip = "https://user-images.githubusercontent.com/43678736/132086517-72a51a12-e403-4675-bfd7-22c23affa730.png";
export const aac = "https://user-images.githubusercontent.com/43678736/132086518-7026d4f1-ea16-4ed0-89fd-37c1aa8ac3ed.png";
export const abw = "https://user-images.githubusercontent.com/43678... | the_stack |
import {Buffer} from 'buffer';
import $ from 'jquery';
import 'bootstrap';
import skBootstrap from 'bootstrap/dist/css/bootstrap.min.css';
import {
name as packageName,
productName as packageProductName,
author as packageAuthor,
year as packageYear,
version as packageVersion,
} from '../package.json';
impo... | the_stack |
import { Toolbar } from '@jupyterlab/apputils';
import { Contents } from '@jupyterlab/services';
import { INotebookContent } from '@jupyterlab/nbformat';
import { IRenderMimeRegistry } from '@jupyterlab/rendermime';
import { PromiseDelegate } from '@lumino/coreutils';
import { Message } from '@lumino/messaging';
import... | the_stack |
import { template, types as t } from "@babel/core";
import type { Visitor } from "@babel/traverse";
const buildClassDecorator = template(`
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
`) as (replacements: { DECORATOR; CLASS_REF; INNER }) => t.ExpressionStatement;
const buildClassPrototype = template(`
CLASS_REF.pro... | the_stack |
import { createProgramFromScripts } from './utils';
import { ImageSource } from '@nativescript/core';
export function imageFilter(canvas) {
var vertexShaderSource = `#version 300 es
// an attribute is an input (in) to a vertex shader.
// It will receive data from a buffer
in vec2 a_position;
in vec2 a_texCoord;
// ... | the_stack |
import { SpreadsheetHelper } from '../util/spreadsheethelper.spec';
import { defaultData, filterData } from '../util/datasource.spec';
import { Spreadsheet, filterByCellValue } from '../../../src/index';
import { classList, getComponent } from '@syncfusion/ej2-base';
import { PredicateModel } from '@syncfusion/ej2-grid... | the_stack |
/// <reference types="node" />
export type ValueOfAnObservable<T extends Observable<any, any>> = T[''];
export interface Subscription {
unsubscribe(): void;
readonly closed: boolean;
}
export interface Observer<T, S> {
value?: ((value: T) => void) | undefined;
error?: ((error: S) => void) | undefined... | the_stack |
import { sp, SPBatch, SPRest } from "@pnp/sp";
import { testSettings } from "../main.js";
import { expect } from "chai";
import "@pnp/sp/lists";
import "@pnp/sp/content-types/list";
import "@pnp/sp/views/list";
import "@pnp/sp/folders/list";
import "@pnp/sp/fields/list";
import "@pnp/sp/forms/list";
import "@p... | the_stack |
import React, { ReactInstance } from 'react';
import ReactDOM from 'react-dom';
import cls from 'classnames';
import { isEqual } from 'lodash';
import PropTypes from 'prop-types';
import { IconClose } from '@douyinfe/semi-icons';
// eslint-disable-next-line max-len
import CalendarFoundation, { CalendarAdapter, EventObj... | the_stack |
import React, { useState } from "react";
import { StyleSheet, Share, Platform, LayoutAnimation, ScrollView, TouchableOpacity } from "react-native";
import DialogAndroid from "react-native-dialogs";
import Clipboard from "@react-native-community/clipboard";
import { Card, Text, CardItem, H1, View, Button, Icon } from "n... | the_stack |
declare namespace GoogleAdsScripts {
namespace AdsApp {
/**
* Represents an ad customizer data item.
* Each ad customizer item can be seen as one row in an ad customizer source in the Business Data section of the Shared Library.
* Ad customizer items have attribute values, which a... | the_stack |
import { isUndefined, difference, pick, cloneDeep, get } from 'lodash';
import BaseFoundation, { DefaultAdapter } from '../base/foundation';
import {
flattenTreeData,
findDescendantKeys,
findAncestorKeys,
filter,
normalizedArr,
normalizeKeyList,
getMotionKeys,
calcCheckedKeysForChecked,
... | the_stack |
namespace Word {
export interface Collection<T> {
count: number;
item(index: number): T;
}
export interface Font {
bold: boolean;
italic: boolean;
subscript: boolean;
superscript: boolean;
}
export interface Find {
font: Font;
... | the_stack |
namespace collections {
export interface SortOptions<T> {
comparer: (a: T, b: T) => number;
sort: "insertion" | "comparison";
}
export class SortedMap<K, V> {
private _comparer: (a: K, b: K) => number;
private _keys: K[] = [];
private _values: V[] = [];
... | the_stack |
import { GraphQLClient } from 'graphql-request';
import * as Dom from 'graphql-request/dist/types.dom';
import gql from 'graphql-tag';
export type Maybe<T> = T | null;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [Sub... | the_stack |
import { Injectable } from "@angular/core";
import { DraggablePort } from "@ng-public/directive/draggable/draggable.interface";
import { CornerPinModel, ProfileModel } from "./model";
import { PanelScopeEnchantmentService } from "./panel-scope-enchantment.service";
import { PanelWidgetModel } from "../panel-widget/mode... | the_stack |
import { Store } from '@t/store';
import { SelectionRange } from '@t/store/selection';
import { KeyboardEventCommandType, TabCommandType } from '../helper/keyboard';
import { getNextCellIndex, getRemoveRange, getNextCellIndexWithRowSpan } from '../query/keyboard';
import { changeFocus, startEditing } from './focus';
im... | the_stack |
import stream from "@/api";
import { fieldDelimiter, intervalTime, restfulDecode, restfulFields, restfulParam, strategy, writeDataSequence, writeDocForADB } from "@/components/helpDoc/docs";
import { NEST_KEYS, RESTFUL_METHOD, RESTFUL_PROPTOCOL, RESTFUL_RESP_MODE, RESTFUL_STRATEGY } from "@/constant";
import { Button, ... | the_stack |
import {runInEachFileSystem} from '../../src/ngtsc/file_system/testing';
import {loadStandardTestFiles} from '../../src/ngtsc/testing';
import {NgtscTestEnvironment} from './env';
const testFiles = loadStandardTestFiles();
runInEachFileSystem(() => {
describe('ngtsc incremental compilation', () => {
let env!: ... | the_stack |
import * as assert from 'assert';
import { EventEmitter } from 'events';
import { createServer, Socket } from 'net';
import { tmpdir } from 'os';
import { Barrier, timeout } from 'vs/base/common/async';
import { VSBuffer } from 'vs/base/common/buffer';
import { Emitter, Event } from 'vs/base/common/event';
import { Dis... | the_stack |
import { Component, OnInit, OnDestroy } from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
import {Subscription} from 'rxjs/Subscription';
import { environment } from './../../../../../environments/environment';
import {WorkflowService} from '../../../../core/services/workflow.service';
imp... | the_stack |
import TestRenderer from "react-test-renderer";
import { HelmetProvider } from "frontity";
import { State } from "frontity/types";
import { FilledContext } from "react-helmet-async";
import { Root as GoogleTagManager } from "..";
import { Packages } from "../../../types";
const getState = (): State<Packages> => ({
f... | the_stack |
import b2 from '@cocos/box2d';
import { EDITOR } from 'internal:constants';
import { IPhysicsWorld } from '../spec/i-physics-world';
import { IVec2Like, Vec3, Quat, toRadian, Vec2, toDegree, Rect, Node, game, CCObject, find, director, Layers } from '../../core';
import { PHYSICS_2D_PTM_RATIO, ERaycast2DType, ERigidBod... | the_stack |
/*
* Copyright (c) 2016 - now David Sehnal, licensed under Apache 2.0, See LICENSE file for more info.
*/
namespace LiteMol.Visualization {
export interface Color { r: number; g: number; b: number }
export namespace Color {
export function copy(from: Color, to: Color) {
to.r = from... | the_stack |
import { Attribute } from "../Attribute";
import { AttributeDefinitions } from "../AttributeDefinitions";
import { DockLocation } from "../DockLocation";
import { DropInfo } from "../DropInfo";
import { Orientation } from "../Orientation";
import { Rect } from "../Rect";
import { CLASSES } from "../Types";
import { Bor... | the_stack |
import { EL } from "./dom"
import { dlog, print } from "./util"
import { EventEmitter } from "./event"
import { uiresponder } from "./uiresponder"
import app from "./app"
export interface UIWindowConfig {
x? :number // position in parent window. Defaults to center of the parent window.
y? :... | the_stack |
const CLA = 0x55;
const CHUNK_SIZE = 250;
const INS = {
GET_VERSION: 0x00,
PUBLIC_KEY_SECP256K1: 0x01,
SIGN_SECP256K1: 0x02,
SHOW_ADDR_SECP256K1: 0x03,
GET_ADDR_SECP256K1: 0x04,
SIGN_PERSONAL_MESSAGE: 0x05
};
const ERROR_DESCRIPTION = {
1: "U2F: Unknown",
2: "U2F: Bad request",
3: "U2F: Configuratio... | the_stack |
* @packageDocumentation
* @module std
*/
//================================================================
import { IForwardIterator } from "../iterator/IForwardIterator";
import { IBidirectionalIterator } from "../iterator/IBidirectionalIterator";
import { IPointer } from "../functional/IPointer";
import { Gener... | the_stack |
interface GlobalAttrs {
typeAliases: { [ix: string]: string };
constructors: { [typeName: string]: string[] };
decoders: string[];
encoders: string[];
}
interface TypeFuncNames {
typeName: string;
constructorParams: string[];
funcNames: string[];
}
interface TypeAliases {
[ix: string]: string;
}
inte... | the_stack |
import { ICanFetch } from "./MlsClient";
import IMlsClient, { IMlsCompletionItem, IRunRequest, IWorkspaceRequest, IWorkspaceResponse, IGistWorkspace, IRunResponse, ApiError, ICompileResponse, CompletionResult, SignatureHelpResult, DiagnosticResult } from "./IMlsClient";
import { CookieGetter } from "./constants/CookieG... | the_stack |
import { AfterContentInit, ContentChildren, Directive, ElementRef, EventEmitter, HostBinding, Input,
OnDestroy,Output, QueryList, Renderer2, ChangeDetectorRef, HostListener, Inject } from '@angular/core';
import { DOCUMENT } from '@angular/common';
import { MDCChipAdapter, MDCChipSetAdapter, MDCChipFoundation, MDCC... | 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';
interface Blob {}
declare class WorkSpaces exte... | the_stack |
import * as ReactDOM from "react-dom";
import { Provider } from "react-redux";
import { dispatch, store } from "./AppRedux";
import { AppState } from "./AppState";
import { Constants as C } from "./Constants";
import { DialogBaseImpl } from "./DialogBaseImpl";
import { DialogMode } from "./enums/DialogMode";
import { P... | the_stack |
import {
AfterViewInit,
Component,
OnInit,
TemplateRef,
ViewChild,
ViewEncapsulation
} from '@angular/core';
import { Action } from '../../../action/action';
import { ActionConfig } from '../../../action/action-config';
import { EmptyStateConfig } from '../../../empty-state/empty-state-config';
import { Fi... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type QueryRenderersBidFlowQueryVariables = {
artworkID: string;
saleID: string;
};
export type QueryRenderersBidFlowQueryResponse = {
readonly artwork: {
readonly sale_artwork: {
readonl... | the_stack |
import { right } from "string-left-right";
import { version as v } from "../package.json";
const version: string = v;
function isObj(something: any): boolean {
return (
something && typeof something === "object" && !Array.isArray(something)
);
}
function isStr(something: any): boolean {
return typeof somethi... | the_stack |
import * as moment from "moment";
/**
* Response base
*/
export interface ResponseBase {
/**
* Polymorphic Discriminator
*/
_type: string;
}
/**
* Defines the identity of a resource.
*/
export interface Identifiable extends ResponseBase {
/**
* A String identifier.
*/
readonly id?: string;
}
... | the_stack |
import { ClientBody } from '../model/clientBody';
import { PasswordResetBody } from '../model/passwordResetBody';
import { PersonBodyCreate } from '../model/personBodyCreate';
import { PersonBodyUpdate } from '../model/personBodyUpdate';
import { PersonEntry } from '../model/personEntry';
import { PersonPaging } from '... | the_stack |
import * as path from 'path';
import * as sinon from 'sinon';
import * as fsWatcher from '../../../../../client/common/platform/fileSystemWatcher';
import * as platformUtils from '../../../../../client/common/utils/platform';
import { PythonEnvKind } from '../../../../../client/pythonEnvironments/base/info';
import { g... | the_stack |
import { SendRequestReason } from "../JavaScriptSDK.Enums/SendRequestReason";
import { TelemetryUnloadReason } from "../JavaScriptSDK.Enums/TelemetryUnloadReason";
import { TelemetryUpdateReason } from "../JavaScriptSDK.Enums/TelemetryUpdateReason";
import { IAppInsightsCore } from "../JavaScriptSDK.Interfaces/IAppInsi... | the_stack |
export interface IReturn<T>
{
createResponse(): T;
}
export interface IReturnVoid
{
createResponse(): void;
}
export interface IHasSessionId
{
sessionId: string;
}
export interface IHasBearerToken
{
bearerToken: string;
}
export interface IPost
{
}
export interface IAuthTokens
{
provider: strin... | the_stack |
import * as tfc from '@tensorflow/tfjs-core';
import {Tensor} from '@tensorflow/tfjs-core';
import {serializeActivation, Tanh} from '../activations';
import {NonNeg, serializeConstraint, UnitNorm} from '../constraints';
import {sequential} from '../exports';
import * as tfl from '../index';
import {GlorotUniform, HeUn... | the_stack |
import {OasValidationRule} from "./common.rule"
import {Oas20Parameter} from "../../models/2.0/parameter.model";
import {Oas20Document} from "../../models/2.0/document.model";
import {Oas20Operation} from "../../models/2.0/operation.model";
import {Oas20XML} from "../../models/2.0/xml.model";
import {Oas20PathItem} fro... | the_stack |
import { isNil, isFunction, assign } from '@antv/util';
import { Tag, Word } from '../../plots/word-cloud/types';
type FontWeight = number | 'normal' | 'bold' | 'bolder' | 'lighter';
export interface Options {
size: [number, number];
font?: string | ((row: Word, index?: number, words?: Word[]) => string);
... | the_stack |
import { parseAndGetTestState } from './harness/fourslash/testState';
import { testMoveSymbolAtPosition } from './renameModuleTestUtils';
test('move symbol to another file - simple from import', () => {
const code = `
// @filename: test.py
//// def [|/*marker*/foo|](): pass
// @filename: moved.py
//// [|/*dest*/|... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* Base resource object.
*/
export interface Resource extends BaseResource {
/**
* ID of the resource.
* **NOTE: This property w... | the_stack |
import {ExportNs} from '../../esl-utils/environment/export-ns';
import {ESLBaseElement, attr, boolAttr} from '../../esl-base-element/core';
import {bind} from '../../esl-utils/decorators/bind';
import {ready} from '../../esl-utils/decorators/ready';
import {rafDecorator} from '../../esl-utils/async/raf';
import {EventU... | the_stack |
import { isFunction, isString } from "../interfaces.js";
import {
Binding,
ChildContext,
ExecutionContext,
ItemContext,
} from "../observation/observable.js";
import { bind, HTMLBindingDirective, oneTime } from "./binding.js";
import { Compiler } from "./compiler.js";
import {
AddViewBehaviorFactory... | the_stack |
import * as cxschema from '@aws-cdk/cloud-assembly-schema';
import * as aws from 'aws-sdk';
import * as AWS from 'aws-sdk-mock';
import { LoadBalancerListenerContextProviderPlugin, LoadBalancerContextProviderPlugin, tagsMatch, describeListenersByLoadBalancerArn, describeTags, describeLoadBalancers } from '../../lib/con... | the_stack |
import { pluck, distinctUntilChanged, map, filter } from "rxjs/operators"
import { Ref } from "@nuxtjs/composition-api"
import DispatchingStore, { defineDispatchers } from "./DispatchingStore"
import {
FormDataKeyValue,
HoppRESTHeader,
HoppRESTParam,
HoppRESTReqBody,
HoppRESTRequest,
RESTReqSchemaVersion,
}... | the_stack |
import * as os from "os";
import * as vscode from "vscode";
import * as fs from "fs-plus";
import * as path from "path";
import request = require("request-promise");
import * as utils from "../utils";
import { FileNames, ConfigKey, ScaffoldType, OSPlatform } from "../constants";
import { TelemetryContext } f... | the_stack |
import * as tsModule from "typescript";
import { Declaration, Node, Signature, SignatureDeclaration, Symbol as ESSymbol, Type, TypeChecker } from "typescript";
import { inspect } from "util";
import { DEFAULT_TYPE_CACHE } from "../constants";
import {
isSimpleType,
SimpleType,
SimpleTypeAlias,
SimpleTypeEnumMember,... | the_stack |
import { CoreConstants } from '@/core/constants';
import { asyncInstance } from '@/core/utils/async-instance';
import { Injectable } from '@angular/core';
import { CoreCancellablePromise } from '@classes/cancellable-promise';
import { CoreDatabaseTable } from '@classes/database/database-table';
import { CoreDatabaseCac... | the_stack |
import * as i18n from '../../core/i18n/i18n.js';
const UIStrings = {
/**
*@description Text to indicate something is not enabled
*/
disabled: 'Disabled',
/**
*@description Tooltip text that appears when hovering over the 'Disabled' attribute name under the Computed Properties section in the Accessibility pa... | the_stack |
declare class TOActivityCroppedImageProvider extends UIActivityItemProvider {
static alloc(): TOActivityCroppedImageProvider; // inherited from NSObject
static new(): TOActivityCroppedImageProvider; // inherited from NSObject
readonly angle: number;
readonly circular: boolean;
readonly cropFrame: CGRect;
re... | the_stack |
// deno-lint-ignore-file no-explicit-any
import {
Cookie,
createElement,
decodeBase64,
deleteCookie,
getCookies,
green,
isFormFile,
MultipartReader,
parseYml,
red,
renderToString,
Response,
serve,
Server,
ServerRequest,
setCookie,
yellow,
} from "../deps.ts";
import { react, root } fro... | the_stack |
import { SkillBuilders } from 'ask-sdk-core';
import { ControlInput, ControlResponseBuilder, ControlResult, NumberControl } from '../../../src';
import { MultiValueListControl } from '../../../src/commonControls/multiValueListControl/MultiValueListControl';
import { MultiValueListControlComponentAPLBuiltIns } from '../... | the_stack |
declare namespace vips {
// Allow single pixels/images as input.
type Array<T> = T | T[];
type Enum = string | number;
type Flag = string | number;
type Blob = string | ArrayBuffer | Uint8Array | Uint8ClampedArray | Int8Array;
type ArrayConstant = Array<number>;
type ArrayImage = Array<Ima... | the_stack |
import { bisectLeft, extent, histogram as d3Histogram, ticks } from 'd3-array';
import Decimal from 'decimal.js';
import { isMatch, isValid, parse, parseISO } from 'date-fns';
import { get } from 'lodash';
export const ONE_SECOND = 1000;
export const ONE_MINUTE = ONE_SECOND * 60;
export const ONE_HOUR = ONE_MINUTE * 6... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.