text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
'use strict'; import * as path from 'path' import { IPCMessageReader, IPCMessageWriter, createConnection, IConnection, TextDocumentSyncKind, TextDocuments, TextDocument, Diagnostic, DiagnosticSeverity, InitializeParams, InitializeResult, TextDocumentPositionParams, CompletionItem, CompletionItemKind, Inse...
the_stack
import { Vector3 } from "./Vector3"; export const M00 = 0; export const M01 = 4; export const M02 = 8; export const M03 = 12; export const M10 = 1; export const M11 = 5; export const M12 = 9; export const M13 = 13; export const M20 = 2; export const M21 = 6; export const M22 = 10; export const M23 = 14; export const M...
the_stack
import { Directive, Optional, Input, NgModule, Host, ComponentFactoryResolver, ViewContainerRef } from '@angular/core'; import { ISortingExpression } from '../data-operations/sorting-expression.interface'; import { FilteringExpressionsTree, IFilteringExpressionsTree } from '../data-operations/filtering-expressions-tree...
the_stack
import { User, getAuth, onAuthStateChanged, onIdTokenChanged, signInWithPopup, GoogleAuthProvider, GithubAuthProvider, OAuthProvider, signInWithEmailAndPassword as signInWithEmailAndPass, isSignInWithEmailLink as isSignInWithEmailLinkFB, fetchSignInMethodsForEmail, sendSignInLinkToEmail, signI...
the_stack
import {isValue} from '../values'; import type {Type} from '../types'; import {BooleanType} from '../types'; import type {Expression} from '../expression'; import type ParsingContext from '../parsing_context'; import type EvaluationContext from '../evaluation_context'; import type {CanonicalTileID} from '../../../sourc...
the_stack
import fs = require('fs'); import http = require('http'); import path = require('path'); import url = require('url'); import logging = require('./logging'); import settings = require('./settings'); import userManager = require('./userManager'); let appSettings: common.AppSettings; const CONTENT_TYPES: common.Map<strin...
the_stack
import { Component, ViewChild, OnInit } from '@angular/core'; import { SampleTestData } from './sample-test-data.spec'; import { IgxColumnComponent } from '../grids/public_api'; import { IgxHierarchicalGridComponent } from '../grids/hierarchical-grid/hierarchical-grid.component'; import { IgxRowIslandComponent } from '...
the_stack
import { CheckOutlined, CloseOutlined, DashboardOutlined, DeleteOutlined, PlusOutlined, ReloadOutlined, RetweetOutlined } from '@ant-design/icons'; import { Button, Empty, message, Spin, Tooltip } from 'antd'; import classnames from 'classnames'; import _ from 'lodash'; import React, { forwardRef, Rea...
the_stack
import { RenderingContext2D } from '../types'; import { vectorsRatio, vectorsAngle } from '../util'; import Point from '../Point'; import BoundingBox from '../BoundingBox'; import PathParser from '../PathParser'; import Document from './Document'; import RenderedElement from './RenderedElement'; import MarkerElement...
the_stack
import * as Clutter from 'clutter'; import * as GLib from 'glib'; import * as Meta from 'meta'; import { MsWindow } from 'src/layout/msWorkspace/msWindow'; import { MsWorkspace } from 'src/layout/msWorkspace/msWorkspace'; import { MsManager } from 'src/manager/msManager'; import { KeyBindingAction } from 'src/module/ho...
the_stack
import { Rule, RuleResult, RuleFail, RuleContext, RulePotential, RuleManual, RulePass } from "../../../api/IEngine"; import { DOMUtil } from "../../../dom/DOMUtil"; import { FragmentUtil } from "../util/fragment"; import { RPTUtil } from "../util/legacy"; let a11yRulesLabel: Rule[] = [ { /** * De...
the_stack
import { SearchedArtifact, SearchedVersion, ArtifactMetaData, Rule, VersionMetaData, ContentTypes } from "../../models"; import {BaseService} from "../baseService"; import YAML from "yaml"; export interface CreateArtifactData { groupId: string; id: string|null; type: string; con...
the_stack
import { useEffect, useMemo } from 'react' import { useHistoricalPricesState, useTB3HistoricalPricesState, } from '../atoms/historicalPricesState' import { Cashflows, Portfolio, useCashflowState, useDateRangeValue, useInitialAmountState, usePortfoliosState, useSetLabLoading, } from '../atoms/labSettin...
the_stack
import fs from "fs/promises"; import path from "path"; import { URL } from "url"; import { AdditionalModules, BeforeSetupResult, Compatibility, Context, Log, Mutex, Options, PluginContext, PluginEntries, PluginOptions, PluginOptionsUnion, PluginSignatures, RequestContext, ScriptBlueprint, ...
the_stack
* @fileoverview Implements the CommonMtable wrapper mixin for the MmlMtable object * * @author dpvc@mathjax.org (Davide Cervone) */ import {AnyWrapper, WrapperConstructor, Constructor} from '../Wrapper.js'; import {CommonMtr} from './mtr.js'; import {CommonMo} from './mo.js'; import {BBox} from '../../../util/BBox...
the_stack
import {Factor} from '@/services/data/tuples/factor-types'; import {Pipeline} from '@/services/data/tuples/pipeline-types'; import {connectSimulatorDB} from '@/services/local-persist/db'; import {ICON_SEARCH} from '@/widgets/basic/constants'; import {ButtonInk} from '@/widgets/basic/types'; import {useForceUpdate} from...
the_stack
import { FigmaElement } from '../../contracts/FigmaElement'; import { FRAME as Frame } from '../../contracts/Figma'; import { Config } from '../../contracts/Config'; import { UpdatedCssAndImports } from '../../contracts/Imports'; import { TypographyElement } from '../../contracts/TypographyElement'; import { parseCssF...
the_stack
import adaptor from '../adaptor' import { Collection } from '../collection' import { unwrapData, wrapData } from '../data' import { Doc, doc } from '../doc' import { Field } from '../field' import { Ref, ref } from '../ref' import { SetModel } from '../set' import { UpdateModel } from '../update' import { UpsetModel } ...
the_stack
import { ArrayUtils, ClassParameter, Configuration, Logger, ObjectValidatorUtils, TypeChecker } from '@plugcore/core'; import { FastifyInstance, FastifySchema, HTTPMethods } from 'fastify'; import fastifySwagger, { SwaggerOptions } from 'fastify-swagger'; import { FastifyValidationResult } from 'fastify/types/schema';...
the_stack
import { JupyterFrontEnd, JupyterFrontEndPlugin, ILabShell, } from '@jupyterlab/application'; import { ICellModel, isCodeCellModel } from '@jupyterlab/cells'; import { Converter, createConverter, DataTypeNoArgs, DataTypeStringArg, externalURLDataType, internalURLDataType, nestedDataType, Registry,...
the_stack
import { EventEmitter } from 'events'; import * as stream from 'stream'; import * as util from 'util' import * as fs from 'fs'; import { nanoid } from 'nanoid' const finished = util.promisify(stream.finished); // Emit event to class instance when piping/unpiping and connecting/disconnecting? class Logger extends Eve...
the_stack
import {CloudPrintInterfaceEventType, Destination, DestinationConnectionStatus, DestinationErrorType, DestinationOrigin, DestinationStore, DestinationStoreEventType, DestinationType, GooglePromotedDestinationId, LocalDestinationInfo, makeRecentDestination, NativeInitialSettings, NativeLayerImpl, PrinterType} from 'chro...
the_stack
import React, { PureComponent } from "react"; import Modal from "react-modal"; import TextareaAutosize from "react-textarea-autosize"; import { RouteComponentProps, withRouter } from "react-router-dom"; import styles from "./Send.module.css"; import cstyles from "./Common.module.css"; import { ToAddr, AddressBalance, S...
the_stack
import { existsSync } from 'fs'; import { basename, dirname, extname, join, relative } from 'path'; import * as recursive from 'recursive-readdir'; import { CompletionItem, InputBoxOptions, Position, QuickPickItem, QuickPickOptions, window, workspace, ExtensionContext } from 'vscode'; import { Command } from '....
the_stack
import {normalizeURL, parseQuery, stringifyQuery, URLOptions} from '@layr/navigator'; import {possiblyAsync} from 'possibly-async'; import isEmpty from 'lodash/isEmpty'; import {parsePattern, Pattern, PathMatcher, PathGenerator} from './pattern'; import { serializeParam, deserializeParam, parseParamTypeSpecifier...
the_stack
import { RpcCoder } from '@polkadot/rpc-provider/coder'; import defaults from '@polkadot/rpc-provider/defaults'; import { LRUCache } from '@polkadot/rpc-provider/lru'; import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted } from '@polkad...
the_stack
import React from 'react'; import ReactDOM from 'react-dom'; import { Autowired, Injectable, Injector, INJECTOR_TOKEN } from '@opensumi/di'; import { AppConfig, compareAnything, ConfigProvider, IContextKey, IContextKeyService, KeybindingRegistry, QuickOpenActionProvider, QuickOpenTabOptions, } from '@o...
the_stack
import { ENV } from "../environment"; import * as util from "../util"; import { ArrayData } from "../util"; import { NDArrayMath } from "./math"; import { RandNormalDataTypes } from "./rand"; import { MPRandGauss } from "./rand"; export enum DType { float32 = "float32", int32 = "int32", bool = "bool", uint8 = ...
the_stack
import { NgZone, Injectable } from "@angular/core"; import { PanelScopeEnchantmentService } from "./panel-scope-enchantment/panel-scope-enchantment.service"; import { ScopeEnchantmentModel, PanelInfoModel } from "./model"; import { PanelExtendService } from "./panel-extend.service"; import { BehaviorSubject, fromEvent,...
the_stack
import { Timeline } from '@/lib/audio/timeline'; import { ContextTime, Ticks, Seconds, Beat } from '@/lib/audio/types'; import { Context } from '@/lib/audio/context'; import { watch } from '@vue/composition-api'; import { Clock } from '@/lib/audio/clock'; import { StrictEventEmitter } from '@/lib/events'; import { Disp...
the_stack
import { EntityTarget, INTERNAL_ENTITY_ATTRIBUTE, InvalidParallelScanLimitOptionError, MANAGER_NAME, PARALLEL_SCAN_CONCURRENCY_LIMIT, STATS_TYPE, } from '@typedorm/common'; import {DynamoDB} from 'aws-sdk'; import pLimit from 'p-limit'; import {getUniqueRequestId} from '../../helpers/get-unique-request-id';...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Budgets } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { ConsumptionManagementClient } from "../consumpt...
the_stack
import React, {Component, Fragment, MouseEventHandler} from 'react'; import styled from 'styled-components'; import {FormattedMessage} from 'localization'; import {Button, Input, PanelLabel, SidePanelSection} from 'components/common/styled-components'; import ItemSelector from 'components/common/item-selector/item-sel...
the_stack
import Vue, { VueConstructor } from "vue" import { App } from "vue3" // vue3 interface vueUnicomGather { [propName: string]: VueUnicom // 任意类型 } // #id 存放id的unicom对象 let unicomGroupByID: vueUnicomGather = {} /** * 寄存target(vm) * @param target * @param newId * @param oldId */ function updateUnico...
the_stack
import { GlobalProps } from 'ojs/ojvcomponent'; import { ComponentChildren } from 'preact'; import { KeySet } from '../ojkeyset'; import { DataProvider } from '../ojdataprovider'; import { dvtBaseComponent, dvtBaseComponentEventMap, dvtBaseComponentSettableProperties } from '../ojdvt-base'; import { JetElement, JetSett...
the_stack
import { ReaderFragment } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type CommerceBuyerOfferActionEnum = "OFFER_ACCEPTED" | "OFFER_ACCEPTED_CONFIRM_NEEDED" | "OFFER_RECEIVED" | "OFFER_RECEIVED_CONFIRM_NEEDED" | "PAYMENT_FAILED" | "PROVISIONAL_OFFER_ACCEPTED" | "%future added value"; expo...
the_stack
namespace SpeedIndexComputer { const navTimingsSupported = ("performance" in window) && ("timing" in window.performance); /** * Collects the speedindex and the firstPaint event, storign the min the pageLoadRequest. */ export function init() { if (navTimingsSupported) { Instru...
the_stack
import * as ts from 'typescript'; import * as base from './base'; import {FacadeConverter} from './facade_converter'; /** * To support arbitrary d.ts files in Dart we often have to merge two TypeScript * types into a single Dart type because Dart lacks features such as method * overloads, type aliases, and union t...
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/storageAccountCredentialsMappers"; import * as Parameters from "../models/parameters"; import { DataBoxEdgeManagementClientContext } from "../data...
the_stack
import {GaxiosOptions} from 'gaxios'; import {AwsRequestSigner} from './awsrequestsigner'; import { BaseExternalAccountClient, BaseExternalAccountClientOptions, } from './baseexternalclient'; import {RefreshOptions, Headers} from './oauth2client'; /** * AWS credentials JSON interface. This is used for AWS worklo...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Users } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { GraphRbacManagementClient } from "../graphRbacMan...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [managedblockchain](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonmanagedblockchain.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/...
the_stack
import i18next from "i18next"; import { action, computed, runInAction } from "mobx"; import URI from "urijs"; import isDefined from "../../../Core/isDefined"; import loadJson from "../../../Core/loadJson"; import runLater from "../../../Core/runLater"; import CatalogMemberMixin from "../../../ModelMixins/CatalogMemberM...
the_stack
// this file is for drawing score. module Inknote { function getBarLength(bar: Model.Bar): number { var length = 20; for (var i = 0; i < bar.items.length; i++) { var item = bar.items[i]; if (item instanceof Model.Clef) { length += requiredClefSpace(item, ...
the_stack
module Scripting { var gameObjects: Obj[]|null = null var mapVars: any = null var globalVars: any = { 0: 50, // GVAR_PLAYER_REPUTATION //10: 1, // GVAR_START_ARROYO_TRIAL (1 = TRIAL_FIGHT) 531: 1, // GVAR_TALKED_TO_ELDER 452: 2, // GVAR_DEN_VIC_KNOWN 88: 0, // GVAR_VA...
the_stack
import { CreateChannelMessage, MethodResults, NodeResponses, RebalanceProfile as RebalanceProfileType, StateChannelJSON, DepositAppName, DepositAppState, FreeBalanceResponse, } from "@connext/types"; import { getSignerAddressFromPublicIdentifier, stringify, calculateExchangeWad, maxBN, } from "@...
the_stack
import cheerio from "cheerio"; import UrlParse from "url-parse"; import puppeteer from "puppeteer"; import fetch from "node-fetch"; import { baseUrl } from "./constants"; const maxConcurrentRequests = 3; export type Item = { id: string; name: string; size: string; link: string; category: string; seeders: ...
the_stack
import React, { useEffect, useState } from 'react'; import Graphin, { Behaviors } from '@antv/graphin'; import { ContextMenu } from '@antv/graphin-components'; import G6 from '@antv/g6'; import cloneDeep from '../../../../lib/utils/cloneDeep'; const { DragCombo } = Behaviors; const { Menu } = ContextMenu; const COMBO...
the_stack
import { css, useTheme } from '@emotion/react'; import { Theme } from '@sumup/design-tokens'; import { FC, Fragment, Ref, useEffect, useMemo, useRef, useState, KeyboardEvent, AnchorHTMLAttributes, ButtonHTMLAttributes, } from 'react'; import useLatest from 'use-latest'; import usePrevious from 'use-...
the_stack
import { BriefcaseDb, Element, IModelDb, IModelHost, IModelJsNative, Relationship, SnapshotDb, SQLiteDb } from "@itwin/core-backend"; import * as BackendTestUtils from "@itwin/core-backend/lib/cjs/test"; import { AccessToken, DbResult, GuidString, Id64, Id64String, StopWatch } from "@itwin/core-bentley"; import { Chang...
the_stack
import * as React from "react"; import { SortableListHeader } from "../SortableListHeader"; import { Datatype, AttributeAddon, AttributeInput, Primitives, makeUniqueId, buildDefaultAddonsValue, validateAttribute, SchemaInput, } from "@codotype/core"; import { Droppable, DragDropContext }...
the_stack
import { Inject, Injectable, Optional } from '@angular/core'; import { Http, Headers, URLSearchParams } from '@angular/http'; import { RequestMethod, RequestOptions, RequestOptionsArgs } from '@angular/http'; import { Response, ResponseContentType } from '@ang...
the_stack
import { Component, OnInit, OnDestroy } from '@angular/core'; import { environment } from '../../../../../environments/environment'; import { Subscription } from 'rxjs/Subscription'; import { AssetGroupObservableService } from '../../../../core/services/asset-group-observable.service'; import { LoggerService } from '.....
the_stack
import {renderHook, act} from '@testing-library/react-hooks' import {createCache, useCache, CacheExport} from './index' beforeAll(() => { jest.useFakeTimers() }) afterAll(() => { jest.useRealTimers() }) describe('createCache()', () => { it('should load a key', async () => { const cache = createCache((strin...
the_stack
import { ADD_ITEM, REMOVE_ITEM, SET } from "#SRC/js/constants/TransactionTypes"; import { parseIntValue } from "#SRC/js/utils/ReducerUtil"; import Transaction from "#SRC/js/structs/Transaction"; import * as ValidatorUtil from "#SRC/js/utils/ValidatorUtil"; import { COMMAND, HTTP, HTTPS, TCP, } from "../../cons...
the_stack
import React from 'react'; import ReactDOMServer from 'react-dom/server'; import { act } from 'react-dom/test-utils'; import { mount } from 'enzyme'; import Tooltip from './index'; jest.useFakeTimers(); // https://github.com/thumbtack/thumbprint/issues/72 // https://github.com/FezVrasta/popper.js/issues/478#issuecomm...
the_stack
import angular, {IFilterFilterComparatorFunc, ITimeoutService} from 'angular' import moment from 'moment' import GanttArrays from '../util/arrays.service' import {GanttRow, GanttRowModel} from './row.factory' import {IGanttFilterService} from '../../../index' import {Gantt} from '../gantt.factory' export class Gantt...
the_stack
import { LayoutUtil } from "./layout_utils" import { ListViewItem } from "./ListViewItem"; export class ListViewTs { private scrollview: cc.ScrollView; private mask: cc.Mask; private content: cc.Node; private item_tpl: cc.Node; private item_pool: ListViewItem[]; private dir: number; privat...
the_stack
import {AfterViewInit, Component, EventEmitter, OnInit, Output} from '@angular/core'; import {Role} from '@app/model/role'; import {UserService} from "@app/services/user.service"; import {ActivatedRoute} from "@angular/router"; import {catchError, filter, map, share, switchMap, tap} from "rxjs/operators"; import {RoleT...
the_stack
import { RequestError } from "./botgram"; // Chat / User types export type Chat = chatUser | chatGroup | chatSupergroup | chatChannel; interface ChatBase { id: number; type: string; name: string; username?: string; smallPhoto?: File; bigPhoto?: File; } export interface chatU...
the_stack
import type {Mutable, Class} from "@swim/util"; import {Affinity, Property, Animator} from "@swim/component"; import {AnyLength, Length, AnyR2Point, R2Point, R2Segment, R2Box, R2Circle, Transform} from "@swim/math"; import {AnyGeoPoint, GeoPoint, GeoBox} from "@swim/geo"; import {AnyColor, Color} from "@swim/style"; im...
the_stack
import { ActionBarAttributes, ActionItemAttributes, ActivityIndicatorAttributes, ButtonAttributes, ContentViewAttributes, DatePickerAttributes, FormattedStringAttributes, SpanAttributes, HtmlViewAttributes, ImageAttributes, LabelAttributes, AbsoluteLayoutAttributes, D...
the_stack
import { inject, optional } from 'inversify'; import { VNode } from "snabbdom/vnode"; import { isCtrlOrCmd } from "../../utils/browser"; import { matchesKeystroke } from "../../utils/keyboard"; import { toArray } from '../../utils/iterable'; import { SChildElement, SModelElement, SModelRoot, SParentElement } from '../....
the_stack
import { Loki } from "../../src/loki"; import { Collection } from "../../src/collection"; describe("cloning behavior", () => { interface User { name: string; owner: string; maker: string; } let db: Loki; let items: Collection<User>; beforeEach(() => { db = new Loki("cloningDisabled"); i...
the_stack
import * as vscode from "vscode"; import { Context, Direction, Lines, NotASelectionError, Positions, SelectionBehavior, Shift } from "."; import { execRange, splitRange } from "../utils/regexp"; /** * Sets the selections of the given editor. * * @param editor A `vscode.TextEditor` whose selections will be updated,...
the_stack
import EventDispatcher from "../../patchwork/core/EventDispatcher"; import Module from "../../patchwork/core/Module"; import IPoint from "../data/interface/IPoint"; import ModuleCategories from "../../patchwork/enum/ModuleCategories"; import ModuleTypes from "../../patchwork/enum/ModuleTypes"; import VisualModuleEvent ...
the_stack
// Generated by: https://github.com/david-driscoll/atom-typescript-generator // Generation tool by david-driscoll <https://github.com/david-driscoll/> declare module Linter { /** * Commands * This class was not documented by atomdoc, assume it is private. Use with caution. */ class Commands { ...
the_stack
module Fayde.Controls { export class ComboBox extends Primitives.Selector { DropDownOpened = new nullstone.Event(); DropDownClosed = new nullstone.Event(); static IsDropDownOpenProperty = DependencyProperty.Register("IsDropDownOpen", () => Boolean, ComboBox, false, (d, args) => (<Combo...
the_stack
import { IgniteUIForAngularTemplate } from "@igniteui/angular-templates"; import { App, GoogleAnalytics, PackageManager, ProjectConfig, TypeScriptFileUpdate, TypeScriptUtils, Util } from "@igniteui/cli-core"; import * as path from "path"; import * as ts from "typescript"; import { default as addCmd } from "../../packag...
the_stack
import {RequestOptions} from "http"; import {Readable} from "stream"; export = hbase; /** * Calling the hbase method return an initialized client object. * https://hbase.js.org/api/client/#grab-an-instance-of-hbaseclient * @param config */ declare function hbase(config: hbase.ClientConfig): hbase.Client; /** * ...
the_stack
import { jsx, css } from "@emotion/core"; import * as React from "react"; import color from "color"; import PropTypes from "prop-types"; import { alpha, lighten } from "./Theme/colors"; import { Spinner } from "./Spinner"; import { useTheme } from "./Theme/Providers"; import { Theme } from "./Theme"; import { IconWrapp...
the_stack
module BABYLON { export interface ICommand { canExecute(parameter: any): boolean; execute(parameter: any): void; canExecuteChanged: Observable<void>; } export class Command implements ICommand { constructor(execute: (p) => void, canExecute: (p) => boolean) { if...
the_stack
import { mount, shallow } from 'enzyme'; import Mask from './Mask'; import React from 'react'; import { unmaskValue } from './maskHelpers'; // Some tests are generated. When a new mask is added, add it here: const masks = ['currency', 'ssn', 'zip', 'phone']; function render(customProps = {}, inputProps = {}, deep = f...
the_stack
import { ColorLike, NumericAttribValue, PolyDictionary, Vector2Like, Vector3Like, Vector4Like, } from '../../types/GlobalTypes'; import {Vector3} from 'three/src/math/Vector3'; import {Int32BufferAttribute} from 'three/src/core/BufferAttribute'; import {Float32BufferAttribute} from 'three/src/core/BufferAttribute...
the_stack
import { Chart } from "chart.js"; export interface Complex { Real: number; Imag: number; Magnitude: number; Phase: number; }; export interface DisplayableState { n_qubits: number; div_id: string; amplitudes: Complex[] | null; }; export type PlotStyle = "amplitude-phase" | "amplitude-squar...
the_stack
import * as vs from 'vscode'; import {FileInfo} from './FileInfo'; import * as minimatch from 'minimatch'; import PathConfiguration from './PathConfiguration'; // node modules import * as fs from 'fs'; import * as path from 'path'; var configuration = new PathConfiguration(); // load the initial configurations confi...
the_stack
import { deriveWalletKeys, deriveAccount, getStxAddress, deriveLegacyConfigPrivateKey, DerivationType, selectStxDerivation, fetchUsernameForAccountByDerivationType, } from '../src'; // https://github.com/paulmillr/scure-bip39 // Secure, audited & minimal implementation of BIP39 mnemonic phrases. import { ...
the_stack
import { Vector4 } from '../math/Vector4' import { Vector3 } from '../math/Vector3' import { Vector2 } from '../math/Vector2' import { Color } from '../math/Color' import { fillUint32ArrayWithValues, fillFloat32ArrayWithValues } from './TypedArrayUtils' class UpdateRange { offset: f32 count: f32 } export enum Array...
the_stack
import {Time, Moment, WeekTime, TimeWeekDay} from "./time.types"; import {CommonUtils} from "../core/utils/common-utils"; declare const moment: any; /** * 时间粒度值 */ export enum TimeGr { second, minute, hour, date, week, month, time, time_hour_minute, time_minute_second, time_hour } /** * 周起始日期 */ export enum ...
the_stack
import { createConnection, TextDocuments, Diagnostic, DiagnosticSeverity, ProposedFeatures, InitializeParams, DidChangeConfigurationNotification, CompletionItem, CompletionItemKind, TextDocumentPositionParams, TextDocumentSyncKind, InitializeResult, Hover, HoverParams, MarkupContent, DefinitionParams, ...
the_stack
import * as cdk from '@aws-cdk/core'; import * as cw from '@aws-cdk/aws-cloudwatch'; import { IBLEAFrontend } from './blea-frontend-interface'; interface BLEADashboardStackProps extends cdk.StackProps { dashboardName: string; webFront: IBLEAFrontend; ecsClusterName: string; ecsServiceName: string; appTargetG...
the_stack
import type { Root } from "../../core/Root"; import type { DataItem } from "../../core/render/Component"; import type { HierarchyNode } from "./HierarchyNode"; import type { Bullet } from "../../core/render/Bullet"; import type { Series } from "../../core/render/Series"; import { Partition, IPartitionPrivate, IPartiti...
the_stack
import * as expect from "expect"; import { Appservice, ProfileCache } from "../../src"; import { createTestClient } from "../MatrixClientTest"; import * as simple from "simple-mock"; import { testDelay } from "../TestUtils"; describe('ProfileCache', () => { it('should request the profile if it is not cached', asyn...
the_stack
* @module OrbitGT */ //package orbitgt.system.runtime; type int8 = number; type int16 = number; type int32 = number; type float32 = number; type float64 = number; import { ASystem } from "./ASystem"; import { Numbers } from "./Numbers"; import { Strings } from "./Strings"; /** * Class ALong defines a signed 64-b...
the_stack
import { readFileSync, readFile, mkdirpSync, writeFileSync, remove, copy, pathExistsSync } from 'fs-extra'; import { rootDir } from '../tool-utils'; import { pressCarouselItems } from './utils/pressCarousel'; import { getMarkdownIt, loadMustachePartials, markdownToPageHtml, renderMustache } from './utils/render'; impor...
the_stack
import { Injectable, EventEmitter } from '@angular/core'; import { CoreFile } from '@services/file'; import { CoreFileHelper } from '@services/file-helper'; import { CoreFilepool } from '@services/filepool'; import { CoreSites } from '@services/sites'; import { CoreDomUtils } from '@services/utils/dom'; import { CoreT...
the_stack
import { Cell, CellCollector, HexString, Indexer, Script, Tip, Output, utils, Block, } from "@ckb-lumos/base"; import { validators } from "ckb-js-toolkit"; import { RPC } from "@ckb-lumos/rpc"; import { request, requestBatch } from "./services"; import { CKBCellCollector } from "./collector"; import {...
the_stack
import { createElement, isNullOrUndefined, extend, compile, getValue, setValue } from '@syncfusion/ej2-base'; import { formatUnit, addClass } from '@syncfusion/ej2-base'; import { Gantt } from '../base/gantt'; import { isScheduledTask } from '../base/utils'; import { DataManager, Query } from '@syncfusion/ej2-data'; im...
the_stack
import Chroma from 'chroma-js' import { clamp, WindowPoint, roundTo } from '../../../core/shared/math-utils' import { getControlStyles } from '../common/control-status' import { CSSColor, cssColorToChromaColorOrDefault, EmptyInputValue, fallbackOnEmptyInputValueToCSSEmptyValue, isHex, isHSL, isKeyword, } ...
the_stack
import { ConfiguredDocumentClass, ConfiguredFlags, FieldReturnType, PropertiesToSource } from '../../../../types/helperTypes'; import EmbeddedCollection from '../../abstract/embedded-collection.mjs'; import { DocumentData } from '../../abstract/module.mjs'; import * as documents from '../../documents.mjs'; impo...
the_stack
import type { Pine as PineBase, PineStrict as PineStrictBase, } from '../typings/balena-pine'; import type { BalenaRequest, Interceptor } from '../typings/balena-request'; import type { ResourceTypeMap } from './types/models'; import { globalEnv } from './util/global-env'; export type Pine = PineBase<ResourceTypeMa...
the_stack
import assert from 'assert'; import { makeModelSortDirectionEnumObject } from '@aws-amplify/graphql-model-transformer'; import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces'; import { DirectiveNode, FieldDefinitionNode, InputObjectTypeDefinitionNode, Kind, ObjectTypeDefinitionNode } f...
the_stack
import _ from 'lodash'; // Services & Utils import syntax, { QUERY_COMMANDS, AGGREGATION_FUNCTIONS_STATS, STRING_FUNCTIONS, DATETIME_FUNCTIONS, IP_FUNCTIONS, BOOLEAN_FUNCTIONS, NUMERIC_OPERATORS, FIELD_AND_FILTER_FUNCTIONS, } from './syntax'; // Types import { CloudWatchQuery } from './types'; import ...
the_stack
import assert from 'assert'; import Stream from 'stream'; import * as Utils from '../../utils/misc-utils'; import { requoteProgram, getFunctions, getDevices } from '../requoting'; import { stripOutTypeAnnotations } from './eval_utils'; import * as I18n from '../../i18n'; import * as ThingTalkUtils from '../../utils/th...
the_stack
import * as FC from 'fast-check'; import * as K from '../../src/Kit'; import {genInCharset, property, prettyPrint} from '../utils'; import {produce} from 'immer'; import * as _ from 'lodash'; import * as UnicodeProperty from '../../src/UnicodeProperty'; import {Omit} from 'utility-types'; import Unicode from '../../src...
the_stack
import { promises as fs } from 'fs' import path from 'path' import { LOCKFILE_VERSION, WANTED_LOCKFILE } from '@pnpm/constants' import { RootLog } from '@pnpm/core-loggers' import PnpmError from '@pnpm/error' import { Lockfile, TarballResolution } from '@pnpm/lockfile-file' import { prepareEmpty, preparePackages } from...
the_stack
import { BinaryOp } from "../../expression"; import { NumericRangePattern, NumericRangeLimit, NumericAggregationPattern, EmptyPattern, isNumericAggregationPattern, NeverPattern, isNeverPattern, isNumericRangePattern, } from "./pattern"; /** * Join two numeric ranges together to represent values in bot...
the_stack
import { LuaParse } from './LuaParse' import { LuaFiledCompletionInfo } from "./provider/LuaFiledCompletionInfo" import { LuaInfoManager } from './LuaInfoManager' import { LuaParseTool } from './LuaParseTool' import cp = require('child_process'); import vscode = require('vscode'); var fs = require('fs'); import { LuaIn...
the_stack
import { AgentFrameworkError, Class } from '../../dependencies/core'; import { Disposable } from './Helpers/Disposable'; import { Agent, AgentReference, Params } from './Agent'; import { Domain } from './Domain'; import { IsPromise } from './Helpers/IsPromise'; import { IsObservable } from './Helpers/IsObservable'; imp...
the_stack
import { test } from '@japa/runner' import type { ManyToMany } from '@ioc:Adonis/Lucid/Orm' import { FactoryManager } from '../../src/Factory/index' import { column, manyToMany } from '../../src/Orm/Decorators' import { fs, setup, getDb, cleanup, ormAdapter, resetTables, getBaseModel, getFactoryModel, ...
the_stack