text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import css from "css"; import { Resources, CachedFile } from "./resource"; import { decodeEUCJP } from "./euc_jp"; import { defaultCLUT } from "./default_clut"; import { readCLUT } from "./clut"; import { transpileCSS } from "./transpile_css"; import { Buffer } from "buffer"; import { BML } from "./interface/DOM"; impo...
the_stack
export interface ThemeSyntaxPreviewContents { name: string; text: string; mimeType: string; } export const ThemeSyntaxPreviewContents: ThemeSyntaxPreviewContents[] = [ { name: "Plain Text", mimeType: "text/plain", text: `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inv...
the_stack
import common from "./common"; const { DEFAULT_SCHEMA, YAMLException } = require("js-yaml"); const _toString = Object.prototype.toString; const _hasOwnProperty = Object.prototype.hasOwnProperty; const CHAR_BOM = 0xfeff; const CHAR_TAB = 0x09; /* Tab */ const CHAR_LINE_FEED = 0x0a; /* LF */ const CHAR_CARRIAGE_RETURN ...
the_stack
import { Common } from "../../../../modules/components/common_components/common"; import { CONSTANTS } from "../../../../modules/components/common_components/statics"; import { SFDMU_RUN_ADDON_MESSAGES } from "../../../messages/sfdmuRunAddonMessages"; import { API_ENGINE, OPERATION } from "../../../../modules/compo...
the_stack
'use strict'; (function(root: any, factory) { if (typeof module === 'object' && typeof module.exports === 'object') { const v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === 'function' && define.amd) { define(['require', 'exports'], factory); } else ...
the_stack
import { Action } from 'redux/interfaces'; import { getType } from 'typesafe-actions'; import * as actions from 'redux/actions'; import { DataEntityLineage, DataEntityLineageEdge, DataEntityLineageNode, } from 'generated-sources'; import uniqWith from 'lodash/uniqWith'; import isEqual from 'lodash/isEqual'; impor...
the_stack
import { dasherize } from '@angular-devkit/core/src/utils/strings'; import { chain, ExecutionOptions, noop, Rule, SchematicContext, SchematicsException, TaskId, Tree, } from '@angular-devkit/schematics'; import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks'; import { addPackageJson...
the_stack
import { MAGNETIC_MODULE_TYPE, MAGNETIC_MODULE_V2, TEMPERATURE_MODULE_TYPE, TEMPERATURE_MODULE_V2, THERMOCYCLER_MODULE_TYPE, THERMOCYCLER_MODULE_V1, } from '@opentrons/shared-data' import { fixtureP10Single } from '@opentrons/shared-data/pipette/fixtures/name' import fixture_tiprack_10_ul from '@opentrons/s...
the_stack
import { SfdxCommandBuilder } from '@salesforce/salesforcedx-utils-vscode/out/src/cli'; import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import { expect } from 'chai'; import * as sinon from 'sinon'; import { ApexBreakpointLocation, LineBreakpointsInTyperef } from '../....
the_stack
import * as THREE from 'three'; import { LIQUID_TYPES } from './ground'; import { WORLD_SIZE, getPositions } from '../../../utils/lba'; import { BehaviourMode } from '../../loop/hero'; import { AnimType } from '../../data/animType'; import IslandLayout, { IslandSection } from './IslandLayout'; import Scene from '../../...
the_stack
import { nanoid } from "nanoid"; import { BaseLiveComponent, BaseLiveView, html, HtmlSafeString, LiveComponentSocket, LiveViewMeta, LiveViewMountParams, LiveViewSocket, LiveViewTemplate, } from ".."; import { PubSub, SingleProcessPubSub } from "../pubsub"; import { JsonSerDe } from "../adaptor/jsonSer...
the_stack
import { assert } from "../../fixed_assert"; import { AzureRMAssets } from "../../language/expressions/AzureRMAssets"; import * as TLE from "../../language/expressions/TLE"; import * as Json from "../../language/json/JSON"; import { ContainsBehavior, Span } from "../../language/Span"; import * as Completion from "../.....
the_stack
import {AfterViewInit, Component, Injector, Input, OnInit, ViewChild} from "@angular/core"; import {StateService} from "@uirouter/angular"; import {DefineFeedService} from "../../services/define-feed.service"; import {AbstractLoadFeedComponent} from "../../shared/AbstractLoadFeedComponent"; import {FeedLoadingService} ...
the_stack
import _Base = require('../../Core/_Base'); import _BaseUtils = require('../../Core/_BaseUtils'); import _Control = require('../../Utilities/_Control'); import _ElementUtilities = require('../../Utilities/_ElementUtilities'); import _ErrorFromName = require('../../Core/_ErrorFromName'); import _Events = require('../../...
the_stack
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from "graphql"; import { Author as AuthorEntity, Avatar as AvatarEntity, Book as BookEntity, BookCopy as BookCopyEntity, User as UserEntity, Review as ReviewEntity } from "~/infra/database/entity"; import { Context, Authenticate...
the_stack
import { BaseResource } from 'ms-rest-azure'; import { CloudError } from 'ms-rest-azure'; import * as moment from 'moment'; export { BaseResource } from 'ms-rest-azure'; export { CloudError } from 'ms-rest-azure'; /** * @class * Initializes a new instance of the Project class. * @constructor * Azure Migrate Proj...
the_stack
import invariant from "invariant"; import { getSelector, PluralReaderSelector, ReaderSelector, SingularReaderSelector, } from "relay-runtime"; import type { Disposable, IEnvironment, ReaderFragment } from "relay-runtime"; import recycleNodesInto from "relay-runtime/lib/util/recycleNodesInto"; import { Snapshot...
the_stack
import * as os from 'os' import { GraphQLTypeObject, GraphQLTypeDefinition, GraphQLTypeField, getGraphQLEnumValues, GraphQLInterfaceObject, GraphQLUnionObject, } from '../source-helper' import { ModelMap, ContextDefinition, GenerateArgs, Model } from '../types' import { TypeDefinition, FieldDefinition,...
the_stack
import { ParseTreeListener } from 'antlr4ts/tree/ParseTreeListener'; import { DocumentationContext } from './TomParser'; import { BodyContext } from './TomParser'; import { WhitespaceContext } from './TomParser'; import { AnnotationsContext } from './TomParser'; import { TagContext } from './TomParser'; import { TagNa...
the_stack
import path from 'path' import { exec } from '@monodeploy/io' import { cleanUp, createFile, getMonodeployConfig, initGitRepository, setupMonorepo, } from '@monodeploy/test-utils' import { YarnContext } from '@monodeploy/types' import { getCommitMessages, gitAdd, gitCommit, gitDiffT...
the_stack
import * as vscode from 'vscode'; import * as xregexp from 'xregexp'; import CSymbol from './CSymbol'; import SubSymbol from './SubSymbol'; import { logger } from './extension'; export function masker(match: string): string { return ' '.repeat(match.length); } const re_matchRecursiveError = /^Unbalanced (left|right)...
the_stack
import { CONVENTION_FOR_ETH_ASSET_ID, ProtocolParams, ProtocolEventMessage, IStoreService, MethodNames, MethodParams, MethodResults, EventNames, } from "@connext/types"; import { delay, getAddressFromAssetId } from "@connext/utils"; import { BigNumber, constants, utils } from "ethers"; import { expect ...
the_stack
import { AfterContentInit, AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ContentChildren, ElementRef, EventEmitter, forwardRef, HostListener, Input, NgZone, OnChanges, OnDestroy, OnInit, Output, QueryList, Renderer2, TemplateRef, ViewChild,...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace Formmsdyn_purchaseorderproduct_Information { interface tab_tab_3_Sections { tab_3_section_1: DevKit.Controls.Section; } interface tab_tab_3 extends DevKit.Controls.ITab { Section: tab_tab_3_Sections; } interface Tabs ...
the_stack
import {DB} from '../../Library/Infra/DB'; import {IssueEntity} from '../../Library/Type/IssueEntity'; import {DateUtil} from '../../Library/Util/DateUtil'; import {StreamEntity} from '../../Library/Type/StreamEntity'; import {StreamId} from '../StreamRepo'; import {color} from '../../Library/Style/color'; import {User...
the_stack
import { GeoPackage } from '../geoPackage'; import { FeatureTableIndex } from './index/featureTableIndex'; import { GeometryIndexDao } from './index/geometryIndexDao'; import { TableIndexDao } from './index/tableIndexDao'; import { CoreSQLUtils } from '../db/coreSQLUtils'; import { TileScalingDao } from './scale/tileSc...
the_stack
import React, { useEffect, useState } from "react"; import { AutoComplete, Descriptions, Dropdown, Icon, Input, Menu, Modal, Table, Tooltip } from "antd"; import QuickInsertComponent from '../quick-insert'; import styles from './index.less'; import { MoreOutlined } from "@ant-design/icons"; // import MonacoEditor from ...
the_stack
import assert from 'assert'; import Node, { SourceRange } from './base'; import NodeVisitor from './visitor'; import { FunctionDef } from './function_def'; import { Value } from './values'; import { iterateSlots2InputParams, makeScope, DeviceAttributeSlot, AbstractSlot, OldSlot, ScopeMap, ...
the_stack
import { Component, Emit, Prop, Watch } from 'vue-property-decorator'; import { debounce, sleep } from '../../../../../utils/utils'; import { MediaDeviceService } from '../../../../../_common/agora/media-device.service'; import AppExpand from '../../../../../_common/expand/expand.vue'; import { assignPreferredProducer...
the_stack
import '@cds/core/icon/register.js'; import { ClarityIcons } from '@cds/core/icon/icon.service.js'; import { imageIcon } from '@cds/core/icon/shapes/image.js'; import { userIcon } from '@cds/core/icon/shapes/user.js'; import { html, LitElement } from 'lit'; import { customElement } from 'lit/decorators/custom-element.j...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Manages a maintenance assignment to a virtual machine scale set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const exampleResourceGrou...
the_stack
namespace Textor { export class HtmlLanguage implements ILanguage { private _languages: any[]; private _textReader: ITextReader; private _tokenStack: any[] = []; private _languageToken: any; private _state: string; private _token: any; constructor(languages...
the_stack
import * as builder from "botbuilder"; import { TriggerActionDialog } from "../../../utils/TriggerActionDialog"; import { DialogIds } from "../../../utils/DialogIds"; import { DialogMatches } from "../../../utils/DialogMatches"; export class AdaptiveCardDialog extends TriggerActionDialog { private static async sen...
the_stack
import * as cloudwatch from '@aws-cdk/aws-cloudwatch'; import * as iam from '@aws-cdk/aws-iam'; import { CfnApplicationCloudWatchLoggingOptionV2, CfnApplicationV2 } from '@aws-cdk/aws-kinesisanalytics'; import * as logs from '@aws-cdk/aws-logs'; import * as core from '@aws-cdk/core'; import { Construct } from 'construc...
the_stack
import { Injectable, Autowired, INJECTOR_TOKEN, Injector } from '@opensumi/di'; import { positionToRange, URI, CommandService } from '@opensumi/ide-core-common'; import { IDocPersistentCacheProvider } from '@opensumi/ide-editor'; import { EmptyDocCacheImpl, IEditorDocumentModelService } from '@opensumi/ide-editor/src/b...
the_stack
import { EventEmitter } from 'events'; import BlockChangeSFX from '../assets/sfx/plop.ogg'; import { AABB, Clouds, ServerChunkType, Sky } from '../libs'; import { Coords3, Coords2 } from '../libs/types'; import { Helper } from '../utils'; import { Chunk } from './chunk'; import { Engine } from './engine'; import { Ta...
the_stack
import {printArray} from '../text' import {assert} from './assert' import {CtxConfig, Declarator, ExecutionPlan} from './types' import {isDeclarator} from './isRef' type ValueCtx = { value: Record<string, any> executedIds: string[] } type VariantGroupCfg = { type: 'variantGroup' name: string group: VariantCf...
the_stack
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See the LICENSE file in the project root for full license information. */ class SizedStructInfo { constructor( public startPos: number, public size: number ) {} }; export interfa...
the_stack
import { Session, TerminalAPI } from '@jupyterlab/services'; import { test as base, Page, PlaywrightTestArgs, PlaywrightTestOptions, PlaywrightWorkerArgs, PlaywrightWorkerOptions, TestType } from '@playwright/test'; import { ContentsHelper } from './contents'; import { galata } from './galata'; import { I...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type OrderInformation_Test_QueryVariables = {}; export type OrderInformation_Test_QueryResponse = { readonly me: { readonly conversation: { readonly orderConnection: { readonly e...
the_stack
import { Prerequisite, DetectionSteps, DetectionResultResponse } from '../model/AutoDetectionData' import { Property } from '../model/Property' export const GET_AUTO_DETECTION_PREREQUISITE_REQUEST = 'AUTO_DETECTION/GET_AUTO_DETECTION_PREREQUISITE_REQUEST' export const GET_AUTO_DETECTION_PREREQUISITE_SUCCESS = 'AUTO_DE...
the_stack
import { Injectable, Type } from '@angular/core'; import { CoreDelegate, CoreDelegateHandler } from '@classes/delegate'; import { CoreUtils } from '@services/utils/utils'; import { makeSingleton } from '@singletons'; import { AddonModQuizAttemptWSData, AddonModQuizQuizWSData } from './quiz'; /** * Interface that all...
the_stack
import type { Exporting, ExportingFormats, ExportingTypes } from "./Exporting" import { Entity, IEntitySettings, IEntityPrivate, IEntityEvents } from "../../core/util/Entity" import { IDisposer, Disposer } from "../../core/util/Disposer"; import exportingCSS from "./ExportingCSS"; import * as $array from "../../core/...
the_stack
module android.view{ import SparseArray = android.util.SparseArray; /** * Contains methods to standard constants used in the UI for timeouts, sizes, and distances. */ export class ViewConfiguration{ /** * Defines the width of the horizontal scrollbar and the height of the vertica...
the_stack
* Patch for Colyseus: * ------------------- * * added `offset` on Decoder constructor, for messages arriving with a code * before actual msgpack data */ // // DECODER // function Decoder(buffer, offset) { this._offset = offset; if (buffer instanceof ArrayBuffer) { this._buffer = buffer; ...
the_stack
import { AnyShape, ArrayShape, BinaryShape, bool, boolean, BoolShape, CollectionShape, Fields, FunctionShape, literal, LiteralShape, map, MapShape, NeverShape, NothingShape, NumberShape, Pointer, set, SetShape, Shape, ShapeGuards, ShapeVisitor, string, StringShape, TimestampShape, Type, TypeClass, TypeShape, union, Uni...
the_stack
import MutableMatrix33 from './MutableMatrix33'; import MutableVector3 from './MutableVector3'; import {Count, Size} from '../../types/CommonTypes'; function radianToDegree(rad: number) { return (rad * 180) / Math.PI; } function degreeToRadian(deg: number) { return (deg * Math.PI) / 180; } // https://gamedev.sta...
the_stack
import chalk from "chalk"; import * as readline from "readline"; import * as path from "path"; import { AssemblyFlavor, DEFAULT_TIMEOUT, workflowBSQCheck, workflowBSQInfeasibleSingle, workflowBSQWitnessSingle, workflowEmitToFile, workflowEvaluateSingle, workflowGetErrors, workflowInvertSingle, workflowLoadUserSrc } fr...
the_stack
import { assert } from "chai"; import { QuantityError } from "../Exception"; import { Format } from "../Formatter/Format"; import { DecimalPrecision, FormatTraits } from "../Formatter/FormatEnums"; import { FormatProps } from "../Formatter/Interfaces"; import { TestUnitsProvider } from "./TestUtils/TestHelper"; descri...
the_stack
import NetRegexes from '../../../../../resources/netregexes'; import ZoneId from '../../../../../resources/zone_id'; import { OopsyData } from '../../../../../types/data'; import { OopsyTriggerSet } from '../../../../../types/oopsy'; import { playerDamageFields } from '../../../oopsy_common'; export type Data = ...
the_stack
import { Buffer } from '../platform'; import { IQType, MessageType, PresenceType, SASLFailureCondition, StanzaErrorCondition, StreamErrorCondition, StreamType } from '../Constants'; import { attribute, childAlternateLanguageText, childBoolean, childEnum, childText, D...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/connectionTypeOperationsMappers"; import * as Parameters from "../models/parameters"; import { AutomationClientContext } from "../automationClientContext"; /** Class representing a ConnectionTypeOperat...
the_stack
import { createElement, isNullOrUndefined, classList, L10n } from '@syncfusion/ej2-base'; import { DocumentEditor } from '../../document-editor/index'; import { DropDownList } from '@syncfusion/ej2-dropdowns'; import { Button } from '@syncfusion/ej2-buttons'; import { ItemModel, DropDownButton, SplitButton, SplitButton...
the_stack
declare module 'dns/promises' { import { LookupAddress, LookupOneOptions, LookupAllOptions, LookupOptions, AnyRecord, CaaRecord, MxRecord, NaptrRecord, SoaRecord, SrvRecord, ResolveWithTtlOptions, RecordWithTtl, ...
the_stack
import type { AutoAcceptProof } from './ProofAutoAcceptType' import type { PresentationPreview, RequestPresentationMessage } from './messages' import type { RequestedCredentials, RetrievedCredentials } from './models' import type { ProofRequestOptions } from './models/ProofRequest' import type { ProofRecord } from './r...
the_stack
import crypto from 'crypto'; import fs from 'fs'; import path from 'path'; import url from 'url'; import Axios, { AxiosError } from 'axios'; import config from 'config'; import Debug from 'debug'; import { Request } from 'express'; import { isNull, omitBy, pick, startCase, toInteger, toUpper } from 'lodash'; import {...
the_stack
import Base, { IPluginBaseConfig } from '../base'; import { IEdge, IAbstractGraph as IGraph, GraphData, NodeConfig, NodeConfigMap, EdgeConfig, } from '@antv/f6-core'; import { Point } from '@antv/g-base'; interface BundlingConfig extends IPluginBaseConfig { edgeBundles?: IEdge[]; edgePoints?: NodeConfi...
the_stack
import {DataType, Scalar, serialization, Tensor, tidy, util} from '@tensorflow/tfjs-core'; import {getNextUniqueTensorId, getUid} from '../backend/state'; import {getScopedTensorName, getUniqueTensorName, nameScope} from '../common'; import {Constraint} from '../constraints'; import {AttributeError, NotImplementedErro...
the_stack
import * as bip39 from 'bip39'; import * as fs from 'fs-extra'; // @ts-ignore import * as hdkey from 'hdkey'; import * as path from 'path'; import { QuickPickItem, Uri, window } from 'vscode'; import { Constants, RequiredApps } from '../Constants'; import { getWorkspaceRoot, openZeppelinHelper, outputCommandHelpe...
the_stack
import { Injectable } from '@angular/core'; import { ExampleType } from '../example-viewer/example-viewer.component'; const STACKBLITZ_URL = 'https://run.stackblitz.com/api/angular/v1'; const COPYRIGHT = `Copyright 2018 Google Inc. All Rights Reserved. Use of this source code is governed by an MIT-style license t...
the_stack
// This code adopted from our existing jobs code import cache from 'memory-cache'; import axios, { AxiosError } from 'axios'; import querystring from 'querystring'; import { IGraphProvider, IGraphEntry, IGraphEntryWithManager, IGraphGroupMember, IGraphGroup, GraphUserType } from '.'; import { ErrorHelper, CreateError...
the_stack
import { filterMap, toStringLiteral } from './utils'; import { TypeContent, makeTypeContentRoot, makeTypeContentChild, Settings, JsDoc } from './types'; import { AlternativesDescribe, ArrayDescribe, BaseDescribe, BasicDescribe, Describe, ObjectDescribe, StringDescribe } from './joiDescribeTypes'; import {...
the_stack
import pRetry from 'p-retry'; import { ApiGranule, GranuleId, GranuleStatus } from '@cumulus/types/api/granules'; import Logger from '@cumulus/logger'; import { invokeApi } from './cumulusApiClient'; import { ApiGatewayLambdaHttpProxyResponse, InvokeApiFunction } from './types'; const logger = new Logger({ sender: '...
the_stack
export const description = ` Test vertex attributes behave correctly (no crash / data leak) when accessed out of bounds Test coverage: The following is parameterized (all combinations tested): 1) Draw call type? (drawIndexed, drawIndirect, drawIndexedIndirect) - Run the draw call using an index buffer and/or an in...
the_stack
import { AfterContentInit, Directive, ElementRef, HostBinding, Input, OnDestroy, OnInit, Optional, Renderer2, Self, forwardRef, HostListener, Output, EventEmitter, ContentChildren, QueryList, Inject } from '@angular/core'; import { DOCUMENT } from '@angular/common'; import { NgControl } from '@angular/forms'; impor...
the_stack
declare module "util" { interface InspectOptions extends NodeJS.InspectOptions { } type Style = 'special' | 'number' | 'bigint' | 'boolean' | 'undefined' | 'null' | 'string' | 'symbol' | 'date' | 'regexp' | 'module'; type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => string; ...
the_stack
const { compile, match } = require("path-to-regexp"); import { getQueryParamsObject } from "utils/helpers"; export const BASE_URL = "/"; export const ORG_URL = "/org"; export const PAGE_NOT_FOUND_URL = "/404"; export const SERVER_ERROR_URL = "/500"; export const APPLICATIONS_URL = `/applications`; export const USER_...
the_stack
"strict mode"; import { applyThemeToNetwork, Node, Edge, getElementByIdOrThrow, setIsInset, vscode, expandInset, closeInset, ThemeChangedEvent, addWindowEventListener, CommandMessage } from "./baseView"; import { CustomViewData, GraphViewData } from "model"; import { DomainInfo, Plan, ProblemInfo, VariableValue } from...
the_stack
import { Component, OnInit, OnDestroy, Input, ComponentFactoryResolver, Injector, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core'; import { Subject, forkJoin, of, merge, EMPTY } from 'rxjs'; import { filter, tap, switchMap, pluck, map, catchError, withLatestFrom, takeUntil } from 'rxjs/operators'; imp...
the_stack
import * as fetch from "isomorphic-fetch"; import * as jwt from "jsonwebtoken"; import { APIError, APIResultError, HTTPError } from "./errors"; import { Assigned, Config, ErrorNonJson, LoginResponse, Mutation, Operation, Options, Payload, Request, Response, TxnContext, U...
the_stack
import { DiscordRESTError, Member, User, VoiceChannel } from 'eris'; import { Command, CommandMessage, Subcommand } from '../../../structures'; import { PunishmentType } from '../../../entities/PunishmentsEntity'; import PunishmentService from '../../../services/PunishmentService'; import { Categories, CHANNEL_REGEX } ...
the_stack
import { PlainTextElement, View } from '@slack/types' import { Blocks, Call, Escape, File, Home, Input, JSXSlack, Modal, Option, Section, Select, } from '../../src/index' beforeEach(() => JSXSlack.exactMode(false)) describe('Container components', () => { const falseyStr = '' const falseyNum...
the_stack
import { Link, useHistory, useLocation } from 'react-router-dom' import React, { useEffect, useMemo, useState } from 'react' import { Badge, Button, ButtonGroup, Col, Container, Row, Spinner } from 'react-bootstrap' import { Configuration, Objective, ObjectivesApi, ObjectiveStatus, ObjectiveStatusAvailability...
the_stack
* GeoPoint represents a specific coordinate on earth. We support * a number of different variants of geopoints being specified. * * @category Full Text Search */ export type GeoPoint = | [longitude: number, latitude: number] | { lon: number; lat: number } | { longitude: number; latitude: number } function _...
the_stack
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers"; import { assert, expect } from "chai"; import { BigNumber, BigNumberish, ethers } from "ethers"; import { AuctionAlreadyStartedError, ListingNotFoundError, WrongListingTypeError, } from "../src/common/error"; import { NATIVE_TOKEN_ADDRESS } fr...
the_stack
import { FocusMonitor } from '@angular/cdk/a11y'; import { DOWN_ARROW, ESCAPE, LEFT_ARROW, RIGHT_ARROW, TAB } from '@angular/cdk/keycodes'; import { OverlayContainer } from '@angular/cdk/overlay'; import { Component, ElementRef, QueryList, Type, ViewChild, ViewChildren } from '@angular/core'; import { ComponentFixture,...
the_stack
import { h, render } from 'preact'; import cx from 'classnames'; import RefinementList from '../../components/RefinementList/RefinementList'; import type { HierarchicalMenuItem, HierarchicalMenuConnectorParams, HierarchicalMenuRenderState, HierarchicalMenuWidgetDescription, } from '../../connectors/hierarchical...
the_stack
import fs from 'fs'; import path from 'path'; import {utils, providers} from 'ethers'; import {Config, Reporter} from '@jest/reporters'; import linker from 'solc/linker'; import easyTable from 'easy-table'; interface MethodCalls { [methodName: string]: { gasData: number[]; calls: number; }; } interface C...
the_stack
'use strict'; import * as assert from 'assert'; import {VerticalObjects} from 'vs/editor/common/viewLayout/verticalObjects'; suite('Editor ViewLayout - VerticalObjects', () => { test('VerticalObjects 1', () => { var verticalObjects = new VerticalObjects(); // Start off with 10 lines verticalObjects.replaceL...
the_stack
import { arrayForEach } from '@tko/utils' import { isSubscribable, isObservable, observable, unwrap, dependencyDetection, isWritableObservable, isWriteableObservable, observableArray, subscribable } from '@tko/observable' import { computed, isPureComputed, isComputed } from '../dist' describe('Dependen...
the_stack
import { expect } from "chai"; import * as React from "react"; import * as sinon from "sinon"; import * as moq from "typemoq"; import { fireEvent, render } from "@testing-library/react"; import { IModelApp, MockRender, QuantityType, QuantityTypeKey } from "@itwin/core-frontend"; import TestUtils, { getButtonWithText, h...
the_stack
import RamlWrapper = require('../artifacts/raml10parserapi') import RamlWrapperImpl = require('../artifacts/raml10parser') import factory = require('../artifacts/raml10factory') import core=require("./parserCore"); import ramlPathMatch = require("../../util/raml-path-match") import hl = require('../highLevelAST'); im...
the_stack
import { TFile, Notice, LinkCache, getLinkpath } from "obsidian"; import ThePlugin from '../main'; import { FileCacheAnalyzer, CacheDetails } from '../utils/FileCacheAnalyzer'; import { SuggesterItem } from "../ui/GenericFuzzySuggester"; import { displayFileLineSuggester, openFileInObsidian, parseBookmarkForItsElements...
the_stack
import {assert} from '../../../platform/assert-web.js'; import {HandleConnectionSpec} from '../../arcs-types/particle-spec.js'; import {connectionMatchesHandleDirection} from '../../arcs-types/direction-util.js'; import {HandleConnection} from './handle-connection.js'; import {Direction} from '../../arcs-types/enums.j...
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 AppConfig Configuration Profile resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ...
the_stack
import { BigNumber, BigNumberish, Contract, ContractTransaction, ethers } from 'ethers'; import { ErrorCode } from '@ethersproject/logger'; import { EthMessageSigner } from './eth-message-signer'; import { SyncProvider } from './provider-interface'; import { Create2WalletSigner, Signer, unableToSign } from './signer'; ...
the_stack
import fs from 'fs'; import path from 'path'; import nock from 'nock'; import validateGeneratedFile from '../validateGeneratedFile'; const { HOST, RAW_DEFAULT_SOURCE_MAP, RAW_INLINE_SOURCE_MAP, ONE_JS, TWO_JS } = require('./fixtures/examples'); const appPath = '/static/app.js'; const url = `${HOST}${appPat...
the_stack
// eslint-disable-next-line export type ValueType = number | boolean | string | Date | Object; export interface Context { getVariable(name: string): ValueType; } export class ShadowContext implements Context { constructor( public upstream: Context = null, public shadows: { [name: string]: ValueType } = {}...
the_stack
module Spriter { export class Loader { private _spriter: Spriter; private _fileType: eFileType; // ------------------------------------------------------------------------- public load(file: SpriterFile): Spriter { this._spriter = new Spriter(); this._fil...
the_stack
import * as React from 'react'; import * as _ from 'lodash'; import Toolbar from 'react-md/lib/Toolbars'; import Button from 'react-md/lib/Buttons'; import Dialog from 'react-md/lib/Dialogs'; import { Spinner } from '../Spinner'; import { AutoRefreshSelector } from '../AutoRefreshSelector'; import * as ReactGridLayo...
the_stack
import Adapt, { AnyProps, BuildData, BuiltinProps, gql, Handle, isHandle, isMountedElement, ObserveForStatus, SFCBuildProps, SFCDeclProps, useBuildHelpers, useDeployedWhen, useImperativeMethods, useState, waiting, Waiting } from "@adpt/core"; import { Omit...
the_stack
import _ from 'lodash'; import Vuex from 'vuex'; import { createLocalVue } from '@vue/test-utils'; import { FeedResponse } from '~/server/routers/api/feed'; import { parseWikiRevId } from '~/shared/utility-shared'; import { InteractionProps } from '~/shared/models/interaction-item.model'; import { MwActionApiClient2 } ...
the_stack
import {EventEmitter} from 'events'; import {URL} from 'url'; import {AddressInfo} from 'net'; import * as http from 'http'; import * as path from 'path'; import {Readable} from 'stream'; import {request, GaxiosResponse} from 'gaxios'; import {Queue} from './queue'; import {getLinks} from './links'; import {startWebS...
the_stack
"use strict"; import $ = require('jquery'); import utils = require('base/js/utils'); import dialog = require('base/js/dialog'); import gapiutils = require('./gapiutils'); import driveutils = require('./driveutils'); import notebook_model = require('./notebook_model'); import iface = require('content-interface'); impor...
the_stack
import * as sinon from 'sinon'; import {GVL, TCString, TCModel} from '../src'; import {XMLHttpTestTools, makeRandomInt, GVLFactory} from '@iabtcf/testing'; import {expect} from 'chai'; import {PurposeRestriction} from '../src/model/PurposeRestriction'; import {RestrictionType} from '../src/model/RestrictionType'; des...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { ShapeStyleModel } from '../../../src/diagram/core/appearance-model'; import { PathElement } from '../../../src/diagram/core/elements/path-element'; import { ShadowModel, RadialGradientModel, StopModel,...
the_stack
interface MustacheStatic { /** * The name of the module. */ readonly name: string; /** * The version of the module. */ readonly version: string; /** * The default opening and closing tags used while parsing the templates. * * Different default tags can be overrid...
the_stack
export namespace ExpectedPackage { export type Any = ExpectedPackageMediaFile | ExpectedPackageQuantelClip export enum PackageType { MEDIA_FILE = 'media_file', QUANTEL_CLIP = 'quantel_clip', // TALLY_LABEL = 'tally_label' // VIZ_GFX = 'viz_gfx' } /** Generic (used in extends) */ export interface Base {...
the_stack
import { Placement } from "../../src"; import { render, cleanup, PLACEMENTS_NO_CENTER, ExpectBoundsProps, fixViewport } from "./util"; before(fixViewport); describe("e2e/overflow-container", () => { afterEach(cleanup); it("tracks the triggers position while overflowing the container", async () => { ...
the_stack
import arrify = require('arrify'); import {Key} from 'readline'; import {Datastore} from '.'; import {Entity} from './entity'; import {Transaction} from './transaction'; import {CallOptions} from 'google-gax'; import {RunQueryStreamOptions} from '../src/request'; export type Operator = '=' | '<' | '>' | '<=' | '>=' | ...
the_stack