text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import {focusSafely} from './focusSafely'; import {isElementVisible} from './isElementVisible'; import React, {ReactNode, RefObject, useContext, useEffect, useRef} from 'react'; import {useLayoutEffect} from '@react-aria/utils'; // import {FocusScope, useFocusScope} from 'react-events/focus-scope'; // export {FocusSco...
the_stack
import { guid } from "@atomist/automation-client/lib/internal/util/string"; import { logger } from "@atomist/automation-client/lib/util/logger"; import * as fs from "fs-extra"; import * as stringify from "json-stringify-safe"; import * as _ from "lodash"; import * as os from "os"; import * as path from "path"; import {...
the_stack
import React, { Fragment } from 'react'; import { DocumentNode, GraphQLError } from 'graphql'; import gql from 'graphql-tag'; import { act } from 'react-dom/test-utils'; import { render, waitFor } from '@testing-library/react'; import { renderHook } from '@testing-library/react-hooks'; import { ApolloClient, Apollo...
the_stack
import { ArgumentValue, CdmArgumentDefinition, CdmParameterDefinition, CdmTraitDefinition, ParameterCollection, ParameterValue, ResolvedTrait, resolveOptions, spewCatcher } from '../internal'; /** * @internal */ export class ResolvedTraitSet { public get size(): numbe...
the_stack
declare module Atomic { // enum FrustumPlane export type FrustumPlane = number; export var PLANE_NEAR: FrustumPlane; export var PLANE_LEFT: FrustumPlane; export var PLANE_RIGHT: FrustumPlane; export var PLANE_UP: FrustumPlane; export var PLANE_DOWN: FrustumPlane; export var PLANE_FAR: FrustumP...
the_stack
import * as React from "react"; import { getColor, makePattern, reverseMap, palette, hashString, makeBlockSizeLog2MapByValue, HEAT_COLORS, Decoder, Rectangle, Size, AnalyzerFrame, loadFramesFromJson, downloadFile, Histogram, Accounting, AccountingSymbolMap, clamp, Vector, localFiles, localFileProtocol } from "./analyz...
the_stack
import BSON from 'bson'; import {OriginalType, ParquetField, ParquetType, PrimitiveType} from './declare'; export interface ParquetTypeKit { primitiveType: PrimitiveType; originalType?: OriginalType; typeLength?: number; toPrimitive: Function; fromPrimitive?: Function; } export const PARQUET_LOGICAL_TYPES: ...
the_stack
declare const enum NLDistanceType { Cosine = 0 } declare class NLEmbedding extends NSObject { static alloc(): NLEmbedding; // inherited from NSObject static currentRevisionForLanguage(language: string): number; static currentSentenceEmbeddingRevisionForLanguage(language: string): number; static embeddingWith...
the_stack
import { exportAsMessages } from './helpers'; exportAsMessages('_locales/en/messages.json', { // The extension name. extensionName: 'uBlacklist', // The extension description. extensionDescription: 'Blocks sites you specify from appearing in Google search results', // The language code. lang: 'en', //...
the_stack
import { app, BrowserWindow, dialog, Menu, MenuItem, MenuItemConstructorOptions, shell, } from "electron"; import { emuMuteSoundAction, emuSetClockMultiplierAction, emuSetSoundLevelAction, } from "@state/emulator-panel-reducer"; import { AppState } from "@state/AppState"; import { __DARWIN__ } from ...
the_stack
import { ResponseError } from "../exception/ResponseError" import { QueryErrorMessage } from "../types/ResponseTypes" import { TeamSpeakQuery } from "./TeamSpeakQuery" import { Version } from "../types/ResponseTypes" export class Command { static SNAKE_CASE_IDENTIFIER = "_" private requestParser: Command....
the_stack
import { EventEmitter } from 'events' import { Agent } from 'http' import _ from 'lodash' import WebSocket from 'ws' import { DisconnectedError, NotConnectedError, ConnectionError, XrplError, } from '../errors' import { BaseRequest } from '../models/methods/baseMethod' import ConnectionManager from './Connec...
the_stack
import { DataProvider } from '../ojdataprovider'; import { baseComponent, baseComponentEventMap, baseComponentSettableProperties, JetElementCustomEvent, JetSetPropertyType } from '..'; export interface ojDataGrid<K, D> extends baseComponent<ojDataGridSettableProperties<K, D>> { bandingInterval: { column: nu...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement, Operator } from "../shared"; /** * Statement provider for service [apigateway](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonapigatewaymanagement.html). * * @param sid [SID](https://docs.aws.amazon.co...
the_stack
import numeric = require("numeric"); const vector = [2, 5]; const matrix = [vector, vector]; const threeDimensionalMatrix = [[[2, 3], [2, 3], [3, 5]]]; const sparseMatrix: [number[], number[], number[]] = [vector, vector, vector]; numeric.bench(() => null, 150); // $ExpectType number numeric.prettyPrint(vector); // $...
the_stack
import { Blake2b } from "@iota/crypto.js"; import { deserializeMessage, INDEXATION_PAYLOAD_TYPE, MILESTONE_PAYLOAD_TYPE, SIG_LOCKED_SINGLE_OUTPUT_TYPE, TRANSACTION_PAYLOAD_TYPE } from "@iota/iota.js"; import { asTransactionObject } from "@iota/transaction-converter"; import { Converter, ReadStream } from "@iota/util.js...
the_stack
import chalk from 'chalk'; import * as Commander from 'commander'; import * as Path from 'path'; import * as readline from 'readline'; import stripAnsi from 'strip-ansi'; import * as Util from 'util'; import { URI } from 'vscode-uri'; import * as app from './app'; import * as Link from './link'; import { mergeAsyncIter...
the_stack
import * as certificatemanager from '@aws-cdk/aws-certificatemanager'; import * as lambda from '@aws-cdk/aws-lambda'; import * as s3 from '@aws-cdk/aws-s3'; import * as cdk from '@aws-cdk/core'; import { Construct } from 'constructs'; import { CfnDistribution } from './cloudfront.generated'; import { HttpVersion, IDist...
the_stack
import { cleanup, initStream, jetstreamExportServerConf, jetstreamServerConf, setup, time, } from "./jstest_util.ts"; import { AckPolicy, ConsumerConfig, ConsumerOpts, consumerOpts, createInbox, deferred, delay, DeliverPolicy, Empty, ErrorCode, headers, JsHeaders, JsMsg, JsMsgCal...
the_stack
import { Utils } from "./Utils.js"; import { DockManager } from "./DockManager.js"; import { DockWheelItem } from "./DockWheelItem.js"; import { WheelTypes } from "./enums/WheelTypes.js"; import { Dialog } from "./Dialog.js"; import { DockNode } from "./DockNode.js"; /** * Manages the dock overlay buttons tha...
the_stack
* @module Toolbar */ import "./Toolbar.scss"; import classnames from "classnames"; import * as React from "react"; import { ActionButton, CommonToolbarItem, ConditionalBooleanValue, ConditionalStringValue, CustomButtonDefinition, GroupButton, OnItemExecutedFunc, ToolbarItemUtilities, } from "@itwin/appui-abstract...
the_stack
import * as React from 'react' import { Link } from '@react-navigation/native' import { withSafeAreaInsets } from 'react-native-safe-area-context' import { View, TouchableWithoutFeedback, Animated, StyleSheet, Platform, Dimensions, LayoutChangeEvent, Keyboard } from 'react-native' import { getTabVisib...
the_stack
import { IEngine, Report, Rule, RuleDetails, RuleResult, eRuleConfidence, RuleContext, NlsMap, HelpMap, RuleContextHierarchy } from "../api/IEngine"; import { DOMWalker } from "../dom/DOMWalker"; import { Context, PartInfo, AttrInfo } from "./Context"; import { Config } from "../config/Config"; import { IMapResult, IMa...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Allows creation and management of a Google Cloud Platform project. * * Projects created with this resource must be associated with an Organization. * See the [Organization documentation](https://cloud.google.com/resource-man...
the_stack
import { Converter, Validator, Validation, AsyncValidator } from '../ojvalidation-base'; import { DataProvider } from '../ojdataprovider'; import { editableValue, editableValueEventMap, editableValueSettableProperties } from '../ojeditablevalue'; import { JetElement, JetSettableProperties, JetElementCustomEvent, JetSet...
the_stack
import * as ReactReconciler from "react-reconciler"; import * as scheduler from "scheduler"; import { isKnownView } from "../nativescript-vue-next/runtime/registry"; import { precacheFiberNode, updateFiberProps } from "./ComponentTree"; import { diffProperties, updateProperties, setInitialProperties } from "./ReactNati...
the_stack
import { Component, Optional, Input, OnInit, OnDestroy } from '@angular/core'; import { Params } from '@angular/router'; import { CoreError } from '@classes/errors/error'; import { CoreCourseModuleMainActivityComponent } from '@features/course/classes/main-activity-component'; import { CoreCourseContentsPage } from '@f...
the_stack
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing'; import { Directive, Input } from '@angular/core'; import { FormsModule } from '@angular/forms'; import * as sinon from 'sinon'; import { Observable } from 'rxjs'; import { BehaviorSubject } from 'rxjs/Rx'; import { NgbActiveModal } fr...
the_stack
import {SUM_OPS} from 'vega-lite/build/src/aggregate'; import * as CHANNEL from 'vega-lite/build/src/channel'; import {NONPOSITION_CHANNELS, supportMark} from 'vega-lite/build/src/channel'; import * as MARK from 'vega-lite/build/src/mark'; import {Mark} from 'vega-lite/build/src/mark'; import {ScaleType} from 'vega-lit...
the_stack
import React, { useCallback, useEffect, useMemo } from 'react'; import { useDispatch } from 'react-redux'; import debounce from 'lodash.debounce'; import { translate as $t, UNKNOWN_OPERATION_TYPE, NONE_CATEGORY_ID, startOfDay, endOfDay, useKresusState, assert, } from '../../helpers'; import...
the_stack
import { IGalleryApi } from "azure-devops-node-api/GalleryApi"; import { PublishSettings } from "./interfaces"; import _ = require("lodash"); import colors = require("colors"); import errHandler = require("../../../lib/errorhandler"); import fs = require("fs"); import GalleryInterfaces = require("azure-devops-node-api/...
the_stack
import { makeRandomToken } from "../shared/main"; // This file is injected as a regular script in all pages and overrides // `.addEventListener` (and friends) so we can detect click listeners. // This is a bit fiddly because we try to cover our tracks as good as possible. // Basically everything in this file has to b...
the_stack
import { override } from '@microsoft/decorators'; import { Log } from '@microsoft/sp-core-library'; import { BaseListViewCommandSet, Command, IListViewCommandSetListViewUpdatedParameters, IListViewCommandSetExecuteEventParameters } from '@microsoft/sp-listview-extensibility'; import "@pnp/polyfill-ie11"...
the_stack
* Standard Libraries */ import * as fs from "fs"; import * as path from "path"; import * as url from "url"; import * as http from "http"; import * as https from "https"; import * as querystring from "querystring"; /** * Third-Part Libraries */ import marked from "marked"; /** * Bilibili Column Markdown Core Class...
the_stack
import { ErrorConstant, ExtensionPriority, ExtensionTag, ExtensionTagType, } from '@remirror/core-constants'; import { assertGet, entries, invariant, isArray, isFunction, isNullOrUndefined, isPlainObject, isString, object, toString, } from '@remirror/core-helpers'; import type { ApplySchem...
the_stack
import * as types from "tns-core-modules/utils/types"; import * as imageSourceModule from "tns-core-modules/image-source/image-source"; import * as imageAssetModule from "tns-core-modules/image-asset/image-asset"; import * as frameModule from "tns-core-modules/ui/frame/frame"; import * as trace from "tns-core-modules/t...
the_stack
import { AABB, Body, Fixture, Joint, MouseJoint, Vec2, World } from '../src/index'; import { default as Stage } from 'stage-js/platform/web'; export interface ActiveKeys { 0?: boolean; 1?: boolean; 2?: boolean; 3?: boolean; 4?: boolean; 5?: boolean; 6?: boolean; 7?: boolean; 8?: boolean...
the_stack
import * as bluebird from 'bluebird'; import * as chokidar from 'chokidar'; import * as fse from 'fs-extra'; import * as moment from 'moment'; import * as path from 'path'; import {DocEntry, DocEntryTag} from 'app/common/DocListAPI'; import {DocSnapshots} from 'app/common/DocSnapshot'; import * as gutil from 'app/comm...
the_stack
import type { CommandClient, Message, GuildTextableChannel, Guild, Invite } from 'eris' import { URL } from 'url' import { readFileSync } from 'fs' import { deleteMeta } from './logger.js' import { skipSnipe } from '../sniper.js' import { Period, getPeriod, ban, mute, softBan } from '../../mod.js' import { isStaff } fr...
the_stack
"use strict"; import { TeamServerContext} from "../../contexts/servercontext"; import { IArgumentProvider, IExecutionResult, ITfvcCommand, IPendingChange } from "../interfaces"; import { ArgumentBuilder } from "./argumentbuilder"; import { CommandHelper } from "./commandhelper"; import * as fs from "fs"; /** * This...
the_stack
import { PersistentModel, StoryboardFilePath } from '../store/editor-state' import { fastForEach, NO_OP } from '../../../core/shared/utils' import { createPersistentModel, delay } from '../../../utils/utils.test-utils' import { generateUID } from '../../../core/shared/uid-utils' import { AssetFile, isAssetFile, P...
the_stack
import { DiscordenoChannel } from "../../structures/channel.ts"; import { DiscordenoGuild } from "../../structures/guild.ts"; import { DiscordenoMember } from "../../structures/member.ts"; import { DiscordenoMessage } from "../../structures/message.ts"; import { DiscordenoRole } from "../../structures/role.ts"; import ...
the_stack
import { getAllPackageInfo, findGitRoot } from '../monorepo/index'; import { readConfig } from '../read-config'; import * as glob from 'glob'; import * as path from 'path'; import * as fs from 'fs'; import chalk from 'chalk'; interface ImportErrorGroup { count: number; matches: { [filePath: string]: { importPath: ...
the_stack
import { Scorer } from "./scorer"; import { InvertedIndex, toCodePoints } from "./inverted_index"; import { BoolQuery, FuzzyQuery, Query, QueryTypes, TermQuery, WildcardQuery } from "./query_types"; import { Dict } from "../../common/types"; import { RunAutomaton } from "./fuzzy/run_automaton"; import { LevenshteinAuto...
the_stack
namespace XDate_Test { class test_base { public assert( ref : boolean ) { if( true == ref) { console.info("OK"); } else { console.warn("NG"); } } } //based on xdate/test/adding.js class adding extends test_base { private addYears() : boolean { var...
the_stack
import * as loginPage from '../../Base/pages/Login.po'; import { LoginPageData } from '../../Base/pagedata/LoginPageData'; import * as settingsFeaturesPage from '../../Base/pages/SettingsFeatures.po'; import { SettingsFeaturesPageData } from '../../Base/pagedata/SettingsFeaturesPageData'; import * as dashboardPage from...
the_stack
import {act, fireEvent, render} from '@testing-library/react'; import {ColorSlider} from '../'; import {installMouseEvent, installPointerEvent} from '@react-spectrum/test-utils'; import {parseColor} from '@react-stately/color'; import React from 'react'; import userEvent from '@testing-library/user-event'; describe('C...
the_stack
import {Mutable, FromAny} from "@swim/util"; import {Affinity, FastenerOwner, FastenerFlags, AnimatorInit, AnimatorClass, Animator} from "@swim/component"; import {ConstraintId} from "./ConstraintId"; import {ConstraintMap} from "./ConstraintMap"; import {AnyConstraintExpression, ConstraintExpression} from "./Constrain...
the_stack
import { ConnectionType } from './types'; /** * The name of the place based on the locales list passed to the * `WebServiceClient` constructor. Don't use any of these names as a database or * dictionary key. Use the ID or relevant code instead. */ export interface Names { readonly de?: string; readonly en: str...
the_stack
import * as React from "react"; import { css, keyframes, injectGlobal, isStyledComponent, consolidateStreamedStyles, ThemeProvider, withTheme, ServerStyleSheet, StyleSheetManager, ThemedStyledFunction, StyledComponentClass, } from "styled-components"; // #region xhtmltypes export interface XHTMLE...
the_stack
import * as workerFarm from 'worker-farm'; import { ProcessedPackageConfig, Conditional, serializePackageConfig, PackageTarget } from '../install/package'; import { Logger } from '../project'; import { JspmUserError } from '../utils/common'; import * as fs from 'graceful-fs'; import * as path from 'path'; import { writ...
the_stack
import { PlatformAccessory, Service } from 'homebridge'; import { Zigbee2mqttPlatform } from './platform'; import { ExtendedTimer } from './timer'; import { hap } from './hap'; import { BasicServiceCreatorManager, ServiceCreatorManager } from './converters/creators'; import { BasicAccessory, BasicLogger, ServiceHandler...
the_stack
import * as d3 from 'd3-selection'; import 'd3-transition'; import getNamespace from './getNamespace'; type ElementDatum = { append: string; children?: ElementDatum[]; duration?: number | Function | TransitionObject; delay?: number | Function | TransitionObject; ease?: Function | TransitionObject; style?:...
the_stack
import * as React from 'react'; import * as ReactDOM from 'react-dom'; import Draggable from 'react-draggable'; import { FixedSizeList } from 'react-window'; import * as ql from './wasm-ql'; require('./style.css'); function prettyPrint(x: any) { return JSON.stringify(x, (k, v) => { if (k === 'abi' || k ==...
the_stack
import { IAuthentication, IConnectionFactory, OutputFormatPropertyName, RecognitionMode, RecognizerConfig, ServiceRecognizerBase, SpeechConnectionFactory, SpeechServiceConfig, SpeechServiceRecognizer, } from "../common.speech/Exports"; import { marshalPromiseToCallbacks } from "../co...
the_stack
import * as Common from '../../core/common/common.js'; import * as SDK from '../../core/sdk/sdk.js'; export function frameworkEventListeners(object: SDK.RemoteObject.RemoteObject): Promise<FrameworkEventListenersObject> { const domDebuggerModel = object.runtimeModel().target().model(SDK.DOMDebuggerModel.DOMDebuggerM...
the_stack
import { addressToScriptHash, common, ECPoint, UInt160, UInt256 } from '@neo-one/client-common'; import { AnyNameableNode, symbolKey, tsUtils } from '@neo-one/ts-utils'; import { utils } from '@neo-one/utils'; import ts from 'typescript'; import { isOnlyArray, isOnlyBoolean, isOnlyBuffer, isOnlyMap, isOnlyNul...
the_stack
* @param State The first value, often a Redux root state object * @param Result The final result returned by the selector * @param Params All additional arguments passed into the selector */ export type Selector< // The state can be anything State = any, // The result will be inferred Result = unknown, // ...
the_stack
โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–„โ–„โ–„โ–„ โ–ˆโ–€โ–€ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–„โ–„โ–„โ–„โ–„ โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆ โ–ˆ โ–ˆโ–„โ–€โ–ˆโ–ˆโ–€โ–ˆ โ–„โ–ˆ โ–ˆ โ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–„โ–„โ–„โ–ˆ โ–ˆ โ–„ โ–ˆ โ–€โ–„ โ–„โ–ˆ โ–ˆโ–„โ–„โ–„โ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆ โ–ˆ โ–€โ–„โ–ˆ โ–ˆโ–„โ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–„โ–€โ–„โ–€โ–ˆโ–„โ–„โ–€โ–€โ–ˆ โ–ˆโ–ˆโ–„โ–„โ–€ โ–„โ–„โ–ˆโ–„โ–„โ–€โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆ โ–„โ–„โ–„โ–„โ–ˆโ–„โ–€โ–€ โ–€ โ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–„โ–„โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–ˆโ–€ โ–„โ–„โ–ˆโ–ˆโ–„ โ–ˆโ–€โ–„โ–ˆโ–„โ–„ โ–€โ–ˆ โ–€โ–„ โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–„โ–€โ–ˆโ–€โ–ˆโ–ˆโ–„โ–ˆโ–ˆ ...
the_stack
import { PerspectiveCamera, Vector4, MathUtils } from 'three'; import { Tween, Easing } from '@tweenjs/tween.js'; import { getMaxFullScreenDepthForPlane, toAbsolutePosition } from './background-camera-utils'; import { PlaneMesh } from './background'; import { TransitionConfig, LoopableTransitionConfig } from './transit...
the_stack
import * as d3 from 'd3'; import { Query } from '../query'; export interface Link { /** * Get the text representation of a link. * * @param link the link to get the text representation. * @returns the text representation of the link. */ getTextValue: (link: any) => string; /** ...
the_stack
import {Constants} from "../../../constants"; import {ObjectUtils} from "../../../objectUtils"; import {OperationResult} from "../../../operationResult"; import {PdfPreviewInfo} from "../../../previewInfo"; import {StringUtils} from "../../../stringUtils"; import {UrlUtils} from "../../../urlUtils"; import {SmartValue...
the_stack
import graphlib from 'graphlib'; import { Logger, cloneDeep, has } from '@terascope/utils'; import { nanoid } from 'nanoid'; import { OperationsManager } from '../index'; import { OperationConfig, ValidationResults, ExtractionProcessingDict, StateDict, OperationConfigInput, SelectorConfig, ...
the_stack
import { OvaleDataClass } from "../engine/data"; import { OvaleClass } from "../Ovale"; import { LastSpell, SpellCast, SpellCastModule } from "./LastSpell"; import aceEvent, { AceEvent } from "@wowts/ace_event-3.0"; import { next, pairs, LuaObj, kpairs } from "@wowts/lua"; import { GetSpellCooldown, GetTime, GetSpellCh...
the_stack
import * as SmartContracts from '@requestnetwork/smart-contracts'; import { StorageTypes } from '@requestnetwork/types'; import Utils from '@requestnetwork/utils'; import { EventEmitter } from 'events'; import { EthereumStorage } from '../src/ethereum-storage'; import { IpfsStorage } from '../src/ipfs-storage'; import...
the_stack
import { convertSpotEventPluginSettings, convertToBoolean, convertToBooleanOptional, convertToInt, convertToIntOptional, isValidDeviceMapping, isValidInstanceProfile, isValidSecurityGroup, isValidTagSpecification, validateArray, validateProperty, validateString, validateStringOptional, } from ...
the_stack
import * as React from 'react'; import { useState, useEffect, useReducer } from 'react'; import styled from 'styled-components'; import * as actions from '../../actions/actions'; import Tables from '../../components/mainpanel/Tables'; import changePinnedStatus from '../../reducers/ChangePinnedStatus'; import { Text } f...
the_stack
import path = require('path'); import underscore = require('underscore'); import agile_keychain = require('./agile_keychain'); import agile_keychain_crypto = require('./agile_keychain_crypto'); import asyncutil = require('./base/asyncutil'); import crypto = require('./base/crypto'); import exportLib = require('./expor...
the_stack
import fs from 'fs'; import path from 'path'; import fetch, { Headers, Request, Response } from 'node-fetch'; import { S3, GetObjectCommand } from '@aws-sdk/client-s3'; import { getSignedUrl } from '@aws-sdk/s3-request-presigner'; import { BlobServiceClient, StorageSharedKeyCredential, ContainerSASPermissions, ...
the_stack
import {isLevel} from '../Core/Level'; import {SClass} from '../Core/Decorator'; import EventManager from '../Event/EventManager'; import Component from '../Core/Component'; import {Vector3, Quaternion} from '../Core/Math'; import SceneActor from '../Renderer/ISceneActor'; import ColliderComponent from '../Physic/Colli...
the_stack
import { Type } from ".."; import { Assert, CommonError, MapUtils } from "../../../common"; import { isEqualFunctionSignature, isEqualType } from "./isEqualType"; import { isFieldSpecificationList, isFunctionSignature } from "./isType"; // Returns `${left} is compatible with ${right}. Eg. // `Type.TextInstance is comp...
the_stack
import assert from 'assert' import clamp from 'lodash/clamp' import pick from 'lodash/pick' import round from 'lodash/round' import { getPipetteNameSpecs } from '@opentrons/shared-data' import { SOURCE_WELL_BLOWOUT_DESTINATION, DEST_WELL_BLOWOUT_DESTINATION, } from '@opentrons/step-generation' import { getWellRatio...
the_stack
import type { ConsumerOptsBuilder } from "./types.ts"; import { AckPolicy, ConsumerAPI, ConsumerConfig, ConsumerInfo, ConsumerInfoable, ConsumerOpts, DeliverPolicy, Destroyable, Empty, JetStreamClient, JetStreamOptions, JetStreamPublishOptions, JetStreamPullSubscription, JetStreamSubscriptio...
the_stack
import { VideoBase, controlsProperty, autoplayProperty, loopProperty, srcProperty, currentTimeProperty, durationProperty } from './common'; import { Screen, Application, Utils, knownFolders, path } from '@nativescript/core'; import { Source } from '..'; import { isString } from '@nativescript/core/utils/types'; const ...
the_stack
export default function makeDashboard(integrationId: string) { return { annotations: { list: [ { builtIn: 1, datasource: "-- Grafana --", enable: true, hide: true, iconColor: "rgba(0, 211, 255, 1)", name: "Annotations & Alerts", t...
the_stack
import Blockly from 'blockly'; import { each, map, isEqual } from 'lodash'; import { addOperand } from './conditions'; import { debuggerContextMenu } from '../utils'; export const lba_if = ifBlock('if'); export const lba_swif = ifBlock('if (on change)'); export const lba_oneif = ifBlock('if (once)'); function ifBlock...
the_stack
import NoodelState from 'src/types/NoodelState'; import { getActiveChild, getFocalHeight, getFocalWidth } from './getters'; import { hideActiveSubtree, setActiveChild, setFocalParent, showActiveSubtree } from './noodel-mutate'; import { NoodelAxis } from 'src/types/NoodelAxis'; import { Axis } from 'src/types/Axis'; im...
the_stack
import { query, clear, lookup, addReducers } from "../../core/api"; import { getRandomCollection, idsEqual } from "../integration/helpers"; import { Collection } from "mongodb"; import { oneToMany, manyToMany, oneToOne, manyToOne, } from "../../core/quickLinkers"; import { assert } from "chai"; describe("Relat...
the_stack
import {Component} from '../../component'; import {Attribute} from '../attribute'; import {provide} from '../../decorators'; import {AnyValueType, isAnyValueTypeInstance} from './any-value-type'; import {BooleanValueType, isBooleanValueTypeInstance} from './boolean-value-type'; import {NumberValueType, isNumberValueTyp...
the_stack
export interface ModifyDDoSPolicyCaseRequest { /** * ๅคง็ฆนๅญไบงๅ“ไปฃๅท๏ผˆbgpip่กจ็คบ้ซ˜้˜ฒIP๏ผ›bgp่กจ็คบ็‹ฌไบซๅŒ…๏ผ›bgp-multip่กจ็คบๅ…ฑไบซๅŒ…๏ผ›net่กจ็คบ้ซ˜้˜ฒIPไธ“ไธš็‰ˆ๏ผ‰ */ Business: string; /** * ็ญ–็•ฅๅœบๆ™ฏID */ SceneId: string; /** * ๅผ€ๅ‘ๅนณๅฐ๏ผŒๅ–ๅ€ผ[PC๏ผˆPCๅฎขๆˆท็ซฏ๏ผ‰๏ผŒ MOBILE๏ผˆ็งปๅŠจ็ซฏ๏ผ‰๏ผŒ TV๏ผˆ็”ต่ง†็ซฏ๏ผ‰๏ผŒ SERVER๏ผˆไธปๆœบ๏ผ‰] */ PlatformTypes?: Array<string>; ...
the_stack
import type HighlightRange from '@src/model/range'; import type { SelectedNode, DomNode } from '@src/types'; import { SplitType, SelectedNodeType } from '@src/types'; import { hasClass, addClass as addElementClass, isHighlightWrapNode, removeAllClass } from '@src/util/dom'; import { ID_DIVISION, getDefaultOptio...
the_stack
import "jest"; import { $util, AppsyncContext, ComparatorOp, MathBinaryOp, ResolverFunction, ValueComparisonBinaryOp, } from "../src"; import { reflect } from "../src/reflect"; import { appsyncTestCase, testAppsyncVelocity } from "./util"; test("empty function returning an argument", () => { appsyncTestC...
the_stack
import { keys, values } from "./Dict"; import { zip } from "./ZipUnzip"; export class Option<A> { /** * Create an Option.Some value */ static Some = <A = never>(value: A): Option<A> => { const option = Object.create(protoOption) as Option<A>; option.value = { tag: "Some", value }; return option; ...
the_stack
import { TestBed, fakeAsync, tick } from '@angular/core/testing'; import { Component } from '@angular/core'; import { FOCUS_TRAP_DIRECTIVES } from '../focus-trap/mdc.focus-trap.directive'; import { DRAWER_DIRECTIVES } from './mdc.drawer.directive'; import { LIST_DIRECTIVES } from '../list/mdc.list.directive'; import { ...
the_stack
module CorsicaTests { "use strict"; var glob; function isWinRTEnabled() { if (window && window['Windows']) { glob = Windows.Globalization; return true; } return false; } function process(root) { return WinJS.UI.processAll(root); } ...
the_stack
import fs from 'fs'; import path from 'path'; import { BaseModel } from '../../src/BaseModel'; import { createConnection, Connection, Entity, Column, PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn, Repository } from 'typeorm'; import usersData from '../data/users.json'; async function seed(connection: Con...
the_stack
import { spawn, StdioOptions } from 'child_process'; import * as _ from 'lodash'; import { ExpectedError } from '../errors'; export class SshPermissionDeniedError extends ExpectedError {} export class RemoteCommandError extends ExpectedError { cmd: string; exitCode?: number; exitSignal?: NodeJS.Signals; constru...
the_stack
import Dimensions = Utils.Measurements.Dimensions; import DisplayObject = etch.drawing.DisplayObject; import IEventArgs = nullstone.IEventArgs; import Point = etch.primitives.Point; import Stage = etch.drawing.Stage; import {AnimationsLayer} from './UI/AnimationsLayer'; import {CreateNew} from './UI/CreateNew'; import ...
the_stack
import { Component, OnInit } from '@angular/core'; import { Validators } from '@angular/forms'; import { takeUntil } from 'rxjs/operators'; // App imports import { APIClient } from '../../../../swagger/api-client.service'; import { AppEdition } from 'src/app/shared/constants/branding.constants'; import AppServices from...
the_stack
import {defaults, take, normalizeAngle} from '../utils/utils'; import {selectOrAppend, classes} from '../utils/utils-dom'; import {cutText, wrapText, avoidTickTextCollision} from '../utils/d3-decorators'; import {CSS_PREFIX} from '../const'; import * as utilsDraw from '../utils/utils-draw'; import {Selection} from 'd3-...
the_stack
import { StreamID } from '@ceramicnetwork/streamid' import { TileDocument } from '@ceramicnetwork/stream-tile' import { CIP11_DEFINITION_SCHEMA_URL, CIP11_INDEX_SCHEMA_URL } from '@glazed/constants' import { DataModel } from '@glazed/datamodel' import { DIDDataStore } from '../src' jest.mock('@ceramicnetwork/stream-ti...
the_stack
import { BoundingBox, DataTypes, FeatureColumn, GeometryColumns, GeoPackage, GeoPackageAPI, FeatureTableStyles, UserMappingTable, } from '@ngageoint/geopackage'; import { StyleRow } from '@ngageoint/geopackage/built/lib/extension/style/styleRow'; import { IconRow } from '@ngageoint/geopackage/built/lib...
the_stack
import { $el, bind, getBooleanTypeAttr, getNumTypeAttr, getStrTypeAttr, removeAttrs, setHtml } from '../../dom-utils'; import { warn } from '../../mixins'; import { type, validComps } from '../../utils'; import PREFIX from '../prefix'; interface Config { config( el: string )...
the_stack
import * as fmc from "../../../disk/fileModelCache"; import * as fsu from "../../../utils/fsu"; import fs = require('fs'); import * as json from "../../../../common/json"; import { reverseKeysAndValues, uniq, extend, isJs } from "../../../../common/utils"; import { makeBlandError, PackageJsonParsed, TsconfigJsonParsed,...
the_stack
import { STORE } from "./util"; /** * The Buffer class is an ArrayBuffer backed data writer that utilizes the internal STORE function * provided by AssemblyScript to write data as fast as possible to memory. The generic type * parameter represents an enum indicating the instruction type values coupled with the memor...
the_stack
import { expect } from './spec-helper'; import { init, Vector2 as vec2, Vector3 as vec3, Vector4 as vec4, Matrix2 as mat2, Matrix2d as mat2d, Matrix3 as mat3, Matrix4 as mat4, Quaternion as quat, Quaternion2 as quat2, } from '../pkg/gl_matrix_wasm'; describe("quat2", function() ...
the_stack
import { TypeInference as ti } from "./type_inference"; import { Myna as m } from "./node_modules/myna-parser/myna"; var verbose = false; // Defines syntax parsers for type expressions and a simple lambda calculus function registerGrammars() { // A simple grammar for parsing type expressions var typeGrammar ...
the_stack
import { GlobalProps } from 'ojs/ojvcomponent'; import { ComponentChildren } from 'preact'; import { DataProvider } from '../ojdataprovider'; import { dvtBaseComponent, dvtBaseComponentEventMap, dvtBaseComponentSettableProperties } from '../ojdvt-base'; import { JetElement, JetSettableProperties, JetElementCustomEvent,...
the_stack
import { ApiProperty } from "@nestjs/swagger"; import { ValidateNested, IsIP, IsString, IsIn, IsBoolean, IsInt, Min, IsEmail, IsOptional, IsArray, ArrayNotEmpty, ArrayUnique, IsUrl } from "class-validator"; import { Type } from "class-transformer"; import { If, isEmoji, IsEmoji, IsPortNumber...
the_stack
import { Browser, KeyboardEventArgs } from '@syncfusion/ej2-base'; import { extend, isNullOrUndefined } from '@syncfusion/ej2-base'; import { closest, classList } from '@syncfusion/ej2-base'; import { SortSettings } from '../base/grid'; import { Column } from '../models/column'; import { IGrid, IAction, NotifyArgs, EJ2...
the_stack