text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import * as bSemver from 'balena-semver';
import once = require('lodash/once');
import * as semver from 'semver';
import { isNotFoundResponse, onlyIf, treatAsMissingApplication } from '../util';
import type { BalenaRequestStreamResult } from '../../typings/balena-request';
import type * as DeviceTypeJson from '../typ... | the_stack |
import { SiteVariablesPrepared } from "@fluentui/react-northstar";
import Chart from "chart.js";
import { TeamsTheme } from "../../themes";
import { IChartData, IChartDataSet, IChartPatterns, IDraw } from "./ChartTypes";
import { buildPattern } from "./ChartPatterns";
export const random = (min: number, max: number): ... | the_stack |
import { isFunction } from "../interfaces.js";
import type { Behavior } from "../observation/behavior.js";
import type { Notifier, Subscriber } from "../observation/notifier.js";
import {
Binding,
BindingObserver,
ChildContext,
ExecutionContext,
ItemContext,
Observable,
RootContext,
} from "... | the_stack |
interface Param {
label?: string,
type: string,
init: number,
min?: number,
max?: number,
step?: number,
}
interface Filter {
transparent: string | null,
duration: string,
params?: {
[name: string]: Param
},
vertex: string,
fragment: string
}
// TODO(#58): add p... | the_stack |
import * as chai from "chai";
import { startup, TestHelpers } from "./util/testStartup";
import "reflect-metadata";
import { Author, DecoratorTest } from "./entity";
import { graphql } from "graphql";
const { expect } = chai;
describe("ConfigureLoader", () => {
let helpers: TestHelpers;
let dt: DecoratorTest | un... | the_stack |
import { Input, Output, EventEmitter, Component, Optional, Inject, ElementRef } from '@angular/core';
import { CoreFileHelper } from '@services/file-helper';
import { CoreSites } from '@services/sites';
import { CoreDomUtils } from '@services/utils/dom';
import { CoreTextUtils } from '@services/utils/text';
import { C... | the_stack |
import React, { useState } from "react";
import clsx from "clsx";
import { Link } from "react-router-dom";
import { makeStyles } from "@material-ui/core/styles";
import Table from "@material-ui/core/Table";
import TableBody from "@material-ui/core/TableBody";
import TableCell from "@material-ui/core/TableCell";
import ... | the_stack |
// encapsulates standard host entities into a simple interface
import {BytesDecoder, BytesEncoder} from "./bytes";
import {Convert} from "./convert";
import {ScFuncCallContext, ScViewCallContext} from "./contract";
import {ScAddress, ScAgentID, ScChainID, ScColor, ScHash, ScHname, ScRequestID} from "./hashtypes";
impo... | the_stack |
import { BroccoliConcatOptions, CSSBlocksEmberOptions, getConfig } from "@css-blocks/ember-utils";
import broccoliConcat = require("broccoli-concat");
import BroccoliDebug = require("broccoli-debug");
import funnel = require("broccoli-funnel");
import mergeTrees = require("broccoli-merge-trees");
import EmberApp from "... | the_stack |
import { Errors } from './Errors'
import { Rules } from './Rules'
import { Interceptors } from './Interceptors'
import { Collection } from '../helpers/Collection'
import { OptionalOptions, Options } from '../types/options'
import { FormDefaults, FormWithFields, SubmitCallback } from '../types/form'
import {
Field,
... | the_stack |
import type { Amount, Currency, Path, StreamType } from '../common'
import { Offer } from '../ledger'
import { OfferCreate, Transaction } from '../transactions'
import { TransactionMetadata } from '../transactions/metadata'
import type { BaseRequest, BaseResponse } from './baseMethod'
interface Book {
/**
* Spec... | the_stack |
import * as tcpqlog from "@/components/filemanager/pcapconverter/qlog_tcp_tls_h2";
import * as qlog from '@/data/QlogSchema';
import { PacketizationLane, PacketizationRange, LightweightRange, PacketizationPreprocessor, PacketizationDirection } from './PacketizationDiagramModels';
import QlogConnection from '@/data/Conn... | the_stack |
/// <reference path="../types.d.ts" />
import file = require("../FileUtil");
import xml = require("../xml/index");
import CodeUtil = require("./code_util");
import utils = require("../utils");
import exml_config = require("./exml_config");
/**
* 键是类名,值为这个类依赖的类名列表
*/
var classInfoList;
/**
* 键是文件路径,值为这个类依赖的类文件路径,且... | the_stack |
import * as coreClient from "@azure/core-client";
export const OperationListResult: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "OperationListResult",
modelProperties: {
value: {
serializedName: "value",
readOnly: true,
type: {
name: "Seque... | the_stack |
import { IDevSkimSettings, DevSkimProblem, Rule, FileInfo, DirectoryInfo, Run } from "./devskimObjects";
import { DevSkimWorker } from "./devskimWorker";
import { PathOperations } from "./utility_classes/pathOperations";
import { DevSkimWorkerSettings } from "./devskimWorkerSettings";
import { DevSkimSuppression } fro... | the_stack |
import {
arrayWith,
expect as cdkExpect,
haveResourceLike,
objectLike,
} from '@aws-cdk/assert';
import {
AmazonLinuxGeneration,
Instance,
InstanceType,
MachineImage,
Vpc,
WindowsVersion,
} from '@aws-cdk/aws-ec2';
import * as efs from '@aws-cdk/aws-efs';
import {
Arn,
App,
CfnResource,
Stac... | the_stack |
import {chain, debounce, each, every, extend, filter, find, findIndex, has, isEqual, min, pull, range, remove, some, sortBy, uniq, uniqueId} from 'lodash';
import {Models} from 'omnisharp-client';
import {BehaviorSubject, Observable, ReplaySubject, Subject, Subscriber} from 'rxjs';
import {CompositeDisposable, Disposab... | the_stack |
import { useRef } from 'react';
import GraphEditor, { GraphEditorRef } from './graphEditor';
import { cloneDeep } from 'lodash';
import MxFactory from '@/components/mxGraph';
import './linkDiagram.scss';
const Mx = MxFactory.create();
const { mxConstants } = Mx;
const VertexSize: any = {
// 图形单元大小
width: 280,
heigh... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import * as Mappers from "../models/creatorsMappers";
import * as Parameters from "../models/parameters";
import { AzureMapsManagementClientContext } from "../azureMapsManagementClientContext";
/** Class representing a Creators. */
expor... | the_stack |
import uPlot, {Axis as UAxis, Hooks, Series, Options, Plugin} from 'uplot';
import Yagr, {YagrMeta, YagrState} from './index';
import {TooltipOptions} from './plugins/tooltip/types';
import {LegendOptions} from './plugins/legend/legend';
import {CursorOptions} from './plugins/cursor/cursor';
type AllSeriesOptions = E... | the_stack |
declare namespace DraftJS {
interface KeyBindingUtil {
isCtrlKeyCommand(e: __React.SyntheticEvent): boolean;
isOptionKeyCommand(e: __React.SyntheticEvent): boolean;
hasCommandModifier(e: __React.SyntheticEvent): boolean;
}
interface Decorator {
strategy: (contentBlock: any, ... | the_stack |
import { COL_COUNT_CSS_VAR_NAME, ColHeightMap, debounce, DEFAULT_COLS, DEFAULT_DEBOUNCE_MS, DEFAULT_GAP_PX, DEFAULT_MAX_COL_WIDTH, ELEMENT_NODE_TYPE, findSmallestColIndex, GAP_CSS_VAR_NAME, getColCount, getNumberAttribute } from "./masonry-helpers";
/**
* Typings required for the resize observer.
*/
declare interfac... | the_stack |
// LUMA.GL
// WebGL version from cesium.js, used under Apached 2.0 License
// https://github.com/AnalyticalGraphicsInc/cesium/blob/master/LICENSE.md
// with the following modifications:
// - fxaa_sampleColor to integrate with luma.gl
// - Return color value with alpha to avoid another tap
// - Calculate luminance in Fx... | the_stack |
import ts from 'typescript';
import type {
DeclarationStatement,
Statement,
TypeNode,
InterfaceDeclaration,
TypeParameterDeclaration,
} from 'typescript';
const {factory, ModifierFlags, SyntaxKind} = ts;
import {Log} from '../logging/index.js';
import {TObject, TPredicate, TSubject} from '../triples/triple.j... | the_stack |
import * as path from 'path';
import {IConfusionMatrix} from '@microsoft/bf-dispatcher';
import {MultiLabelObjectConfusionMatrixExact} from '@microsoft/bf-dispatcher';
import {MultiLabelObjectConfusionMatrixSubset} from '@microsoft/bf-dispatcher';
import {ILabelArrayAndMap} from '@microsoft/bf-dispatcher';
import {Ex... | the_stack |
'use strict';
import * as kube from './kube-interfaces';
import * as shelljs from 'shelljs';
import * as config from './config';
import * as cli from './cli';
import * as vscode from 'vscode';
/* Flow of this extension
User opens extension
Interactive selection of debug type, ns, pod, container
Squashctl... | the_stack |
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class BillingService {
constructor() { }
private countries = [
{ value: "AF", label: "Afghanistan" },
{ value: "AL", label: "Albania" },
{ value: "DZ", label: "Algeria" },
{ value: "AS", label: "American Samoa... | the_stack |
import { deepStrictEqual, notDeepStrictEqual, ok } from "assert";
import { Parser } from "../lib/binary_parser";
function primitiveParserTests(
name: string,
factory: (array: Uint8Array | number[]) => Uint8Array
) {
describe(`Primitive parser (${name})`, () => {
function hexToBuf(hex: string): Uint8Array {
... | the_stack |
import * as Immutable from "immutable";
import * as _ from "lodash";
import { Align } from "./align";
import { Collection } from "./collection";
import { Event } from "./event";
import { Fill } from "./fill";
import { grouped, GroupedCollection, GroupingFunction } from "./groupedcollection";
import { Key } from "./key... | the_stack |
import * as React from 'react'
import { connect } from 'react-redux'
import { APIClient } from '../api/client'
import { AutoforwardConfig } from '../../../server/src/autoforward/types'
import { ForwardingState } from '../../../server/src/forward/reducer'
import { ForwardingConfig, ForwardingSpec, fwdTypes } from '../.... | the_stack |
type AuthTokens = {
access: string,
refresh: string,
expires: number
};
// Supported exchanges
type Exchange = 'NYSE' | 'NASDAQ' | 'TSX' | 'TSX-V' | 'NEO' | 'CC';
/**
* A ticker may be provided to the API as a string or an object with
* well-defined attributes of symbol, exchange, or id.
*
* @param {string}... | the_stack |
import Module from '../../__module';
import $ from '../../dom';
import * as _ from '../../utils';
import I18n from '../../i18n';
import { I18nInternalNS } from '../../i18n/namespace-internal';
import Tooltip from '../../utils/tooltip';
import { ModuleConfig } from '../../../types-internal/module-config';
import { Block... | the_stack |
import * as http from 'http';
import HTTPServer from './HTTPServer';
import FileReader from './FileReader';
import IBrowserConfiguration from './IBrowserConfiguration';
import InternalRoute from './InternalRoute';
import IVirtualRequest from './IVirtualRequest';
import OutgoingRequestHandler from './OutgoingRequestHand... | the_stack |
import assert from "assert";
import { Access } from "../Characteristic";
import { GeneratedCharacteristic, GeneratedService } from "./generate-definitions";
const enum PropertyId {
NOTIFY = 0x01,
READ = 0x02,
WRITE = 0x04,
BROADCAST = 0x08, // BLE
ADDITIONAL_AUTHORIZATION = 0x10,
TIMED_WRITE = 0x20,
HIDD... | the_stack |
import { Block, BlockCompiler, BlockFactory, SerializedSourceAnalysis, resolveConfiguration } from "@css-blocks/core";
import { BroccoliTreeImporter, EmberAnalysis, EmberAnalyzer, ResolvedCSSBlocksEmberOptions, TEMPLATE_TYPE, identToModulePath, isBroccoliTreeIdentifier, pathToIdent } from "@css-blocks/ember-utils";
imp... | the_stack |
import { context, trace, SpanStatusCode } from '@opentelemetry/api';
import { AsyncHooksContextManager } from '@opentelemetry/context-async-hooks';
import { SemanticAttributes } from '@opentelemetry/semantic-conventions';
import * as testUtils from '@opentelemetry/contrib-test-utils';
import {
BasicTracerProvider,
... | the_stack |
import React, { useEffect, useMemo, useRef, useState } from "react"
import { isEqual } from "lodash"
import useDeepCompareEffect from "use-deep-compare-effect"
import { RelayRefetchProp, createRefetchContainer, graphql } from "react-relay"
import { useSystemContext } from "v2/System"
import { useTracking } from "v2/Sys... | the_stack |
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
import {
ArrayExt, ChainIterator, IIterator, chai... | the_stack |
import FDBCursor from "./FDBCursor";
import FDBCursorWithValue from "./FDBCursorWithValue";
import FDBIndex from "./FDBIndex";
import FDBKeyRange from "./FDBKeyRange";
import FDBRequest from "./FDBRequest";
import FDBTransaction from "./FDBTransaction";
import canInjectKey from "./lib/canInjectKey";
import enforceRange... | the_stack |
import type {
AsyncValidatorFn,
TriggerType,
ValidateError,
ValidateErrors,
ValidateStatus,
ValidatorFn,
ValidatorOptions,
} from './types'
import type { ComputedRef, Ref, WatchCallback, WatchOptions, WatchStopHandle } from 'vue'
import { computed, ref, shallowRef, watch, watchEffect } from 'vue'
import... | the_stack |
import * as React from 'react';
import { useTranslation } from 'react-i18next';
import {
ActionServiceProvider,
LazyActionMenu,
ActionMenu,
ActionMenuVariant,
Status,
} from '@console/shared';
import PodRingSet from '@console/shared/src/components/pod/PodRingSet';
import { AddHealthChecks, EditHealthChecks } ... | the_stack |
export const Moves: {[k: string]: ModdedMoveData} = {
acid: {
inherit: true,
secondary: {
chance: 33,
boosts: {
def: -1,
},
},
target: "normal",
},
amnesia: {
inherit: true,
boosts: {
spd: 2,
spa: 2,
},
},
aurorabeam: {
inherit: true,
secondary: {
chance: 33,
boosts: {
... | the_stack |
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
export enum Architecture {
ARM64 = "ARM64",
ARMHF = "ARMHF",
X86_64 = "X86_64",
}
export interface BatchDeleteWorldsRequest {
/**
* <p>A list of Amazon Resource Names (arns) that correspond to worlds t... | the_stack |
import * as chokidar from 'chokidar';
import * as path from 'path';
import * as vscode from 'vscode';
import * as nls from 'vscode-nls';
import { CMakeTools } from '@cmt/cmakeTools';
import * as logging from '@cmt/logging';
import { fs } from '@cmt/pr';
import * as preset from '@cmt/preset';
import * as util from '@cm... | the_stack |
import { Router, UrlTree } from '@angular/router';
import { combineLatest as observableCombineLatest, Observable } from 'rxjs';
import {
debounceTime,
filter,
find,
map,
mergeMap,
switchMap,
take,
takeWhile,
tap,
withLatestFrom
} from 'rxjs/operators';
import { hasNoValue, hasValue, hasValueOperator... | the_stack |
import { Vector3, Box3 } from 'three'
import { Signal } from 'signals'
import { Debug, Log, ColormakerRegistry } from '../globals'
import { defaults } from '../utils'
import { AtomPicker, BondPicker } from '../utils/picker'
import { copyWithin, arrayMin, arrayMax } from '../math/array-utils'
import BitArray from '../u... | the_stack |
import { appendArray } from '../common/collectionUtils';
import { assert } from '../common/debug';
import { DiagnosticAddendum } from '../common/diagnostic';
import { DiagnosticRule } from '../common/diagnosticRules';
import { convertOffsetsToRange } from '../common/positionUtils';
import { TextRange } from '../common/... | the_stack |
import {Mutable, Class, Arrays, AnyTiming, Timing} from "@swim/util";
import {Affinity, MemberFastenerClass, Property} from "@swim/component";
import {AnyLength, Length, AnyR2Box, R2Box} from "@swim/math";
import {AnyColor, Color} from "@swim/style";
import {Look, ThemeAnimator} from "@swim/theme";
import {
ModalOpti... | the_stack |
import Vue from 'vue';
import type { SimulationLinkDatum } from 'd3-force';
// eslint-disable-next-line no-duplicate-imports
import * as d3 from 'd3-force';
import { debounce } from 'throttle-debounce';
import ResizeObserver from 'resize-observer-polyfill';
import type { MemoryGraphInspection, MemoryGraphNode } f... | the_stack |
import { jest, describe, it, expect } from "@jest/globals";
jest.mock("../fetcher.ts", () => ({
fetch: jest.fn().mockImplementation(() =>
Promise.resolve(
new Response(undefined, {
headers: { Location: "https://arbitrary.pod/resource" },
})
)
),
}));
import { Response } from "cross-fetc... | the_stack |
const mocked = {
features: {
isHTTPS: () => false,
isBrowser: () => typeof window !== 'undefined',
isIE11OrLess: () => false,
isLocalhost: () => false
}
};
jest.mock('../../../../lib/features', () => {
return mocked.features;
});
import { getWellKnown, getKey } from '../../../../lib/oidc/endpoint... | the_stack |
import { IExtractor, ExtractResult } from "@microsoft/recognizers-text";
import { Constants, TimeTypeConstants } from "./constants";
import { RegExpUtility, Match, StringUtility } from "@microsoft/recognizers-text-number";
import { Token, DateTimeFormatUtil, DateTimeResolutionResult, IDateTimeUtilityConfiguration, Date... | the_stack |
import React from "react";
import { Theme } from "../monaco/theme";
import { SchemeType } from "../SchemeType";
import { FocusContext } from "./FocusContext";
import { SchemeRuntimeContext } from "./SchemeRuntimeProvider";
import { ThemeContext } from "./ThemeProvider";
import { ToggleSwitch } from "./ToggleSwitch";
i... | the_stack |
import { Ajv } from 'ajv';
import ajv = require('ajv');
import * as cloneDeep from 'lodash.clonedeep';
import * as _get from 'lodash.get';
import { createRequestAjv } from '../../framework/ajv';
import {
OpenAPIV3,
SerDesMap,
Options,
ValidateResponseOpts,
} from '../../framework/types';
interface TraversalSta... | the_stack |
process.env.NODE_ENV = 'test';
import * as assert from 'assert';
import * as childProcess from 'child_process';
import { async, signup, request, post } from './utils';
describe('API visibility', () => {
let p: childProcess.ChildProcess;
before(done => {
p = childProcess.spawn('node', [__dirname + '/../index.js']... | the_stack |
import { calculatePosition, OffsetPosition } from '../../src/common/position';
import * as collision from '../../src/common/collision';
import {isNullOrUndefined } from '@syncfusion/ej2-base';
function getPop(popupContent: string, container: Node = null): Node {
let elem: HTMLDivElement = document.createElement(... | the_stack |
import { showDialog, Dialog } from '@jupyterlab/apputils';
import { INotification } from 'jupyterlab_toastify';
import * as React from 'react';
import semver from 'semver';
import { style } from 'typestyle';
import { Conda } from '../tokens';
import { CondaPkgList } from './CondaPkgList';
import {
CondaPkgToolBar,
... | the_stack |
import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import isUndefined from 'lodash/isUndefined';
import { Draft } from 'immer';
import * as LAYOUT from '../../constants/layout-options';
import { DARK_GREY } from '../../constants/colors';
import { generateDefaultColorMap } from '../../utils/style-utils/color... | the_stack |
import { Injectable } from '@angular/core';
import { DagModelItem } from './interfaces/dag-model-item';
import { BehaviorSubject, Observable } from 'rxjs';
@Injectable()
export class DagManagerService<T extends DagModelItem> {
private dagModelBs: BehaviorSubject<Array<Array<T>>> = new BehaviorSubject<
Array<Arra... | the_stack |
import * as msal from '@azure/msal-node';
import * as crypto from 'crypto';
import { URL } from 'url';
import { CdmHttpClient, CdmHttpRequest, CdmHttpResponse, TokenProvider } from '../Utilities/Network';
import { StorageUtils } from '../Utilities/StorageUtils';
import { NetworkAdapter } from './NetworkAdapter';
import... | the_stack |
import '../../../setup'
/* External Imports */
import { ethers } from 'hardhat'
import { constants, Contract, ContractFactory, Signer } from 'ethers'
import _ from 'lodash'
/* Internal Imports */
import {
DUMMY_ACCOUNTS,
DUMMY_BYTES32,
EMPTY_ACCOUNT_CODE_HASH,
NON_ZERO_ADDRESS,
NON_NULL_BYTES32,
STORAGE_X... | the_stack |
import { Lang } from '../../../../../resources/languages';
import NetRegexes from '../../../../../resources/netregexes';
import { UnreachableCode } from '../../../../../resources/not_reached';
import Outputs from '../../../../../resources/outputs';
import ZoneId from '../../../../../resources/zone_id';
import { Oo... | the_stack |
import { EventEmitter, Pipe } from '@angular/core';
import { ComponentFixture, TestBed, waitForAsync}
from '@angular/core/testing';
import { HttpClientTestingModule } from
'@angular/common/http/testing';
import { I18nLanguageCodeService } from 'services/i18n-language-code.service';
import { SearchBarComponent } fro... | the_stack |
import { expect } from "chai";
import { MemoryDatastore } from "interface-datastore";
import { Buffer } from "buffer";
import { BlockStore, BlockService } from "..";
import { DAGService } from ".";
import multihashing from "multihashing-async";
import { Block } from "../utils";
import { collect } from "streaming-iterab... | the_stack |
import * as child_process from "child_process";
import * as fs from "fs-extra-promise";
import * as path from "path";
import * as UglifyJS from "uglify-js";
import * as os from "os";
import rimraf from "rimraf";
const root = path.resolve(__filename, "../../");
import * as pbjs from "protobufjs/cli/pbjs";
import * as pb... | the_stack |
import commandLineArgs = require("command-line-args")
import { getLogger } from "log4js"
import Long = require("long")
import { IResponseError } from "./api/client/rest"
import { HttpServer } from "./api/server/server"
import { Address } from "./common/address"
import { ITxPool } from "./common/itxPool"
import { TxPool... | the_stack |
import * as React from "react";
import { getThemeService } from "@core/service-registry";
import { useState } from "react";
import { Sp48ButtonClickArgs } from "./ui-core-types";
const NORMAL_WIDTH = 100;
/**
* Component properties
*/
interface Props {
zoom: number;
code: number;
main?: string;
keyword?: ... | the_stack |
import { Component, OnInit, OnDestroy, ViewChild, ElementRef } from '@angular/core';
import { NotificationService } from 'notification/notification.service';
import { OrderBy, SortPipe } from 'common/sort.pipe';
import { Range } from 'common/virtual-list.component';
import { WebFilesService } from './webfiles.service';... | the_stack |
import * as astTypes from 'ast-types';
import {NodePath} from 'ast-types';
import * as dom5 from 'dom5';
import * as estree from 'estree';
import {Identifier, Program} from 'estree';
import {Iterable as IterableX} from 'ix';
import * as jsc from 'jscodeshift';
import {EOL} from 'os';
import * as parse5 from 'parse5';
i... | the_stack |
import { ComplexModel } from '../../../test/models'
import { Form, FormId, formIdMapper, FormType } from '../../../test/models/real-world'
import { CollectionProperty } from '../../decorator/impl/collection/collection-property.decorator'
import { PartitionKey } from '../../decorator/impl/key/partition-key.decorator'
im... | the_stack |
import * as React from 'react';
import * as PropTypes from 'prop-types';
import ReactResizeDetector from 'react-resize-detector';
import {clamp} from 'lodash';
import classNames from 'classnames';
import GestureControls from '../container/gestureControls';
import {GridType, MapProperties} from '../util/googleDriveUtil... | the_stack |
import {
createState,
useState,
StateValueAtRoot,
StateValueAtPath,
State,
none,
Path,
Plugin,
PluginCallbacks,
PluginCallbacksOnSetArgument,
DevTools,
DevToolsID,
DevToolsExtensions
} from '@hookstate/core'
import { createStore } from 'redux';
import { devToolsEnhan... | the_stack |
import type { DecompressedFile, Externals, Logger } from '../common/index.js'
import { Uri } from '../common/index.js'
import { TwoWayMap } from '../common/TwoWayMap.js'
import type { Dependency } from './Dependency.js'
import type { RootUriString } from './fileUtil.js'
import { fileUtil } from './fileUtil.js'
export ... | the_stack |
import { gql } from '@apollo/client';
import * as Apollo from '@apollo/client';
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> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T... | the_stack |
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { Expression } from '../expression';
import { ExpressionType } from '../expressionType';
import { MemoryInterface } from '../memory';
import { PredicateComparer, PredicateComparers } from './optimizer';
import { R... | the_stack |
import * as spec from '@jsii/spec';
import * as crypto from 'crypto';
import * as fs from 'fs-extra';
import * as path from 'path';
import { fixturize } from '../fixtures';
import { extractTypescriptSnippetsFromMarkdown } from '../markdown/extract-snippets';
import {
TypeScriptSnippet,
typeScriptSnippetFromSource,... | the_stack |
/// <reference types="activex-office" />
declare namespace VBIDE {
const enum vbext_CodePaneview {
vbext_cv_FullModuleView = 1,
vbext_cv_ProcedureView = 0,
}
const enum vbext_ComponentType {
vbext_ct_ActiveXDesigner = 11,
vbext_ct_ClassModule = 2,
vbext_ct_Document ... | the_stack |
import type {
SchemaBuilder,
Build,
Context,
Plugin,
Options,
} from "graphile-build";
import type { QueryBuilder, PgClass } from "graphile-build-pg";
import type {
// ONLY import types here, not values
// Misc:
GraphQLIsTypeOfFn,
// Resolvers:
GraphQLFieldResolver,
GraphQLTypeResolver,
GraphQL... | the_stack |
import { isType, isNamedType, parse, isOutputType, isInputType } from '../graphql';
import type {
GraphQLType,
GraphQLNamedType,
GraphQLOutputType,
GraphQLInputType,
} from '../graphql';
import { isFunction } from './is';
import { inspect } from './misc';
import { dedent } from './dedent';
import { ObjectTypeCo... | the_stack |
import { createElement } from '@syncfusion/ej2-base';
import { Diagram } from '../../../src/diagram/diagram';
import { NodeModel } from '../../../src/diagram/objects/node-model';
import { ShadowModel, RadialGradientModel, StopModel,LinearGradientModel } from '../../../src/diagram/core/appearance-model';
import { Canvas... | the_stack |
import {Level, LoggingConfig, ObservationStage, Router} from 'esp-js';
import {defaultModelFactory, OOModelTestState, ReceivedEvent, TestEvent, TestImmutableModel, TestState} from './testModel';
import {TestStateHandlerMap, TestStateHandlerModel, TestStateObjectHandler} from './stateHandlers';
import {PolimerModel, Pol... | the_stack |
import 'jest-extended';
import { debugLogger, toString } from '@terascope/utils';
import {
xLuceneFieldType,
xLuceneTypeConfig,
GeoShapeType,
CoordinateTuple,
ESGeoShapeType,
GeoShapeRelation
} from '@terascope/types';
import { randomPolygon } from '@turf/random';
import { getCoords } from '@tur... | the_stack |
import * as vscode from 'vscode';
import { debounce } from 'debounce';
import * as utils from './utils';
import { Constants } from './constants';
import {
LeoBridgePackage,
RevealType,
ArchivedPosition,
Icon,
ConfigMembers,
ReqRefresh,
ChooseDocumentItem,
LeoDocument,
UserCommand,
... | the_stack |
import type { ErrorObject } from 'ajv'
import cx from 'classnames'
import * as FF from 'final-form'
import * as FP from 'fp-ts'
import * as R from 'ramda'
import * as React from 'react'
import * as RF from 'react-final-form'
import * as urql from 'urql'
import * as M from '@material-ui/core'
import * as Intercom from ... | the_stack |
import PropTypes from 'prop-types';
import React from 'react';
import FormsyContext from './FormsyContext';
import {
ComponentWithStaticAttributes,
FormsyContextInterface,
RequiredValidation,
ValidationError,
Validations,
WrappedComponentClass,
} from './interfaces';
import * as utils from './utils';
impor... | the_stack |
import { IInitAsyncOptions, normalizeInitPayload } from './init';
import { ReduxDispatch, Dictionary, ActiveMapTool } from '../api/common';
import { IGenericSubjectMapLayer, IInitAppActionPayload, isGenericSubjectMapLayer, MapInfo } from './defs';
import { ToolbarConf, convertFlexLayoutUIItems, parseWidgetsInAppDef, pr... | the_stack |
import type { ExecutorContext } from '@nrwl/devkit';
import type { ESLint } from 'eslint';
import { resolve } from 'path';
import type { Schema } from './schema';
// If we use esm here we get `TypeError: Cannot redefine property: writeFileSync`
// eslint-disable-next-line @typescript-eslint/no-var-requires
const fs = ... | the_stack |
import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule, { RULE_NAME } from '../../../lib/rules/await-async-query';
import {
ASYNC_QUERIES_COMBINATIONS,
ASYNC_QUERIES_VARIANTS,
combineQueries,
SYNC_QUERIES_COMBINATIONS,
} from '../../../lib/utils';
import { createRuleTester } from '../tes... | the_stack |
import {
languages as Languages, workspace as Workspace, TextDocument, Event as VEvent, DocumentSelector as VDocumentSelector, EventEmitter, Event,
Disposable, CancellationToken, ProviderResult, TextEdit as VTextEdit, ReferenceProvider, DefinitionProvider, SignatureHelpProvider,
HoverProvider, CompletionItemProvider... | the_stack |
import { RuleBlock, Token } from 'markdown-it';
import { openTag as openTagTabular, StatePushTabularBlock, StatePushDiv } from './begin-tabular';
import { StatePushIncludeGraphics } from '../md-inline-rule/includegraphics';
import { openTag as openTagAlign, SeparateInlineBlocksBeginAlign } from './begin-align';
import ... | the_stack |
import Map, {MapOptions} from '../map';
import Marker from '../marker';
import DOM from '../../util/dom';
import simulate from '../../../test/unit/lib/simulate_interaction';
import {setMatchMedia, setPerformance, setWebGlContext} from '../../util/test/util';
function createMap() {
return new Map({container: DOM.cr... | the_stack |
import { PdfTextWebLink, PdfFontFamily, PointF, PdfGridRow, PdfColor } from './../../../src/index';
import { PdfPage, PdfDocument, PdfFont, PdfStandardFont, PdfSolidBrush } from './../../../src/index';
import { RectangleF, PdfDocumentLinkAnnotation, PdfDestination, PdfPen } from './../../../src/index';
import { SizeF, ... | the_stack |
import { TestBed } from '@angular/core/testing';
import { Component, ViewChild } from '@angular/core';
import * as Infragistics from '../../public-api';
describe('Infragistics Angular Grid', () => {
beforeEach(() => {
TestBed.configureTestingModule({
declarations: [Infragistics.Column, Infragi... | the_stack |
import _ = require('lodash');
import url = require('url');
import type dns = require('dns');
import net = require('net');
import tls = require('tls');
import http = require('http');
import https = require('https');
import * as h2Client from 'http2-wrapper';
import CacheableLookup from 'cacheable-lookup';
import { decod... | the_stack |
import react = require('react');
import react_dom = require('react-dom');
import shallow_equals = require('shallow-equals');
import style = require('ts-style');
import underscore = require('underscore');
import app_theme = require('./theme');
import colors = require('./controls/colors');
import { div, input } from './... | the_stack |
"use strict";
import {OpenSpec2, OpenSpec3, OS3Operation} from "@tsed/openspec";
import {cleanObject} from "@tsed/core";
const HTTP_METHODS = ["get", "put", "post", "delete", "options", "head", "patch", "trace"];
const SCHEMA_PROPERTIES = [
"format",
"minimum",
"maximum",
"exclusiveMinimum",
"exclusiveMaximu... | the_stack |
import { ElementCore, RelativeFunction } from "./core/ElementCore";
import { Texture } from "./Texture";
import { ElementChildList } from "./ElementChildList";
import { Stage } from "./Stage";
import { ElementTexturizer } from "./core/ElementTexturizer";
import {
ElementListeners,
ElementEventCallback,
Elem... | the_stack |
import * as React from "react";
import { useState, useEffect } from "react";
import { RNSStyle } from "react-nativescript";
import { Color } from "@nativescript/core";
export class GameLoop {
private readonly subscribers = [];
private loopID: NodeJS.Timeout|null = null;
constructor(private readonly frameRate... | the_stack |
import type { DisabledTimes, PanelMode, PickerMode, RangeValue, EventValue } from './interface';
import type { PickerBaseProps, PickerDateProps, PickerTimeProps } from './Picker';
import type { SharedTimeProps } from './panels/TimePanel';
import PickerTrigger from './PickerTrigger';
import PickerPanel from './PickerPan... | the_stack |
import SqrlErr, { ParseErr } from './err'
import { trimWS } from './utils'
/* TYPES */
import { SqrlConfig } from './config'
export type TagType = 'h' | 'b' | 'i' | 'r' | 'c' | 'e' | 'q' | 's'
// TODO: change to anagram "QBIRCHES"
export type TemplateAttribute = 'c' | 'f' | 'fp' | 'p' | 'n' | 'res' | 'err'
export ty... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.