text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import 'chrome://resources/cr_elements/hidden_style_css.m.js';
import 'chrome://resources/cr_elements/shared_vars_css.m.js';
import './print_preview_vars_css.js';
import '../strings.m.js';
import {assert} from 'chrome://resources/js/assert.m.js';
import {isMac} from 'chrome://resources/js/cr.m.js';
import {I18nMixin} ... | the_stack |
import Conditions from '../../../../../resources/conditions';
import NetRegexes from '../../../../../resources/netregexes';
import { Responses } from '../../../../../resources/responses';
import ZoneId from '../../../../../resources/zone_id';
import { RaidbossData } from '../../../../../types/data';
import { Trigg... | the_stack |
import BigNumber from 'bignumber.js'
/**
*
* TEST ENGINE PARAMETERS
*
*/
const maxStrikePrice = 5000
const maxStrikeWidth = 5000
const minStrikePrice = 1
const maxAmount = 5000
const maxAmountDifference = 5000
const minAmount = 0
const maxCollateral = 10000
const minCollateral = 0
const minSpot = 0
const maxSpo... | the_stack |
import { HassEntity } from "home-assistant-js-websocket";
import {
BINARY_STATE_OFF,
BINARY_STATE_ON,
DOMAINS_WITH_DYNAMIC_PICTURE,
} from "../common/const";
import { computeDomain } from "../common/entity/compute_domain";
import { computeStateDisplay } from "../common/entity/compute_state_display";
import { comp... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import {
LongTermRetentionBackup,
LongTermRetentionBackupsListByDatabaseOptionalParams,
LongTermRetentionBackupsListByLocationOptionalParams,
LongTermRetentionBackupsListByServerOpt... | the_stack |
import {App, Editor, EventRef, MarkdownView, Menu, Modal, Notice, Plugin, PluginSettingTab, Setting, TAbstractFile, TFile} from 'obsidian';
import {LinterSettings, Options, rules, getDisabledRules} from './rules';
import DiffMatchPatch from 'diff-match-patch';
import moment from 'moment';
import {BooleanOption, Dropdow... | the_stack |
'use strict';
import * as async from 'async';
import { AuthRequest, AuthResponse, EmailMissingHandler, ExpressHandler, IdentityProvider, TokenRequest, AccessToken, CheckRefreshDecision, TokenInfo } from './types';
import { profileStore } from './profile-store'
const { debug, info, warn, error } = require('portal-env')... | the_stack |
import nodePath from 'path';
import { getOrCreateModel, pagePathUtils, pathUtils } from '@growi/core';
import escapeStringRegexp from 'escape-string-regexp';
import mongoose, {
Schema, Model, Document, AnyObject,
} from 'mongoose';
import mongoosePaginate from 'mongoose-paginate-v2';
import uniqueValidator from 'mon... | the_stack |
import { ResponseContext, RequestContext, HttpFile } from '../http/http.ts';
import * as models from '../models/all.ts';
import { Configuration} from '../configuration.ts'
import { ApiResponse } from '../models/ApiResponse.ts';
import { Category } from '../models/Category.ts';
import { Order } from '../models/Order.ts... | the_stack |
import * as areEqual from 'fbjs/lib/areEqual';
import * as invariant from 'fbjs/lib/invariant';
import * as warning from 'fbjs/lib/warning';
import {
__internal,
getSelector,
IEnvironment,
Disposable,
Snapshot,
Variables,
getVariablesFromFragment,
OperationDescriptor,
getFragmentIden... | the_stack |
import { ActivatedRoute } from '@angular/router';
import { Store } from '@ngrx/store';
import { combineLatest, Observable } from 'rxjs';
import { filter, first, map, publishReplay, refCount, switchMap, tap } from 'rxjs/operators';
import { PermissionConfig } from '../../../../core/src/core/permissions/current-user-per... | the_stack |
'use strict';
// This must be the first statement otherwise modules might got loaded with
// the wrong locale.
import { TextEdit, Range, QuickPickItem, SnippetString, Command, EventEmitter, TreeItem, TreeDataProvider, commands, window, env, workspace, ExtensionContext, Uri, TreeItemCollapsibleState, WorkspaceEdit... | the_stack |
import { DocumentNode } from "graphql";
import {
makePrismaClientClass,
BaseClientOptions,
Model
} from "prisma-client-lib";
import { typeDefs } from "./prisma-schema";
export type AtLeastOne<T, U = { [K in keyof T]: Pick<T, K> }> = Partial<T> &
U[keyof U];
export type Maybe<T> = T | undefined | null;
export... | the_stack |
import {
ComponentFactoryResolver,
ComponentRef,
Directive,
ElementRef,
EventEmitter,
Host,
Input,
OnChanges,
OnDestroy,
OnInit,
Optional,
Output,
Self,
SimpleChanges,
SkipSelf
} from '@angular/core';
import {
AbstractControl,
AbstractControlDirective,
AsyncValidatorFn,
ControlCont... | the_stack |
import { Component, Property, NotifyPropertyChanges, Internationalization, ModuleDeclaration } from '@syncfusion/ej2-base';
import { EmitType, INotifyPropertyChanged, setCulture, Browser } from '@syncfusion/ej2-base';
import { Event, EventHandler, Complex, Collection, isNullOrUndefined, remove, createElement } from '@s... | the_stack |
import {
NodeContext,
PrebootAppData,
PrebootData,
PrebootEvent,
PrebootWindow,
ServerClientRoot,
} from '../common/preboot.interfaces';
import {getNodeKeyForPreboot} from '../common/get-node-key';
export function _window(): PrebootWindow {
return {
prebootData: (window as any)['prebootData'],
ge... | the_stack |
import { RegistryEntry } from '../../src/registries/RegistryEntry';
import * as path from 'path';
import * as fs from 'fs-extra';
import * as chai from 'chai';
import * as sinon from 'sinon';
import * as chaiAsPromised from 'chai-as-promised';
import { FileRegistry } from '../../src/registries/FileRegistry';
chai.sho... | the_stack |
import { FEED_PACKAGE, NPM_PACKAGE } from "@igniteui/angular-templates";
import { GoogleAnalytics, GoogleAnalyticsParameters, ProjectConfig } from "@igniteui/cli-core";
import * as fs from "fs-extra";
import { EOL } from "os";
import { parse } from "path";
import * as cli from "../../packages/cli/lib/cli";
import { del... | the_stack |
import {getTestEnv} from './prepare';
const env = getTestEnv();
const x509 = env.library;
const envName = env.envName;
import sample from './sample_crt';
import rsa from 'js-crypto-rsa';
import {Key} from 'js-crypto-key-utils';
import {HashTypes, SignatureType} from '../src/typedef';
const hashes: Array<HashTypes> =... | the_stack |
import * as msRest from "@azure/ms-rest-js";
export const acceptLanguage: msRest.OperationParameter = {
parameterPath: "acceptLanguage",
mapper: {
serializedName: "accept-language",
defaultValue: 'en-US',
type: {
name: "String"
}
}
};
export const apiVersion: msRest.OperationQueryParameter ... | the_stack |
import detectIndent from 'detect-indent';
// @ts-ignore AUTO-ADDED-AFTER-MIGRATION-PLEASE-FIX!
import detectNewline from 'detect-newline';
import fs from 'fs-extra';
import * as path from 'path';
import R from 'ramda';
import stringifyPackage from 'stringify-package';
import { DEPENDENCIES_FIELDS, PACKAGE_JSON } from ... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Group } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { ApiManagementClient } from "../apiManagementClien... | the_stack |
import * as initDebug from 'debug';
import * as Token from 'token-types';
import * as util from '../common/Util';
import { AttachedPictureType, ID3v2MajorVersion, TextEncodingToken } from './ID3v2Token';
import { IWarningCollector } from '../common/MetadataCollector';
import { Genres } from '../id3v1/ID3v1Parser';
co... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* @interface
* An interface representing AvailableOperationDisplay.
* An operation available at the listed Azure resource provider.
... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormConnection_Information {
interface Header extends DevKit.Controls.IHeader {
/** Unique identifier of the source record. */
Record1Id: DevKit.Controls.Lookup;
}
interface tab_details_Sections {
connect_from: DevKit.... | the_stack |
import { PivotCommon } from '../base/pivot-common';
import * as events from '../../common/base/constant';
import { IFieldOptions, IField } from '../../base/engine';
import { SummaryTypes } from '../../base/types';
import { FieldDroppedEventArgs, FieldDropEventArgs } from '../base/interface';
import { OlapEngine, IOlapF... | the_stack |
'use strict';
import URI from 'vs/base/common/uri';
import winjs = require('vs/base/common/winjs.base');
import editorCommon = require('vs/editor/common/editorCommon');
import modes = require('vs/editor/common/modes');
import htmlWorker = require('vs/languages/html/common/htmlWorker');
import { CompatMode, createWordR... | the_stack |
import * as child_process from "child_process";
import * as fs from "fs-extra";
import { BookMetadata, projectAon, Language } from "..";
/** Tool to download book data from the Project Aon SVN */
export class BookData {
/**
* URL base directory for extra contents for this application.
*/
private sta... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { SharedPrivateLinkResources } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { SearchManagementClient } fro... | the_stack |
import {fetchRunsSucceeded} from '../../runs/actions';
import {buildHparamsAndMetadata} from '../../runs/data_source/testing';
import {buildRun} from '../../runs/store/testing';
import {DiscreteFilter, DomainType, IntervalFilter} from '../types';
import * as actions from './hparams_actions';
import {reducers} from './h... | the_stack |
export interface paths {
"/2/users": {
/** This endpoint returns information about users. Specify users by their ID. */
get: operations["findUsersById"];
};
"/2/users/{id}": {
/** This endpoint returns information about a user. Specify user by ID. */
get: operations["findUserById"];
};
"/2/use... | the_stack |
import * as sinon from "sinon";
import {Clipper} from "../../../scripts/clipperUI/frontEndGlobals";
import {Status} from "../../../scripts/clipperUI/status";
import {OneNoteApiUtils} from "../../../scripts/clipperUI/oneNoteApiUtils";
import {SectionPicker, SectionPickerClass, SectionPickerState} from "../../../script... | the_stack |
import { Translation } from '../i18';
// spanish
//
// Translated by: Alejandro Iván Melo Domínguez (https://github.com/alejandroivan)
export const translation: Translation = {
__plugins: {
reload: {
failed: 'No se pudo recargar plugins: {0}',
loaded: {
more: '{0:t... | the_stack |
import {
build as buildQueryParams,
IOptions,
parse as parseQueryParams
} from 'search-params'
import { URLParamsEncodingType, decodeParam, encodeParam } from './encoding'
import { defaultOrConstrained } from './rules'
import tokenise, { Token } from './tokeniser'
export { URLParamsEncodingType }
const exists ... | the_stack |
import * as mockery from 'mockery';
import * as assert from 'assert';
import * as sinon from 'sinon';
import {utils, ChromeDebugAdapter, ChromeConnection, chromeTargetDiscoveryStrategy, logger} from 'vscode-chrome-debug-core';
/** Not mocked - use for type only */
import {IOSDebugAdapter as _IOSDebugAdapter} from '../... | the_stack |
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, NavigationEnd, Router } from '@angular/router';
import { IdentityService } from '../services/identity.service';
import { ClientService } from '../services/client.service';
import { InitializationService } from '../services/initialization.servic... | the_stack |
import { ipcRenderer, remote } from 'electron';
import React, { Component } from 'react';
import { isEqual } from 'lodash';
import styles from './browser.css';
import { AddressBar } from '$Components/AddressBar';
import { TabBar } from '$Components/TabBar';
import { TabContents } from '$Components/TabContents';
// im... | the_stack |
import * as React from 'react';
import clsx from 'clsx';
import PropTypes from 'prop-types';
import { unstable_composeClasses as composeClasses, useButton } from '@mui/base';
import { OverridableComponent } from '@mui/types';
import {
unstable_capitalize as capitalize,
unstable_useId as useId,
unstable_useForkRef... | the_stack |
import { useState, HTMLProps, HTMLAttributes, KeyboardEvent } from 'react';
import { composeEventHandlers } from '@zendeskgarden/container-utilities';
const GRID_KEYS = ['ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Home', 'End'];
export interface IUseGridProps {
/** Determines if navigation uses right-to-lef... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* Manages a logz Monitor.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azure";
*
* con... | the_stack |
import React, { Component } from 'react'
import {
StyleSheet,
View,
Image,
BackHandler,
Dimensions,
TouchableNativeFeedback,
KeyboardAvoidingView,
InteractionManager,
Keyboard,
TextInput,
Animated,
StatusBar,
Platform
} from 'react-native'
import Ionicons from 'react-native-vector-icons/Ionic... | the_stack |
import * as adBlocker from "./lib/adBlocker";
import {IGenericObject, Intent, IRuntimeMessage, IRuntimeResponse, Settings} from "./lib/common";
import * as dlAll from "./lib/download_all/core";
import * as mal from "./lib/MyAnimeList/core";
import * as recentlyWatched from "./lib/recently_watched";
import RedditDiscuss... | the_stack |
import { gql } from "@adpt/core";
import express = require("express");
import { Express } from "express";
import { execute, GraphQLError, GraphQLResolveInfo, GraphQLSchema, printSchema } from "graphql";
import { makeExecutableSchema } from "graphql-tools";
import * as http from "http";
import * as https from "https";
i... | the_stack |
import {$test, LogLevel} from "typescript-logging";
import {CATEGORY_LOG_CONTROL, CATEGORY_PROVIDER_SERVICE} from "../main/impl/CategoryProviderService";
import {CategoryProvider} from "../main/api/CategoryProvider";
describe("Test CategoryControlProvider", () => {
const message = new $test.TestControlMessage();
... | the_stack |
import { UIDLUtils } from '@teleporthq/teleport-shared'
import { Validator, Parser } from '@teleporthq/teleport-uidl-validator'
import {
GeneratorOptions,
GeneratedFolder,
Mapping,
ProjectStrategy,
ProjectStrategyComponentOptions,
ComponentGenerator,
ProjectStrategyPageOptions,
ConfigGeneratorResult,
... | the_stack |
import {
INodeProperties,
} from 'n8n-workflow';
export const memberOperations: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
displayOptions: {
show: {
resource: [
'member',
],
},
},
options: [
{
name: 'Delete',
value: 'delete',
de... | the_stack |
import { values, reduce, isString, keyBy, isPlainObject, isEmpty, concat, mapValues } from 'lodash';
import {
GraphQLFieldConfig,
parse,
FieldDefinitionNode,
NamedTypeNode,
TypeDefinitionNode,
GraphQLNamedType,
GraphQLUnionTypeConfig,
GraphQLEnumTypeConfig,
GraphQLObjectTypeConfig,
GraphQLInputObjec... | the_stack |
import { OrbitControl } from "@oasis-engine/controls";
import * as dat from "dat.gui";
import {
AmbientLight,
AnimationClip,
Animator,
AssetType,
BackgroundMode,
BoundingBox,
Camera,
Color,
DirectLight,
Entity,
GLTFResource,
Logger,
Material,
MeshRenderer,
PBRBaseMaterial,
PBRMaterial,
... | the_stack |
import { common, TriggerType, UInt160, VMState } from '@neo-one/client-common';
import { createChild, nodeLogger } from '@neo-one/logger';
import {
Action,
ActionSource,
ActionType,
ApplicationExecuted,
assertByteStringStackItem,
Batch,
Block,
BlockAccountPolicyChange,
ContractParameter,
ExecFeeFact... | the_stack |
import { DisposableStore, Emitter, Event, IDisposable } from '@velcro/common';
type AnyFunc = (...args: any[]) => any;
export type DefineEvent<TEventName extends string, TData = never> = {
eventName: TEventName;
data: TData;
};
type AnyEvent = DefineEvent<string> | DefineEvent<string, unknown>;
type EventWithData... | the_stack |
import * as Gio from "@gi-types/gio";
import * as GObject from "@gi-types/gobject";
import * as GLib from "@gi-types/glib";
export function error_quark(): GLib.Quark;
export function identity_from_string(str: string): Identity | null;
export function implicit_authorization_from_string(
string: string,
out_impl... | the_stack |
import { html } from 'lit-html';
import { $$ } from 'common-sk/modules/dom';
import { diffDate, localeTime } from 'common-sk/modules/human';
import { define } from 'elements-sk/define';
import 'elements-sk/styles/buttons';
import 'elements-sk/styles/select';
import 'elements-sk/styles/table';
import 'elements-sk/tabs... | the_stack |
import {
CfnParameter,
Construct,
StackProps,
Stack,
Duration,
CfnCondition,
Fn,
CfnMapping,
CfnOutput,
Aws,
} from '@aws-cdk/core';
import { Runtime, Code } from '@aws-cdk/aws-lambda';
import { Asset } from '@aws-cdk/aws-s3-assets';
import { SolutionHelper } from './solution-helper-construct';
impo... | the_stack |
import fs from 'fs'
import assert from 'assert'
import net from 'net'
import Ca from '../../src/service/caService'
import config from '../../src/config'
import { CaEnrollCommandTypeEnum, CaRegisterTypeEnum } from '../../src/model/type/caService.type'
describe('CA service:', function () {
this.timeout(10000)
let c... | the_stack |
import { MessengerContext, MessengerEvent } from 'bottender';
import FacebookClient from '../FacebookClient';
import FacebookConnector from '../FacebookConnector';
import FacebookEvent from '../FacebookEvent';
jest.mock('warning');
const ACCESS_TOKEN = 'FAKE_TOKEN';
const APP_SECRET = 'FAKE_SECRET';
const VERIFY_TOK... | the_stack |
import {
SpanKind,
Span,
SpanStatusCode,
Context,
propagation,
Link,
trace,
context,
diag,
ROOT_CONTEXT,
} from '@opentelemetry/api';
import {
SemanticAttributes,
MessagingOperationValues,
MessagingDestinationKindValues,
} from '@opentelemetry/semantic-conventions';
i... | the_stack |
import {
Agile,
State,
Observer,
Collection,
StateObserver,
GroupObserver,
} from '../../src';
import * as Utils from '../../src/utils';
import { LogMock } from '../helper/logMock';
describe('Utils Tests', () => {
let dummyAgile: Agile;
beforeEach(() => {
LogMock.mockLogs();
dummyAgile = new ... | the_stack |
import * as assert from 'assert';
import { before } from 'mocha';
import { EOL } from 'os';
// You can import and use all API from the 'vscode' module
// as well as import your extension to test it
import * as vscode from 'vscode';
import { PddlFormatProvider } from '../../formatting/PddlFormatProvider';
import { asse... | the_stack |
import { BN } from "bn.js";
import * as testUtils from "./helper/testUtils";
import { PausableTokenContract } from "./bindings/pausable_token";
import { RenExBalancesContract } from "./bindings/ren_ex_balances";
import { RenExBrokerVerifierContract } from "./bindings/ren_ex_broker_verifier";
import { RenExSettlementC... | the_stack |
import {join, dirname, sep} from 'path';
import * as fs from 'fs';
import * as os from 'os';
import * as path from 'path';
import {spawn} from 'child_process';
import {StreamCatcher} from './streamCatcher';
import * as RX from './regExp';
import variableParser, { ParsedVariable, ParsedVariableScope } from './variablePa... | the_stack |
import * as React from 'react';
import { Version } from '@microsoft/sp-core-library';
import {
BaseClientSideWebPart,
IPropertyPaneConfiguration,
PropertyPaneTextField
} from '@microsoft/sp-webpart-base';
import { SPComponentLoader } from '@microsoft/sp-loader';
import { CalloutTriggers } from '@pnp/spfx-property... | the_stack |
import { CoreError } from '@classes/errors/error';
import { SQLiteDB, SQLiteDBRecordValue, SQLiteDBRecordValues } from '@classes/sqlitedb';
/**
* Wrapper used to interact with a database table.
*/
export class CoreDatabaseTable<
DBRecord extends SQLiteDBRecordValues = SQLiteDBRecordValues,
PrimaryKeyColumn e... | the_stack |
"use strict";
import { ASTNodeTypes, TxtNode, TxtParentNode } from "@textlint/ast-node-types";
import { Controller, traverse, VisitorOption } from "../src/";
const { parse } = require("@textlint/markdown-to-ast");
const Syntax = require("@textlint/markdown-to-ast").Syntax as typeof ASTNodeTypes;
import { dump } from ... | the_stack |
import * as coreHttp from "@azure/core-http";
/** The result of a list request. */
export interface KeyListResult {
/** The collection value. */
items?: Key[];
/** The URI that can be used to request the next set of paged results. */
nextLink?: string;
}
export interface Key {
/**
* The name of the key.
... | the_stack |
import Environment from '../Environment';
import { WorkerMessengerCommand } from '../libraries/WorkerMessenger';
import Path from '../models/Path';
import SdkEnvironment from '../managers/SdkEnvironment';
import Database from '../services/Database';
import { IntegrationKind } from '../models/IntegrationKind';
import { ... | the_stack |
import {MessageDescriptor} from '@lingui/core'
import * as Sentry from '@sentry/browser'
import {ResultSegment} from 'components/ReportFlow/Analyse/ResultSegment'
import ErrorMessage from 'components/ui/ErrorMessage'
import {getReportPatch, Patch} from 'data/PATCHES'
import {DependencyCascadeError, ModulesNotFoundError... | the_stack |
* @module OrbitGT
*/
//package orbitgt.pointcloud.format.opc;
type int8 = number;
type int16 = number;
type int32 = number;
type float32 = number;
type float64 = number;
import { Coordinate } from "../../../spatial/geom/Coordinate";
import { AList } from "../../../system/collection/AList";
import { ALong } from "..... | the_stack |
import * as probuf_minimal from "protobufjs/minimal";
const linearProto = require('./proto/linear.js');
var fs = require('fs');
import * as turfHelpers from '@turf/helpers';
import lineOffset from "@turf/line-offset";
import turfBbox from '@turf/bbox';
import turfBboxPolygon from '@turf/bbox-polygon';
import {quanti... | the_stack |
// (Re-)generated by schema tool
// >>>> DO NOT CHANGE THIS FILE! <<<<
// Change the json schema instead
import * as wasmlib from "wasmlib";
import * as sc from "./index";
export class CallOnChainCall {
func: wasmlib.ScFunc = new wasmlib.ScFunc(sc.HScName, sc.HFuncCallOnChain);
params: sc.MutableCallOnChainParams =... | the_stack |
import './setup';
import { PLATFORM } from 'aurelia-pal';
import { validateScrolledState, scrollToEnd, waitForNextFrame, waitForFrames, scrollRepeat } from './utilities';
import { VirtualRepeat } from '../src/virtual-repeat';
import { StageComponent, ComponentTester } from 'aurelia-testing';
import { bootstrap } from '... | the_stack |
import {FieldNode, IntValueNode, SelectionNode} from "graphql/language";
import * as RDF from "@rdfjs/types";
import {Algebra, Util as AlgebraUtil} from "sparqlalgebrajs";
import {IConvertContext, SingularizeState} from "../IConvertContext";
import {IConvertSettings} from "../IConvertSettings";
import {Util} from "../U... | the_stack |
import {
AppendResult,
END,
ErrorType,
EventData,
EventStoreDBClient,
excludeSystemEvents,
jsonEvent,
Position,
ResolvedEvent,
START,
} from '@eventstore/db-client';
import {
AppendToStreamOptions,
GetStreamMetadataOptions,
ReadStreamOptions,
} from '@eventstore/db-client/dist/streams';
/////... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormUII_action_Information {
interface tab__49A2FDF8_1814_49B5_BE5A_E7CAC97E0EE3_Sections {
_B4B540BD_52D0_4CC9_BD42_16F4DDAEDDAD: DevKit.Controls.Section;
}
interface tab__80C2EEB7_9ADD_DE11_8E80_00155D289C61_Sections {
... | the_stack |
import stableStringify from 'fast-json-stable-stringify';
import { cached, CacheOption } from '../libs/cached_fn';
import { PrpcClientExt } from '../libs/prpc_client_ext';
import { parseProtoDuration } from '../libs/time_utils';
import { timeout } from '../libs/utils';
/* eslint-disable max-len */
/**
* Manually cod... | the_stack |
import expect from 'expect';
import { JID } from '../src';
// tslint:disable no-identical-functions no-duplicate-string
// --------------------------------------------------------------------
// Test basic parsing
// --------------------------------------------------------------------
test('Parse JID with only doma... | the_stack |
import { mount } from 'enzyme';
import React from 'react';
import { Filters, Provider, SchemaSieve, Search, Select, Txt } from '../../';
import FiltersSummary from '../../components/Filters/Summary';
import { ViewListItem } from '../../components/Filters/ViewsMenu';
import { JSONSchema7 } from 'json-schema';
/* Field... | the_stack |
import React from 'react';
import {
useLocation,
Switch,
Redirect,
Route,
Link,
RouteComponentProps,
} from 'react-router-dom';
import {Box, Flex} from 'theme-ui';
import {MenuItemProps} from 'antd/lib/menu/MenuItem';
import {colors, Badge, Layout, Menu, Sider} from '../common';
import {PlusOutlined, Setti... | the_stack |
import { Filename, PortablePath } from '@yarnpkg/fslib';
import { Limit } from 'p-limit';
import { Writable } from 'stream';
import { MultiFetcher } from './MultiFetcher';
import { MultiResolver } from './MultiResolver';
import { Plugin, Hooks } from './Plugin';
import { Report } from './Report';
import { TelemetryMana... | the_stack |
import { log } from "../util";
import { Token } from "../tokenizer/token";
import { TokenType } from "../tokenizer/token-type";
import { AstNode } from "./ast";
import { AstNodeType } from "./ast-node-type";
function addTokensToAst(tokens: Array<Token>, ast: Array<AstNode>): void {
for (let i: i32 = 0; i < tokens.... | the_stack |
import * as treeDescription from "./tree-description";
import {TreeNode, TreeDescription, Crosslink} from "./tree-description";
import {assert, Json, forceToString, tryToString, formatMetric, hasOwnProperty, hasSubOject} from "./loader-utils";
// Convert Postgres JSON to a D3 tree
function convertPostgres(node: Json, ... | the_stack |
import { debounce } from '@yeger/debounce'
import { select } from 'd3-selection'
import type { D3ZoomEvent } from 'd3-zoom'
import type { GraphConfig } from 'src/config/config'
import type { LinkFilter } from 'src/config/filter'
import { defineCanvas, updateCanvasTransform } from 'src/lib/canvas'
import { defineDrag } ... | the_stack |
import action from "../../src/actionCreators/actions";
import map from "../../src/mappers/actionToHostMessage";
import { should } from "chai";
import ServiceError from "../../src/ServiceError";
import { IInstrumentation } from "../../src/IState";
import { defaultGistProject } from "../testResources";
import { CREATE_OP... | the_stack |
export class SVGFilters {
public flood(filter: SVGFilterElement, resultId: string, color: string, opacity: number, _settings?: any): void {
const floodElement = document.createElementNS("http://www.w3.org/2000/svg", "feFlood");
if (resultId) {
floodElement.setAttribute("id", resultId);
... | the_stack |
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | the_stack |
import { BoundingBox } from './Collision/BoundingBox';
import { Engine } from './Engine';
import { Vector, vec } from './Math/vector';
import { Logger } from './Util/Log';
import { SpriteSheet } from './Drawing/SpriteSheet';
import * as Events from './Events';
import { Configurable } from './Configurable';
import { Ent... | the_stack |
import { getContrastingStroke, getAccessibleStrokes } from './colors';
import { createUrl } from './accessibilityUtils';
import { getBrowser } from './browser-util';
import { transitionEndAll } from './transitionEndAll';
import { select } from 'd3-selection';
const isSafari = getBrowser() === 'Safari';
const indices =... | the_stack |
import * as path from "path";
import * as vscode from "vscode";
import { OperationCanceledError } from "../common/Error/OperationCanceledError";
import { OperationFailedError } from "../common/Error/OperationFailedErrors/OperationFailedError";
import { ConfigKey, EventNames, FileNames, ScaffoldType } from "../con... | the_stack |
import type { PartialDeep } from 'type-fest'
import deepmerge from 'deepmerge';
// eslint-disable-next-line no-restricted-imports
import type { Color as MuiColorShades } from '@material-ui/core';
//
// All About the Themes, the Theme Palette and Colors
// ==================================================
// There are... | the_stack |
import { base64ToBin } from '../../format/format';
import {
CompressionFlag,
ContextFlag,
Secp256k1Wasm,
} from './secp256k1-wasm-types';
import { secp256k1Base64Bytes } from './secp256k1.base64';
export { ContextFlag, CompressionFlag, Secp256k1Wasm };
/* eslint-disable @typescript-eslint/no-explicit-any, @typ... | the_stack |
import {VNode} from 'snabbdom';
import WebComponent from 'webcomponent';
export {h} from 'snabbdom';
export {jsx} from 'snabbdom-jsx-lite';
export class StateStore<State> {
constructor(options: {store?: StateStore<State>});
/** A readonly version of controller's state */
get state(): State;
/** Update the s... | the_stack |
import { Color } from 'three'
import { calcArcPoint, parseNestedAtoms } from './measurement-representation'
import StructureRepresentation, { StructureRepresentationParameters } from './structure-representation'
import { RepresentationRegistry } from '../globals'
import { Structure } from '../ngl'
import { defaults }... | the_stack |
import { fromU32, toCharCodes } from "../utils/string";
import { copyRange } from "../utils/arrays";
import { $$hex } from "../utils/debug";
import { RGBA5551toRGBA32 } from "../utils/img/RGBA5551";
import { BMPtoRGBA } from "../utils/img/BMP";
type IFormObjType = "FORM" | "HBINMODE" | "OBJ1" | "COL1" | "MAT1" | "ATR1... | the_stack |
import {OpenYoloCredential, OpenYoloCredentialHintOptions, OpenYoloCredentialRequestOptions, OpenYoloProxyLoginResponse} from '../protocol/data';
import {RenderMode} from '../protocol/data';
import {OpenYoloErrorType, OpenYoloInternalError} from '../protocol/errors';
import {FeatureConfig} from '../protocol/feature_con... | the_stack |
import {css, LitElement, PropertyValues} from 'lit';
import {property, queryAll} from 'lit/decorators.js';
import rough from 'roughjs';
import {Drawable, Options} from 'roughjs/bin/core';
import {RoughCanvas} from 'roughjs/bin/canvas';
import {RoughSVG} from 'roughjs/bin/svg';
export enum RenderType {
CANVAS = 'can... | the_stack |
import assert from 'assert'
import seed from 'seed-random'
import {Item, Algorithm, newDoc, canInsertNow, getArray, mergeInto, localDelete, Doc, yjsMod, automerge, yjs, printDebugStats, sync9, Id} from './crdts'
/// TESTS
let errored = false
const runTests = (algName: string, alg: Algorithm) => { // Separate scope f... | the_stack |
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type Maybe<T> = T | null;
export type Exact<T extends { [key: string]: unknown }> = {
[K in keyof T]: T[K];
};
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: string;
String... | the_stack |
import 'module-alias/register';
import Serverless from 'serverless'
import { config } from 'aws-sdk';
import { DynamoService } from './dynamo/dynamoService';
import { LambdaService } from './lambda/lambdaService';
import { IamService } from './iam/iamService';
import { DynamoStream, DynamoStreamType, IDynamoStream, Str... | the_stack |
import React, { Component } from "react";
import styled from "styled-components";
import { ChartType, EdgeType, NodeType, ResourceType } from "shared/types";
import Node from "./Node";
import Edge from "./Edge";
import InfoPanel from "./InfoPanel";
import ZoomPanel from "./ZoomPanel";
import SelectRegion from "./Sele... | the_stack |
import { configurationValue } from "@atomist/automation-client/lib/configuration";
import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
import { failure, HandlerResult, Success } from "@atomist/automation-client/lib/HandlerResult";
import { RemoteRepoRef } from "@atomist/automation-client/lib... | the_stack |
'use strict';
import * as assert from 'assert';
import { INormalizedVersion, IParsedVersion, IReducedExtensionDescription, isValidExtensionVersion, isValidVersion, isValidVersionStr, normalizeVersion, parseVersion } from 'vs/platform/extensions/node/extensionValidator';
suite('Extension Version Validator', () => {
... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.