text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { UnwrapPromiseTuple } from "../utils/PromiseProvider" import type { QueryRunner, DatabaseType } from "./QueryRunner" export abstract class AbstractQueryRunner implements QueryRunner { abstract readonly database: DatabaseType abstract useDatabase(database: DatabaseType): void abstract getNativeRunne...
the_stack
import { ChangeDetectorRef, Component, ElementRef, Input, NgZone, OnInit, ViewChild } from '@angular/core'; import { TUNE_STATE } from '../site_tuner'; import { colorGradient } from '../../scores'; import { ChromeMessageEnum } from '../../messages'; const BUTTON_TEXT_SHOW = 'Show'; const BUTTON_TEXT_HIDE...
the_stack
import { encodeInvalidFileChars, hasProperties, bold, JspmUserError, highlight } from '../utils/common'; import { Semver, SemverRange } from 'sver'; import convertRange = require('sver/convert-range'); const { processPjsonConfig } = require('@jspm/resolve'); import crypto = require('crypto'); export { processPjsonConfi...
the_stack
import { EventEmitter } from "@okikio/emitter"; import { Manager } from "@okikio/manager"; import type { TypeEventInput, TypeListenerCallback } from "@okikio/emitter"; import type { TypeAnimationTarget, TypeAnimationOptionTypes, TypeCallbackArgs, TypeComputedAnimationOptions, IAnimationOptions, TypeComputedOptions, Typ...
the_stack
jest.useFakeTimers('modern').setSystemTime(new Date(1606896235000)); import {createTestConnection, resetTestConnection} from '@typedorm/testing'; import {EntityManager} from '../entity-manager'; import {User, UserPrimaryKey} from '../../../../__mocks__/user'; import { UserUniqueEmail, UserUniqueEmailPrimaryKey, } ...
the_stack
import { addCronJob, removeCronJob } from './cronUtil'; import { createMutator, Globals } from './vulcan-lib'; import { LWEvents } from '../lib/collections/lwevents/collection'; import fetch from 'node-fetch'; import WebSocket from 'ws'; import { DatabaseServerSetting } from './databaseSettings'; import { gatherTownRoo...
the_stack
import { ResolvedConfig, Plugin, normalizePath } from "vite"; import mime from "mime/lite"; import fs, { promises as fsp } from "fs"; import { createHash } from "crypto"; import { parse as parseUrl, URLSearchParams, pathToFileURL, URL } from "url"; import type Rollup from "rollup"; import path from "path"; import { O...
the_stack
import { gql } from "@apollo/client"; import { v4 as uuidV4 } from "uuid"; import { Membership, MembershipRole, MutationCreateWorkspaceArgs, MutationCreateMembershipArgs, Workspace, WorkspaceType, } from "@labelflow/graphql-types"; import { getPrismaClient } from "../../prisma-client"; import { client, user...
the_stack
import { css, SerializedStyles } from '@emotion/react'; import { Theme } from '@sumup/design-tokens'; import { warn } from '../util/logger'; import { isFunction } from '../util/type-check'; type ThemeArgs = Theme | { theme: Theme }; function isTheme(args: ThemeArgs): args is Theme { return (args as { theme: Theme ...
the_stack
import { ICertificate } from '@aws-cdk/aws-certificatemanager'; import { IOrigin, IDistribution, Distribution, ErrorResponse, PriceClass, HttpVersion, GeoRestriction, BehaviorOptions, CachePolicy, SecurityPolicyProtocol, } from '@aws-cdk/aws-cloudfront'; import { S3Origin } from '@aws-cdk/aws-cloudf...
the_stack
import { Directive, Input, Output, HostListener, Inject, OnInit, OnChanges, OnDestroy, SimpleChanges, SimpleChange, EventEmitter, ElementRef, ChangeDetectorRef } from '@angular/core'; import { DOCUMENT } from '@angular/common'; import { Meta } from '@angular/platform-browser'; import { Platfor...
the_stack
import * as path from 'path'; import { BlockDevice, BlockDeviceVolume, } from '@aws-cdk/aws-autoscaling'; import { IVpc, SubnetSelection, SubnetType, } from '@aws-cdk/aws-ec2'; import { Role, Policy, PolicyStatement, } from '@aws-cdk/aws-iam'; import { Code, Function as LambdaFunction, Runtime, }...
the_stack
/// <reference path="../metricsPlugin.ts"/> /// <reference path="../services/alertsManager.ts"/> /// <reference path="../services/errorsManager.ts"/> module HawkularMetrics { export class AppServerDatasourcesDetailsController implements IRefreshable { public static AVAILABLE_COLOR = '#1884c7'; /// blue publ...
the_stack
enum TileDir { //% block="--" None, //% block="Left" Left, //% block="Right" Right, //% block="Up" Up, //% block="Down" Down } //% blockId=tiledir block="$dir" function _tileDir(dir: TileDir): number { return dir; } enum ResultSet { //% block="no" Zero, //% bloc...
the_stack
import { IluckyImageBorder,IluckyImageCrop,IluckyImageDefault,IluckyImages,IluckySheetCelldata,IluckySheetCelldataValue,IMapluckySheetborderInfoCellForImp,IluckySheetborderInfoCellValue,IluckySheetborderInfoCellValueStyle,IFormulaSI,IluckySheetRowAndColumnLen,IluckySheetRowAndColumnHidden,IluckySheetSelection,IcellOth...
the_stack
import { Uri, DisposableCollection, Event, Emitter, CancellationToken } from '@opensumi/ide-core-common'; import { createBrowserInjector } from '../../../../tools/dev-tool/src/injector-helper'; import { MockInjector } from '../../../../tools/dev-tool/src/mock-injector'; import { IDecorationsService, IDecorationsProvid...
the_stack
import Taro, { Config } from "@tarojs/taro"; import { View, Text, Image, Input, Swiper, SwiperItem, } from "@tarojs/components"; import { banners, classify, homeCenterQuery, items, homeCenter, invitedUsers, projectItems, singleItem } from "./service"; import { AtIcon } from "taro-ui"; import...
the_stack
import { CObject, Collab, CollabEventsRecord, DefaultSerializer, InitToken, Message, MessageMeta, Optional, Pre, PublicCObject, RunLocallyLayer, Runtime, Serializer, } from "@collabs/core"; import { ISemidirectProductRevSenderHistory, SemidirectProductRevSave, } from "../../generated/proto...
the_stack
import { MIRAssembly, MIRConstructableEntityTypeDecl, MIRConstructableInternalEntityTypeDecl, MIRDataBufferInternalEntityTypeDecl, MIRDataStringInternalEntityTypeDecl, MIREntityType, MIREntityTypeDecl, MIREnumEntityTypeDecl, MIREphemeralListType, MIRFieldDecl, MIRHavocEntityTypeDecl, MIRInternalEntityTypeDecl, MIRPrimi...
the_stack
import { filter, take } from 'rxjs/operators'; import { AdapterInsertOptions, AdapterAppendOptions, AdapterPrependOptions, ItemsPredicate, AdapterFixOptions, AdapterUpdateOptions, AdapterPropName as Adapter, AdapterMethodResult, } from './miscellaneous/vscroll'; import { makeTest, TestBedConfig, ItFun...
the_stack
import * as tf from '../../index'; import {ALL_ENVS, describeWithFlags} from '../../jasmine_util'; import {expectArraysClose, expectArraysEqual} from '../../test_util'; describeWithFlags('nonMaxSuppression', ALL_ENVS, () => { describe('NonMaxSuppression Basic', () => { it('select from three clusters', async () =...
the_stack
declare module 'rclnodejs' { /** * Identifies type of ROS message such as msg or srv. */ type TypeClass<T = TypeClassName> = | (() => any) | T // a string representing the message class, e.g. 'std_msgs/msg/String', | { // object representing a message class, e.g. {package: 'std_msgs', type...
the_stack
import BaseDb, { KeyFilter } from './BaseDb' import chainIdToSlug from 'src/utils/chainIdToSlug' import { BigNumber } from 'ethers' import { OneWeekMs, TxError, TxRetryDelayMs } from 'src/constants' import { normalizeDbItem } from './utils' interface BaseTransfer { amount?: BigNumber amountOutMin?: BigNumber bon...
the_stack
import * as React from "react"; import { BoardType, SpaceSubtype, Space, EditorEventActivationType, GameVersion } from "./types"; import { ISpace, addEventToSpace, removeEventFromSpace, getCurrentBoard, IEventInstance, setHostsStar } from "./boards"; import { EventsList } from "./components/EventList"; import { $settin...
the_stack
// clang-format off import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js'; import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; import {AllSitesElement, ContentSetting, ContentSettingsTypes, LocalDataBrowserProxyImpl, SiteGroup, SiteSettingsPrefsBrowserProxyImpl, SortMe...
the_stack
import { ComponentPMT, MediaType, ModuleListEntry, ProgramInfoMessage, ResponseMessage } from "../server/ws_api"; import { Indicator, IP } from "./bml_browser"; type Module = { moduleId: number, files: ReadonlyMap<string | null, CachedFile>, version: number, dataEventId: number, }; type Component = { ...
the_stack
import { Quaternion, Vector3, AnimationClip, VectorKeyframeTrack, QuaternionKeyframeTrack } from 'three' import gsap from 'gsap' import { CameraRig } from '../CameraRig' import { FreeMovementControls } from '../controlschemes/FreeMovementControls' import './index.css' const easeFunctions = ['none', 'power1', 'power2',...
the_stack
/** * @license Copyright © 2013 onwards, Andrew Whewell * All rights reserved. * * Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyri...
the_stack
import { ITextIntentSequenceLabelObjectByPosition} from "./ITextIntentSequenceLabelObjectByPosition"; import { Data } from "./Data"; import { DataWithSubwordFeaturizer } from "./DataWithSubwordFeaturizer"; import { NgramSubwordFeaturizer } from "../model/language_understanding/featurizer/NgramSubwordFeaturizer"; imp...
the_stack
import { expect } from 'chai' import { BaseTestingResource, PostResource, UserResource, GroupResource, TodoResource, CommentResource } from '..' describe('Resources', () => { it('correctly gets remote resource', async () => { let post = await PostResource.detail('1') expect(post.get('user')).to.exi...
the_stack
import * as vscode from 'vscode'; import * as cfg from '../configuration'; import * as util from '../utility'; import SourceDocument from '../SourceDocument'; import CSymbol from '../CSymbol'; import SubSymbol from '../SubSymbol'; import { ProposedPosition } from '../ProposedPosition'; import { showSingleQuickPick, sho...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace Formmsdyn_workorderproduct_Information { interface tab_f1tab_actualcost_Sections { tab_5_section_1: DevKit.Controls.Section; } interface tab_f1tab_actualqtysaleamt_Sections { f1tabgeneral_section_3: DevKit.Controls.Sectio...
the_stack
import {AIO_NGINX_HOSTNAME} from '../common/env-variables'; import {computeShortSha} from '../common/utils'; import {ALT_SHA, BuildNums, PrNums, SHA} from './constants'; import {helper as h, makeCurl, payload} from './helper'; import {customMatchers} from './jasmine-custom-matchers'; // Tests h.runForAllSupportedSchem...
the_stack
import * as vscode from 'vscode'; import { Utils } from 'vscode-uri'; import { FileSystem, Output, JsonValidator } from '../../utils'; import { SchematicJsonSchema, SchematicOptionJsonSchema } from './json-schemas'; export class Schematic { optionsChoices: vscode.QuickPickItem[] = []; private name: string; ...
the_stack
import * as React from "react"; import { Dispatch } from "redux"; import { connect, MapDispatchToProps } from "react-redux"; import IMlsClient, { IRunRequest, IWorkspaceRequest } from "../IMlsClient"; import IState, { IRunState, IWorkspace, IDiagnostic, ICompileState } from "../IState"; import DiagnosticsAdapter from...
the_stack
import * as React from "react"; import { PropsWithChildren } from "react"; import * as ReactNativeScript from "react-nativescript"; import { NSVElement, FrameAttributes, PageAttributes } from "react-nativescript"; import { Page, Frame, NavigationButton } from "@nativescript/core"; import { DockLayoutTest, FlexboxLayout...
the_stack
import { CodeAction, commands, ConfigurationScope, Diagnostic, Disposable, FileType, Position, QuickPickItem, QuickPickOptions, Range, Selection, TextDocument, TextEditorRevealType, Uri, window, workspace, WorkspaceEdit, } from 'vscode'; import { TextE...
the_stack
import { ConnextToken } from "@connext/contracts"; import { Address, ContractAddresses, IChannelSigner, MessagingConfig, ContractAddressBook, AddressBook, AllowedSwap, PriceOracleTypes, NetworkContexts, JsonRpcProvider, } from "@connext/types"; import { ChannelSigner, getEthProvider } from "@connext...
the_stack
import { AT, AstBuilder, SqrlKey, CompileState, Execution, Instance, sqrlInvariant, Ast, CustomCallAst, } from "sqrl"; import { parse } from "./parser/sqrlRedisParser"; import { invariant, removeIndent } from "sqrl-common"; import { CountArguments, TrendingArguments, AliasedFeature, Timespan...
the_stack
// The point of subgroup is to do fan-out. It allows you to use a stream of // individual operations to feed an arbitrary set of subscriptions. // TODO: This utility class feels very internal. It might work better as a // stand-alone module. import * as I from './interfaces' import streamToIter, {Stream} from 'minist...
the_stack
import {Watcher, RawValue, RawEAV, RawEAVC, maybeIntern, ObjectDiffs, createId, asJS} from "./watcher"; import {DOMWatcher, ElemInstance} from "./dom"; import {ID} from "../runtime/runtime"; export interface Instance extends HTMLElement {__element?: RawValue, __styles?: RawValue[], __sort?: RawValue, listeners?: {[eve...
the_stack
import useEventListener from '@core/utils/useEventListener' import { arrayMove } from '@dnd-kit/sortable' import ComponentStore from '@store/componentStore' import styles from '@styles/dropzone.module.css' import classNames from 'classnames' import { observer } from 'mobx-react' import React, { useCallback, useEffect, ...
the_stack
import { Evt } from "../lib"; //import { Evt as EvtNext } from "../lib/Evt"; import { id } from "../tools/typeSafety"; import { getPromiseAssertionApi } from "../tools/testing"; import { getHandlerPr } from "./getHandlerPr"; const { mustResolve, mustStayPending } = getPromiseAssertionApi(); type Circle = { type: ...
the_stack
import { Plan, PlanStep } from "pddl-workspace"; import { createPlanView, JsonDomainVizConfiguration, PlanView } from "pddl-gantt"; import { SearchTree } from "./tree"; import { StateChart } from "./charts"; import { getElementByIdOrThrow, State } from "./utils"; import { FinalStateData, PlanData } from 'model'; /** ...
the_stack
import * as ArbitrationStrategyCollection from "../../../../../main/js/joynr/types/ArbitrationStrategyCollection"; import DiscoveryEntryWithMetaInfo from "../../../../../main/js/generated/joynr/types/DiscoveryEntryWithMetaInfo"; import ProviderScope from "../../../../../main/js/generated/joynr/types/ProviderScope"; imp...
the_stack
// replace ` (\w*),(\d*),.*` by `export const $1 = $2;` // General errors export const ERROR_NO_ERROR = 0; export const ERROR_FAILED = 1; export const ERROR_SYS_ERROR = 2; export const ERROR_OUT_OF_MEMORY = 3; export const ERROR_INTERNAL = 4; export const ERROR_ILLEGAL_NUMBER = 5; export const ERROR_NUMERIC_OVERFLO...
the_stack
import { ProfessionName, ProfessionSector } from '../npc-generation/professions' import { EconomicIdeology, PoliticalIdeology } from '../town/townData' import { PoliticalSource, Town, TownRolls } from '../town/_common' import { Alignments, ClericDomains } from '../src/worldType' import { RaceName, GenderName, NPC, Thre...
the_stack
import { Grid, LinearProgress, Typography, withStyles } from '@material-ui/core' import ErrorIcon from '@material-ui/icons/Error' import AsyncLock from 'async-lock' import { ipcRenderer } from 'electron' import { ipcRenderer as ipc } from 'electron-better-ipc' import electronLog from 'electron-log' import moment, { Mom...
the_stack
import * as path from 'path'; import cloudProviders from './providers'; import { askForInput, confirm, logError, logInfo, pickOne, run } from './utils'; interface IOptions { 'skip-provision'?: boolean; } export default async (opts: IOptions) => { const question = 'Which cloud provider are you hosting with'; con...
the_stack
import * as React from 'react'; import { Avatar, AvatarGroup, Backdrop, Badge, Breadcrumbs, Button, Calendar, Caption, Card, CardSubdued, CardHeader, CardBody, CardFooter, Chip, Checkbox, Column, DatePicker, Dropdown, EditableDropdown, TimePicker, MultiSlider, Heading, Icon...
the_stack
import { ethers } from 'hardhat' import { assert, expect } from 'chai' import { evmRevert } from '../test-helpers/matchers' import { getUsers, Personas } from '../test-helpers/setup' import { BigNumber, Signer, BigNumberish } from 'ethers' import { LinkToken__factory as LinkTokenFactory } from '../../typechain/factorie...
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/projectsMappers"; import * as Parameters from "../models/parameters"; import { VisualStudioResourceProviderClientContext } from "../visualStudioRe...
the_stack
import BitMatrix from '../../common/BitMatrix'; import ErrorCorrectionLevel from './ErrorCorrectionLevel'; import FormatInformation from './FormatInformation'; import ECBlocks from './ECBlocks'; import ECB from './ECB'; import FormatException from '../../FormatException'; import IllegalArgumentException from '../../Il...
the_stack
import axios, { AxiosRequestConfig, Method } from "axios"; import sha256 from "crypto-js/sha256"; import Hex from "crypto-js/enc-hex"; import lightningPayReq from "bolt11"; import HashKeySigner from "~/common/utils/signer"; import Connector, { SendPaymentArgs, SendPaymentResponse, CheckPaymentArgs, CheckPayment...
the_stack
import '@testing-library/jest-dom'; import React from 'react'; import { render, queryByAttribute, queryAllByAttribute, fireEvent } from '@testing-library/react'; import type { MemoryHistory} from '@umijs/runtime'; import { createMemoryHistory, Router } from '@umijs/runtime'; import { context as Context } from 'dumi/the...
the_stack
import { Lang, NonEnLang } from '../../resources/languages'; // It's awkward to refer to these string keys, so name them as replaceSync[keys.sealKey]. export const syncKeys = { // Match Regexes, NetRegexes, and timeline constructions of seal log lines. // FIXME: This seal regex includes an optional second col...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utilities"; /** * Manages an Image Builder Image Pipeline. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pu...
the_stack
import type { Observer } from 'rxjs'; import type { ProviderInterface, ProviderInterfaceCallback } from '@polkadot/rpc-provider/types'; import type { StorageKey, Vec } from '@polkadot/types'; import type { Hash } from '@polkadot/types/interfaces'; import type { AnyJson, Codec, DefinitionRpc, DefinitionRpcExt, Definitio...
the_stack
import { IDisposable } from '../common/disposable'; export namespace Cdp { export type integer = number; /** * Protocol API. */ export interface Api { readonly session: import('./connection').CDPSession; /** * Pauses events being sent through the aPI. */ pause(): void; /** ...
the_stack
import { expect } from 'chai'; import 'mocha'; import { TsoaRoute, FieldErrors, ValidationService, AdditionalProps } from '@tsoa/runtime'; import { TypeAliasDate, TypeAliasDateTime, TypeAliasModel1, TypeAliasModel2 } from 'fixtures/testModel'; describe('ValidationService', () => { describe('Model validate', () => { ...
the_stack
import ReactDOM from "react-dom"; import { render, fireEvent, mockBoundingClientRect, restoreOriginalGetBoundingClientRect, assertSelectedElements, } from "./test-utils"; import ExcalidrawApp from "../excalidraw-app"; import * as Renderer from "../renderer/renderScene"; import { KEYS } from "../keys"; import ...
the_stack
import tinyColor from "tinycolor2"; import * as easing from "d3-ease"; import * as gsap from "gsap"; import { drawElement2Ctx, DrawType } from "./helper"; interface RevealStore { hoverCanvas: HTMLCanvasElement; borderCanvas: HTMLCanvasElement; hoverCtx: CanvasRenderingContext2D; borderCtx: CanvasRender...
the_stack
import { Construct } from 'constructs'; import { CfnGatewayRoute } from './appmesh.generated'; import { HeaderMatch } from './header-match'; import { HttpRouteMethod } from './http-route-method'; import { HttpGatewayRoutePathMatch } from './http-route-path-match'; import { validateGrpcMatchArrayLength, validateGrpcGate...
the_stack
import * as DomUtil from '../common/dom_util'; import {Engine} from '../common/engine'; import XpathUtil from '../common/xpath_util'; import {LOCALE} from '../l10n/locale'; import {Grammar} from '../rule_engine/grammar'; import * as StoreUtil from '../rule_engine/store_util'; import {SemanticAnnotations} from '../seman...
the_stack
namespace gdjs { import PIXI = GlobalPIXIModule.PIXI; const defaultBitmapFontKey = 'GDJS-DEFAULT-BITMAP-FONT'; // When a font is unused, we put it in a cache of unused fonts. It's unloaded // from memory only when the cache is full and the font is at the last position // in the cache. // Set this to 0 to ...
the_stack
import request from 'supertest'; import { patch, unpatch } from '../../services/patch'; import { gatewayApp } from '../../../src/app'; import { NETWORK_ERROR_CODE, OUT_OF_GAS_ERROR_CODE, UNKNOWN_ERROR_ERROR_CODE, NETWORK_ERROR_MESSAGE, OUT_OF_GAS_ERROR_MESSAGE, UNKNOWN_ERROR_MESSAGE, } from '../../../src/se...
the_stack
import { ArgumentDefinition, InputObjectType, InputType, isBooleanType, isCustomScalarType, isEnumType, isFloatType, isIDType, isInputObjectType, isIntType, isListType, isNonNullType, isScalarType, isStringType, isVariable, Variable, VariableDefinition, VariableDefinitions, Variabl...
the_stack
import { Component } from "../component"; import { kebabCaseKeys } from "../util"; import { YamlFile } from "../yaml"; import { GitHub } from "./github"; export interface DependabotOptions { /** * How often to check for new versions and raise pull requests. * * @default ScheduleInterval.DAILY */ readon...
the_stack
import { CardStyleInterpolators, createStackNavigator, } from '@react-navigation/stack'; import * as React from 'react'; import {ScrollView, StyleSheet} from 'react-native'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; import AstroBirdExample from './apiTest/AstroBirdExample'; import AudioEx...
the_stack
import * as coreHttp from "@azure/core-http"; import * as Parameters from "./models/parameters"; import * as Mappers from "./models/mappers"; import { KeyVaultClientContext } from "./keyVaultClientContext"; import { KeyVaultClientOptionalParams, ApiVersion73Preview, KeyVaultClientSetSecretOptionalParams, KeyVau...
the_stack
// Library module that defines SiteTuner interface and shared DOM hacking logic. // (This is defined separately here, and not in content_script.ts, to avoid // circular dependency issues.) import { CommentVisibilityDecision, AttributeScores, AttributeScore, EnabledAttributes, getCommentVisibility, getHideReas...
the_stack
import { BoxData, DockMode, DropDirection, LayoutData, maximePlaceHolderId, PanelData, placeHolderStyle, TabBase, TabData, TabGroup } from "./DockData"; let _watchObjectChange: WeakMap<any, any> = new WeakMap(); export function getUpdatedObject(obj: any): any { let result = _watchObjectChange.get(ob...
the_stack
import { Category2 } from 'fp-ts/lib/Category' import { Either } from 'fp-ts/lib/Either' import { flow, Predicate, Refinement } from 'fp-ts/lib/function' import { Functor, Functor1, Functor2, Functor3 } from 'fp-ts/lib/Functor' import { HKT, Kind, Kind2, Kind3, URIS, URIS2, URIS3 } from 'fp-ts/lib/HKT' import { Invaria...
the_stack
import assert from "assert"; import getProvider from "../helpers/getProvider"; import EthereumProvider from "../../src/provider"; describe("forking", () => { describe("auth", () => { describe("Handle invalid url", () => { it("returns the correct error response", async () => { await assert.rejects( ...
the_stack
import { NameKeyMap, SwaggerSailsModel, SwaggerModelAttribute, SwaggerSailsControllers, SwaggerControllerAttribute, SwaggerRouteInfo, BluePrintAction, SwaggerActionAttribute, MiddlewareType } from "./interfaces"; import { forEach, defaults, cloneDeep, groupBy, mapValues, map } from "lodash"; import { Tag } from "swagge...
the_stack
import * as canvas from "canvas"; import * as fs from "fs"; import * as minimist from "minimist"; import * as path from "path"; import * as process from "process"; import { ColorReducer } from "../src/colorreductionmanagement"; import { RGB } from "../src/common"; import { FacetBorderSegmenter } from "../src/fac...
the_stack
import type { IFrontendDomChangeEvent } from '@secret-agent/core/models/DomChangesTable'; declare global { interface Window { replayDomChanges(...args: any[]); replayInteractions(...args: any[]); getIsMainFrame?: () => boolean; debugLogs: any[]; debugToConsole: boolean; selfFrameIdPath: strin...
the_stack
import { CallReceiverMock, HookCallerMock } from '@0xsequence/wallet-contracts' import { Transaction } from '@0xsequence/transactions' import { LocalRelayer } from '@0xsequence/relayer' import { WalletContext, Networks } from '@0xsequence/network' import { JsonRpcProvider } from '@ethersproject/providers' import { e...
the_stack
import { Component, OnInit, TemplateRef, ViewChild } from '@angular/core'; import { NzMessageService } from 'ng-zorro-antd/message'; import { AccountService } from 'src/app/services/account.service'; import { AnalyticsService } from 'src/app/services/analytics.service'; import { uuidv4 } from 'src/app/utils'; import { ...
the_stack
import { TAbstractFile, TFile, TFolder, Keymap, Notice, App, Menu, HoverParent, debounce, MenuItem } from "obsidian"; import { hoverSource, startDrag } from "./Explorer"; import { PopupMenu, MenuParent } from "./menus"; import { ContextMenu } from "./ContextMenu"; declare module "obsidian" { interface HoverPopover...
the_stack
import { expect } from "chai"; import { mount, shallow } from "enzyme"; import * as React from "react"; import * as sinon from "sinon"; import { RelativePosition } from "@itwin/appui-abstract"; import { fireEvent, render, RenderResult } from "@testing-library/react"; import { Popup, PopupProps } from "../../core-react"...
the_stack
import * as parse5 from 'parse5'; import SaxStream from 'parse5-sax-parser'; import { Position } from 'vscode-languageserver-textdocument'; import { AccessScopeExpression, CallScopeExpression, ExpressionKind, ExpressionType, Interpolation, parseExpression, } from '../../common/@aurelia-runtime-patch/src'; ...
the_stack
import FDBDatabase from "./FDBDatabase"; import FDBOpenDBRequest from "./FDBOpenDBRequest"; import FDBVersionChangeEvent from "./FDBVersionChangeEvent"; import cmp from "./lib/cmp"; import Database from "./lib/Database"; import enforceRange from "./lib/enforceRange"; import { AbortError, VersionError } from "./lib/erro...
the_stack
import fs from 'fs'; import log from 'loglevel'; import micromatch from 'micromatch'; import path from 'path'; import {ROOT_FILE_ENTRY} from '@constants/constants'; import {AppConfig} from '@models/appconfig'; import {AppState, FileMapType, HelmChartMapType, HelmValuesMapType, ResourceMapType} from '@models/appstate'...
the_stack
import { Transform } from 'stream'; declare module 'cloudinary' { /****************************** Constants *************************************/ /****************************** Transformations *******************************/ type CropMode = string | "scale" | "fit" | "l...
the_stack
* This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; export namespace Components { interface FwButton { /** * Identifier of the th...
the_stack
import {shallowEqual} from 'react-redux'; import asyncLib from 'async'; import log from 'loglevel'; import {Middleware} from 'redux'; import {ItemInstance, NavigatorInstanceState, SectionBlueprint, SectionInstance} from '@models/navigator'; import {collapseSectionIds, expandSectionIds, updateNavigatorInstanceState} ...
the_stack
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { ATN } from "antlr4ts/atn/ATN"; import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer"; import { CharStream } from "antlr4ts/CharStream"; import { Lexer } from "antlr4ts/Lexer"; import { Lex...
the_stack
* @title: Load model * @description: * This sample shows how to load geometry models and how to add instances of them to the scene. * The sample will first request and load a dinning room model into a Scene object and when finished * you will then be able to load and remove two additional models to the same scene. ...
the_stack
import { html } from 'lit'; import '@cds/core/alert/register.js'; import '@cds/core/icon/register.js'; import { CdsAlert, getIconStatusTuple, iconShapeIsAlertStatusType } from '@cds/core/alert'; import { CdsIcon } from '@cds/core/icon/icon.element.js'; import { infoStandardIcon } from '@cds/core/icon/shapes/info-standa...
the_stack
import { ShapeAD } from "types/shape"; import { evalShapes } from "engine/Evaluator"; import * as ShapeDef from "renderer/ShapeDef"; import { unsafelyUnwrap } from "utils/Error"; import { compileDomain, compileSubstance, initializeMat } from "index"; import { compileStyle } from "compiler/Style"; import { numOf } from ...
the_stack
import { Server as HttpServer } from 'http'; import HttpStatusCodes from 'http-status-codes'; import { Container, Service } from 'typedi'; import { Get } from '../../src/decorator/Get'; import { JsonController } from '../../src/decorator/JsonController'; import { createExpressServer, getMetadataArgsStorage } from '../....
the_stack
import { Injectable } from '@angular/core'; import { Store } from '@ngrx/store'; import { combineLatest, Observable, of as observableOf } from 'rxjs'; import { combineLatest as combineLatestOperators, distinctUntilChanged, filter, first, map, publishReplay, refCount, startWith, switchMap, } from 'rxjs...
the_stack
import { observable, computed, reaction, autorun, action, IReactionDisposer } from 'mobx'; import { TreeModel } from './tree.model'; import { TreeOptions } from './tree-options.model'; import { ITreeNode } from '../defs/api'; import { TREE_EVENTS } from '../constants/events'; export class TreeNode implements ITreeNode...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/annotationsMappers"; import * as Parameters from "../models/parameters"; import { ApplicationInsightsManagementClientContext } from "../applicationInsightsManagementClientContext"; /** Class representi...
the_stack
import hermite from "cubic-hermite"; import { useEffect, useState } from "react"; import { Replicache, ReadTransaction } from "replicache"; import { getClientState } from "../frontend/client-state"; import { getShape } from "../frontend/shape"; /** * Gets the current position of the cursor for `clientID`, but smoothi...
the_stack
* Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import type * as vscode from 'vscode'; import { Uri as URI } fro...
the_stack
import { findPrice, PricePeriod } from '@joplin/lib/utils/joplinCloud'; import { UserFlagType } from '../../services/database/types'; import { AccountType } from '../../models/UserModel'; import { betaUserTrialPeriodDays, isBetaUser, stripeConfig } from '../../utils/stripe'; import { beforeAllDb, afterAllTests, beforeE...
the_stack
import { Component, EventEmitter, Input, Output, OnChanges, SimpleChanges, ViewChild, ElementRef, Renderer2 } from '@angular/core'; import { Subject, Observable, of as observableOf } from 'rxjs'; import { List } from 'immutable'; import { clamp, compact, isEmpty } from 'lodash'; import { SearchBarCate...
the_stack
import { encode as encodeWithPackBitsForICNS } from "./lib/icns-encoder"; import { Image } from "./lib/Image"; import * as Resize from "./lib/resize3"; import * as Resize4 from "./lib/resize4"; import * as UPNG from "./lib/UPNG"; /** * Support of Apple ICNS format is based on https://en.wikipedia.org/wiki/Apple_Icon_...
the_stack