text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { Worker, MessageChannel, MessagePort, receiveMessageOnPort } from 'worker_threads'; import { once } from 'events'; import EventEmitterAsyncResource from 'eventemitter-asyncresource'; import { AsyncResource } from 'async_hooks'; import { cpus } from 'os'; import { fileURLToPath, URL } from 'url'; import { resolv...
the_stack
import { jsx } from '@emotion/core'; import React from 'react'; import formatMessage from 'format-message'; import { Link } from 'office-ui-fabric-react/lib/Link'; import { Image, ImageFit } from 'office-ui-fabric-react/lib/Image'; import { Pivot, PivotItem, PivotLinkSize } from 'office-ui-fabric-react/lib/Pivot'; impo...
the_stack
import nls = require('vs/nls'); import uri from 'vs/base/common/uri'; import errors = require('vs/base/common/errors'); import {TPromise} from 'vs/base/common/winjs.base'; import {IAction} from 'vs/base/common/actions'; import treedefaults = require('vs/base/parts/tree/browser/treeDefaults'); import {IDataSource, ITree...
the_stack
import { EventEmitter } from 'events'; import { createHash } from 'crypto'; import * as _ from 'underscore'; import { ExternalWindow, OpenFinWindow, Identity, GroupWindow } from '../shapes'; import * as coreState from './core_state'; import * as windowGroupsProxy from './window_groups_runtime_proxy'; import * as group...
the_stack
import * as path from 'path'; import * as fs from 'fs-extra'; import * as prettier from 'prettier'; import * as ts from 'typescript'; import { ResolveConfigOptions } from 'prettier'; import { error } from './debugLog'; import { Mod, StandardDataSource } from './standard'; import { Manager } from './manage'; import { O...
the_stack
import { crc32 } from "crc"; import * as dgram from "dgram"; import { AddressInfo } from "net"; import { MersenneTwister19937, Random } from "random-js"; import { BehaviorSubject, Subject, Subscription } from "rxjs"; import { privateData } from "../../../shared/lib"; import { DualshockData, DualshockMeta, G...
the_stack
// The phosphorus runtime for Scratch // Provides methods expected at runtime by scripts created by the compiler and an environment for Scratch scripts to run namespace P.runtime { export type Fn = () => void; // Current runtime var runtime: Runtime; // Current stage var self: P.core.Stage; // Current spri...
the_stack
import { ParametricSelector, Selector } from "reselect" import { cnst } from "../../Data/Function" import { notNullStrUndef } from "../../Data/List" import { fromJust, INTERNAL_shallowEquals, isMaybe, isNothing, Just, Maybe, Nothing, Some } from "../../Data/Maybe" import { fromMap, lookup, OrderedMap, toMap } from "../...
the_stack
import axios from 'axios'; import throat from 'throat'; import { Account } from '../account'; import { GraphManager } from '../graphManager'; import { Organization } from '../organization'; import { GitHubTokenManager } from '../../github/tokenManager'; import RenderHtmlMail from '../../lib/emailRender'; import { wrap...
the_stack
import { $TSAny, $TSContext, $TSObject, AmplifyCategories, AmplifySupportedService, exitOnNextTick, getMigrateResourceMessageForOverride, pathManager, ResourceDoesNotExistError, stateManager, } from 'amplify-cli-core'; import { alphanumeric, printer, prompter, Validator } from 'amplify-prompts'; imp...
the_stack
import * as React from 'react' import { DiffLineType, DiffHunk, DiffLine, DiffSelection, ITextDiffData, } from '../../models/diff' import { getLineFilters, getFileContents, highlightContents, } from './syntax-highlighting' import { ITokens, ILineTokens, IToken } from '../../lib/highlighter/types' import...
the_stack
import { Writer } from './writer.ts'; import { Reader } from './reader.ts'; import { findOneDocument, findMultipleDocuments, updateDocument, parseDatabaseStorage } from './core.ts'; import { Document, DatabaseConfig, Query, QueryFunction, Update, UpdateFunction, Acceptable } from './types.ts'; import { cleanArray, deep...
the_stack
import { Appservice, IAppserviceOptions, Intent, MatrixBridge, REMOTE_ROOM_INFO_ACCOUNT_DATA_EVENT_TYPE, REMOTE_ROOM_MAP_ACCOUNT_DATA_EVENT_TYPE_PREFIX, REMOTE_USER_INFO_ACCOUNT_DATA_EVENT_TYPE, REMOTE_USER_MAP_ACCOUNT_DATA_EVENT_TYPE_PREFIX } from "../../src"; import * as expect from "e...
the_stack
module androidui { import View = android.view.View; import ViewGroup = android.view.ViewGroup; import FrameLayout = android.widget.FrameLayout; import MotionEvent = android.view.MotionEvent; import KeyEvent = android.view.KeyEvent; import Intent = android.content.Intent; import ActivityThrea...
the_stack
import {ByteReader, concatByteArrays, EOF} from "teamten-ts-utils"; import {hi, lo, toHexByte, toHexWord} from "z80-base"; import {ProgramAnnotation} from "./ProgramAnnotation.js"; import {AbstractTrs80File} from "./Trs80File.js"; import { CmdLoadBlockChunk, CmdLoadModuleHeaderChunk, CmdProgram, CmdTran...
the_stack
import type { MaybeTDN, MaybeVariables, Data, Variables, ComponentDocument, OptimisticResponseType, RefetchQueriesType, MutationUpdaterFn, } from '@apollo-elements/core/types'; import type { PropertyValues } from 'lit'; import type { FetchResult, MutationOptions, ErrorPolicy, } from '@apollo/cli...
the_stack
import { applierAction, applierContext, applierQuery, AttributeContextParameters, AttributeResolutionApplier, AttributeResolutionApplierCapabilities, CdmAttributeContext, cdmAttributeContextType, CdmAttributeResolutionGuidance, PrimitiveAppliers, relationshipInfo, Resolve...
the_stack
import sinon from "sinon"; import IDB, { open, execute } from "../../src/adapters/IDB"; import { v4 as uuid4 } from "uuid"; import { StorageProxy } from "../../src/adapters/base"; import { KintoIdObject } from "kinto-http"; import { expectAsyncError } from "../test_utils"; const { expect } = intern.getPlugin("chai");...
the_stack
import * as chai from 'chai'; import {TestHelper} from '../TestHelper'; import chaiHttp = require('chai-http'); import {FixtureUtils} from '../../fixtures/FixtureUtils'; import {ICourse} from '../../../shared/models/ICourse'; import {ILecture} from '../../../shared/models/ILecture'; import {IUnit} from '../../../shared...
the_stack
import * as React from 'react'; import { taxonomy, ITermStore } from "@pnp/sp-taxonomy"; // Office ui fabric react controls import { TagPicker } from 'office-ui-fabric-react/lib/components/pickers/TagPicker/TagPicker'; import { DefaultButton, ActionButton } from 'office-ui-fabric-react/lib/Button'; import { Panel, Pan...
the_stack
import { DataAccessTypes } from '@requestnetwork/types'; import TransactionIndex from '../src/transaction-index/index'; import TimestampByLocation from '../src/transaction-index/timestamp-by-location'; const testBlock: DataAccessTypes.IBlockHeader = { channelIds: { 'request-1': [1] }, topics: { 'request-1': ['top...
the_stack
import { Blending, Color, DepthTest, mat4, MaterialFromShader, MeshBuilder, quat, RenderBuffer, RenderTarget, RenderTexture, Shader, shaderProp, SimpleTexturedMaterial, Texture, Texture2D, TextureData, TextureFormat, TextureImporter, Utils, vec2, vec4, WrapMode, ZograRenderer } from "@sardinefish/zogra...
the_stack
import uuid from "uuid"; import App from "../../app"; import { defaultOptionalSteps, damagePositions, randomFromList, } from "./damageReports/constants"; import * as damageReportFunctions from "./damageReports/functions"; import processReport from "./processReport"; import DamageStep from "./damageStep"; import D...
the_stack
import * as React from 'react'; import { Box as ReakitBox } from 'reakit'; import { useClassName, createComponent, createElement, createHook, useUniqueId } from '../utils'; import { Button, ButtonProps } from '../Button'; import { Box, BoxProps } from '../Box'; import { Card, CardProps } from '../Card'; import { Icon,...
the_stack
import * as Common from '../../core/common/common.js'; import * as IssuesManager from '../../models/issues_manager/issues_manager.js'; import type * as Protocol from '../../generated/protocol.js'; type AggregationKeyTag = { aggregationKeyTag: undefined, }; /** * An opaque type for the key which we use to aggregate...
the_stack
import { Bounds, IEntityBounds, Point } from "../core/interfaces"; import { IRTreeSplitStrategy, NodePair, SplitStrategyLinear, } from "./rTreeSplitStrategies"; /** * The maximum number of children in an r-tree node before we attempt to split. * This must be >= 2. */ const DEFAULT_MAX_NODE_CHILDREN = 5;...
the_stack
import EditorUI = require("../../EditorUI"); import CreateComponentButton = require("./CreateComponentButton"); import ScriptWidget = require("ui/ScriptWidget"); import SerializableEditType = require("./SerializableEditType"); import SelectionSection = require("./SelectionSection"); import SelectionPrefabWidget = requi...
the_stack
import { Component, ElementRef, OnInit, AfterViewChecked, EventEmitter } from '@angular/core'; import { FormGroup, Validators, FormBuilder } from '@angular/forms'; import { DomSanitizer } from '@angular/platform-browser/'; import { ActivatedRoute, Router } from '@angular/router'; import { Observable } from 'rxjs/Observ...
the_stack
import * as path from 'path'; import { logErrorMessage } from '../logger'; import type * as dfd from 'danfojs-node'; import type { Configs } from 'danfojs-node/types/config/config'; import { sendMessage } from '../comms'; import { DanfoNodePlotter } from './danforPlotter'; import { DisplayData } from '../types'; expo...
the_stack
import {Component, ElementRef, Injector, Input, OnDestroy, OnInit} from '@angular/core'; import {UIOption} from '@common/component/chart/option/ui-option'; import * as _ from 'lodash'; import { BarMarkType, ChartType, DataLabelPosition, UIChartDataLabelDisplayType, UIOrient, UIPosition } from '@common/compo...
the_stack
import { Engineers } from "./worlds/engineer"; import { World } from "./world"; import { Utils, Unlocable } from "./utils"; import { Base } from "./units/base"; import { Cost } from "./cost"; import { TypeList } from "./typeList"; import { Action, Research } from "./units/action"; import { Production } from "./producti...
the_stack
import type { CorePluginList } from './generated/CorePluginList' import type { DefaultColors } from './generated/colors' // Helpers type Expand<T> = T extends object ? T extends infer O ? { [K in keyof O]: Expand<O[K]> } : never : T type KeyValuePair<K extends keyof any = string, V = string> = Record<K, V>...
the_stack
import { defineComponent, ref, PropType, onMounted, watch, onUpdated } from 'vue' import classNames from 'classnames' import marked from './lib/helpers/marked' import keydownListen from './lib/helpers/keydownListen' import ToolbarLeft from './components/toolbar-left' import ToolbarRight from './components/toolbar-right...
the_stack
const NbSubSegmentPerSegment: number = 10; const Epsilon: number = 0.1; // 1/NBSubSegmentPerSegment const MinimumKnotNb: number = 4; // 猜测0号点是CatmullRom算法辅助点,1号点是真正线段开始,2号点是第一个线段的结束 // 假如存在subsegment(拐点信息),应该存入这个线段的末尾 const FirstSegmentKnotIndex: number = 2; export class SubKnot { distanceFromStart: number...
the_stack
import 'styling/_QuerySummary'; import { escape } from 'underscore'; import { IQuerySuccessEventArgs, QueryEvents } from '../../events/QueryEvents'; import { QuerySummaryEvents } from '../../events/QuerySummaryEvents'; import { exportGlobally } from '../../GlobalExports'; import { Assert } from '../../misc/Assert'; imp...
the_stack
import { ClusterOutlined, InfoCircleOutlined } from '@ant-design/icons'; import parse from 'html-react-parser'; import { Button, Card, Input, Select, Tooltip } from 'antd'; import Modal from 'antd/lib/modal/Modal'; import React, { useEffect, useState, useMemo, lazy } from 'react'; import { useCallback } from 'react'; i...
the_stack
import URL from "url"; import nunjucks from "nunjucks"; import parser from "./bash-parser.js"; import type { Parser } from "./bash-parser.js"; const env = nunjucks.configure(["templates/"], { // set folders with templates autoescape: false, }); env.addFilter("isArr", (something: any): boolean => Array.isArray(so...
the_stack
import { assert } from 'chai'; import { Component, Fragment, VNode } from 'preact'; import * as preact from 'preact'; import { NodeType, RSTNode } from 'enzyme'; import { getNode, rstNodeFromElement } from '../src/preact10-rst'; import { getType } from '../src/util'; import { render } from '../src/compat'; function C...
the_stack
import { DdRumErrorTracking } from '../../../rum/instrumentation/DdRumErrorTracking' import { DdRum } from '../../../index'; jest.useFakeTimers() jest.mock('../../../foundation', () => { return { DdRum: { // eslint-disable-next-line @typescript-eslint/no-empty-function addError: je...
the_stack
import utils = require("../common/utils"); import styles = require("./styles/styles"); import React = require("react"); import ReactDOMServer = require("react-dom/server"); import * as csx from './base/csx'; import {BaseComponent} from "./ui"; import * as ui from "./ui"; import {cast,server} from "../socket/socketClien...
the_stack
import 'mocha'; import sinon, { SinonSpy } from 'sinon'; import { assert } from 'chai'; import rewiremock from 'rewiremock'; import { Logger, LogLevel } from '@slack/logger'; import { EventEmitter } from 'events'; import { IncomingMessage, ServerResponse } from 'http'; import { InstallProvider } from '@slack/oauth'; im...
the_stack
import debug from "debug"; import { Panel } from "@lumino/widgets"; import { DisposableDelegate, IDisposable } from "@lumino/disposable"; import type { JupyterFrontEndPlugin } from "@jupyterlab/application"; import type { DocumentRegistry } from "@jupyterlab/docregistry"; import type { INotebookModel, NotebookPanel } ...
the_stack
import { huge as INFINITY } from "@wowts/math"; import { kpairs, tonumber } from "@wowts/lua"; import aceEvent, { AceEvent } from "@wowts/ace_event-3.0"; import { GetSpellCount, IsSpellInRange, IsUsableItem, IsUsableSpell, SpellId, UnitIsFriend, } from "@wowts/wow-mock"; import { isNumber } from...
the_stack
import { makeRoot } from "../../root"; import { Task as TaskInterface } from "../../store/interfaces"; import store from "../../store/store"; import Checkbox from "../checkbox/checkbox"; import Controls from "../controls/controls"; import Pin from "../pin/pin"; const FOCUS_SAVE_INTERVAL: number = 5000; export default...
the_stack
import { validateYaml, validateSchema, checkCodeOwners, checkAutoApproveConfig, } from '../src/check-config.js'; import {describe, it} from 'mocha'; import assert from 'assert'; import * as fs from 'fs'; import nock from 'nock'; import snapshot from 'snap-shot-it'; const {Octokit} = require('@octokit/rest'); c...
the_stack
import axios from 'axios' import { Word } from '@/_helpers/record-manager' import { parseCtxText } from '@/_helpers/translateCtx' import { AddConfig, SyncService } from '../../interface' import { getNotebook } from '../../helpers' import { message } from '@/_helpers/browser-api' import { Message } from '@/typings/messa...
the_stack
'use strict'; import fs = require('../commons/fileSystem'); import FileSystem = require('../main/fileSystem'); import bracketsMock = require('./bracketsMock'); import d = bracketsMock.d; import f = bracketsMock.f; describe('FileSystem', function() { var fileSystem: FileSystem, fileSystemMock: bracket...
the_stack
import { relative } from 'path'; import type webpack from 'webpack'; import type { Compiler, Module } from 'webpack'; import { parse } from 'semver'; import chalk from 'chalk'; const cwd = process.cwd(); declare module 'webpack' { export interface Module { // абсолютный путь к ресурсу resource: string; }...
the_stack
import { ChangeDetectorRef, Component, ElementRef, Input, OnInit, Type, ViewChild } from '@angular/core'; import { Graph, Edge, Shape, NodeView, Cell, Color } from '@antv/x6'; import { STColumn, STColumnTag, STComponent, STData } from '@delon/abc/st'; import { SettingsService } from '@delon/theme'; import { Subscriptio...
the_stack
import { Component, OnInit, OnDestroy } from '@angular/core'; import { environment } from './../../../../../../../environments/environment'; import { Router } from '@angular/router'; import { Subscription } from 'rxjs/Subscription'; import { UtilsService } from '../../../../../../shared/services/utils.service'; impor...
the_stack
import { spawn as spawnChildProcess, spawnSync as spawnSyncChildProcess } from 'child_process'; import * as fs from 'fs'; import * as os from 'os'; import * as path from 'path'; import { getMutoolExtractionFolder, getTemporaryFile } from '../utils'; import Cache from './CacheLayer'; import logger from './Logger'; expo...
the_stack
import { Stats } from 'fs' import { getLatestGitRelease } from '../releases' export interface NexeBinary { blobPath: string resources: { [key: string]: number[] } layout: { stat: Stats resourceStart: number contentSize?: number contentStart?: number resourceSize?: number } } let originalFs...
the_stack
const CLIENT: Sfdc.canvas.Client = { oauthToken: 'oauthToken', instanceId: 'instanceId', targetOrigin: 'targetOrigin', }; const APPLICATION: Sfdc.canvas.Application = { applicationId: '06Px000000003ed', authType: Sfdc.canvas.ApplicationAuthType.SIGNED_REQUEST, canvasUrl: 'http://MyDomainName.my...
the_stack
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http'; import { Inject, Injectable, InjectionToken, Optional } from '@angular/core'; import { UsersAPIClientInterface } from './users-api-client.interface'; import { Observable } from 'rxjs';import { DefaultHttpOptions, HttpOp...
the_stack
import plugin from "tailwindcss/plugin"; import type { PluginTools, TailwindCSSConfig } from "@navith/tailwindcss-plugin-author-types"; import type { ObjectOfNestedStrings, SemanticUtility, ThisPluginOptions, ThisPluginTheme, } from "./types"; import { addParent } from "./selectors"; const DEFAULT = "DEFAULT"; type...
the_stack
'use strict'; import * as nls from 'vs/nls'; import { IPickOpenEntry } from 'vs/platform/quickOpen/common/quickOpen'; export interface TaskEntry extends IPickOpenEntry { sort?: string; autoDetect: boolean; content: string; } /* const gulp: TaskEntry = { id: 'gulp', label: 'Gulp', autoDetect: true, content: [ ...
the_stack
import { NodesApiService, SearchService, setupTestBed } from '@alfresco/adf-core'; import { ComponentFixture, fakeAsync, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { TranslateModule } from '@ngx-translate/core'; import { of, throwError } from 'rxjs'; import { Permissi...
the_stack
import React, { useCallback, useEffect, useState } from "react"; import { i18n } from "@webiny/app/i18n"; import { SimpleForm, SimpleFormContent, SimpleFormFooter, SimpleFormHeader } from "@webiny/app-admin/components/SimpleForm"; import { useApolloClient } from "@apollo/react-hooks"; import { Alert } f...
the_stack
import { Component, OnInit, ViewChild, Input,Output, EventEmitter } from "@angular/core"; import { TranslateService } from "@ngx-translate/core"; import { IdpService } from "../idp-service.service"; import { IdprestapiService } from "../idprestapi.service"; import { Router } from "@angular/router"; import { IdpdataServ...
the_stack
import React, { useMemo, useRef, useCallback, useState, useEffect } from 'react'; import { UUIFunctionComponent, UUIFunctionComponentProps } from '../../core'; import { useEvent } from 'react-use'; import { clamp, clone, inRange, isArray } from 'lodash-es'; import { KeyCode } from '../../utils/keyboardHelper'; import {...
the_stack
import {sortBy, zeroPad, getOrInsert, lastOf} from '../lib/utils' import {ProfileGroup, CallTreeProfileBuilder, FrameInfo, Profile} from '../lib/profile' import {TimeFormatter} from '../lib/value-formatters' // This file concerns import from the "Trace Event Format", authored by Google // and used for Google's own chr...
the_stack
import * as Result from './result'; type Result<T, E> = import('./result').Result<T, E>; import { curry1, isVoid } from './-private/utils'; /** Discriminant for the `Just` and `Nothing` variants. You can use the discriminant via the `variant` property of `Maybe` instances if you need to match explicitly on it....
the_stack
import { XmlAttribute, XmlDocument, XmlElement } from "xmlcreate"; import { IOptions, Options } from "./options"; import { isArray, isMap, isNull, isObject, isSet, isUndefined, stringify, } from "./utils"; export { IOptions, IDeclarationOptions, IDtdOptions, IFormatOptions, ...
the_stack
namespace $ { $mol_test({ // https://github.com/nin-jin/slides/tree/master/reactivity#component-states 'Cached channel' ($) { class App extends $mol_object2 { static $ = $ @ $mol_wire_mem(0) static value( next = 1 ) { return next + 1 } } $mol_assert_equal( App.value...
the_stack
import * as English from "./english.js"; import * as Formats from "./formats.js"; import { hasFormatToParts, padStart } from "./util.js"; function stringifyTokens(splits, tokenToString) { let s = ""; for (const token of splits) { if (token.literal) { s += token.val; } else { s += tokenToString(...
the_stack
import {createContext, useContext, useMemo, useState} from 'react' import {Badge, Divider, H4, ListInnerContainer, Select, Tabs, Text} from '@/omui' import {Dot, SearchInput, TopContent} from '@/components/lib' import {Alert} from '@/components/Alert' import {FontAwesomeIcon} from '@fortawesome/react-fontawesome' impor...
the_stack
import * as errors from './errors'; import { BATCH_REGEX, BINDING_REGEX, END_OF_INPUT, HELP_COMMAND_INDEX, HELP_REGEX, NODE_ERRORED, NODE_INITIAL, NODE_SUCCESS, OPTION_REGEX, START_OF_INPUT, DEBUG, } from './constants'; declare const console: any; // ----------------------------------------------------------...
the_stack
import * as i18n from "i18next"; import * as immutability from "immutability-helper"; import * as React from "react"; import ContentEditable = require("react-contenteditable"); import { PermissionKind, Web } from "sp-pnp-js"; import IDiscussion from "../../../models/IDiscussion"; import { DiscussionPermissionLevel, IDi...
the_stack
import { beginAdd, botHashGenerated, open as openEditorDocument, openBotViaFilePathAction, newNotification, BotAction, BotActionType, SharedConstants, } from '@bfemulator/app-shared'; import { BotConfigWithPath, ConversationService } from '@bfemulator/sdk-shared'; import { call, put, takeEvery, takeLate...
the_stack
import { Transform, TransformOptions } from 'stream'; import * as make from 'stream-json'; import * as Assembler from 'stream-json/Assembler'; import * as Disassembler from 'stream-json/Disassembler'; import * as Emitter from 'stream-json/Emitter'; import * as Parser from 'stream-json/Parser'; import * as Stringer fr...
the_stack
/// <reference types="phantomjs" /> export function create(options?: CasperOptions): Casper; export function selectXPath(expression: string): object; export class Casper { constructor(options: CasperOptions); test: Tester; options: CasperOptions; // Properties __utils__: ClientUtils; // Me...
the_stack
import React from "react"; import { Button, FormGroup, InputGroup, ProgressBar, Intent, Position, Drawer, Popover, Menu, MenuItem, Spinner, Classes, Tabs, Tab, TabId, Icon, IconName, Alert, Alignment, Tag, Navbar, NavbarGroup, IconSize, PopoverInteractionKind, Tooltip, ...
the_stack
declare namespace DevExpress.AspNetCore { enum BootstrapSchedulerGroupType { Date = "Date", None = "None", Resource = "Resource", } enum BootstrapSchedulerViewType { Day = "Day", WorkWeek = "WorkWeek", Week = "Week", Month = "Month", Timeline =...
the_stack
import fetch from "node-fetch"; import { getTokenInfo, TwitchServiceConfig, normalizeToken } from "nodecg-io-twitch-auth"; export class TwitchAddonsClient { private readonly clientId: string; private readonly token: string; constructor(clientId: string, token: string) { this.clientId = clientId; ...
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/containersMappers"; import * as Parameters from "../models/parameters"; import { DataBoxEdgeManagementClientContext } from "../dataBoxEdgeManageme...
the_stack
'use strict'; import { anHourFromNow, errors, SharedAccessSignature, X509 } from 'azure-iot-common'; import { Http as HttpBase, HttpRequestOptions } from './http'; import { AccessToken, TokenCredential } from '@azure/core-http'; import * as uuid from 'uuid'; import { ClientRequest } from 'http'; import dbg = require(...
the_stack
export default function makeDashboard(integrationId: string) { return { __inputs: [], __requires: [], annotations: { list: [] }, editable: false, gnetId: null, graphTooltip: 1, hideControls: false, id: null, links: [], refresh: false, panels: [ { dat...
the_stack
import { Tournament, Player } from '..'; import { DeepPartial } from '../../utils/DeepPartial'; import { Design } from '../../Design'; import { deepMerge } from '../../utils/DeepMerge'; import { MatchDestroyedError, TournamentError, NotSupportedError, TournamentPlayerDoesNotExistError, AgentCompileError, Ag...
the_stack
import * as Clutter from 'clutter'; import * as Gio from 'gio'; import * as GLib from 'glib'; import * as Meta from 'meta'; import * as Shell from 'shell'; import { MsWindow } from 'src/layout/msWorkspace/msWindow'; import { MsWorkspace, MsWorkspaceState, } from 'src/layout/msWorkspace/msWorkspace'; import { Ms...
the_stack
import BaseTask from "./task/BaseTask"; import DirectTask from "./task/DirectTask"; import {ChunkTask} from "./task/ChunkTask"; import TokenFunc from "./TokenFunc"; import UUID from "./uuid/UUID"; import UploaderBuilder from "./UploaderBuilder"; import log from "../util/Log"; import Interceptor from "./interceptor/Uplo...
the_stack
import * as fs from "fs-plus"; import * as path from "path"; import * as vscode from "vscode"; import { IoTCubeCommands } from "../common/Commands"; import { ArgumentEmptyOrNullError } from "../common/Error/OperationFailedErrors/ArgumentEmptyOrNullError"; import { WorkspaceConfigNotFoundError } from "../common...
the_stack
import { metadata } from 'aurelia-metadata'; import { AggregateError } from 'aurelia-pal'; import { resolver, StrategyResolver, Resolver, Strategy, StrategyState } from './resolvers'; import { Invoker } from './invokers'; import { DependencyCtorOrFunctor, DependencyCtor, PrimitiveOrDependencyCtor, PrimitiveOrDe...
the_stack
import { genMountFn, testPropClassAndStyle } from '@taro-ui-vue3/test-utils/helper' import { hyphenate } from '@vue/shared' import { ref } from 'vue' import AtInput from '../index.vue' const mountFn = genMountFn(AtInput) describe('AtInput', () => { testPropClassAndStyle(mountFn) it('should render all nodes a...
the_stack
* Pyrra * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the ...
the_stack
import * as Svgo from 'svgo' import * as Path from 'path' import * as rollup from 'rollup' import { gifInfoBuf } from './gif' import { jpegInfoBuf } from './jpeg' import * as typescript from 'typescript' import { readfile } from './fs' import { dirname, basename } from 'path' let _svgoInstance :Svgo|null = null funct...
the_stack
import Event from './utils/Event'; import shouldStopAnimation from './shouldStopAnimation'; import shouldUseBezier from './shouldUseBezier'; import stripStyle from './stripStyle'; import stepper from './stepper'; import mapToZero from './mapToZero'; import wrapValue from './wrapValue'; const now = () => Date.now(); c...
the_stack
import {OpenYoloInternalError} from '../protocol/errors'; import {PostMessageType, verifyAckMessage, verifyPingMessage} from '../protocol/post_messages'; import {MockWindow} from '../test_utils/frames'; import {createMessageEvent} from '../test_utils/messages'; import {JasmineTimeoutManager} from '../test_utils/timeout...
the_stack
import type {Pointer} from '@theatre/dataverse' import {val} from '@theatre/dataverse' import type {KeyboardEvent} from 'react' import React, { useEffect, useLayoutEffect, useMemo, useRef, useState, } from 'react' import styled from 'styled-components' import fuzzy from 'fuzzy' import type {SequenceEditorPane...
the_stack
import {AbstractJigsawComponent} from "../../common/common"; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, forwardRef, HostListener, Injector, Input, NgModule, NgZone, OnDestroy, OnInit, Output, ViewChild } from '@angular/core'; imp...
the_stack
import { ConvarKind, IConvarCategoryMap, IConvarEntry, ProjectVariableSetter } from "fxdk/project/common/project.types"; export enum ResourceManifestKind { none, __resource, fxmanifest, } export type ResourceManifestRecord = [string, unknown][]; export const ResourceManifestGame = { gta5: 'gta5', ...
the_stack
import d3 from 'd3' import Emitter from 'component-emitter' import Network from './core/network' import SvgDisplay from './display/svg-display' import CanvasDisplay from './display/canvas-display' import DefaultRenderer from './renderer/default-renderer' import WireframeRenderer from './renderer/wireframe-renderer' im...
the_stack
declare interface IColumnFormatterWebPartStrings { //Property Pane Property_BasicGroupName: string; Property_HeightLabel: string; Property_EditorGroupName: string; Property_EditorThemeLabel: string; Property_LineNumbersLabel: string; Property_VisibleOn: string; Property_VisibleOff: string; Property...
the_stack
import {Observable} from "rxjs/Observable"; import {Subject} from "rxjs/Subject"; import {Subscription} from "rxjs/Subscription"; import * as _ from "lodash"; import "rxjs/add/operator/zip"; import "rxjs/add/operator/do"; import "rxjs/add/operator/debounceTime"; import "rxjs/add/operator/distinct"; import "rxjs/add/ope...
the_stack
import { act, queryByText, render, screen, waitFor } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import * as React from 'react'; import { ApiRelationship, ApiResourceType } from 'src/apis/run'; import { RoutePage, RouteParams } from 'src/components/Router'; import * as v2Pipelin...
the_stack
* @module CartesianGeometry */ import { Arc3d } from "../curve/Arc3d"; import { AnnounceNumberNumber, AnnounceNumberNumberCurvePrimitive } from "../curve/CurvePrimitive"; import { Geometry } from "../Geometry"; import { Plane3dByOriginAndUnitNormal } from "../geometry3d/Plane3dByOriginAndUnitNormal"; import { Angle }...
the_stack
import { Container } from 'typedi'; import { getMetadataArgsStorage } from 'typeorm'; import { ColumnMetadata, getMetadataStorage, ModelMetadata } from '../metadata'; import { WhereOperator } from '../torm'; import { columnToGraphQLDataType, columnToGraphQLType, columnToTypeScriptType } from './type-conversion'; ...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { class DuplicateRecordApi { /** * DynamicsCrm.DevKit DuplicateRecordApi * @param entity The entity object */ constructor(entity?: any); /** * Get the value of alias * @param alias the alias value * @param isMultiOptionSet t...
the_stack
export interface Location { /** * One-based line index of the first character */ startLine: number; /** * One-based column index of the first character */ startCol: number; /** * One-based line index of the last character */ endLine: number; /** * One-based...
the_stack
interface HTMLAttributes { class?: any style?: string | Partial<CSSStyleDeclaration> accesskey?: string contenteditable?: boolean contextmenu?: string dir?: string disabled?: boolean draggable?: boolean hidden?: boolean id?: string lang?: string spellcheck?: boolean tabindex?: number title?:...
the_stack
import { configure, IReactionDisposer } from "mobx"; import { types, Instance } from "mobx-state-tree"; import { Field, Form, RepeatingForm, converters } from "../src"; // "always" leads to trouble during initialization. configure({ enforceActions: "observed" }); test("calculated", () => { const M = types .mode...
the_stack