text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import * as py from "@andrewhead/python-program-analysis"; import { ICodeCellModel } from "@jupyterlab/cells"; import { NotebookPanel } from "@jupyterlab/notebook"; import { PanelLayout, Widget } from "@phosphor/widgets"; import { LineHandle } from "codemirror"; /* * jQuery only used for dynamically computing element ...
the_stack
import { Component, EventEmitter, Input, Output, forwardRef, ElementRef, OnInit, ViewChild, ViewContainerRef } from '@angular/core'; import { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms'; // Vendor import { ReplaySubject } from 'rxjs'; import { coerceBooleanProperty } from '@angular/cdk/coercion'; //...
the_stack
import {Query} from "./Query" import {Bucket, HistogramResults, IDataSource} from "../backends/elasticsearch/Elasticsearch" import {IRelative, Time, When} from "../helpers/Time" import {Direction, TimeZone} from "./Prefs" import moment, {Moment, unitOfTime} from 'moment' import * as d3 from 'd3' interface Size { wid...
the_stack
* 音频流信息。 */ export interface AudioStreamInfo { /** * 码率,单位:bps。 */ Bitrate: number /** * 采样率,单位:hz。 */ SamplingRate: number /** * 编码格式。 */ Codec: string } /** * ModifyMaterial返回参数结构体 */ export interface ModifyMaterialResponse { /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 ...
the_stack
import type { InjectedOptionsParam, InjectedDependenciesParam, PineOptions, PineOptionsWithSelect, PineTypedResult, } from '..'; import type { Device, DeviceServiceEnvironmentVariable, DeviceVariable, DeviceTag, Application, } from '../types/models'; import { DeviceOverallStatus as OverallStatus } from '../ty...
the_stack
import {KeyValue, merge, removeTrailingChar} from "./lib/Utils" import * as FS from 'fs' import * as path from "path" import * as mkdirp from "mkdirp" import {DatabaseError, DataError} from "./lib/Errors" import {DBParentData} from "./lib/DBParentData" import {ArrayInfo} from "./lib/ArrayInfo" import {Config, JsonDBCon...
the_stack
import { expect } from 'chai'; import { DetachedSequenceId, NodeId } from '../Identifiers'; import { ChangeNode } from '../generic'; import { StablePlace, StableRange, ConstraintEffect } from '../default-edits'; import { AnchoredChange, PlaceAnchor, PlaceAnchorSemanticsChoice, RangeAnchor, RelativePlaceAnchor, re...
the_stack
import { useMemo } from 'react'; import { Fetcher, util } from "graphql-ts-client-api"; import { loadQuery, useQueryLoader, usePreloadedQuery, useLazyLoadQuery, useMutation, useFragment, useRefetchableFragment, EnvironmentProviderOptions, PreloadedQuery, LoadQueryOptions, ...
the_stack
import AnchoredOperationModel from '../../lib/core/models/AnchoredOperationModel'; import Config from '../../lib/core/models/Config'; import DownloadManager from '../../lib/core/DownloadManager'; import ErrorCode from '../../lib/core/ErrorCode'; import IBlockchain from '../../lib/core/interfaces/IBlockchain'; impo...
the_stack
import type {Mutable, Class} from "@swim/util"; import {Affinity, Animator} from "@swim/component"; import {AnyLength, Length, AnyR2Point, R2Point, R2Box, Transform} from "@swim/math"; import {AnyGeoPoint, GeoPoint, GeoBox} from "@swim/geo"; import {ThemeAnimator} from "@swim/theme"; import {ViewContextType, ViewFlags,...
the_stack
import { kea } from 'kea' import React from 'react' import api from 'lib/api' import { dayjs } from 'lib/dayjs' import { errorToast } from 'lib/utils' import { generateRandomAnimal } from 'lib/utils/randomAnimal' import { toast } from 'react-toastify' import { funnelLogic } from 'scenes/funnels/funnelLogic' import { cl...
the_stack
import { observableArray, observable } from '../dist' import { trackArrayChanges } from '../dist/observableArray.changeTracking' function captureCompareArraysCalls (callback) { var origCompareArrays = trackArrayChanges.compareArrays, interceptedCompareArrays = function () { callLog.push(Array.prot...
the_stack
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BidiModule } from '@angular/cdk/bidi'; import { CommonModule } from '@angular/common'; import { PortalModule } from '@angular/cdk/portal'; import { PlatformModule } from '@angular/cdk/platform'; import { SmoothScrollModule } from ...
the_stack
import * as H from 'history'; import * as queryString from 'query-string'; import * as React from 'react'; import {analyticsEvent} from './util/analytics'; import {Chart, ChartComponent, ChartType} from './chart'; import {DataSourceEnum, SourceSelection} from './datasource/data_source'; import {Details} from './details...
the_stack
import { defaultSelectId } from '../utils/utilities'; import { EntityAdapter, createEntityAdapter } from '@ngrx/entity'; import { EntityCollection, ChangeState, ChangeStateMap, ChangeType } from './entity-collection'; import { createEmptyEntityCollection } from './entity-collection-creator'; import { IdSelector, Update...
the_stack
import * as tf from '../index'; import {ALL_ENVS, describeWithFlags} from '../jasmine_util'; import {expectArraysClose} from '../test_util'; describeWithFlags('maxPool3d', ALL_ENVS, () => { it('4D x=[2,2,2,1] f=[2,2,2] s=1 p=valid', async () => { const x = tf.tensor4d([1, 2, 3, 4, 5, 6, 7, 8], [2, 2, 2, 1]); ...
the_stack
import { PacketType } from "socket.io-parser"; import msgpack = require("notepack.io"); import debugModule from "debug"; import type { DefaultEventsMap, EventNames, EventParams, EventsMap, TypedEventBroadcaster, } from "./typed-events"; const debug = debugModule("socket.io-emitter"); const UID = "emitter"; ...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import * as tsickle from 'tsickle'; import * as ts from 'typescript'; import {FileLoader} from './cache'; import * as perfTrace from './perf_trace'; import {BazelOptions} from './tsconfig'; import {DEBUG, debug} from './worker'; export type ModuleResolver = ...
the_stack
import type { RawSourceMap, SFCBlock, SFCDescriptor } from '@vuedx/compiler-sfc' import { FindPosition, Position as SourceMapPosition, SourceMapConsumer, } from 'source-map' import { Position, Range, TextDocument, } from 'vscode-languageserver-textdocument' import { annotations, BlockTransformer, Tran...
the_stack
import { PdfGridRow } from './pdf-grid-row'; import { PdfGrid } from './pdf-grid'; import { PdfGridCellStyle } from './styles/style'; import { PdfStringLayouter, PdfStringLayoutResult } from './../../graphics/fonts/string-layouter'; import { PdfDocument } from './../../document/pdf-document'; import { PdfFont } from '....
the_stack
import {Mutable, FromAny} from "@swim/util"; import {Affinity, FastenerOwner} from "@swim/component"; import {AnyLength, Length, AnyTransform, Transform} from "@swim/math"; import {FontFamily, AnyColor, Color, AnyBoxShadow, BoxShadow} from "@swim/style"; import {ThemeAnimatorInit, ThemeAnimatorClass, ThemeAnimator} fro...
the_stack
import { AccountContract, BufferString, common, crypto, decryptNEP2, encryptNEP2, NetworkType, PrivateKeyString, privateKeyToPublicKey, publicKeyToAddress, UpdateAccountNameOptions, UserAccount, UserAccountID, } from '@neo-one/client-common'; import { utils } from '@neo-one/utils'; import debu...
the_stack
import {Flo} from 'spring-flo'; import {convertParseResponseToJsonGraph} from './text-to-graph'; import {JsonGraph, TextToGraphConverter} from './text-to-graph'; import {Parser} from '../shared/service/parser'; describe('text-to-graph', () => { let parseResult: Parser.ParseResult; let graph: JsonGraph.Graph; let...
the_stack
import classNames from "classnames"; import * as React from "react"; import { polyfill } from "react-lifecycles-compat"; import { AbstractComponent2, DISPLAYNAME_PREFIX, Hotkey, Hotkeys, HotkeysTarget, IRef, Utils as CoreUtils, } from "@blueprintjs/core"; import { ICellProps } from "./cell...
the_stack
import { EditorState, NodeSelection, Selection, TextSelection, Transaction, } from 'prosemirror-state'; import { wrapIn as wrapInPM, setBlockType as setBlockTypePM, toggleMark as toggleMarkPM, selectParentNode, } from 'prosemirror-commands'; import { wrapInList as wrapInListPM, liftListItem } from 'pr...
the_stack
/// <reference types="jquery" /> import htmlString = JQuery.htmlString; interface FullPageJsOptions { /** * (default false) A selector can be used to specify the menu to link with the sections. This way the scrolling of the sections will activate the corresponding element in the menu using the class active. ...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Resources } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { ResourceManagementClient } from "../resourceM...
the_stack
* Create a syntax highighter with a fully declarative JSON style lexer description * using regular expressions. */ import { Token, TokenizationResult } from './token'; import { IState } from './types'; import * as monarchCommon from './common'; export interface ITokenizationSupport { getInitialState(): IState; ...
the_stack
import * as assert from "assert"; import { QueueServiceClient, newPipeline, StorageSharedKeyCredential, QueueClient } from "@azure/storage-queue"; import { configLogger } from "../../../src/common/Logger"; import { StoreDestinationArray } from "../../../src/common/persistence/IExtentStore"; import QueueConfig...
the_stack
import { each, some } from 'lodash'; import { PaymentActionCreator } from '../..'; import { CheckoutStore, InternalCheckoutSelectors } from '../../../checkout'; import { getBrowserInfo } from '../../../common/browser-info'; import { InvalidArgumentError, MissingDataError, MissingDataErrorType, NotInitializedError, Not...
the_stack
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { ConfigureLogsCommand, ConfigureLogsCommandInput, ConfigureLogsCommandOutput, } from "./commands/ConfigureLogsCommand"; import { CreateAssetCommand, CreateAssetCommandInput, CreateAssetCommandOutput } from "./commands/CreateAsse...
the_stack
import { Input, InputObject, FloatLabelType, TextBox, InputEventArgs } from '@syncfusion/ej2-inputs';import { createCheckBox } from '@syncfusion/ej2-buttons';import { NotifyPropertyChanges, INotifyPropertyChanged, Property, Event, EmitType } from '@syncfusion/ej2-base';import { Component, EventHandler, attributes, form...
the_stack
const MANIFEST_UPDATE_TYPE = { Full: 0, Partial: 1, }; describe("Manifest - replacePeriods", () => { beforeEach(() => { jest.resetModules(); }); // Case 1 : // // old periods : p1, p2 // new periods : p2 it("should remove old period", () => { const fakeUpdatePeriodInPlace = jest.fn(() => { r...
the_stack
import { LimitOrder } from '@0x/asset-swapper'; import { LimitOrderFields } from '@0x/protocol-utils'; import * as _ from 'lodash'; import { Connection, In, MoreThanOrEqual } from 'typeorm'; import { DB_ORDERS_UPDATE_CHUNK_SIZE, SRA_ORDER_EXPIRATION_BUFFER_SECONDS, SRA_PERSISTENT_ORDER_POSTING_WHITELISTED_...
the_stack
import { Point } from './../primitives/point'; import { Size } from './../primitives/size'; import { PointModel } from './../primitives/point-model'; import { RectAttributes, PathAttributes, TextAttributes } from './canvas-interface'; import { pathSegmentCollection, processPathData } from './../utility/path-util'; impo...
the_stack
import { Driver } from "./Driver"; import { Invoke } from "./Invoke"; import { Pair } from "tstl/utility/Pair"; import { HashMap } from "tstl/container/HashMap"; import { ConditionVariable } from "tstl/thread/ConditionVariable"; import { Exception } from "tstl/exception/Exception"; import { DomainError } from "tstl/e...
the_stack
import { Index, Datastore } from "../../src"; import { getDate } from "../../src/utils"; import { MockStorageDriver } from "../example"; import * as fs from "fs"; beforeAll(() => { const cwd = process.cwd(); const datastores = fs.readdirSync(`${cwd}/spec/fixtures/db/users`); if (!fs.existsSync(`${cwd}/spec...
the_stack
import { builders } from "prettier/doc"; import embed from "./embed"; import type { ContentCstNode, Doc, IToken, Path, Printer } from "./types"; const { fill, group, hardline, indent, join, line, literalline, softline } = builders; const ignoreStartComment = "<!-- prettier-ignore-start -->"; const ignoreEndComment ...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utilities"; /** * Provides an AppStream fleet. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; ...
the_stack
'use strict'; // tslint:disable no-unused-expression import * as vscode from 'vscode'; import * as chai from 'chai'; import * as sinon from 'sinon'; import * as sinonChai from 'sinon-chai'; import { TestUtil } from '../TestUtil'; import { UserInputUtil } from '../../extension/commands/UserInputUtil'; import { Extens...
the_stack
import { OnDestroy, ChangeDetectorRef, NgZone } from '@angular/core'; import { BsModalService } from 'ngx-bootstrap/modal'; import { Subscription } from 'rxjs'; import { WidgetService } from '../../../widget.service'; import { NotificationService, Base64Service, Principal, WidgetEventBusService } from '../../../../...
the_stack
import * as angular from 'angular'; import { ChoicefieldType } from './choicefieldTypeEnum'; /** * @ngdoc interface * @name IChoicefieldOptionScope * @module officeuifabric.components.choicefield * * @description * This is the scope used by the choicefield option directive. * * * @property {string=} ngModel ...
the_stack
import * as PropTypes from 'prop-types'; import * as React from 'react'; import FocusManagerBase from './utils/FocusManager'; import { Types } from './Interfaces'; import { Dimensions, PopupPosition } from './Types'; export interface PopupContainerViewBaseProps<C> extends Types.CommonProps<C> { hidden?: boolean; ...
the_stack
import { ConfigServiceInterface, EnvironmentVariablesService } from '../../../src/config'; import { injectLambdaContext } from '../../../src/middleware/middy'; import { Logger } from './../../../src'; import middy from '@middy/core'; import { PowertoolLogFormatter } from '../../../src/formatter'; import { Console } fro...
the_stack
import assert from "assert"; import fs from "fs/promises"; import path from "path"; import { CorePlugin, Request, Response, Scheduler } from "@miniflare/core"; import { Compatibility, NoOpLog, PluginContext, STRING_SCRIPT_PATH, } from "@miniflare/shared"; import { logPluginOptions, parsePluginArgv, parseP...
the_stack
import * as sdk from "../microsoft.cognitiveservices.speech.sdk"; import { ConsoleLoggingListener } from "../src/common.browser/Exports"; import { ConnectionErrorEvent, Events, EventType, IDetachable, PlatformEvent } from "../src/common/Exports"; import { Settings } from "./Settings"; impor...
the_stack
import type { TextDocument } from 'vscode'; import { Event, BasicEvent, URI, IExtensionInfo } from '@opensumi/ide-core-common'; import type { CancellationToken } from '@opensumi/ide-core-common'; import { Uri, UriComponents } from './ext-types'; import type { WebviewPanel, IWebviewPanelOptions } from './webview'; /*...
the_stack
import { ChangeDetectorRef, Component, ElementRef, Inject, OnInit, QueryList, ViewChildren, } from '@angular/core'; import { FormControl } from '@angular/forms'; import { EventManager } from '@angular/platform-browser'; import { SandboxMenuItem, SelectedSandboxAndScenarioKeys } from '../lib/app-state'; import { StateSe...
the_stack
import SDKDriver from '../../../lib/sdkdriver/src'; import LocalDataTrackDriver from './localdatatrack'; import LocalMediaTrackDriver from './localmediatrack'; import LocalTrackPublicationDriver from './localtrackpublication'; import ParticipantDriver from './participant'; import TrackDriver, { TrackSID } from './track...
the_stack
* For all Polymer component testing, be sure to call Polymer's flush() after * any code that will cause shadow dom redistribution, such as observed array * mutation, wich is used by the dom-repeater in this case. */ window.addEventListener('WebComponentsReady', () => { describe('<item-list>', () => { let testFixt...
the_stack
import { GeoCoordinates, GeoCoordinatesLike, GeoPolygonCoordinates, mercatorTilingScheme, Projection, sphereProjection, TileKey } from "@here/harp-geoutils"; import * as TestUtils from "@here/harp-test-utils/lib/WebGLStub"; import { assert } from "chai"; import * as sinon from "sinon"; impor...
the_stack
import * as moment from 'moment'; import * as nestedProperty from 'nested-property'; import autobind from 'autobind-decorator'; import Logger from '../logger'; import { Schema, bool, types } from '../../misc/schema'; import { EntitySchema, getRepository, Repository, LessThan, MoreThanOrEqual } from 'typeorm'; import { ...
the_stack
import { Class, Filter } from '@nestjs-query/core'; import { plainToClass } from 'class-transformer'; import { ObjectType, Int, Resolver, Query, Args, Float, GraphQLTimestamp, Field, InputType, registerEnumType, } from '@nestjs/graphql'; import { FilterableField, FilterType, Relation, Update...
the_stack
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client"; import { Workflow as WorkflowMapper, GenerateUpgradedDefinitionParameters as GenerateUpgradedDefinitionParametersMapper, GetCallbackUrlParameters as GetCallbackUrlParametersMapper, WorkflowReference as...
the_stack
import { toQueryString } from "../../utils"; import { SdkClient } from "../common/sdk-client"; import { AssetManagementModels } from "./asset-models"; /** * Service for configuring, reading and managing assets, asset ~ and aspect types. * * @export * @class AssetManagementClient * @extends {SdkClient} */ export ...
the_stack
type uint8 = number; /* uint8 */ type uint32 = number; /* uint32 */ let maxUint32 = 4294967295 class uint64 { /* uint64 */ high: uint32; low: uint32; constructor(high: uint32, low: uint32) { this.high = high; this.low = low; } add(y: uint64): void { let low = this.low + y.low; let high = th...
the_stack
declare module "tls" { import * as crypto from "crypto"; import * as dns from "dns"; import * as net from "net"; import * as stream from "stream"; const CLIENT_RENEG_LIMIT: number; const CLIENT_RENEG_WINDOW: number; interface Certificate { /** * Country code. */ ...
the_stack
module Inknote { interface MouseMoveEvent extends MouseEvent { movementX: number; movementY: number; } interface Touch { identifier: number; target: EventTarget; screenX: number; screenY: number; clientX: number; clientY: number; pag...
the_stack
import { noop } from '@aurelia/kernel'; import { IDialogService, IDialogSettings, IDialogGlobalSettings, DialogConfiguration, DialogDefaultConfiguration, DefaultDialogGlobalSettings, customElement, DialogCancelError, DialogDeactivationStatuses, IDialogDom, IDialogController, INode, DialogContr...
the_stack
import * as check from 'post-install-check'; // Used to easily debug specific tests if necessary. // Otherwise, no tests should be skipped. const SKIP = { base: false, express: false, hapi: {sixteen: false, seventeen: false}, koa: {one: false, two: false}, restify: {seven: false, eight: false}, }; const TS_...
the_stack
import { initTooltips } from "util.js"; import { Annotation, AnnotationType } from "code_listing/annotation"; import { MachineAnnotation, MachineAnnotationData } from "code_listing/machine_annotation"; import { UserAnnotation, UserAnnotationData, UserAnnotationFormData } from "code_listing/user_annotation";...
the_stack
import db from '../models/db.js'; import { GraphQLSchema, GraphQLObjectType, GraphQLList, GraphQLID, GraphQLString, GraphQLNonNull, } from 'graphql'; // =========================== // // ===== TYPE DEFINITIONS ==== // // =========================== // const BookType = new GraphQLObjectType({ name: 'Boo...
the_stack
import type { APIApplicationCommandAutocompleteInteraction } from "discord-api-types/payloads/v9/_interactions/autocomplete"; import type { APIApplicationCommandOptionChoice, APIAttachment, APIInteractionDataResolvedChannel, APIMessageButtonInteractionData, APIMessageSelectMenuInteractionData, APIRole, AP...
the_stack
import { Component, OnDestroy, AfterViewInit, forwardRef, ChangeDetectorRef, Input, Output, EventEmitter, ContentChild, TemplateRef, ViewEncapsulation, HostBinding, ViewChild, ElementRef, ChangeDetectionStrategy, ContentChildren, QueryList, Attribu...
the_stack
import { getServiceNamespace, InterfaceType, ModelTypeProperty, NamespaceType, OperationType, Program, setDecoratorNamespace, Type, } from "@cadl-lang/compiler"; import { reportDiagnostic } from "./diagnostics.js"; import { getOperationVerb, getPathParamName, hasBody, HttpVerb, isPathParam } from "./htt...
the_stack
import * as debug from "debug"; import { ContinueAsNewAction, DurableOrchestrationBindingInfo, EntityId, HistoryEvent, HistoryEventType, IAction, IOrchestrationFunctionContext, LockState, OrchestratorState, TaskFilter, Utils, } from "./classes"; import { Durable...
the_stack
import { NotebookCell, NotebookCellExecution, NotebookCellOutput, NotebookCellOutputItem, NotebookController, NotebookDocument, notebooks } from 'vscode'; import { CellDiagnosticsProvider } from './problems'; import { Compiler } from './compiler'; import { DisplayData, TensorFlowVis } from '...
the_stack
describe('Choices - text element', () => { beforeEach(() => { cy.visit('/text', { onBeforeLoad(win) { cy.stub(win.console, 'warn').as('consoleWarn'); }, }); }); describe('scenarios', () => { const textInput = 'testing'; describe('basic', () => { describe('adding items',...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Chart } from '../../../src/chart/chart'; import { Series, Points } from '../../../src/chart/series/chart-series'; import { Axis } from '../../../src/chart/axis/axis'; import { LineSeries } from '../../../src/chart/series/line-series'; import { DataLabel } f...
the_stack
import type { LiteralUnion } from '@/generalTypes' import type { JSONTextComponent, LootTableEntry } from '@arguments' import type { BASIC_COLORS, MAP_ICONS } from '@arguments/basics' import type { ATTRIBUTES, BLOCKS, ENCHANTMENTS, STRUCTURES, } from '@arguments/generated' import type { LootTableInstance } from '@res...
the_stack
import NumberColumn from './NumberColumn'; import type { IEventListener } from '../internal'; import { SortByDefault, toolbar } from './annotations'; import Column, { dirty, dirtyCaches, dirtyHeader, dirtyValues, groupRendererChanged, labelChanged, metaDataChanged, rendererTypeChanged, summaryRenderer...
the_stack
import { EventEmitter } from 'eventemitter3'; import * as Sentry from '@sentry/minimal'; import { config, Hosts } from '../config'; import { FilestackError } from './../filestack_error'; import { metadata, MetadataOptions, remove, retrieve, RetrieveOptions, download } from './api/file'; import { transform, TransformOpt...
the_stack
import {ColorArea} from '../'; import {XBlueYGreen as DefaultColorArea, XSaturationYBrightness, XSaturationYLightness} from '../stories/ColorArea.stories'; import {defaultTheme} from '@adobe/react-spectrum'; import {fireEvent, render} from '@testing-library/react'; import {installMouseEvent, installPointerEvent} from '...
the_stack
import { ACellTableSection, GridStyleManager, IAbortAblePromise, ICellRenderContext, IExceptionContext, isAbortAble, isAsyncUpdate, isLoadingCell, ITableSection, nonUniformContext, PrefetchMixin, tableIds, uniformContext, IAsyncUpdate, } from 'lineupengine'; import type { ILineUpFlags } from...
the_stack
import * as c from '@aws-accelerator/common-config'; import * as cdk from '@aws-cdk/core'; import { AccountStacks } from '../../common/account-stacks'; import { getStackJsonOutput, ResolverRulesOutput, ResolversOutput, StackOutput, } from '@aws-accelerator/common-outputs/src/stack-output'; import { VpcOutputFin...
the_stack
import { ArrowUp16, Close20 } from '@carbon/icons-react'; import { InlineLoading } from 'carbon-components-react'; import cx from 'classnames'; import { unzipSync, strFromU8 } from 'fflate'; import { Stack } from 'office-ui-fabric-react'; import React, { useCallback, useEffect, useRef, useState } from 'react'; import A...
the_stack
import assert from 'assert'; import NodeVisitor from './ast/visitor'; import * as Ast from './ast'; import List from './utils/list'; import { isUnaryExpressionOp, flipOperator, getScalarExpressionName } from './utils'; function flattenAnd(expr : Ast.BooleanExpression) : Ast.BooleanExpression[] { const...
the_stack
import React, {useCallback} from 'react'; import {fromLonLat} from 'ol/proj'; import IGC from 'ol/format/IGC'; import {getVectorContext} from 'ol/render'; import {Geometry, LineString, Point} from 'ol/geom'; import { RMap, RLayerTile, RLayerVector, RFeature, RenderEvent, MapBrowserEvent, Ve...
the_stack
import { Injectable } from '@angular/core'; import { ConfigurationProvider } from '../config/provider/config.provider'; import { CallbackContext } from '../flows/callback-context'; import { LoggerService } from '../logging/logger.service'; import { StoragePersistenceService } from '../storage/storage-persistence.servic...
the_stack
import { LatLng, LatLngBounds, LeafletMouseEvent, Map, Point } from "leaflet"; import { Feature, FeatureCollection, LineString } from "geojson"; import { MapMatrix } from "./map-matrix"; import { ICanvasOverlayDrawEvent } from "./canvas-overlay"; import { ILinesSettings, Lines, WeightCallback } from "./lines"; jest.mo...
the_stack
* @category pipeline */ import { ccclass, displayOrder, type, serializable } from 'cc.decorator'; import { EDITOR } from 'internal:constants'; import { builtinResMgr } from '../../builtin/builtin-res-mgr'; import { Texture2D } from '../../assets/texture-2d'; import { RenderPipeline, IRenderPipelineInfo, PipelineRende...
the_stack
import * as ts from 'typescript'; import { ParseArrayLiteral, ParseArrayType, ParseClassDeclaration, ParseDecorator, ParseDefinition, ParseDependency, ParseEmpty, ParseExpression, ParseIndexSignature, ParseInterfaceDeclaration, ParseIntersectionType, ParseLocation, ParseMethod, ParseNode, ...
the_stack
import { Checkbox, FormControlLabel, IconButton, ListItemIcon, ListItemText, Typography } from '@material-ui/core'; import { MoreVert, OpenInNew, PlayArrow, TrendingFlat } from '@material-ui/icons'; import { Skeleton } from '@material-ui/lab'; import React, { FC } from 'react'; import { useDrag, useDrop} from 'react-dn...
the_stack
import { ContractWrapper } from "../core/classes/contract-wrapper"; import { ContractInterceptor } from "../core/classes/contract-interceptor"; import { IStorage } from "../core/interfaces/IStorage"; import { NetworkOrSignerOrProvider, TransactionResultWithId, } from "../core/types"; import { ContractMetadata } fro...
the_stack
import { assertNever, Commun, EntityActionPermissions, EntityConfig, EntityModel, getEntityRef, isEntityRef } from '@commun/core' import { GraphQLBoolean, GraphQLEnumType, GraphQLFloat, GraphQLID, GraphQLInputObjectType, GraphQLInputType, GraphQLInt, GraphQLList, GraphQLObjectType, Gra...
the_stack
* @packageDocumentation * @module Voice * @preferred * @publicapi */ import { EventEmitter } from 'events'; import Connection from '../connection'; import Device from '../device'; import { RTCSampleTotals } from '../rtc/sample'; import RTCSample from '../rtc/sample'; import RTCWarning from '../rtc/warning'; import ...
the_stack
import Translation from "../../models/Translation"; import { ARTICLE_TITLE_MAX_LENGTH, ARTICLE_CONTENT_MIN_LENGTH, ARTICLE_CONTENT_MAX_LENGTH, THREAD_CONTENT_MAX_LENGTH, THREAD_TITLE_MAX_LENGTH, PASSWORD_MIN_LENGTH } from "../constants"; const TRANSLATION: Translation = { locale: "en-US", messages: { /...
the_stack
import { expect } from "chai"; import { all, DI, Container, inject, lazy, optional, Registration, singleton, } from "./di"; describe("DI.get", function () { let container: Container; // eslint-disable-next-line mocha/no-hooks beforeEach(function () { container = DI....
the_stack
import { useAnimation } from '@angular/animations'; import { AfterViewInit, ChangeDetectorRef, Component, ViewChild, OnDestroy } from '@angular/core'; import { DisplayDensity, growVerIn, growVerOut, IgxTreeNodeComponent, IgxTreeSearchResolver, IgxTreeComponent, ITreeNodeTogglingEventArgs, ITreeNodeToggledEv...
the_stack
import { TextBlock, StackPanel, AdvancedDynamicTexture, Image, Button, Rectangle, Control, Grid } from "@babylonjs/gui"; import { Scene, Sound, ParticleSystem, PostProcess, Effect, SceneSerializer } from "@babylonjs/core"; export class Hud { private _scene: Scene; //Game Timer public time: number; //keep ...
the_stack
import fs from 'fs'; import AxiosError from 'axios-error'; import FormData from 'form-data'; import axios, { AxiosInstance, AxiosResponse } from 'axios'; import invariant from 'ts-invariant'; import warning from 'warning'; import { OnRequestFunction, camelcaseKeys, createRequestInterceptor, onRequest, snakec...
the_stack
import { JavaArrayList, JavaBigDecimal, JavaBigInteger, JavaBoolean, JavaByte, JavaDate, JavaDouble, JavaEnum, JavaFloat, JavaHashMap, JavaHashSet, JavaInteger, JavaLong, JavaOptional, JavaShort, JavaString } from "../../../java-wrappers"; import { DefaultMarshaller } from "../DefaultMar...
the_stack
import {BrowserUtils} from "../browserUtils"; import {ClientInfo} from "../clientInfo"; import {ClientType} from "../clientType"; import {ClipperUrls} from "../clipperUrls"; import {CookieUtils} from "../cookieUtils"; import {Constants} from "../constants"; import {Polyfills} from "../polyfills"; import {AuthType, User...
the_stack
import { BufferComposer, ComposableBuffer } from '@defichain/jellyfish-buffer' import { CTokenBalance, CTokenBalanceVarInt, TokenBalance, TokenBalanceVarInt } from './dftx_balance' import BigNumber from 'bignumber.js' import { Script } from '../../tx' import { CScript } from '../../tx_composer' import { CCurrencyPair, ...
the_stack
import { GuildSubscriptionEntity, TwitchSubscriptionEntity } from '#lib/database'; import { envIsDefined } from '#lib/env'; import { LanguageKeys } from '#lib/i18n/languageKeys'; import { SkyraCommand, SkyraPaginatedMessage } from '#lib/structures'; import type { GuildMessage } from '#lib/types'; import { TwitchEventSu...
the_stack
import { BentleyError, BentleyStatus } from "@itwin/core-bentley"; import { UnitConversion, UnitExtraData, UnitProps, UnitsProvider } from "@itwin/core-quantity"; import { ISchemaLocater, SchemaContext } from "../Context"; import { SchemaItem } from "../Metadata/SchemaItem"; import { SchemaItemKey, SchemaKey } from ".....
the_stack
import * as LogManager from 'aurelia-logging'; import { Container } from 'aurelia-dependency-injection'; import { History, NavigationOptions } from 'aurelia-history'; import { Router } from './router'; import { PipelineProvider } from './pipeline-provider'; import { isNavigationCommand } from './navigation-commands'; i...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/syncGroupsMappers"; import * as Parameters from "../models/parameters"; import { StorageSyncManagementClientContext } from "../storageSyncManagementClientContext"; /** Class representing a SyncGroups. ...
the_stack
import { MigrationAPI } from './MigrationAPI' import { MigrationWhenAPI } from './MigrationWhenAPI' import { MigrationOperation } from './MigrationOperation' // Utils import chalk from 'chalk' import { toShortPluginId, isPlugin, } from '@nodepack/plugins-resolution' import { logWithSpinner, stopSpinner, ensur...
the_stack
import fs from 'fs-extra' import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from 'vitest' import { Boilerplate, Lang } from '@vrn-deco/boilerplate-protocol' import { logger } from '@vrn-deco/cli-log' import { testShared } from '@vrn-deco/cli-shared' logger.setLevel('silent') const prompt = vi.fn()...
the_stack