text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { isLang, Lang } from '../../resources/languages';
import { UnreachableCode } from '../../resources/not_reached';
import PartyTracker from '../../resources/party';
import Regexes from '../../resources/regexes';
import { triggerOutputFunctions } from '../../resources/responses';
import UserConfig, {
Confi... | the_stack |
import { SwaggerSailsModel, NameKeyMap, SwaggerRouteInfo, BlueprintActionTemplates, Defaults, Action2Response } from './interfaces';
import { Reference, Tag } from 'swagger-schema-official';
import { swaggerTypes, sailsAttributePropertiesMap, validationsMap, actions2Responses, blueprintParameterTemplates } from './type... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* Manages an App Service (within an App Service Plan).
*
* > **Note:** When using Slots - the `appSettings`, `connectionString` and `siteConfig` blocks on the `azur... | the_stack |
import { DeepImmutable } from "../types";
import { ArrayTools } from "../Misc/arrayTools";
import { Matrix, Vector3 } from "../Maths/math.vector";
import { BoundingSphere } from "../Culling/boundingSphere";
import { ICullable } from "./boundingInfo";
import { Epsilon } from '../Maths/math.constants';
import { P... | the_stack |
import { Log } from '../util/log';
import { PendingRequest } from '../util/pendingRequests';
let log = Log.create('ThreadPauseCoordinator');
export type PauseType = 'auto' | 'user';
/**
* This class coordinates the states of all attached
* ["threads"](https://github.com/mozilla/gecko-dev/blob/master/devtools/docs/... | the_stack |
import automl from '@google-cloud/automl';
import * as dayjs from 'dayjs';
import * as express from 'express';
import { auth } from 'google-auth-library';
import * as morgan from 'morgan';
import {
AUTOML_API_SCOPE,
AUTOML_API_URL,
AUTOML_BUCKET_URL,
LOCATION,
PROJECT_ID,
} from './constants';
import { Operat... | the_stack |
import { DefaultNetEventHandler } from "./default-net-event-handler";
import { PackageType } from "./pkg-type";
import { SocketState } from "./socketStateType";
import { WSocket } from "./wsocket";
export class NetNode<ProtoKeyType> implements enet.INode<ProtoKeyType> {
/**
* 套接字实现
*/
protected _sock... | the_stack |
import { log, assign, omit, hashMap, getPropertyDescriptor, getBaseClass, defaults, transform } from './tools'
import { __extends } from 'tslib'
export interface Subclass< T > extends MixableConstructor {
new ( ...args ) : T
prototype : T
}
export interface MixableConstructor extends Function{
__super__? ... | the_stack |
export interface FileSystemEntries {
files: string[]
directories: string[]
}
export function matchFiles(
path: string,
extensions: string[],
excludes: string[],
includes: string[],
useCaseSensitiveFileNames: boolean,
currentDirectory: string,
getFileSystemEntries: (path: string) => ... | the_stack |
import * as anchor from '@project-serum/anchor';
import { assert } from 'chai';
import { BN, getMarketOrderParams, ONE, ZERO } from '../sdk';
import { Program } from '@project-serum/anchor';
import { PublicKey } from '@solana/web3.js';
import {
Admin,
MARK_PRICE_PRECISION,
calculateMarkPrice,
calculateTradeSlipp... | the_stack |
import * as core from '@actions/core';
import * as io from '@actions/io';
import * as tc from '@actions/tool-cache';
import fs from 'fs';
import cp from 'child_process';
import osm from 'os';
import path from 'path';
import * as main from '../src/main';
import * as im from '../src/installer';
let goJsonData = require(... | the_stack |
import * as nacl from './nacl/naclWrappers';
import * as address from './encoding/address';
import * as encoding from './encoding/encoding';
import * as logic from './logic/logic';
import * as multisig from './multisig';
import * as utils from './utils/utils';
import * as txnBuilder from './transaction';
import {
Enc... | the_stack |
import type { Maybe, MessageOrCCLogEntry, ValueID } from "@zwave-js/core";
import {
CommandClasses,
enumValuesToMetadataStates,
parseBitMask,
validatePayload,
ValueMetadata,
ZWaveError,
ZWaveErrorCodes,
} from "@zwave-js/core";
import { getEnumMemberName, pick } from "@zwave-js/shared";
import type { Driver } fr... | the_stack |
import * as React from 'react';
import { composeEventHandlers } from '@radix-ui/primitive';
import { createContextScope } from '@radix-ui/react-context';
import { useControllableState } from '@radix-ui/react-use-controllable-state';
import { useComposedRefs } from '@radix-ui/react-compose-refs';
import * as PopperPrimi... | the_stack |
import React, { FC, useState, useEffect } from 'react';
import { render, cleanup } from '@testing-library/react';
import { makeJestMoveTimeTo } from '../../test-utils/makeJestMoveTimeTo';
import { ActJestMoveTimeTo, makeActJestMoveTimeTo } from '../../test-utils/makeActJestMoveTimeTo';
import {
ENTERED,
ENTERING,
... | the_stack |
import Player from '@vimeo/player';
// based on README.md of @vimeo/player >> https://github.com/vimeo/player.js
let player: Player ;
player = new Player('handstick', {
id: 19231868,
width: 640,
// Use default values for settings, to test typings
autopause: true,
autoplay: false,
background:... | 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 AmplifyBac... | the_stack |
import * as github from '@actions/github'
import * as core from '@actions/core'
import { Context } from '@actions/github/lib/context'
import * as handler from '../src/handler'
jest.mock('@actions/core')
jest.mock('@actions/github')
describe('handlePullRequest', () => {
let context: Context
beforeEach(async () =>... | the_stack |
// tslint:disable:no-unused-expression max-func-body-length promise-function-async max-line-length no-http-string no-suspicious-comment
// tslint:disable:no-non-null-assertion
// WARNING: At the breakpoint, the extension will be in an inactivate state (i.e., if you make changes in the editor, diagnostics,
// formatt... | the_stack |
import last from 'lodash-es/last';
import { warn } from '../../utils/utils';
const SWIND_API_REGEX = /^swind/;
export class CSSGen {
// stores the theme config object
private config: any;
// classes which need no regex matching
private staticClasses = {
container: 'width: 100%;',
clearfix: `content: "... | the_stack |
import { Grid } from '../../../src/grid/base/grid';
import { Page } from '../../../src/grid/actions/page';
import { Selection } from '../../../src/grid/actions/selection';
import { Group } from '../../../src/grid/actions/group';
import { Toolbar } from '../../../src/grid/actions/toolbar';
import { DetailRow } from '../... | the_stack |
import { Route } from "./navigation.js";
import { QueryString } from "./query-string.js";
/**
* @alpha
*/
export type RouteParameterConverter = (value: string | undefined) => any | Promise<any>;
const defaultParameterConverter: RouteParameterConverter = (value: string | undefined) =>
value;
/**
* @alpha
*/
ex... | the_stack |
declare const enum DAL {
// /main/configkeys.h
CFG_PIN_NAME_MSK = 65535,
CFG_PIN_CONFIG_MSK = 4294901760,
CFG_PIN_CONFIG_ACTIVE_LO = 65536,
CFG_MAGIC0 = 513675505,
CFG_MAGIC1 = 539130489,
CFG_PIN_ACCELEROMETER_INT = 1,
CFG_PIN_ACCELEROMETER_SCL = 2,
CFG_PIN_ACCELEROMETER_SDA = 3,
... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement } from "../shared";
/**
* Statement provider for service [cloudhsm](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awscloudhsm.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/refe... | the_stack |
import * as SubscriptionUtil from "../../../../../main/js/joynr/dispatching/subscription/util/SubscriptionUtil";
import SubscriptionInformation from "../../../../../main/js/joynr/dispatching/types/SubscriptionInformation";
import SubscriptionRequest from "../../../../../main/js/joynr/dispatching/types/SubscriptionReque... | the_stack |
import { Meteor } from 'meteor/meteor'
import * as _ from 'underscore'
import { PeripheralDevices, PeripheralDevice } from '../../lib/collections/PeripheralDevices'
import { getCurrentTime, Time, unprotectString, getRandomId, assertNever } from '../../lib/lib'
import { PeripheralDeviceAPI } from '../../lib/api/peripher... | the_stack |
import { assert } from 'chai';
import { anyString, anything, instance, mock, verify, when } from 'ts-mockito';
import * as sinon from 'sinon';
import * as os from 'os';
import { QuickPickItem } from 'vscode';
import { ApplicationShell } from '../../../client/common/application/applicationShell';
import { ClipboardServ... | the_stack |
import { TreeGrid } from '../../src/treegrid/base/treegrid';
import { createGrid, destroy } from '../base/treegridutil.spec';
import { sampleData, projectData2, unorederedData, projectData, virtualData} from '../base/datasource.spec';
import { getObject } from '@syncfusion/ej2-grids';
import { EmitType } from '@syncfus... | the_stack |
import {
Component,
ElementRef,
EventEmitter,
HostListener,
Injector,
OnDestroy,
OnInit,
Output,
Renderer2,
ViewChild
} from '@angular/core';
import {AbstractComponent} from '@common/component/abstract.component';
import {UserService} from '../../../user/service/user.service';
import {User} from '@d... | the_stack |
import { DocumentEditor } from '../../../src/document-editor/document-editor';
import { LayoutViewer, PageLayoutViewer, DocumentHelper } from '../../../src/index';
import { ListDialog } from '../../../src/document-editor/implementation/dialogs/list-dialog';
import { ListViewModel } from '../../../src/document-editor/im... | the_stack |
import { Component, OnInit, OnDestroy, Input, Output, EventEmitter } from '@angular/core';
import { Subscription } from 'rxjs/Subscription';
import { CommonResponseService } from '../../../shared/services/common-response.service';
import { AssetGroupObservableService } from '../../../core/services/asset-group-observabl... | the_stack |
import Char from 'typescript-char';
import {
findNodeByOffset,
getFirstAncestorOrSelf,
getFirstAncestorOrSelfOfKind,
getStringValueRange,
getTokenAt,
isDocString,
} from '../analyzer/parseTreeUtils';
import { appendArray } from '../common/collectionUtils';
import { convertOffsetToPosition, conv... | the_stack |
import { HttpClient, HttpInterceptor } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Query, PostsRes } from 'models/models';
import {
STEEM_API,
STEEMIA_POSTS,
STEEMIA_USERS,
STEEMIA_TAGS,
STEEMIA_SEARCH
} from '../../constants/constants';
import { UtilProvider } from '../u... | the_stack |
import {Injectable, OnDestroy, OnInit} from '@angular/core';
import {ArchivaRequestService} from "@app/services/archiva-request.service";
import {UserInfo} from '@app/model/user-info';
import {HttpErrorResponse, HttpResponse} from "@angular/common/http";
import {ErrorResult} from "@app/model/error-result";
import {Obse... | the_stack |
import dotProp from 'dot-prop';
import { eachPair } from './iterators';
/**
* Makes sure the error once printed using console.log contains the actual class name.
*
* @example
* ```
* class MyApiError extends CustomerError {}
*
* throw MyApiError() // prints MyApiError instead of simply "Error".
* ```
*
* @pu... | the_stack |
import { FastifyInstance } from 'fastify';
import StatusCodes from 'http-status-codes';
import { Pool } from 'pg';
import {
constructionParseOperations,
CONSTRUCTION_INVALID_TRANSACTION,
CONSTRUCTION_PAYLOADS_REQUEST,
CONSTRUCTION_PAYLOADS_REQUEST_WITH_BYRON_OUTPUT,
CONSTRUCTION_PAYLOADS_REQUEST_WITH_MA,
CO... | the_stack |
import { Buffer } from "buffer/"
import BN from "bn.js"
import BinTools from "../../utils/bintools"
import { EVMConstants } from "./constants"
import { EVMOutput } from "./outputs"
import { TransferableInput } from "./inputs"
import { EVMBaseTx } from "./basetx"
import { SelectCredentialClass } from "./credentials"
imp... | the_stack |
import { Spreadsheet } from '../base/index';
import { keyDown, cellNavigate, renameSheet, filterCellKeyDown, getUpdateUsingRaf, isLockedCells } from '../common/index';
import { SheetModel, getCellIndexes, getRangeAddress, getRowHeight, getColumnWidth, CellModel, getCell, isHiddenCol } from '../../workbook/index';
impor... | the_stack |
///<reference types="node"/>
import * as assert from "assert";
import "mocha";
import {contains, repeat} from "../../../dist/commonjs/System/Collections/Array/Utility";
import * as Procedure from "../../../dist/commonjs/System/Collections/Array/Procedure";
import {
Enumerable,
InfiniteLinqEnumerable,
LinqEnumerable... | the_stack |
import * as React from 'react';
import { Spin, Tabs, Descriptions, Divider } from 'antd';
import { ILogCollectTaskDetail, IKeyValue, IDirectoryLogCollectPath } from '../../interface/collect';
import { timeFormat } from '../../constants/time';
import { collectModeMap, oldDataFilterMap, hostRangeMap, logSliceRuleMap, suf... | the_stack |
import { Entity } from '../../types'
import type { When, Options } from '../types'
import { Easing } from '../stepper/easing'
import { Morpher } from '../morpher/morpher'
import { Stepper } from '../stepper/stepper'
import { Timeline } from '../scheduler/timeline'
import { Controller } from '../stepper/controller'
impo... | the_stack |
import {Plugin, Series} from 'uplot';
import {CursorOptions} from '../cursor/cursor';
import placement from './placement';
import Yagr from '../../index';
import {DataSeries, ProcessingInterpolation, YagrPlugin} from '../../types';
import {TOOLTIP_Y_OFFSET, TOOLTIP_X_OFFSET, TOOLTIP_DEFAULT_MAX_LINES, DEFAULT_Y_SCAL... | the_stack |
import {
Component,
Input,
ElementRef,
OnInit,
OnChanges,
DoCheck,
AfterViewInit,
OnDestroy,
KeyValueDiffers,
ViewChild,
NgZone,
Output,
EventEmitter
} from '@angular/core';
import { FusionChartsService } from './fusioncharts.service';
import { FusionChartsConstructor } from './fusioncharts.c... | the_stack |
import * as _ from 'lodash-es';
import * as React from 'react';
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore: FIXME missing exports due to out-of-sync @types/react-redux version
import { useDispatch } from 'react-redux';
import { match as RMatch } from 'react-router-dom';
import {
Table ... | the_stack |
import { escape, find, findIndex } from '@microsoft/sp-lodash-subset';
import { Logger, LogLevel } from "@pnp/logging";
import { sp, SPHttpClient } from "@pnp/sp";
import { Folders, IFolder, IFolderInfo, IFolders } from "@pnp/sp/folders";
import { IFiles, IItem, IListInfo, ISiteUser } from "@pnp/sp/presets/all";
import... | the_stack |
import { CubismIdHandle } from '../id/cubismid';
import { CubismFramework } from '../live2dcubismframework';
import { CubismModel } from '../model/cubismmodel';
import { csmVector, iterator } from '../type/csmvector';
import { CubismJson, Value } from '../utils/cubismjson';
const Epsilon = 0.001;
const DefaultFadeInSe... | the_stack |
export interface WorldSpawn {
classname: 'worldspawn'
wad: string[]
mapversion: number
skyname: string
maxRange: number
message: string
sounds: number
light: number
waveHeight: number
startDark: WorldSpawnStartDark
newUnit: WorldSpawnNewUnit
gameTitle: WorldSpawnGameTitle
defaultTeam: WorldSpa... | the_stack |
import React from 'react'
import { createState } from '@hookstate/core'
import { createXRUI } from '../../xrui/functions/createXRUI'
import { useXRUIState } from '@xrengine/engine/src/xrui/functions/useXRUIState'
import { NavigateNext, NavigateBefore } from '@mui/icons-material'
import { InteractableComponentType } fro... | the_stack |
import type { Node, ResolvedPos } from 'prosemirror-model';
import { findNodeBy } from '@/wysiwyg/util';
export interface CellInfo {
offset: number;
nodeSize: number;
extended?: boolean;
}
export interface SelectionInfo {
startRowIdx: number;
startColIdx: number;
endRowIdx: number;
endColIdx: number;
}
... | the_stack |
import * as vscode from 'vscode';
import { LanguageClientOptions, RevealOutputChannelOn } from 'vscode-languageclient';
import { LanguageClient } from 'vscode-languageclient/browser';
import { SupportedLanguages } from './supportedLanguages';
import TelemetryReporter from 'vscode-extension-telemetry';
export function ... | the_stack |
declare module 'vscode' {
/**
* Controls how the task channel is used between tasks
*/
export enum TaskPanelKind {
/**
* Shares a panel with other tasks. This is the default.
*/
Shared = 1,
/**
* Uses a dedicated panel for this tasks. The panel is not
* shared with other tasks.
*/
Dedic... | the_stack |
import { EaseSegment, SimpleEase } from './ParticleUtils';
import { ValueList } from './PropertyNode';
import { IPointData } from '@pixi/math';
/**
* Full Emitter configuration for initializing an Emitter instance.
*/
export interface EmitterConfigV3
{
/**
* Random number configuration for picking the lifet... | the_stack |
import moment from 'moment';
import {
isTimeTableElementsMetaActual, isAllDayElementsMetaActual, sortAppointments,
findOverlappedAppointments, calculateAppointmentOffsets, unwrapGroups,
calculateRectByDateAndGroupIntervals, createAppointmentForest,
calculateAppointmentLeftAndWidth, isPossibleChild, findMaxReduc... | the_stack |
* @title: Draw2D
* @description:
* This sample demonstrates the capabilities of the Draw2D API.
* You can drag the slider around to increase or decrease the amount of sprites rendered using the Draw2D API.
* You can also select between different rendering options (draw mode, texture mode, sort mode and blend mode)
... | the_stack |
import { Property, Complex, ChildProperty, DateFormatOptions, isNullOrUndefined, Collection } from '@syncfusion/ej2-base';
import { DataUtil } from '@syncfusion/ej2-data';
import { Orientation } from '../utils/enum';
import { FontModel, TitleModel, AxisLabelBorderModel, MultiLevelLabelsModel, MultiLevelCategoriesModel ... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import {
GenericResourceExpanded,
ResourcesListByResourceGroupOptionalParams,
ResourcesListOptionalParams,
ResourcesMoveInfo,
ResourcesMoveResourcesOptionalParams,
ResourcesVali... | the_stack |
import * as t from 'io-ts';
import { RTTI_id } from '../Scalar/RTTI_id';
import { RTTI_Meta, IMeta } from './RTTI_Meta';
import { RTTI_uri } from '../Scalar/RTTI_uri';
import { RTTI_Element, IElement } from './RTTI_Element';
import { RTTI_code } from '../Scalar/RTTI_code';
import { RTTI_Narrative, INarrative } from './... | the_stack |
import get from 'lodash/get';
import got, { Headers } from 'got';
import publicIp from 'public-ip';
import Logger from '@cumulus/logger';
import * as secretsManagerUtils from '@cumulus/aws-client/SecretsManager';
import { searchConcept } from './searchConcept';
import ingestConcept from './ingestConcept';
import delet... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement } from "../shared";
/**
* Statement provider for service [kinesisvideo](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonkinesisvideostreams.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/lat... | the_stack |
import { Component } from 'react';
import { RouteComponentProps, withRouter } from 'react-router-dom';
import Loadable, { LoadingComponentProps } from 'react-loadable';
import classnames from 'classnames';
import axios, { AxiosResponse } from 'axios';
import produce from 'immer';
import qs from 'query-string';
import {... | the_stack |
import {
CdmDocumentDefinition,
CdmEntityDefinition,
CdmManifestDefinition,
cdmStatusLevel,
CdmCorpusDefinition,
cdmObjectType,
cdmLogCode,
CdmTypeAttributeDefinition,
CdmDataPartitionDefinition,
CdmDataPartitionPatternDefinition
} from '../../internal';
import { testHelper } fr... | the_stack |
import { resetAllWhenMocks, verifyAllWhenMocksCalled } from 'jest-when';
import { ExposesEntry } from '../src/z2mModels';
import { setHap, hap } from '../src/hap';
import * as hapNodeJs from 'hap-nodejs';
import 'jest-chain';
import { ServiceHandlersTestHarness, testJsonDeviceListEntry } from './testHelpers';
jest.use... | the_stack |
// IMPORTANT
// This file was 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
// Generated from: https://streetviewpublish.googleapis.com/$discovery/rest?version=... | the_stack |
import * as clusters from "../resources/clusters";
import * as console from "../../console";
import * as deployModel from "../../deploymodel";
import * as docker from "../../docker";
import * as loadBalancers from "../resources/loadbalancers";
import * as repositories from "../resources/repositories";
import * as secur... | the_stack |
namespace ts.refactor {
const refactorName = "Convert import";
const actions = {
[ImportKind.Named]: {
name: "Convert namespace import to named imports",
description: Diagnostics.Convert_namespace_import_to_named_imports.message,
kind: "refactor.rewrite.import... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { SubAssessments } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { SecurityCenter } from "../securityCenter... | the_stack |
import { Component, OnInit, OnDestroy, Output, EventEmitter } from '@angular/core';
import { Subscription } from 'rxjs/Subscription';
import { CommonResponseService } from '../../../shared/services/common-response.service';
import { environment } from './../../../../environments/environment';
import { LoggerService } f... | the_stack |
import { flatten } from "lodash";
import should from "should";
import { handle, Handle, Status } from "../../src";
import { Dependency, DeployHelpers, Relation, RelationOp } from "../../src/deploy/deploy_types";
import {
relationInverse,
relationIsReady,
relationIsReadyStatus,
relationToString,
toDe... | the_stack |
import React, { useState, Dispatch, SetStateAction, useContext, useEffect } from 'react'
import StoreContext from '../lib/stores/context'
import { fetchArtifact, setFeaturedArtifacts, setPublishApprovedArtifacts } from '../lib/api/artifacts';
import { Artifact, FETCH_ARTIFACT_ASSETS, UPDATE_ARTIFACT_ASSET } from '../li... | the_stack |
import { DocumentEditorContainer } from '../../src/document-editor-container/document-editor-container';
import { Toolbar } from '../../src/document-editor-container/tool-bar/tool-bar';
import { createElement } from '@syncfusion/ej2-base';
import { ContextMenu } from '../../src/document-editor/implementation/context-me... | the_stack |
import * as Path from 'path';
import * as v from 'villa';
import {
Command,
CommandClass,
Context,
GeneralValidator,
HelpInfo,
OptionDefinition,
ParamDefinition,
ParamsDefinition,
} from './command';
import {CastableType, Printable, buildCastingContext, cast} from './object';
import {ExpectedError} ... | the_stack |
import {CapabilitiesResponse, Cdd, DEFAULT_MAX_COPIES, Destination, DestinationCertificateStatus, DestinationConnectionStatus, DestinationOrigin, DestinationStore, DestinationType, GooglePromotedDestinationId, LocalDestinationInfo, MeasurementSystemUnitType, MediaSizeCapability, MediaSizeOption, NativeInitialSettings, ... | the_stack |
import {
Accessor,
createContext,
createUniqueId,
JSX,
Show,
splitProps,
useContext,
} from "solid-js";
import { createStore } from "solid-js/store";
import { visuallyHiddenStyles } from "../../styled-system/utils";
import { isFunction } from "../../utils/assertion";
import { classNames } from "../../uti... | the_stack |
import { createBoardInfo } from "./boardinfobase";
import { IBoard } from "../boards";
import { hvqfs } from "../fs/hvqfs";
import { strings } from "../fs/strings";
import { arrayToArrayBuffer } from "../utils/arrays";
import { scenes } from "../fs/scenes";
import { toPack } from "../utils/img/ImgPack";
import { mainfs... | the_stack |
import { statuses } from '@tanker/core';
import type { b64string, Tanker } from '@tanker/core';
import { getPublicIdentity } from '@tanker/identity';
import { expect, uuid } from '@tanker/test-utils';
import { expectDecrypt } from './helpers';
import type { TestArgs, AppHelper } from './helpers';
import type { AppProv... | the_stack |
import {
BuiltinTypes, CORE_ANNOTATIONS, ElemID, ObjectType, createRestriction, ListType, createRefToElmWithValue,
} from '@salto-io/adapter-api'
import * as constants from '../constants'
export const savedsearchInnerTypes: ObjectType[] = []
const savedSearchElemID = new ElemID(constants.NETSUITE, 'savedsearch')
ex... | the_stack |
import { JsPsych, JsPsychPlugin, ParameterType, TrialType } from "jspsych";
const info = <const>{
name: "webgazer-validate",
parameters: {
/** Array of points in [x,y] coordinates */
validation_points: {
type: ParameterType.INT, // TO DO: nested array, so different type?
default: [
[10,... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* Creates a table resource in a dataset for Google BigQuery. For more information see
* [the official documentation](https://cloud.google.com/bigquery/docs/) and
* ... | the_stack |
import { Color } from "color";
export class Colors {
//reds
get md_red_50() { return new Color("#FFEBEE").android }
get md_red_100() { return new Color("#FFCDD2").android }
get md_red_200() { return new Color("#EF9A9A").android }
get md_red_300() { return new Color("#E57373").android }
get md_re... | the_stack |
import * as React from 'react';
import { FormattedMessage, injectIntl } from 'react-intl';
import ContentItem from '@synerise/ds-manageable-list/dist/Item/ContentItem/ContentItem';
import { Tag, TagShape } from '@synerise/ds-tags';
import theme from '@synerise/ds-core/dist/js/DSProvider/ThemeProvider/theme';
import But... | the_stack |
import { Type } from '@angular/core';
import {
ComponentFixture,
fakeAsync,
tick,
} from '@angular/core/testing';
import {
FormsModule,
ReactiveFormsModule,
} from '@angular/forms';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
imp... | the_stack |
import { expect } from 'chai';
import { distinctUntilKeyChanged, mergeMap, map, take } from 'rxjs/operators';
import { TestScheduler } from 'rxjs/testing';
import { of, Observable } from 'rxjs';
import { observableMatcher } from '../helpers/observableMatcher';
/** @test {distinctUntilKeyChanged} */
describe('distinctU... | the_stack |
import * as fs from 'fs-extra'
import { clone } from 'lodash'
import * as os from 'os'
import * as path from 'path'
import * as uuid from 'uuid/v4'
import { App } from '../lib/app'
import { Config } from '../lib/config'
import { ICodeRepository } from '../lib/service'
import { EventEmitter } from '../lib/utility/event... | the_stack |
import {
MissingParametersPlaceholder,
defaultModelAssessmentContext,
ModelAssessmentContext,
OverallMetricChart,
BinaryClassificationMetrics,
RegressionMetrics,
JointDataset,
generateMetrics,
ModelTypes,
classificationTask,
FabricStyles,
MulticlassClassificationMetrics,
ErrorCohort,
ILabele... | the_stack |
import AuralRendering from '../audio/aural_rendering';
import * as Enrich from '../enrich_mathml/enrich';
import {Highlighter} from '../highlighter/highlighter';
import * as HighlighterFactory from '../highlighter/highlighter_factory';
import * as Semantic from '../semantic_tree/semantic';
import {SpeechGenerator} from... | the_stack |
namespace pxsim.music {
let synth: SoundEmojiSynthesizer;
let soundPromise: Promise<void>;
//%
export function __playSoundExpression(notes: string, waitTillDone: boolean): void {
const cb = getResume();
const b = board();
// v2 only...
b.ensureHardwareVersion(2);
... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
import * as Models from "../models";
import * as Mappers from "../models/dataConnectionsMappers";
import * as Parameters from "../models/parameters";
import { KustoManagementClientContext } from "../kustoManagementClien... | the_stack |
import * as vscode from "vscode";
import * as asyncfs from "fs/promises";
import * as path from "path";
import { createTestConfiguration, createDarwinTestConfiguration } from "../debugger/launch";
import { FolderContext } from "../FolderContext";
import { execFileStreamOutput } from "../utilities/utilities";
import { g... | the_stack |
import { createConnection, Diagnostic, DiagnosticSeverity, Position, Range, TextDocuments, DidOpenTextDocumentParams, DidOpenTextDocumentNotification } from 'vscode-languageserver/node'; // prettier-ignore
import { TextDocument } from 'vscode-languageserver-textdocument';
import * as vscode from 'vscode';
import { Uri,... | the_stack |
import * as assert from "@esfx/internal-assert";
import * as fn from "@esfx/async-iter-fn";
import * as sync_fn from "@esfx/iter-fn";
import { ConsumeAsyncOptions } from "@esfx/async-iter-fn";
import { toAsyncIterable } from '@esfx/async-iter-fromsync';
import { AsyncHierarchyIterable, AsyncOrderedHierarchyIterabl... | the_stack |
import { Trilogy } from '.'
import { Hooks, Hook } from './hooks'
import * as helpers from './helpers'
import {
Cast, normalizeSchema, createTrigger, TriggerEvent
} from './schema-helpers'
import {
invariant, isEmpty, isString, isObject, isNil, toArray, firstOrValue
} from './util'
import * as types from './types... | the_stack |
import { EventEmitter } from 'events';
import { ChildProcess } from 'child_process';
import * as asap from 'asap';
import deprecated from 'deprecated-decorator';
import { BreakSignal, GoToSignal } from './signals';
import { Context } from './context';
import { TimeoutError } from './errors';
let EventEmitterConstruc... | the_stack |
import assert from "assert";
import {
malloc,
free,
freeAll,
calloc,
realloc,
get__free,
readBlockNext,
get__used,
readBlockSize,
align,
get_top,
get_doCompact,
get_doSplit,
get_end,
} from "./functional";
import { allocatorInit, stats as readStats } from "./functional";
import type { Alloca... | the_stack |
import * as Cms from '../app/cms';
import {modelToSchema, schemaToModel, slugify} from '../app/cms';
import {Field, FieldType, Node, NodeType, normalizeModel, TreeModel} from "../app/model";
import {readdirSync} from "fs";
const fs = require("fs");
const Promise = require("bluebird");
const readFile = Promise.promisif... | the_stack |
import { CharCode } from 'vs/base/common/charCode';
import { KeyCode, KeyCodeUtils, IMMUTABLE_CODE_TO_KEY_CODE, ScanCode, ScanCodeUtils, NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE } from 'vs/base/common/keyCodes';
import { Keybinding, ResolvedKeybinding, SimpleKeybinding, KeybindingModifier, ScanCodeBinding } from 'vs/base/co... | the_stack |
import { TextDocument } from 'vscode-languageserver-textdocument';
import { AureliaView } from '../../../server/src/common/constants';
import { ViewRegionUtils } from '../../../server/src/common/documens/ViewRegionUtils';
import { RegionParser } from '../../../server/src/core/regions/RegionParser';
import {
RepeatFo... | the_stack |
import Page = require('../../../base/Page');
import Response = require('../../../http/response');
import V1 = require('../V1');
import { SerializableClass } from '../../../interfaces';
/**
* Initialize the ByocTrunkList
*
* @param version - Version of the resource
*/
declare function ByocTrunkList(version: V1): By... | the_stack |
import {ClientInfo} from "../clientInfo";
import {ClientType} from "../clientType";
import {Constants} from "../constants";
import {PageInfo} from "../pageInfo";
import {UserInfo, AuthType} from "../userInfo";
import {ObjectUtils} from "../objectUtils";
import {Communicator} from "../communicator/communicator";
import... | the_stack |
import { userOwns } from '../../vulcan-users/permissions';
import { Utils, slugify, getDomain, getOutgoingUrl } from '../../vulcan-lib/utils';
import moment from 'moment';
import { foreignKeyField, resolverOnlyField, denormalizedField, denormalizedCountOfReferences, accessFilterMultiple, accessFilterSingle } from '../.... | the_stack |
import { createHookMsg } from '@anchor-protocol/anchor.js/dist/utils/cw20/create-hook-msg';
import { validateTxFee } from '@anchor-protocol/app-fns';
import {
useAnchorWebapp,
useBondBLunaExchangeRateQuery,
useBondBurnTx,
} from '@anchor-protocol/app-provider';
import { useAnchorBank } from '@anchor-protocol/app-... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.