text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { Quantity, PromiEvent, Subscription, Api } from "@ganache/utils";
import Blockchain from "./blockchain";
import {
StartDealParams,
SerializedStartDealParams
} from "./things/start-deal-params";
import { SerializedRootCID, RootCID } from "./things/root-cid";
import { DealInfo, SerializedDealInfo } from "./th... | the_stack |
import Long from "long";
import _m0 from "protobufjs/minimal";
import { Value } from "../../google/protobuf/struct";
export const protobufPackage = "grpc.gateway.protoc_gen_openapiv2.options";
/**
* Scheme describes the schemes supported by the OpenAPI Swagger
* and Operation objects.
*/
export enum Scheme {
UNK... | the_stack |
/// <reference types="amap-js-api" />
/// <reference types="amap-js-api-place-search" />
declare namespace AMap {
enum DrivingPolicy {
/**
* 最快捷模式
*/
LEAST_TIME = 0,
/**
* 最经济模式
*/
LEAST_FEE = 1,
/**
* 最短距离模式
*/
L... | the_stack |
'use strict';
import { Chart, registerAction } from '@antv/g2/esm';
import * as React from 'react';
import { BaseChartConfig, ChartData, Size, Language, Types } from "./types";
import { getParentSize, requestAnimationFrame, isEqualWith, merge } from './common';
import highchartsDataToG2Data from './dataAdapter';
impor... | the_stack |
import React, { useState, useEffect, Fragment, useRef } from "react";
import EasybaseContext from "./EasybaseContext";
import deepEqual from "fast-deep-equal";
import {
EasybaseProviderProps,
ContextValue,
UseReturnValue,
POST_TYPES,
FrameConfiguration,
FileFromURI,
AddRecordOptions,
Upd... | the_stack |
import api from "@/api";
import stream from "@/api";
import { hiveWithAllTable } from "@/components/helpDoc/docs";
import { DATA_SOURCE_ENUM, DATA_SOURCE_TEXT, formItemLayout, PARTITION_TYPE, SYNC_TYPE, WRITE_TABLE_TYPE } from "@/constant";
import { getFlinkDisabledSource } from "@/utils/enums";
import { isKafka, isMys... | the_stack |
declare interface EDictionary {
/**
* Iterates through the EDictionary
* @param fn Provides (obj: any, i: number) to your function
*/
forEach(fn: (obj: any, i: number) => void): void
/**
* Adds an object to the EDictionary. The object *MUST* have a nid/id property as defined in the neng... | the_stack |
import { BrowserAdapter } from 'common/browser-adapters/browser-adapter';
import { BackchannelStoreRequestMessage } from 'common/types/backchannel-message-type';
import { BrowserBackchannelWindowMessagePoster } from 'injected/frameCommunicators/browser-backchannel-window-message-poster';
import { WindowMessage } from '... | the_stack |
import {Buffer} from 'node:buffer';
import type {IncomingHttpHeaders} from 'node:http';
import test from 'ava';
import type {RequestHandler} from 'express';
import FormData from 'form-data';
import ky from '../source/index.js';
import {createHttpTestServer} from './helpers/create-http-test-server.js';
const echoHeader... | the_stack |
import {
Directive,
Renderer2,
ElementRef,
OnInit,
Output,
Input,
EventEmitter,
OnDestroy,
NgZone,
Inject,
PLATFORM_ID,
} from '@angular/core';
import { isPlatformBrowser } from '@angular/common';
import { Subject, Observable, Observer, merge } from 'rxjs';
import {
map,
mergeMap,
takeUntil,... | the_stack |
import { JSDOM } from 'jsdom'
import { Analytics } from '../../analytics'
const sleep = (time: number): Promise<void> =>
new Promise((resolve) => {
setTimeout(resolve, time)
})
async function resolveWhen(
condition: () => boolean,
timeout?: number
): Promise<void> {
return new Promise((resolve, _reject)... | the_stack |
import { IPdfWriter } from './../../interfaces/i-pdf-writer';
import { PdfStream } from './../primitives/pdf-stream';
import { Operators } from './pdf-operators';
import { PdfNumber } from './../primitives/pdf-number';
import { PointF, RectangleF } from './../drawing/pdf-drawing';
import { TextRenderingMode, PdfLineCap... | the_stack |
import { createConnection, getConnection } from 'typeorm';
import { ReportAudit } from '../entity/ReportAudit';
import { User } from '../entity/User';
import { Assessment } from '../entity/Assessment';
import { Organization } from '../entity/Organization';
import { Vulnerability } from '../entity/Vulnerability';
import... | the_stack |
import http = require('http');
import url = require('url');
import http_client = require('../http_client');
import streamutil = require('../base/streamutil');
import stringutil = require('../base/stringutil');
import vfs = require('./vfs');
import vfs_util = require('./util');
import { defer } from '../base/promise_ut... | the_stack |
import { FlagsConfig, SfdxCommand, flags } from '@salesforce/command';
import { Messages } from '@salesforce/core';
import { AnyJson } from '@salesforce/ts-types';
import {
Logger,
RESOURCES,
COMMAND_EXIT_STATUSES
} from "../../modules/components/common_components/logger";
import { RunCommand } from "../..... | the_stack |
import Resource, { DetailOpts } from './index'
import assert from 'assert'
import { AttributeError } from './exceptions'
import { getContentTypeWeak } from './util'
export type RelatedObjectValue = string | string[] | number | number[] | Record<string, any> | Record<string, any>[]
export type CollectionValue = Record<s... | the_stack |
import {
AfterViewInit,
ChangeDetectorRef,
Component,
ComponentFactoryResolver,
ElementRef,
OnDestroy,
OnInit,
ViewChild
} from '@angular/core';
import {WidgetComponent} from '../../../shared/widget/widget.component';
import {DashboardService} from '../../../shared/dashboard.service';
import {Opensource... | the_stack |
import {
FeatureCollection,
FlatTheme,
LineCaps,
SolidLineTechniqueParams,
Style
} from "@here/harp-datasource-protocol";
import { GeoPointLike } from "@here/harp-geoutils";
import { LookAtParams } from "@here/harp-mapview";
import * as turf from "@turf/turf";
import { assert } from "chai";
import *... | the_stack |
import React, { useContext, useEffect, useMemo, useState } from 'react';
import { connect } from 'react-redux';
import { RootState } from 'typesafe-actions';
import { REACT_COMPONENT_TYPE } from '@/constants/build';
import GlobalContext from '@/pages/GlobalContext';
import { ComponentStructure } from '@/types/builder... | the_stack |
import * as path from "path";
import { CancellationToken, Hover, HoverProvider, MarkdownString, Position, Range, TextDocument, TextLine, Uri, workspace, WorkspaceConfiguration } from "vscode";
import { extensionContext, LANGUAGE_ID } from "../cfmlMain";
import { VALUE_PATTERN } from "../entities/attribute";
import { Co... | the_stack |
module Kiwi.Animations {
/**
* Manages the tweening of properties/values on a single object. A Tween is the animation of a number between an initially value to and final value (that you specify).
* Note: When using a Tween you need to make sure that the Tween has been added to a TweenManager. You can either do thi... | the_stack |
import {RpcError} from "./rpc-error";
import type {RpcMetadata} from "./rpc-metadata";
import type {RpcStatus} from "./rpc-status";
import type {RpcTransport} from "./rpc-transport";
import type {MethodInfo} from "./reflection-info";
import {assert} from "@protobuf-ts/runtime";
import {RpcOutputStreamController} from "... | the_stack |
import * as sls from "../socketLib/socketLibServer";
import * as contract from "./socketContract";
import http = require("http");
import https = require("https");
import * as fsu from "../server/utils/fsu";
import * as flm from "../server/workers/fileListing/fileListingMaster";
import * as workingDir from "../server/di... | the_stack |
import AnchoredData from './models/AnchoredData';
import AnchoredDataSerializer from './AnchoredDataSerializer';
import AnchoredOperationModel from '../../models/AnchoredOperationModel';
import ArrayMethods from './util/ArrayMethods';
import ChunkFile from './ChunkFile';
import ChunkFileModel from './models/ChunkFileMo... | the_stack |
import { Component, ViewChild } from '@angular/core';
import {IonContent} from '@ionic/angular';
import {
InterstitialAdEvents,
BannerAdSize,
BannerAdEvents,
RewardAdEvents,
SplashAdEvents,
Gender, Anchor,
ChildProtection,
UnderAgeOfPromise,
HMSScreenOrientation,
AdContentClassification,
NonPerson... | the_stack |
'use strict'
import { identity, isUndefined, uniqBy } from 'lodash'
/**
* The input of a {@link PipelineStage}, either another {@link PipelineStage}, an array, an iterable or a promise.
*/
export type PipelineInput<T> = PipelineStage<T> | StreamPipelineInput<T> | Iterable<T> | PromiseLike<T> | ArrayLike<T>
interfa... | the_stack |
"use strict";
// uuid: a54e855a-464d-4624-a7ce-fc39cb72a0f3
// ------------------------------------------------------------------------
// Copyright (c) 2018 Alexandre Bento Freire. All rights reserved.
// Licensed under the MIT License+uuid License. See License.txt for details
// -------------------------------------... | the_stack |
import {Injectable} from "@angular/core";
import * as angular from "angular";
import "fattable";
import {DomainType} from "../../../services/DomainTypesService";
import {DataCategory} from "../../wrangler/column-delegate";
// import './cell-menu.template.scss';
/**
* Default font.
*/
const DEFAULT_FONT = "10px ''So... | the_stack |
import { buildFormValidationResult } from './form-validation-summary-builder';
import { InternalValidationResult } from './model';
describe('form-validation-summary-build specs', () => {
describe(`buildFormValidationResult`, () => {
it(`Spec #1 => should returns new FormValidationResult equals { succeeded: true ... | the_stack |
import { StandardArticle } from "@artsy/reaction/dist/Components/Publishing/Fixtures/Articles"
import {
applySelectionToEditorState,
htmlWithDisallowedStyles,
htmlWithRichBlocks,
} from "client/components/draft/shared/test_helpers"
import { convertFromHTML } from "draft-convert"
import Draft, { EditorState } from... | the_stack |
import React, { useState, useEffect } from "react";
import {
View,
Text,
StyleSheet,
TextInput,
Pressable,
KeyboardAvoidingView,
Platform,
Image,
Alert,
} from "react-native";
import {
SimpleLineIcons,
Feather,
MaterialCommunityIcons,
AntDesign,
Ionicons,
} from "@expo/vector-icons";
import ... | the_stack |
import assert from 'assert';
import {
getDottedName,
getDottedNameWithGivenNodeAsLastName,
getFirstAncestorOrSelfOfKind,
getFirstNameOfDottedName,
getFullStatementRange,
getStringNodeValueRange,
isFirstNameOfDottedName,
isFromImportAlias,
isFromImportModuleName,
isFromImportName... | the_stack |
import assert from 'assert';
import Node, { SourceRange } from './base';
import NodeVisitor from './visitor';
import { FunctionDef } from './function_def';
import { Value } from './values';
import { Expression, FilterExpression, InvocationExpression, ProjectionExpression } from './expression';
import Type from '../ty... | the_stack |
import React from 'react';
import cx from 'classnames';
import { IconButton } from '../Buttons';
import { Input } from '../Input';
import { ColorValue, CommonProps, InputContainer, useTheme } from '../utils';
import { useColorPickerContext } from './ColorPickerContext';
import SvgSwap from '@itwin/itwinui-icons-react/c... | the_stack |
import {IPwmService} from './pwm.service';
import {ILogService, IPromise, IQService, IWindowService} from 'angular';
import LocalStorageService from './local-storage.service';
import ObjectService from './object.service';
import SearchResult from '../models/search-result.model';
import {IQuery} from './people.service';... | the_stack |
import { createSetupForContentReview } from "../utils/helpers";
import { useContentGqlHandler } from "../utils/useContentGqlHandler";
describe("Page publishing workflow", () => {
const options = {
path: "manage/en-US"
};
const gqlHandler = useContentGqlHandler({
...options
});
cons... | the_stack |
import { GlobalProps } from 'ojs/ojvcomponent';
import { ComponentChildren } from 'preact';
import { DataProvider } from '../ojdataprovider';
import { dvtBaseComponent, dvtBaseComponentEventMap, dvtBaseComponentSettableProperties } from '../ojdvt-base';
import { JetElement, JetSettableProperties, JetElementCustomEvent,... | the_stack |
import * as React from 'react';
import { reaction, IReactionDisposer } from 'mobx';
import { inject, observer } from 'mobx-react';
import {
InputGroup,
ControlGroup,
Button,
ButtonGroup,
Popover,
Intent,
Alert,
HotkeysTarget,
Hotkeys,
Hotkey,
Tooltip,
Position,
IHotke... | the_stack |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt">
<context>
<name>MainUI</name>
<message>
<location filename="../mainUI.ui" line="14"/>
<location filename="../mainUI.cpp" line="286"/>
<source>Media Player</source>
<translation>Reprodutor multim... | the_stack |
import log from "../../../../../log";
import { base64ToBytes } from "../../../../../utils/base64";
import isNonEmptyString from "../../../../../utils/is_non_empty_string";
import { IScheme } from "../../node_parser_types";
const iso8601Duration =
/^P(([\d.]*)Y)?(([\d.]*)M)?(([\d.]*)D)?T?(([\d.]*)H)?(([\d.]*)M)?(([\d... | the_stack |
import { Group, Path, Point, PointText, Raster, Size, view } from 'paper';
import i18next from 'i18next';
import PerspT from 'perspective-transform';
import { renderModal } from './modal';
import { createButton } from './createButton';
import { colors } from '../colors';
import { emitter } from '../emitter';
import { ... | the_stack |
import { FloatArray, Nullable } from './types'
import { Vector3 } from './Vector3'
import { Quaternion } from './Quaternion'
import { MathTmp } from './preallocatedVariables'
import { Plane } from './Plane'
import { Vector4 } from './Vector4'
/**
* Class used to store matrix data (4x4)
* @public
*/
export class Mat... | the_stack |
import * as React from "react"
import { Formik, Form, FastField, Field } from "formik"
import * as Yup from "yup"
import { RouteComponentProps } from "react-router-dom"
import {
FormGroup,
Button,
Intent,
Spinner,
Classes,
RadioGroup,
Radio,
Collapse,
} from "@blueprintjs/core"
import api from "../api"
... | the_stack |
import { IEquals, IllegalArgumentError } from "funfix-core"
/**
* A `TimeUnit` represents time durations at a given unit of
* granularity and provides utility methods to convert across units,
* and to perform timing and delay operations in these units.
*
* A `TimeUnit` does not maintain time information, but only... | the_stack |
import type {
ConcatOptions,
ConcatSource,
FFmpegCommand,
FFmpegInput,
FFmpegOptions,
FFmpegOutput,
FFmpegProcess,
InputSource,
OutputDestination,
ProbeOptions,
ProbeResult,
SpawnOptions,
} from './types';
import { pipeline } from 'stream';
import {
DEV_NULL,
flatMap,
isInputSource,
is... | the_stack |
import { expect } from "chai";
import { IModelConnection, SnapshotConnection } from "@itwin/core-frontend";
import {
ChildNodeSpecificationTypes, InstanceLabelOverrideValueSpecificationType, RelationshipDirection, Ruleset, RuleTypes,
} from "@itwin/presentation-common";
import { Presentation } from "@itwin/presentati... | the_stack |
import { Component } from 'vue-property-decorator';
import { select, Selection } from 'd3-selection';
import { axisLeft } from 'd3-axis';
import { scaleLinear } from 'd3-scale';
import { line } from 'd3-shape';
import _ from 'lodash';
import $ from 'jquery';
import ColumnList from '@/components/column-list/column-list... | the_stack |
import { Configuration } from "../configuration/Configuration.js";
import { ILog } from "../logging/ILog.js";
import { Event } from "../models/Event.js";
import { IEventQueue } from "../queue/IEventQueue.js";
import { Response } from "../submission/Response.js";
interface EventQueueItem {
file: string,
event: Even... | the_stack |
import { Component, OnInit, OnDestroy } from '@angular/core';
import { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';
import { trigger, transition, style, animate, state, keyframes } from '@angular/animations';
import { Router } from '@angular/router';
import { Store } from '@ngrx/store';
impo... | the_stack |
import { PdfStringFormat, PdfDocument, PdfPage, PdfGraphics, RectangleF } from "../../../../../src/index";
import { PdfGrid } from "../../../../../src/index";
import { PdfGridCell, PdfGridCellCollection } from "../../../../../src/index";
import { PdfGridRow } from "../../../../../src/index";
import { PdfGridCellStyle }... | the_stack |
import * as vscode from 'vscode';
import { promises as fs, PathLike } from 'fs';
import path from 'path';
import AppMapAgent, { StatusResponse } from './agent/appMapAgent';
import LanguageResolver from './languageResolver';
import { createMilestones, MilestoneMap, MilestoneType } from './milestones';
import {
Telemet... | the_stack |
import { Vector3, Matrix4 } from 'three'
import { Debug, Log, ParserRegistry } from '../globals'
import StructureParser from './structure-parser'
import { HelixTypes } from './pdb-parser'
import Entity from '../structure/entity'
import Unitcell, { UnitcellParams } from '../symmetry/unitcell'
import Assembly from '../s... | the_stack |
import { mat4 } from 'gl-matrix';
import { vtkObject } from "../../../interfaces" ;
import { Bounds, Vector3, Range } from '../../../types';
/**
*
*/
export interface ICameraInitialValues {
position?: number[];
focalPoint?: number[];
viewUp?: number[];
directionOfProjection?: number[];
parallelProjection?: boo... | the_stack |
import $ from "jquery";
import { dom, status } from "./helper";
export default class Save {
default_filename: any;
savedata: any;
constructor(public window: number, public config, public eventhandler) {
this.config = config;
this.window = window;
this.default_filename = "mysprites";
this.eventha... | the_stack |
* {{cookiecutter.project_name}}
* {{cookiecutter.project_name}} API
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import globalAxios, { Axios... | the_stack |
import 'chrome://resources/cr_components/managed_dialog/managed_dialog.js';
import 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.js';
import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
import 'chrome://resources/cr_elements/cr_checkbox/cr_checkbox.m.js';
import 'chrome://resources/cr_elem... | the_stack |
import camelCase from '../../x/camelCase.ts';
import { normalize } from './normalize.ts';
import { IFlagArgument, IFlagOptions, IFlags, IFlagsResult, IFlagValue, IFlagValueType, IParseOptions, IType, OptionType } from './types.ts';
import { boolean } from './types/boolean.ts';
import { number } from './types/number.ts'... | the_stack |
import React, { FC, useEffect, useRef, useCallback, useState, HTMLProps } from 'react';
import throttle from 'lodash.throttle'
import { Universe, UniverseState, CanvasRenderer, Simulator, ParticleForce, Vector, forces, PixelManager, Array2D, timing } from '../universe'
import { getMousePosition, getTouchPosition, RGBA ... | the_stack |
import test = require('tape-promise/tape')
import { sandbox, FetchMockSandbox } from 'fetch-mock'
import NodeFetch from 'node-fetch'
import { Readable, PassThrough, ReadableOptions } from 'stream'
import { DriverModel, DriverModelTestMethods } from '../../src/server/driverModel'
import * as utils from '../../src/serve... | the_stack |
if (!SVGPathElement.prototype.getPathData || !SVGPathElement.prototype.setPathData) {
(function () {
var commandsMap = {
"Z": "Z", "M": "M", "L": "L", "C": "C", "Q": "Q", "A": "A", "H": "H", "V": "V", "S": "S", "T": "T",
"z": "Z", "m": "m", "l": "l", "c": "c", "q": "q", "a": "a", "h": "h", "v": "v... | the_stack |
import FDBError from './error'
import {
Watch,
NativeTransaction,
Callback,
NativeValue,
Version,
} from './native'
import {
strInc,
strNext,
asBuf
} from './util'
import keySelector, {KeySelector} from './keySelector'
import {eachOption} from './opts'
import {
TransactionOptions,
TransactionOptionC... | the_stack |
import { CheckBoxFlag, DropDownFlag, InputFlag } from './flag';
export class NewWorkflowFlags {
flags= {};
constructor(workflows) {
// General flags.
this.flags['skip_start'] = new SkipStartFlag(0, 'skip_start');
this.flags['skip_start'].positional = true;
this.flags['skip_start'].namedPositional =... | the_stack |
import {
IAsyncEnumerable,
IAsyncEqualityComparer,
IAsyncParallel,
IComparer,
IEqualityComparer,
IGrouping,
InferType,
IOrderedParallelEnumerable,
OfType,
SelectorKeyType,
TypedData,
} from "./"
/**
* Parallel Async Iterable type with methods from LINQ.
*/
export interface... | the_stack |
module TypeScript {
export interface ISyntaxToken extends ISyntaxNodeOrToken, INameSyntax, IPrimaryExpressionSyntax, IPropertyAssignmentSyntax, IPropertyNameSyntax {
// Adjusts the full start of this token. Should only be called by the parser.
setFullStart(fullStart: number): void;
//... | the_stack |
import OperationLog, { getOperationIndex } from "./OperationLog";
import getElementOperationLogMapping from "./getHtmlNodeOperationLogMapping";
import getHtmlNodeOperationLogMapping from "./getHtmlNodeOperationLogMapping";
import initDomInspectionUI from "./initDomInspectionUI";
import KnownValues from "./KnownValues";... | the_stack |
import * as React from "react";
import * as ReactDOM from "react-dom";
import { IInspectorOptions } from "babylonjs/Debug/debugLayer";
import { Nullable } from "babylonjs/types";
import { Observable, Observer } from "babylonjs/Misc/observable";
import { EngineStore } from "babylonjs/Engines/engineStore";
import... | the_stack |
import {DirectiveFn} from '../lib/directive.js';
import {createMarker, directive, NodePart, Part, removeNodes, reparentNodes} from '../lit-html.js';
export type KeyFn<T> = (item: T, index: number) => unknown;
export type ItemTemplate<T> = (item: T, index: number) => unknown;
// Helper functions for manipulating parts... | the_stack |
import { InboundFilters } from '../../../src/integrations/inboundfilters';
let inboundFilters: any;
describe('InboundFilters', () => {
beforeEach(() => {
inboundFilters = new InboundFilters();
});
describe('shouldDropEvent', () => {
it('should drop when error is internal one', () => {
inboundFilt... | the_stack |
import { Component, Type, ViewChild, ChangeDetectionStrategy, Injectable, Directive } from '@angular/core';
import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing';
import { FormsModule, ReactiveFormsModule, FormGroup, FormControl, Validators } from '@angular/forms';
import { Nx... | the_stack |
import type * as kafkaTypes from "node-rdkafka";
import { Deferred } from "@fluidframework/common-utils";
import { IConsumer, IPartition, IPartitionWithEpoch, IQueuedMessage } from "@fluidframework/server-services-core";
import { ZookeeperClient } from "@fluidframework/server-services-ordering-zookeeper";
import { IKa... | the_stack |
import { Promise as bPromise } from 'bluebird'
import { Signer, ethers, Contract, providers } from 'ethers'
import { TransactionReceipt } from '@ethersproject/abstract-provider'
import { getContractInterface, getContractFactory } from 'old-contracts'
import { getContractInterface as getNewContractInterface } from '@eth... | the_stack |
jest.unmock('../../src/test-provider/test-provider');
jest.unmock('../../src/test-provider/test-provider-context');
jest.unmock('./test-helper');
jest.unmock('../../src/appGlobals');
import * as vscode from 'vscode';
import { JestTestProvider } from '../../src/test-provider/test-provider';
import { WorkspaceRoot } fro... | the_stack |
import { Position, CompletionList, CompletionItemKind, Range, TextEdit, InsertTextFormat, CompletionItem, MarkupKind } from 'vscode-languageserver-types';
import { TextDocument } from 'vscode-languageserver-textdocument';
import { HTMLDocument, Node } from '../parser/htmlParser';
import { createScanner } from '../parse... | the_stack |
import {
getPrintedUiJsCode,
makeTestProjectCodeWithSnippet,
renderTestEditorWithCode,
TestScenePath,
} from './ui-jsx.test-utils' // IMPORTANT - THIS IMPORT MUST ALWAYS COME FIRST
import { canvasRectangle, CanvasVector } from '../../core/shared/math-utils'
import { setCanvasFrames } from '../editor/actions/act... | the_stack |
import assert from 'assert';
import * as Tp from 'thingpedia';
import * as ThingTalk from 'thingtalk';
import { stringEscape } from './escaping';
import { splitParams } from './tokenize';
import * as db from './db';
import * as exampleModel from '../model/example';
import * as deviceModel from '../model/device';
impor... | the_stack |
import { autoBindMethodsForReact } from 'class-autobind-decorator';
import classnames from 'classnames';
import React, { Fragment, PureComponent } from 'react';
import { arrayMove, SortableContainer, SortableElement, SortEndHandler } from 'react-sortable-hoc';
import { AUTOBIND_CFG, DEBOUNCE_MILLIS } from '../../../co... | the_stack |
import { localize } from 'vs/nls';
import { IDialogService } from 'vs/platform/dialogs/common/dialogs';
import { VSBuffer } from 'vs/base/common/buffer';
import Severity from 'vs/base/common/severity';
import { IWorkspaceFolderCreationData, IWorkspacesService } from 'vs/platform/workspaces/common/workspaces';
import { ... | the_stack |
import * as nunjucks from 'nunjucks'
import * as prettier from 'prettier'
import { plural } from 'pluralize'
import { DMMF } from '@prisma/generator-helper'
import { load as loadYaml } from 'js-yaml'
import {
DMMFPAS,
DMMFPAS_Field,
DMMFPAS_Directives,
CompilerOptions,
CompilerOptionsPrivate,
DM... | the_stack |
import { ChangeDetectorRef, Component, DebugElement, ElementRef, OnInit, ViewChild } from '@angular/core';
import { ComponentFixture, fakeAsync, flush, TestBed, tick } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModul... | the_stack |
// ***********************************************************
// This file is generated by the Angular build process.
// Please do not create manual edits or send pull requests
// modifying this file.
// ***********************************************************
// Angular depends transitively on these libraries.
//... | the_stack |
import { Component, Optional, OnInit } from '@angular/core';
import { CoreCourseModuleMainActivityComponent } from '@features/course/classes/main-activity-component';
import { CoreCourseContentsPage } from '@features/course/pages/contents/contents';
import { IonContent } from '@ionic/angular';
import { CoreSites } from... | the_stack |
import * as jstz from 'jstimezonedetect';
import 'styling/Globals';
import 'styling/_SearchButton';
import 'styling/_SearchInterface';
import 'styling/_SearchModalBox';
import { any, chain, each, find, first, indexOf, isEmpty, partition, tail } from 'underscore';
import { HistoryController } from '../../controllers/His... | the_stack |
import type {
BraintreeCallback,
BraintreeCurrencyAmount,
BraintreeAddress,
BraintreeLineItem,
BraintreeTokenizePayload,
} from "./commonsTypes";
import type { BraintreeClient } from "./clientTypes";
import type { ReactPayPalScriptOptions } from "../scriptProviderTypes";
export interface BraintreeS... | the_stack |
import * as React from 'react'
import {
useCombobox,
useMultipleSelection,
UseMultipleSelectionProps
} from 'downshift'
import matchSorter from 'match-sorter'
import Highlighter from 'react-highlight-words'
import useDeepCompareEffect from 'react-use/lib/useDeepCompareEffect'
import { FormLabel, FormLabelProps } ... | the_stack |
import { FsApi, File, Credentials, Fs, filetype, MakeId } from '../Fs';
import * as fs from 'fs';
import * as path from 'path';
import mkdir = require('mkdirp');
import del = require('del');
import { size } from '../../utils/size';
import { throttle } from '../../utils/throttle';
import { Transform, TransformCallback }... | the_stack |
import { SimpleChange, DebugElement } from '@angular/core';
import { ComponentFixture, TestBed, fakeAsync, tick } from '@angular/core/testing';
import { setupTestBed } from '@alfresco/adf-core';
import { of, throwError } from 'rxjs';
import { StartProcessCloudService } from '../services/start-process-cloud.service';
im... | the_stack |
import capabilities from "../capabilities/capabilities";
import format from "../format/format";
// Query params for the global filter.
// These should be preserved when navigating between pages in the app.
export const ROLE_PARAM_NAME = "role";
export const STATUS_PARAM_NAME = "status";
export const START_DATE_PARAM_... | the_stack |
import { AddressInfo } from "net";
import http from "http";
import fs from "fs-extra";
import path from "path";
import test, { Test } from "tape-promise/tape";
import { v4 as uuidv4 } from "uuid";
import express from "express";
import bodyParser from "body-parser";
import {
Containers,
FabricTestLedgerV1,
pruneDo... | the_stack |
export const SCORE_CARD_SIMPLE_PREDICATE: string = `
<PMML xmlns="http://www.dmg.org/PMML-4_4" version="4.4">
<Header/>
<DataDictionary numberOfFields="3">
<DataField name="input1" optype="continuous" dataType="double"/>
<DataField name="input2" optype="continuous" dataType="double"/>
<DataField name="... | the_stack |
'use strict';
import {IDisposable} from 'vs/base/common/lifecycle';
import URI from 'vs/base/common/uri';
import {IConfigurationService} from 'vs/platform/configuration/common/configuration';
import {ContextMenuService} from 'vs/platform/contextview/browser/contextMenuService';
import {IContextMenuService, IContextVie... | the_stack |
import * as assert from 'power-assert'
import tcb from '../../../src/index'
import * as Config from '../../config.local'
import * as common from '../../common/index'
const app = tcb.init(Config)
const db = app.database()
const _ = db.command
const offset = 60 * 1000
describe('transaction', () => {
let collection ... | the_stack |
import { getParsedResult, resolveReferences } from '../helpers';
import {
ParseObjectLiteral,
MetaResolver,
ParseArrayLiteral,
ParseLocation,
ParseValueType,
ParseProperty,
ParseTypeLiteral,
ParseDecorator,
applyTransformers,
ParseResult,
parseFile,
} from '../../src';
import { join } from 'path';... | the_stack |
import Bluebird from 'bluebird';
import { Koncorde } from '../shared/KoncordeWrapper';
import { Client } from '@elastic/elasticsearch';
import { JSONObject } from 'kuzzle-sdk';
import { EmbeddedSDK } from '../shared/sdk/embeddedSdk';
import PluginRepository from './pluginRepository';
import Store from '../shared/store... | the_stack |
'use strict';
export const positionKeywords: { [name: string]: string } = {
'bottom': 'Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.',
'center': 'Computes to ‘50%’ (‘left 50%’) for the horizontal position if the hor... | the_stack |
"use strict";
import tl = require('azure-pipelines-task-lib/task');
import path = require('path');
import * as kubectlConfigMap from "./kubernetesconfigmap";
import * as kubectlSecret from "./kubernetessecret";
import * as yaml from 'js-yaml';
import { IsJsonString, getDeploymentMetadata, getManifestFileUrlsFromArgu... | the_stack |
import { ChartConfig } from 'app/types/ChartConfig';
const config: ChartConfig = {
datas: [
{
label: 'metrics',
key: 'metrics',
required: true,
type: 'aggregate',
limit: 1,
},
{
label: 'filter',
key: 'filter',
type: 'filter',
},
],
styles: [
{
... | the_stack |
import * as ts from 'typescript';
import {
hasModifier,
WrappedAst,
getWrappedNodeAtPosition,
VariableUse,
UsageDomain,
isReassignmentTarget,
getPropertyOfType,
getLateBoundPropertyNames,
PropertyName,
isStatementInAmbientContext,
getLateBoundPropertyNamesOfPropertyName,
} fr... | the_stack |
import { arrayEquals, assert, copyWitNewLength } from "@apollo/federation-internals";
import { GraphPath, OpGraphPath, OpTrigger, PathIterator } from "./graphPath";
import { Edge, QueryGraph, RootVertex, isRootVertex, Vertex } from "./querygraph";
import { isPathContext } from "./pathContext";
function opTriggerEquali... | the_stack |
import { Injectable } from '@angular/core';
import { CoreApp } from '@services/app';
import { CoreCronDelegate } from '@services/cron';
import { CoreEvents } from '@singletons/events';
import { CoreFilepool } from '@services/filepool';
import { CoreSite } from '@classes/site';
import { CoreSites } from '@services/sites... | the_stack |
import { Project, SourceFile } from "../project";
import { createSessionWithProjectAndOpenDocuments } from "../sessionFactory";
import { RunResult, ServiceError, RunConfiguration } from "../session";
import { isNullOrUndefinedOrWhitespace } from "../stringExtensions";
import { DocumentsToOpen } from "../internals/sessi... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.