text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* Persistent disks are durable storage devices that function similarly to
* the physical disks in a desktop or a server. Compute Engine manages the
* hardware behin... | the_stack |
* @group integration/attestation
*/
import type { ICredential, IClaim, KeyringPair } from '@kiltprotocol/types'
import { BlockchainUtils, ExtrinsicErrors } from '@kiltprotocol/chain-helpers'
import {
createOnChainDidFromSeed,
DemoKeystore,
FullDidDetails,
} from '@kiltprotocol/did'
import { BN } from '@polkadot... | the_stack |
import { DebugProtocol } from 'vscode-debugprotocol';
import { BreakpointEvent, logger } from 'vscode-debugadapter';
import { ISetBreakpointsArgs, ISetBreakpointsResponseBody, ISetBreakpointResult } from '../debugAdapterInterfaces';
import * as ChromeUtils from './chromeUtils';
import { Protocol as Crdp } from 'devtool... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* The shipping address of the customer.
*/
export interface Address {
/**
* The address line1.
*/
addressLine1: string;
/**... | the_stack |
import {Dictionary, Config} from "../synth/SynthConfig";
import {Note, Pattern} from "../synth/synth";
import {SongDocument} from "./SongDocument";
import {ChangeGroup} from "./Change";
import {ChangeTrackSelection, ChangeChannelBar, ChangeDuplicateSelectedReusedPatterns, ChangeNoteAdded, ChangeNoteTruncate, ChangePatt... | the_stack |
import React, { Component, useState } from 'react';
import {
Button,
PermissionsAndroid,
Platform,
ScrollView,
StyleSheet,
Text,
TextInput,
View,
} from 'react-native';
import Slider from '@react-native-community/slider';
import { Picker } from '@react-native-picker/picker';
import RtcEngine, {
AudioE... | the_stack |
import path from "path";
import * as fs from "fs-extra";
import fastGlob from "fast-glob";
import fixturez from "fixturez";
import spawn from "spawndamnit";
import outdent from "outdent";
import crypto from "crypto";
// import profiler from "v8-profiler-next";
import chalk from "chalk";
let f = fixturez(__dirname);
e... | the_stack |
* TeeChart(tm) for TypeScript
*
* v1.3 October 2012
* Copyright(c) 2012 by Steema Software SL. All Rights Reserved.
* http://www.steema.com
*
* Licensed with commercial and non-commercial attributes,
* specifically: http://www.steema.com/licensing/html5
*
* TypeScript is a Microsoft product: www.typescriptlang... | the_stack |
var universe = require("../parser/tools/universe");
import coreApi = require("../parser/wrapped-ast/parserCoreApi");
import core = require("../parser/wrapped-ast/parserCore");
import proxy = require("../parser/ast.core/LowLevelASTProxy");
import def = require("raml-definition-system")
import tsInterfaces = def.tsInterf... | the_stack |
import * as chai from 'chai';
import { DefaultBrowserBehavior } from '../../src';
import DefaultAudioMixController from '../../src/audiomixcontroller/DefaultAudioMixController';
import NoOpLogger from '../../src/logger/NoOpLogger';
import DOMMockBehavior from '../dommock/DOMMockBehavior';
import DOMMockBuilder from '.... | the_stack |
import "jest-extended";
import { Container, Contracts } from "@packages/core-kernel/src";
import {
bridgechainIndexer,
businessIndexer,
MagistrateIndex,
} from "@packages/core-magistrate-transactions/src/wallet-indexes";
import { Wallet, WalletRepository } from "@packages/core-state/src/wallets";
import {
... | the_stack |
import Common from '../core/common';
import IterableStringMap from '../core/iterable';
import Subscriber from '../core/subscriber';
import Logger from '../logger/logger';
export const TextureImageExtensions = ['jpg', 'jpeg', 'png'];
export const TextureVideoExtensions = ['ogv', 'webm', 'mp4'];
export const TextureExte... | the_stack |
/// <reference types="riot-games-api" />
export const BASE_URL: string;
export const URL_1_2: string;
export const URL_1_3: string;
export const URL_1_4: string;
export const URL_2_2: string;
export const URL_2_4: string;
export const URL_2_5: string;
export declare enum region_e {
BR = 0,
EUNE = 1,
EUW =... | the_stack |
declare module "love.audio" {
import { File, FileData } from "love.filesystem";
import { Decoder, SoundData } from "love.sound";
/**
* Gets a list of the names of the currently enabled effects.
*
* @returns The list of the names of the currently enabled effects.
* @link [love.audio.getA... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormLetter {
interface Header extends DevKit.Controls.IHeader {
/** Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user. */
OwnerId: DevKit.... | the_stack |
import { BigNumber } from "bignumber.js";
import xor = require("bitwise-xor");
import promisify = require("es6-promisify");
import fs = require("fs");
import * as _ from "lodash";
import { Artifacts } from "../util/artifacts";
import { Order } from "../util/order";
import { TxParser } from "../util/parseTx";
import { P... | the_stack |
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config-base';
interface Blob {}
declare class DevOpsGuru... | the_stack |
"use strict";
import path = require('path');
import { execSync, ExecSyncOptionsWithStringEncoding } from 'child_process';
import * as winston from 'winston';
import { PowerPlatformCommand } from './powerplatform';
import axios, { AxiosResponse, AxiosStatic } from 'axios';
import { Environment } from '../common/envirome... | the_stack |
import type { ContentBlock } from '../index';
import { EditorState } from '../index';
import {
shiftRedoStack,
pushToRedoStack,
removeCompositionModeFromEditorState,
preserveSelection,
replaceComponentData,
removeFocus,
setLastChangeType,
getBlocksEntityTypeAndData,
didBlocksChange,
doesEntityExistI... | the_stack |
import { h, Component, Fragment } from 'preact';
import { useEffect, useRef } from 'preact/hooks';
import { useSelector } from 'react-redux';
import b from 'bem-react-helper';
import { IntlShape, useIntl, FormattedMessage, defineMessages } from 'react-intl';
import clsx from 'clsx';
import 'styles/global.css';
import ... | the_stack |
import { debugExec, ensureError, FIXME_NeedsProperType, InternalError, withTmpDir } from "@adpt/utils";
import db from "debug";
import { ExecaReturnValue, Options as ExecaOptions } from "execa";
import fs from "fs-extra";
import ld from "lodash";
import os from "os";
import * as path from "path";
import randomstring fr... | the_stack |
import * as fs from "fs";
import * as path from "path";
import * as vs from "vscode";
import { DartCapabilities } from "../../shared/capabilities/dart";
import { flutterPath } from "../../shared/constants";
import { LogCategory } from "../../shared/enums";
import { CustomScript, DartSdks, DartWorkspaceContext, IAmDispo... | the_stack |
import { Component, ElementRef, ViewChild } from '@angular/core';
import { GameService } from '../game.service';
import { DiscourseAuthModalState, DiscourseService, DiscourseUser } from '../discourse.service';
@Component({
selector: 'auth-modal',
templateUrl: './auth-modal.component.html',
styleUrls: ['./a... | the_stack |
import { uuid } from 'uuidv4'
import { Inject, Injectable, CACHE_MANAGER } from '@nestjs/common'
import { Discount } from './discount.model'
import { Flight } from '../flight'
import {
CONNECTING_FLIGHT_GRACE_PERIOD,
REYKJAVIK_FLIGHT_CODES,
} from '../flight/flight.service'
import { ConnectionDiscountCode } from '... | the_stack |
import minimatch from 'minimatch';
import path from 'path';
import _ from 'lodash';
import R from 'ramda';
import { BitId, BitIds } from '../../../../bit-id';
import {
COMPONENT_ORIGINS,
DEPENDENCIES_FIELDS,
MANUALLY_ADD_DEPENDENCY,
MANUALLY_REMOVE_DEPENDENCY,
OVERRIDE_COMPONENT_PREFIX,
} from '../../../../co... | the_stack |
import * as fs from 'fs';
import {RemoteBase, RemoteBreakpoint, BREAK_REASON_NUMBER, Remote} from '../remotebase';
import {GenericWatchpoint, GenericBreakpoint} from '../../genericwatchpoint';
import {Z80RegistersClass, Z80_REG, Z80Registers} from '../z80registers';
import {MemBank16k} from './membank16k';
import {SnaF... | the_stack |
import * as _ from 'lodash';
import * as Bluebird from 'bluebird';
import { expect } from 'chai';
import {
stub,
spy,
useFakeTimers,
SinonStub,
SinonSpy,
SinonFakeTimers,
} from 'sinon';
import * as supertest from 'supertest';
import * as path from 'path';
import { promises as fs } from 'fs';
import { exists, un... | the_stack |
import {
AddFieldUpdateAction,
DiscardObjectUpdatesAction,
FieldChangeType,
InitializeFieldsAction,
ObjectUpdatesAction,
ObjectUpdatesActionTypes,
ReinstateObjectUpdatesAction,
RemoveFieldUpdateAction,
RemoveObjectUpdatesAction,
SetEditableFieldUpdateAction,
SetValidFieldUpdateAction,
SelectVirt... | the_stack |
import { logging } from '@angular-devkit/core';
import { concatMap, count, take, timeout } from 'rxjs/operators';
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } from '../setup';
describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => {
... | the_stack |
import {
Dereference,
decodePtrInit,
compilePointerDereference,
setValueAtPath,
encodePointer,
encodeUriFragmentIdentifier,
pickDecoder,
unsetValueAtPath,
decodeRelativePointer,
} from './util';
import {
JsonStringPointer,
UriFragmentIdentifierPointer,
Pointer,
RelativeJsonPointer,
PathSegme... | the_stack |
import { ATN } from "antlr4ts/atn/ATN";
import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer";
import { CharStream } from "antlr4ts/CharStream";
import { Lexer } from "antlr4ts/Lexer";
import { LexerATNSimulator } from "antlr4ts/atn/LexerATNSimulator";
import { NotNull } from "antlr4ts/Decorators";
import { Ov... | the_stack |
import { hasAccessibleAcl } from "../acl/acl";
import {
getResourceInfoWithAcr,
hasAccessibleAcr,
saveAcrFor,
} from "../acp/acp";
import { UrlString, WebId } from "../interfaces";
import {
getSourceIri,
internal_defaultFetchOptions,
} from "../resource/resource";
import {
internal_getAgentAccess as getAgen... | the_stack |
* @module Tools
*/
import { BeDuration } from "@itwin/core-bentley";
import { Camera, ColorDef, Hilite } from "@itwin/core-common";
import {
DrawingViewState, FlashMode, FlashSettings, FlashSettingsOptions, IModelApp, TileBoundingBoxes, Tool, Viewport,
} from "@itwin/core-frontend";
import { parseArgs } from "./par... | the_stack |
import * as child_process from 'child_process';
import * as vscode from 'vscode';
import { getStackIdeTargets } from '../utils';
import * as hie from './hie-bios';
import * as path from 'path';
/**
* The key of a configuration, if applicable. Designed to be deterministically
* serializable (see `configKeyToString`).... | the_stack |
import { CombinedReportParameters } from 'accessibility-insights-report';
export const combinedResultsWithBaselineAwareIssues: CombinedReportParameters = {
serviceName: 'Mock Service Name',
axeVersion: 'mock.axe.version',
scanDetails: {
basePageTitle: 'Mock base without failures or unscannables',
... | the_stack |
import {
Selector,
SelectorType,
AttributeSelector,
Traversal,
AttributeAction,
TraversalType,
DataType,
} from "./types";
const reName = /^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/;
const reEscape = /\\([\da-f]{1,6}\s?|(\s)|.)/gi;
const enum CharCode {
LeftParenthesis =... | the_stack |
import test from 'japa'
import { join } from 'path'
import dedent from 'dedent-js'
import { Filesystem } from '@poppinss/dev-utils'
import * as tags from '../src/Tags'
import { Loader } from '../src/Loader'
import { Compiler } from '../src/Compiler'
import { Processor } from '../src/Processor'
const fs = new Filesyst... | the_stack |
import {Component, Inject, OnInit} from "@angular/core";
import {VERSIONS_LINK} from "../../model/feed-link-constants";
import {AbstractLoadFeedComponent} from "../../shared/AbstractLoadFeedComponent";
import {FeedSideNavService} from "../../services/feed-side-nav.service";
import {FeedLoadingService} from "../../servi... | the_stack |
import { ObjectId, Binary } from 'mongodb';
import { expectType } from 'ts-expect';
import types from '../types';
enum TEST_ENUM {
FOO = 'foo',
BAR = 'bar',
}
describe('types', () => {
describe('simple types', () => {
describe('boolean', () => {
test('default', () => {
const value = types.bool... | the_stack |
import { cellWidth, ICell, Table, TableBody, TableHeader, wrappable } from '@patternfly/react-table';
import { Criteria, Host, initCriteria, Iter8Info, NameValuePair } from '../../../../types/Iter8';
import * as React from 'react';
import {
Button,
Checkbox,
Form,
FormGroup,
FormSelect,
FormSelectOption,
... | the_stack |
* This file was automatically generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually.
* In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator
**/
gapi.load('client', () => {
/** now we can use gapi.client */
gapi.client... | the_stack |
import { ContainerAdapterClient } from '../../container_adapter_client'
import { MasterNodeRegTestContainer } from '@defichain/testcontainers'
import {
ExtHTLC,
HTLC,
ICXClaimDFCHTLCInfo,
ICXDFCHTLCInfo,
ICXEXTHTLCInfo,
ICXGenericResult,
ICXHTLCType,
ICXListHTLCOptions,
ICXOffer,
ICXOfferInfo,
ICX... | the_stack |
require('./data-cube-edit.css');
import * as React from 'react';
import { List } from 'immutable';
import { AttributeInfo } from 'swiv-plywood';
import { classNames } from '../../../utils/dom/dom';
import { generateUniqueName } from '../../../../common/utils/string/string';
import { ImmutableUtils } from "../../../..... | the_stack |
import { join, normalize, basename, dirname, extname } from "path";
import { pathExists, copy, writeFile, writeJSON, readFile, readJSON, readdir, remove } from "fs-extra";
import {
SceneSerializer, ShaderMaterial, Mesh, Tools as BabylonTools, RenderTargetTexture, DynamicTexture,
MultiMaterial,
} from "babylonj... | the_stack |
import _ from 'lodash';
import { FileTypes, Folder, IndexContent, ResourceAbstract } from '@foxpage/foxpage-server-types';
import { config } from '../../app.config';
import { PRE, TAG, TYPE } from '../../config/constant';
import * as Service from '../services';
import { ContentPath } from '../types/component-types';
... | the_stack |
import {
Component,
Prop,
State,
Watch,
Element,
Event,
EventEmitter,
h,
} from '@stencil/core';
import throttle from 'lodash.throttle';
import { IResizeEvent } from './interfaces';
@Component({
tag: 'split-me',
styleUrl: 'split-me.css',
shadow: true,
})
export class SplitMe {
@Element()
el... | the_stack |
import { TeliaPlayService } from '@/telia-play/TeliaPlayService';
import { ServiceApi } from '@apis/ServiceApi';
import { Requests } from '@common/Requests';
import { Utils } from '@common/Utils';
import { Item } from '@models/Item';
export interface TeliaContinueWatchingList {
list: TeliaContinueWatchingItem[];
}
ex... | the_stack |
import type { ObjectDictionary } from "@opticss/util";
import { AggregateRewriteData } from "./AggregateRewriteData";
export type ClassNameExpression = Array<string | number | boolean | null>;
type Defined<T> = T extends undefined ? never : T;
/**
* Throws an error if the value is null or undefined.
* @param val a... | the_stack |
import { CompositeLayer } from '@deck.gl/core';
import { GeoJsonLayer } from '@deck.gl/layers';
import AnimatedFlowLinesLayer from './AnimatedFlowLinesLayer/AnimatedFlowLinesLayer';
import { Colors, DiffColors } from './colors';
import FlowCirclesLayer from './FlowCirclesLayer/FlowCirclesLayer';
import FlowLinesLayer f... | the_stack |
import {
add0x,
getLogger,
hexBufToStr,
hexStrToBuf,
logError,
} from '@pigi/core-utils'
/* Internal Imports */
import {
Address,
AggregatorUnsupportedError,
isCreateAndTransferTransition,
isStateTransitionError,
isSwapTransition,
isTransferTransition,
LocalFraudProof,
LocalMachineError,
Ro... | the_stack |
import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http';
import { CustomHttpParameterCodec } from '../encoder';
import { Observable }... | the_stack |
import { createElement, detach } from '@syncfusion/ej2-base';
import { EditorManager } from '../../../src/editor-manager/index';
describe('Formats plugin', () => {
let innerHTML: string = `
<div style="color:red;" id="content-edit" contenteditable="true" class="e-node-deletable e-node-inner">
<p class='f... | the_stack |
import type {
PassthroughErrorInstance,
ExternalMethods,
ReadModelCursor,
ReadModelProcedureLedger,
ProcedureResult,
EventThreadData,
ReadModelEvent,
} from './types'
import getLog from './get-log'
import { LeveledDebugger } from '@resolve-js/debug-levels'
const serializeError = (error: Error & { code: n... | the_stack |
import { source as b1 } from './data/blog-1'
import b1s from './data/blog-2.svg'
import { source as b2 } from './data/blog-2'
import b2s from './data/blog-1.svg'
import { source as b3 } from './data/blog-3'
import b3s from './data/blog-3.svg'
import { source as b4 } from './data/blog-4'
import b4s from './data/blog-4.s... | the_stack |
import { GeoPackage } from '../geoPackage';
import { GeoPackageConnection } from '../db/geoPackageConnection';
import { ColumnValues } from './columnValues';
/**
* Dao module.
*/
import { SqliteQueryBuilder } from '../db/sqliteQueryBuilder';
import { DBValue } from '../db/dbAdapter';
import { CoreSQLUtils } from '..... | the_stack |
import type {
AtomicName,
AtomicProps,
BodyProps,
BodyShapeType,
BoxProps,
CannonWorkerAPI,
CompoundBodyProps,
ConeTwistConstraintOpts,
ConstraintOptns,
ConstraintTypes,
ContactMaterialOptions,
ConvexPolyhedronArgs,
ConvexPolyhedronProps,
CylinderProps,
DistanceConstraintOpts,
Heightfiel... | the_stack |
declare var __dirname: any;
declare var require: any;
declare var process: any;
declare var gc: any;
declare var Buffer: any;
import * as nbind from '..';
import * as testLib from './testlib';
import {Int64} from '../dist/int64';
const test = require('tap').test;
const binding = nbind.init<typeof testLib>();
const t... | the_stack |
* @module OrbitGT
*/
//package orbitgt.spatial.ecrs;
type int8 = number;
type int16 = number;
type int32 = number;
type float32 = number;
type float64 = number;
import { ASystem } from "../../system/runtime/ASystem";
import { Numbers } from "../../system/runtime/Numbers";
import { Registry } from "./Registry";
/**... | the_stack |
import {
copyAssets,
setRepo,
getUserName,
getUserEmail,
setCommitAuthor,
getCommitMessage
} from '../src/git-utils';
import {getInputs} from '../src/get-inputs';
import {Inputs} from '../src/interfaces';
import {getWorkDirName, createDir} from '../src/utils';
import {CmdResult} from '../src/interfaces';
im... | the_stack |
declare var global : any;
var win : any = null;
try {
win = window;
}
catch (e) {
win = global;
}
//some other modules might want access to the serialization meta data, expose it here
var TypeMap = win.__CerializeTypeMap = new (win as any).Map();
//type aliases for serialization functions
export type Serialize... | the_stack |
import { mat4, vec2 } from 'gl-matrix'
import { Point, Size, Rect, Corner } from './GeometryTypes'
import { round } from './LangUtil'
export type Vec2Like = vec2 | [ number, number ]
export const oppositeCorner: { [K in Corner]: Corner } = {
nw: 'se',
ne: 'sw',
sw: 'ne',
se: 'nw'
}
export function ... | the_stack |
import { Long } from 'bson';
import {
Channel,
ChannelMeta,
ChannelSession,
ChannelTemplate,
NormalChannelManageSession,
SetChannelMeta,
} from '../../channel';
import { Chat, Chatlog, ChatLogged, ChatType, KnownChatType } from '../../chat';
import { TalkSession } from '../client';
import { AsyncCommandResu... | the_stack |
import * as FS from "fs";
import * as Path from "path";
import { exec, execSync } from "child_process";
import chalk from "chalk";
import { MIRAssembly, MIRObjectEntityTypeDecl, PackageConfig } from "../../compiler/mir_assembly";
import { MIREmitter } from "../../compiler/mir_emitter";
import { MIRInvokeKey } from ".... | the_stack |
import { chimeeLog } from 'chimee-helper-log';
import { isArray, isFunction, isPlainObject, isString } from 'lodash';
import { accessor, alias, applyDecorators, before, nonenumerable, watch } from 'toxic-decorators';
import { isEmpty } from 'toxic-predicate-functions';
import { bind, getDeepProperty } from 'toxic-utils... | the_stack |
import { expect } from 'chai';
import * as sinon from 'sinon';
import App from '../../../src/compose/app';
import {
CompositionStep,
CompositionStepAction,
} from '../../../src/compose/composition-steps';
import { Image } from '../../../src/compose/images';
import Network from '../../../src/compose/network';
import S... | the_stack |
import {
$el,
bind,
createElem,
getBooleanTypeAttr,
getNumTypeAttr,
getStrTypeAttr,
removeAttrs,
setCss,
setHtml,
siblings
} from '../../dom-utils';
import { moreThanOneNode } from '../../mixins';
import { type, validComps } from '../../utils';
import PREFIX from '../prefix';
in... | the_stack |
import * as _ from 'underscore'
import {
ConfigItemValue,
ConfigManifestEntry,
IBlueprintConfig,
StudioBlueprintManifest,
ShowStyleBlueprintManifest,
BasicConfigItemValue,
TableConfigItemValue,
} from '@sofie-automation/blueprints-integration'
import { Studios, Studio, StudioId } from '../../../lib/collections/S... | the_stack |
/// <reference types="node" />
import { Serializable, Browser, Page } from "puppeteer-core";
export type Channel = string;
/**
* Evaluates a function in the context of the page
* @param pageFunction Function to be evaluated in the page context.
* @param args Arguments to pass to pageFunction.
*
* If the functi... | the_stack |
import { GoslingSpec, SingleView, Track } from '../gosling.schema';
import { getBoundingBox, getRelativeTrackInfo } from './bounding-box';
import { traverseToFixSpecDownstream, overrideDataTemplates, convertToFlatTracks } from './spec-preprocess';
import { getTheme } from './theme';
describe('Fix Spec Downstream', () ... | the_stack |
import {Analyser} from 'parser/core/Analyser'
import {TimestampHookArguments, TimestampHookCallback} from 'parser/core/Dispatcher'
import {GAUGE_HANDLE} from '../ResourceGraphs/ResourceGraphs'
import {AbstractGauge, AbstractGaugeOptions, GaugeGraphOptions} from './AbstractGauge'
function expectExist<T>(value?: T) {
i... | the_stack |
import * as assert from 'assert'
import { Prompter, PromptResult } from '../../../shared/ui/prompter'
import {
isWizardControl,
StateWithCache,
StepEstimator,
Wizard,
WizardState,
WIZARD_BACK,
WIZARD_EXIT,
} from '../../../shared/wizards/wizard'
interface TestWizardForm {
prop1: string
... | the_stack |
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
export interface Config {
/**
* Hostname or IP address of the IMAP service, for example: imap.gmail.com, imap-mail.outlook.com....
*/
host: string;
/**
* Optional para... | the_stack |
import * as SerialPort from 'serialport';
import * as childProcess from 'child_process';
import * as grpc from 'grpc';
import * as path from 'path';
import * as os from 'os';
import * as fs from 'fs';
import * as yaml from 'js-yaml';
import Serial from './serial';
import { ArduinoCoreClient } from '../grpc/commands_gr... | the_stack |
export enum UserSettingName {
/**
* The display name of the user.
*/
UserDisplayName = 0,
/**
* The legacy distinguished name of the user.
*/
UserDN = 1,
/**
* The deployment Id of the user.
*/
UserDeploymentId = 2,
/**
* The fully qualified domain name of the ma... | the_stack |
import { ether, expectEvent, expectRevert } from '@openzeppelin/test-helpers'
import { toBN } from 'web3-utils'
import { expect } from 'chai'
import { evmMineMany, revert, snapshot } from './TestUtils'
import BN from 'bn.js'
import { StakeManagerInstance, TestTokenInstance } from '@opengsn/contracts/types/truffle-cont... | the_stack |
import Fuse from 'fuse.js';
import { EditorView } from 'prosemirror-view';
import { Fragment, Node, Schema } from 'prosemirror-model';
import {
addColumnAfter,
addColumnBefore,
deleteColumn,
addRowAfter,
addRowBefore,
deleteRow,
mergeCells,
splitCell,
toggleHeaderRow,
toggleHeaderColumn,
toggleHea... | the_stack |
import { expect } from 'chai';
import * as imageManager from '../../../src/compose/images';
import * as dbHelper from '../../lib/db-helper';
import { createImage, withMockerode } from '../../lib/mockerode';
import * as sinon from 'sinon';
import log from '../../../src/lib/supervisor-console';
// TODO: this code is d... | the_stack |
import type { AstNode, BinderContext, CheckerContext, Location, MetaRegistry, RangeLike, StringNode, Symbol, SymbolQuery } from '@spyglassmc/core'
import { AsyncBinder, atArray, Dev, ErrorSeverity, Range, ResourceLocationNode, SymbolUtil, SymbolVisibility } from '@spyglassmc/core'
import { localeQuote, localize } from ... | the_stack |
import Vector2 from './Vector2';
import Ring from './Ring';
export interface IThemeColols {
C: string;
O: string;
N: string;
F: string;
CL: string;
BR: string;
I: string;
P: string;
S: string;
B: string;
SI: string;
H: string;
BACKGROUND: string;
}
export interface IS... | the_stack |
import { MonacoEditor } from '../../../monaco-editor/monaco-editor';
import { Polymer } from '../../../../../../../tools/definitions/polymer';
const EXTERNAL_EDITOR_APP_ID = 'hkjjmhkhhlmkflpihbikfpcojeofbjgn';
declare const browserAPI: browserAPI;
declare const BrowserAPI: BrowserAPI;
declare global {
type ChooseFil... | the_stack |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { ATN } from "antlr4ts/atn/ATN";
import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer";
import { FailedPredicateException } from "antlr4ts/FailedPredicateException";
import { NotNull } from "antlr4ts... | the_stack |
import urlJoin from 'url-join';
import deburr from 'lodash/deburr';
import flatten from 'lodash/flatten';
import isNumber from 'lodash/isNumber';
import words from 'lodash/words';
import max from 'lodash/max';
import { color } from 'd3-color';
import { schemeCategory10 } from 'd3-scale-chromatic';
import { fetchProject... | the_stack |
import * as Debug from 'debug';
import { EventEmitter } from 'events';
import * as redis from 'redis';
import { LinkError } from './errors/LinkError';
import { ValidationError } from './errors/ValidationError';
import { getPrefix, INohmPrefixes } from './helpers';
import { IMiddlewareOptions, middleware, TRequestHandle... | the_stack |
import * as ieee754 from './ieee754'
import * as base64 from './base64'
// Based on http://stackoverflow.com/a/22747272/680742, the browser with the
// lowest limit is Chrome, with 0x10000 args. We go 1 magnitude less, for
// safety
const MAX_ARGUMENTS_LENGTH = 0x1000
const INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g
... | the_stack |
import { RuleOptions } from './types';
import { alpha, lighten } from '@material-ui/core';
export default ({ theme }: RuleOptions) => `
/*================== Variables ==================*/
/*
As the MkDocs output is rendered in shadow DOM, the CSS variable definitions on the root selector are not applied. Instead, ... | the_stack |
import * as tape from 'tape';
import reifyRFO from '@core/reflection/reifyRFO';
tape(
'reflection.reifyRFO',
(t) => {
const specs = [
// named standard function
[
{
__function: {
type: 'FunctionExpression',
name: '_foobar',
params: ['a', 'b', '... | the_stack |
import { action } from 'mobx';
import { observer } from 'mobx-react-lite';
import * as c from '@aws-accelerator/config';
import * as t from '@aws-accelerator/common-types';
import { Box, Checkbox, CheckboxProps, Container, FormField, Header, SpaceBetween } from '@awsui/components-react';
import { useI18n } from '@/comp... | the_stack |
import * as appsync from "@aws-cdk/aws-appsync-alpha";
import { aws_dynamodb } from "aws-cdk-lib";
import { Construct } from "constructs";
import { JsonFormat } from "typesafe-dynamodb";
import {
NativeBinaryAttribute,
ToAttributeMap,
} from "typesafe-dynamodb/lib/attribute-value";
import {
ExpressionAttributeNam... | the_stack |
import { Trans, t } from "@lingui/macro";
import { withI18n } from "@lingui/react";
import { Modal } from "reactjs-components";
import PropTypes from "prop-types";
import * as React from "react";
import ModalHeading from "#SRC/js/components/modals/ModalHeading";
import TabForm from "#SRC/js/components/TabForm";
import... | the_stack |
import { member } from "babyioc";
import {
Actor as BattleMovrActor,
BattleInfo as BattleInfoBase,
OnBattleComplete,
Statistic,
Statistics,
TeamBase,
TeamDescriptor,
UnderEachTeam,
TeamId,
} from "battlemovr";
import { Section } from "eightbittr";
import { FullScreenPokemon } from "... | the_stack |
import MdlElement from "../element/mdl_element";
export default class MdlLayout extends MdlElement{
header_: HTMLElement;
drawer_: HTMLElement;
content_: HTMLElement;
tabBar_: HTMLElement;
obfuscator_: HTMLElement;
Keycodes_: {ENTER: number, ESCAPE: number, SPACE: number};
Mode_: {STANDARD: number, SEAME... | the_stack |
import { HttpClient, HttpResponse, HttpEvent } from '@angular/common/http';
import { Inject, Injectable, Optional } from '@angular/core';
import { OrgsAPIClientInterface } from './orgs-api-client.interface';
import { Observable } from 'rxjs';
import { tap } from 'rxjs/operators';
import { USE_DOMAIN, USE_HTTP_OPTIONS, ... | the_stack |
import {
Frame,
Page,
ViewportSize,
ChromiumBrowserContext,
BrowserContext,
HTTPCredentials,
Cookie,
} from 'playwright'
import debugFactory from 'debug'
import ms from 'ms'
import mime from 'mime-types'
import { Condition } from '../page/Condition'
import { Browser as BrowserInterface } from '../interface/IBrow... | the_stack |
import { Components, JSX } from '@bulmil/core';
interface BmButtonProps {
/** Is disabled? */
disabled?: Components.BmButton["disabled"]
/** Color */
color?: Components.BmButton["color"]
/** Size */
size?: Components.BmButton["size"]
/** Display the button in full-width */
isFullwidth?: Co... | the_stack |
import { RowModel } from '..'
import { TableFeature } from '../core/instance'
import { BuiltInFilterFn, filterFns } from '../filterFns'
import {
Column,
OnChangeFn,
TableGenerics,
TableInstance,
Row,
Updater,
} from '../types'
import {
functionalUpdate,
isFunction,
makeStateUpdater,
memo,
Overwrit... | the_stack |
import { sp } from "@pnp/sp";
import "@pnp/sp/profiles";
import { IUserInfo } from "../Entities/IUserInfo";
import { WebPartContext } from "@microsoft/sp-webpart-base";
import { MSGraphClient } from "@microsoft/sp-http";
import { IUserPresence } from "../Entities/IUserPresence";
import * as _ from "lodash";
import { Pn... | the_stack |
import {Injectable} from "@angular/core";
import {DbAbstractionLayer} from "@nodeart/dal/index";
/**
* Product service. Has different methods for manipulating with products and its properties.
*/
@Injectable()
export class ProductService{
/**
* ElasticSearch index name. For default "firebase"
*/
public... | the_stack |
import { Component, OnInit, Input } from "@angular/core";
import { ActivatedRoute, Router } from "@angular/router";
import { GlobalVarsService } from "../global-vars.service";
import { BackendApiService, ProfileEntryResponse } from "../backend-api.service";
import { sprintf } from "sprintf-js";
import { SwalHelper } fr... | the_stack |
import {createStore, createEvent, guard, Store, Event, Unit} from 'effector'
const typecheck = '{global}'
describe('explicit generics', () => {
test('guard<A>({source, clock, filter})', () => {
const source = createEvent<string | null>()
const clock = createEvent<number>()
const filter = createStore(true... | the_stack |
import orderBy from "lodash-es/orderBy";
import { maybeDeepCopy, mergeByPk } from "./helpers";
import { team } from "../../core";
import { idb } from "..";
import { g, helpers } from "../../util";
import type {
Team,
TeamAttr,
TeamFiltered,
TeamSeasonAttr,
TeamStatAttr,
TeamStatType,
TeamStats,
GetCopyType,
} f... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.