text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import type { ParserOptions, TransformOptions, types as t } from '@babel/core' import * as babel from '@babel/core' import { createFilter } from '@rollup/pluginutils' import resolve from 'resolve' import type { Plugin, PluginOption } from 'vite' import { addRefreshWrapper, isRefreshBoundary, preambleCode, runti...
the_stack
import isEqual from 'lodash/isEqual'; import { isArray, isEmpty, isNumber, isObject, isString } from './validator.functions'; import { hasOwn, uniqueItems, commonItems } from './utility.functions'; import { JsonPointer, Pointer } from './jsonpointer.functions'; /** * 'mergeSchemas' function * * Merges multiple J...
the_stack
import assert from 'assert'; import * as ThingTalk from 'thingtalk'; import * as Tp from 'thingpedia'; import * as I18n from '../i18n'; import * as DB from './db'; import { AbstractDatabase, createDB } from './db'; import DeviceDatabase from './devices/database'; import SyncManager from './sync/manager'; import Paire...
the_stack
import { utlGetSessionStorage, utlSetSessionStorage } from "@microsoft/applicationinsights-common"; import { IDiagnosticLogger, eLoggingSeverity, _eInternalMessageId, getJSON, arrForEach, isFunction, arrIndexOf, isString, dumpObj, isArray, getExceptionName, _throwInternal } from "@microsoft/applicationinsights-core-js...
the_stack
import * as React from 'react'; import { Component } from 'react'; import invariant from 'invariant'; import { Animated, StyleSheet, View, Keyboard, StatusBar, I18nManager, StatusBarAnimation, StyleProp, ViewStyle, LayoutChangeEvent, NativeSyntheticEvent, } from 'react-native'; import { Gesture...
the_stack
import isEqual from './util/deep_equal'; const operations = { /* * { command: 'setStyle', args: [stylesheet] } */ setStyle: 'setStyle', /* * { command: 'addLayer', args: [layer, 'beforeLayerId'] } */ addLayer: 'addLayer', /* * { command: 'removeLayer', args: ['layerId'] ...
the_stack
import { ReactNativeZoomableViewProps, ReactNativeZoomableViewState, ZoomableViewEvent, } from '@dudigital/react-native-zoomable-view'; import React, { Component } from 'react'; import { View, StyleSheet, PanResponder } from 'react-native'; const initialState = { lastZoomLevel: 1, offsetX: 0, offsetY: 0, ...
the_stack
import {co, component, Coroutine, Entity, field, System, SystemType, World} from '../src'; let counter = 0; let coroutine: () => Generator; let wrapperHandle: Coroutine; let coroutineHandle: Coroutine; @component class Foo { @field.int32 declare bar: number; } class StartCoroutine extends System { q = this.query...
the_stack
import { pick, remove } from "lodash"; import { graphql } from "react-relay"; import { ConnectionHandler, Environment, RecordProxy, RecordSourceSelectorProxy, } from "relay-runtime"; import { getViewer, roleIsAtLeast } from "coral-framework/helpers"; import { CoralContext } from "coral-framework/lib/bootstrap"...
the_stack
import {visitNode} from "./visitor/visit/visit-node"; import {BeforeVisitorContext} from "./visitor/before-visitor-context"; import {BeforeVisitorOptions} from "./visitor/before-visitor-options"; import {check} from "reserved-words"; import {isNamedDeclaration} from "./util/is-named-declaration"; import {getLocalsForBi...
the_stack
import { IMatrixJSON, Matrix } from './matrix'; import { Equation } from './matrix/equation'; import { defaults, RNN, RNNFunction } from './rnn'; import { DataFormatter } from '../utilities/data-formatter'; import { allMatrices } from '../test-utils'; function notZero(v: number) { return v !== 0; } describe('RNN', ...
the_stack
'use strict'; import * as dbg from 'debug'; const debug = dbg('azure-iot-device:ModuleClient'); const debugErrors = dbg('azure-iot-device:ModuleClients:Errors'); import * as fs from 'fs'; import { results, Message, RetryOperation, ConnectionString, AuthenticationProvider, Callback, callbackToPromise, DoubleValueCallb...
the_stack
import * as React from 'react'; import * as _ from 'lodash'; import { ControlElement, HorizontalLayout, } from '@jsonforms/core'; import Adapter from '@wojtekmaj/enzyme-adapter-react-17'; import Enzyme, { mount, ReactWrapper } from 'enzyme'; import { JsonFormsStateProvider } from '@jsonforms/react'; import TableArr...
the_stack
import { ethers, upgrades, waffle } from "hardhat"; import { Signer, BigNumberish, utils, Wallet, BigNumber } from "ethers"; import chai from "chai"; import { solidity } from "ethereum-waffle"; import "@openzeppelin/test-helpers"; import { AlpacaToken, AlpacaToken__factory, CakeToken, CakeToken__factory, Debt...
the_stack
import { of, EMPTY } from 'rxjs'; import { delayWhen, tap } from 'rxjs/operators'; import { TestScheduler } from 'rxjs/testing'; import { observableMatcher } from '../helpers/observableMatcher'; import { expect } from 'chai'; /** @test {delayWhen} */ describe('delayWhen', () => { let testScheduler: TestScheduler; ...
the_stack
import {Component, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Output} from '@angular/core'; import {Alert} from '@common/util/alert.util'; import {AbstractComponent} from '@common/component/abstract.component'; import {PageResult} from '@domain/common/page'; import {WorkspaceService} from '../../../workspac...
the_stack
import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; export const OperationDisplay: msRest.CompositeMapper = { serializedName: "Operation_display", ty...
the_stack
import { createContext } from "react"; import { ApolloClient } from "@bluelibs/ui-apollo-bundle"; import { EventManager, Inject } from "@bluelibs/core"; import { gql } from "graphql-tag"; import { AuthenticationTokenUpdateEvent, UserLoggedInEvent, UserLoggedOutEvent, } from "../../events"; import { LOCAL_STORAGE_...
the_stack
import Constants from 'expo-constants'; import { Platform, UnavailabilityError } from 'expo-modules-core'; import invariant from 'invariant'; import qs from 'qs'; import { useEffect, useState } from 'react'; import URL from 'url-parse'; import NativeLinking from './ExpoLinking'; import { CreateURLOptions, ParsedURL, Q...
the_stack
import { select as d3Select, namespaces as d3Namespaces } from "d3-selection"; import {document} from "../../module/browser"; import CLASS from "../../config/classes"; import {KEY} from "../../module/Cache"; import {callFn, isDefined, getOption, isEmpty, isFunction, notEmpty, tplProcess} from "../../module/util"; ex...
the_stack
import { expect } from 'chai'; import { MongoClient } from 'mongodb'; import { eventually } from '../../../testing/eventually'; import { TestShell } from './test-shell'; import { startTestServer, skipIfServerVersion } from '../../../testing/integration-testing-hooks'; import { promises as fs, createReadStream } from 'f...
the_stack
import { createElement, L10n, remove } from '@syncfusion/ej2-base'; import { Chart } from '../../../src/chart/chart'; import { Zoom } from '../../../src/chart/user-interaction/zooming'; import { LineSeries } from '../../../src/chart/series/line-series'; import { unbindResizeEvents } from '../base/data.spec'; import { C...
the_stack
import { BaseExtension } from '../baseExtension'; import { Extension } from '../extension'; import { MediaDao } from './mediaDao'; import { MediaTable } from './mediaTable'; import { SimpleAttributesDao } from './simpleAttributesDao'; import { SimpleAttributesTable } from './simpleAttributesTable'; import { UserMapping...
the_stack
import { AfterContentInit, ChangeDetectorRef, ContentChildren, Directive, ElementRef, forwardRef, inject, InjectFlags, Input, OnDestroy, Output, QueryList, } from '@angular/core'; import {ActiveDescendantKeyManager, Highlightable, ListKeyManagerOption} from '@angular/cdk/a11y'; import {DOWN_ARRO...
the_stack
import autocomplete from "autocompleter"; import {parseYaml} from "obsidian"; /** * * @param input_element * @param autocomplete_items * @param call_on_completion A function that will be called when a user has selected a suggestion and performed the autocomplete action. onChange event will not be called, because i...
the_stack
import * as vscode from "vscode"; import {PluginTreeItem, Resource, CustomResource, ContextValueTypes, Utils} from "../../../runtime"; import {getSkillDetailsFromWorkspace, SkillDetailsType, getHostedSkillMetadata} from "../../../utils/skillHelper"; import {EN_US_LOCALE, SKILL_ACTION_URLS, SKILL_ACTION_ITEMS, SKILL_NO...
the_stack
import { browser, by, element, $, $$ } from 'protractor'; import { CONFIGURATIONS } from '../../src/config/configuration'; const fs = require('fs'); const config = CONFIGURATIONS.optional.general.e2e; export class Jazz { navigateToJazzGet() { return browser.driver.get(config.APPLN_URL); } getCreateService() ...
the_stack
import fs from 'fs'; import os from 'os'; import path from 'path'; import fg from 'fast-glob'; import mkdirp from 'mkdirp'; import rimrafSync from 'rimraf'; import { jsonc } from 'jsonc'; import fxp from 'fast-xml-parser'; import filesize from 'filesize'; import { promisify } from 'util'; import { inject, inj...
the_stack
export type ValueTypes = { /** expression to compare columns of type Boolean. All fields are combined with logical 'AND'. */ ["Boolean_comparison_exp"]: { _eq?:boolean, _gt?:boolean, _gte?:boolean, _in?:boolean[], _is_null?:boolean, _lt?:boolean, _lte?:boolean, _neq?:boolean, _nin?:boolean[] }; ["CacheCon...
the_stack
import initTrace from "debug"; import { LIST_SIZE_MASK, MAX_DEPTH, POINTER_DOUBLE_FAR_MASK, POINTER_TYPE_MASK } from "../../constants"; import { bufferToHex, format, padToWord } from "../../util"; import { ListElementSize } from "../list-element-size"; import { ObjectSize, getByteLength, padToWord as padObjectTo...
the_stack
import { TypeKind, Type, ClassType, EnumType, UnionType, ClassProperty } from "../Type"; import { matchType, nullableFromUnion, removeNullFromUnion } from "../TypeUtils"; import { Name, DependencyName, Namer, funPrefixNamer } from "../Naming"; import { legalizeCharacters, isLetterOrUnderscore, isLetterOrUnd...
the_stack
import * as loggingTypes from '../lib/loggingprovider/loggingprovider.types'; import * as net from '../lib/net/net.types'; import * as social from './social'; import * as ui from './ui'; // --- Core <--> UI Interfaces --- export interface UserFeedback { email :string; error :string; feedback :...
the_stack
import * as mocha from "mocha"; import * as should from "should"; import { BinaryStream } from "node-opcua-binary-stream"; import { ExtensionObject, OpaqueStructure } from "node-opcua-extension-object"; import { nodesets } from "node-opcua-nodesets"; import { DataType, Variant } from "node-opcua-variant"; import { che...
the_stack
import { useCallback, useContext, useEffect, useState, useRef } from 'react'; import { UserAttributes, OptimizelyDecideOption } from '@optimizely/optimizely-sdk'; import { getLogger, LoggerFacade } from '@optimizely/js-sdk-logging'; import { setupAutoUpdateListeners } from './autoUpdate'; import { ReactSDKClient, Var...
the_stack
import Page = require('../../../base/Page'); import Response = require('../../../http/response'); import V1 = require('../V1'); import { SerializableClass } from '../../../interfaces'; type CallSummariesCallDirection = 'outbound_api'|'outbound_dial'|'inbound'|'trunking_originating'|'trunking_terminating'; type CallSu...
the_stack
import { getUintArray } from '../utils' function getEdgeTable () { return new Uint32Array([ 0x0, 0x109, 0x203, 0x30a, 0x406, 0x50f, 0x605, 0x70c, 0x80c, 0x905, 0xa0f, 0xb06, 0xc0a, 0xd03, 0xe09, 0xf00, 0x190, 0x99, 0x393, 0x29a, 0x596, 0x49f, 0x795, 0x69c, 0x99c, 0x895, 0xb9f, 0xa96, 0xd9a, 0xc93, 0x...
the_stack
interface String { match< RE extends RegExp >( regexp: RE ): ReturnType< RE[ typeof Symbol.match ] > matchAll< RE extends RegExp >( regexp: RE ): ReturnType< RE[ typeof Symbol.matchAll ] > } namespace $ { type Groups_to_params<T> = { [P in keyof T]?: T[P] | boolean | undefined; }; export type...
the_stack
import { Logger } from "../log"; import { Body, C, getBody, IncomingRequestMessage, IncomingResponseMessage, isBody, NameAddrHeader, OutgoingAckRequest, OutgoingByeRequest, OutgoingInfoRequest, OutgoingInviteRequest, OutgoingInviteRequestDelegate, OutgoingMessageRequest, OutgoingNotifyReques...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormQuoteDetail_Field_Service_Information { interface tab_address_Sections { address_section_2: DevKit.Controls.Section; ship_to_address: DevKit.Controls.Section; } interface tab_general_Sections { pricing: DevKit.Cont...
the_stack
import { InvalidArgumentError, InvalidArgumentReason } from '../errors/InvalidArgumentError'; import SdkEnvironment from '../managers/SdkEnvironment'; import { WindowEnvironmentKind } from '../models/WindowEnvironmentKind'; import { Serializable } from '../models/Serializable'; import Environment from '../Environment'...
the_stack
import * as path from 'path'; import { SwaggerSailsModel, HTTPMethodVerb, MiddlewareType, SwaggerRouteInfo, NameKeyMap, SwaggerActionAttribute, SwaggerModelAttribute, ActionType, SwaggerSailsControllers, AnnotatedFunction, SwaggerControllerAttribute, BluePrintAction, SwaggerModelSchemaAttribute } from './interfaces'; i...
the_stack
import {Component, OnInit, ViewEncapsulation} from '@angular/core'; import * as chartjs from 'chart.js' import * as $ from 'jquery'; import {DlaasService} from '../shared/services'; @Component({ selector: 'analytics-main', templateUrl: './main.component.html', encapsulation: ViewEncapsulation.None }) export clas...
the_stack
import { PropOptions } from '@vue/composition-api' import { castArray, isEqual } from 'lodash' import { PropType } from 'vue' import { z } from 'zod' import { makeProps } from './make-props' import { silenceConsole } from './test-utils/silence-console' import { refinementNonEmpty } from './zod-refinements' declare gl...
the_stack
import crypto from 'crypto'; import { promisify } from 'util'; import { deflateRaw } from 'zlib'; import * as dbutils from '../db/utils'; import * as metrics from '../opentelemetry/metrics'; import saml from '@boxyhq/saml20'; import claims from '../saml/claims'; import { IOAuthController, JacksonOption, OAuthRe...
the_stack
import { basename, dirname, Document, DOMParser, Element, join, } from "./deps.ts"; import { decoder, encoder, getLocalDependencyPaths, isLocalUrl, md5, qs, } from "./util.ts"; import { wasmPath } from "./install_util.ts"; import { bundleByEsbuild } from "./bundle_util.ts"; import { logger } fro...
the_stack
declare class FBSDKAccessToken extends NSObject implements FBSDKTokenStringProviding, NSCopying, NSObjectProtocol, NSSecureCoding { static alloc(): FBSDKAccessToken; // inherited from NSObject static new(): FBSDKAccessToken; // inherited from NSObject static refreshCurrentAccessTokenWithCompletion(completion: (p1...
the_stack
import { promises as fs } from 'fs' import path from 'path' import xml2js from 'xml2js' import { serializeBlueprint } from '../build/soong' import { aapt2 } from '../util/process' import { exists, listFilesRecursive } from '../util/fs' import { XML_HEADER } from '../util/headers' import { parseLines } from '../util/pa...
the_stack
import { Store } from '@ngrx/store'; import { Observable } from 'rxjs'; import { Clear } from '../actions/actions'; import { Create, CreateMany } from '../actions/create-actions'; import { Delete, DeleteMany } from '../actions/delete-actions'; import { DeleteByKey, DeleteManyByKeys } from '../actions/delete-by-key-act...
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/billingProfilesMappers"; import * as Parameters from "../models/parameters"; import { BillingManagementClientContext } from "../billingManagementC...
the_stack
import * as React from "react"; import { SyntheticEvent } from "react"; import { componentStateEngine, StateEngine } from "./stateEngine"; import { FieldProps, FieldRecord, makeField } from "./Field"; import { validFn, FieldResult, isInvalidResult, Validator, isCovalidateResult, CovalidatedFiel...
the_stack
import type { Importer } from './importer'; declare const address: string; declare const debugMode: boolean; declare const mode: string; declare const hotReload: boolean; type MapValue<T extends Map<any, any>> = ReturnType<T['get']>; type DependentTree = { file: string; dependents: DependentTree[]; } interface ...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [mediapackage-vod](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselementalmediapackagevod.html). * * @param sid [SID](https://docs.aws.amazon.com/I...
the_stack
import {LibraryAddEvent, LibraryEvent, LibraryModifyEvent, LibraryRemoveEvent} from "./Library"; import {File, FileBuilder} from "./File"; import {CanvasScreen} from "trs80-emulator-web"; import { defer, getLabelNodeForTextButton, makeIcon, makeIconButton, makeTagCapsule, makeTextButton, TRA...
the_stack
import { ADD_LISTITEM, ADD_LISTITEMS, REMOVE_LISTITEM, GET_LISTITEMS, GOT_LISTITEMS, GET_LISTITEMSERROR, GOT_LISTITEM, GET_LISTITEMERROR, CLEAR_LISTITEMS, SAVE_LISTITEM,//save locally UNDO_LISTITEMCHANGES, UPDATE_LISTITEM,//save to sharepoint UPDATE_LISTITEM_ERROR, ...
the_stack
import React from 'react'; import {FormattedMessage} from 'react-intl'; import {isEmail} from 'mattermost-redux/utils/helpers'; import {debounce} from 'mattermost-redux/actions/helpers'; import FormattedMarkdownMessage from 'components/formatted_markdown_message'; import InviteIcon from 'components/widgets/icons/invi...
the_stack
import { DEFAULT_GENERIC_PARAMETER_TYPE, DEFAULT_RESULT_CACHE, NEVER_TYPE } from "../constants"; import { isSimpleTypeLiteral, isSimpleTypePrimitive, SimpleType, SimpleTypeFunctionParameter, SimpleTypeGenericArguments, SimpleTypeGenericParameter, SimpleTypeIntersection, SimpleTypeKind, SimpleTypeMemberNamed, ...
the_stack
import { window, ViewColumn } from 'vscode'; import got from 'got'; import * as marked from 'marked'; import PluginData from '../models/NpmData'; import { NpmTreeItem } from '../utils/Interfaces'; export default class WebViews { static async openWebView(npmPackage: NpmTreeItem) { const { links, name, versi...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import * as cxschema from '@aws-cdk/cloud-assembly-schema'; import { App, CfnParameter, CfnResource, Construct as CfnConstruct, Lazy, Stack, TreeInspector } from '../../lib/index'; abstract class AbstractCfnResource extends CfnResource { constructor(scope: CfnC...
the_stack
// IMPORTANT // This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator // Generated from: https://safebrowsing.googleapis.com/$discovery/rest?version=v4 /...
the_stack
import { Stack } from "@aws-cdk/core"; import * as lambda from "@aws-cdk/aws-lambda"; import * as defaults from '@aws-solutions-constructs/core'; import * as stepfunctions from '@aws-cdk/aws-stepfunctions'; import * as ec2 from "@aws-cdk/aws-ec2"; import { LambdaToStepfunctions } from '../lib'; import '@aws-cdk/assert/...
the_stack
import axios, { AxiosRequestConfig, AxiosResponse } from 'axios' import { createHash, randomBytes, BinaryLike } from 'crypto' import express from 'express' import fs from 'fs' import getPort from 'get-port' import open from 'open' import path from 'path' import qs from 'qs' import { SmartThingsURLProvider, defaultSmart...
the_stack
import * as restm from 'typed-rest-client/RestClient'; import * as httpm from 'typed-rest-client/HttpClient'; import vsom = require('./VsoClient'); import basem = require('./ClientApiBases'); import serm = require('./Serialization'); import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces'); import Se...
the_stack
import { observable } from '@aurelia/runtime'; import { BenchmarkMeasurements, BrowserType, Measurement, totalDuration } from '@benchmarking-apps/test-result'; import { DI, IHttpClient, ILogger, PLATFORM } from 'aurelia'; export const IApi = DI.createInterface<IApi>('IApi', x => x.singleton(Api)); export interface IAp...
the_stack
import React, { MouseEvent } from 'react' import { FlatList, FlatListProps, LayoutChangeEvent, RecursiveArray, SectionList, SectionListProps, StyleProp, StyleSheet, VirtualizedList, VirtualizedListProps } from 'react-native' import convertStyle from './convertStyle' import cssToStyle from './cssToRN' import { FontSizeC...
the_stack
'use strict'; //core import * as util from 'util'; import * as assert from 'assert'; import * as path from 'path'; import * as cp from 'child_process'; import * as fs from 'fs'; //npm import chalk from 'chalk'; const dashdash = require('dashdash'); import async = require('async'); import residence = require('residen...
the_stack
import { BundleManager } from "../bundleManager"; import { InstanceManager } from "../instanceManager"; import { ServiceInstance } from "../service"; import { ServiceManager } from "../serviceManager"; import { emptySuccess, error, success } from "../utils/result"; import { MockNodeCG, testBundle, testBundl...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type SaleLotsListTestsQueryVariables = { saleSlug: string; }; export type SaleLotsListTestsQueryResponse = { readonly " $fragmentRefs": FragmentRefs<"SaleLotsList_saleArtworksConnection">; }; export type SaleLo...
the_stack
import { ModuleRpcCommon } from '../common'; import { ClientProtocolError, ClientRpcError } from './errors'; import { BackoffOptions } from './backoff'; import { StreamProducer, Stream, transformStream } from './stream'; import { mapValuesWithStringKeys } from '../utils/utils'; import * as events from 'events'; import ...
the_stack
import * as React from "react"; import pnp from "sp-pnp-js"; import { SortDirection } from "sp-pnp-js"; import * as _ from "lodash"; import DisplayProp from "../../shared/DisplayProp"; import { SearchQuery, SearchResults } from "sp-pnp-js"; import { css } from "office-ui-fabric-react"; //import styles from "./PropertyB...
the_stack
import {Destination, DestinationConnectionStatus, DestinationOrigin, DestinationType, DuplexType, GooglePromotedDestinationId, Margins, MarginsType, PrintPreviewModelElement, Size} from 'chrome://print/print_preview.js'; // <if expr="chromeos_ash or chromeos_lacros"> import {loadTimeData} from 'chrome://resources/js/lo...
the_stack
import { Block, HeaderData } from '@ethereumjs/block' import { TransactionFactory, TypedTransaction } from '@ethereumjs/tx' import { Address, BN, toBuffer, toType, TypeOutput, bufferToHex, intToHex } from 'ethereumjs-util' import { BaseTrie as Trie } from 'merkle-patricia-tree' import { encode } from 'rlp' import { mid...
the_stack
import * as json from "@ts-common/json" import * as jsonParser from "@ts-common/json-parser" import * as jsonPointer from "json-pointer" import { toArray } from "@ts-common/iterator" import { cloneDeep, Data, FilePosition, getFilePosition } from "@ts-common/source-map" import * as sm from "@ts-common/string-map" impor...
the_stack
import { Component } from '@angular/core'; import { from } from 'rxjs'; import { HMSAccount, HMSHuaweiIdAuthButton, HMSAccountAuthManager, HMSReadSMSManager, HMSAccountAuthService, HMSHuaweiIdAuthManager, HMSHuaweiIdAuthTool, HMSNetworkTool, AuthScopeList, Theme, ColorPolicy, CornerRadius, Aut...
the_stack
import * as builder from 'botbuilder'; import * as async from 'async'; import * as Promise from 'promise'; import Consts = require('./Consts'); import zlib = require('zlib'); import { IStorageClient, IHttpResponse } from './IStorageClient'; import { AzureTableClient } from './AzureTableClient'; var azure = require('a...
the_stack
import { Observable, combineLatest } from 'rxjs'; import { switchMap, map, shareReplay, mergeMap, filter, tap } from 'rxjs/operators'; import { LogicInterface } from '../../../../src/app/logic-interface.interface'; import { createDatabase } from './services/database.service'; imp...
the_stack
import * as d3 from "d3"; import { assert } from "chai"; import * as sinon from "sinon"; import * as Plottable from "../../src"; import * as Mocks from "../mocks"; import * as TestMethods from "../testMethods"; describe("Component", () => { const DIV_WIDTH = 400; const DIV_HEIGHT = 300; describe("anchoring",...
the_stack
/// <reference path="../typings/tsd.d.ts" /> import assert = require("assert"); import util = require("util"); import StringMap = require("../lib/StringMap"); import bmh = require("../lib/bmh"); import hir = require("./hir"); import OpCode = hir.OpCode; class DynBuffer { buf: Buffer; length: number = 0; ...
the_stack
import StateMachine from '../../src/app/app' import StateMachineHistory from '../../src/plugins/history' import LifecycleLogger from '../helpers/lifecycle_logger' //------------------------------------------------------------------------------------------------- test('history', () => { const fsm = new S...
the_stack
import { Logger } from "@adpt/utils"; import stringify from "json-stable-stringify"; import { InternalError } from "../error"; import { AdaptElement, AdaptElementOrNull, AnyProps, isMountedElement, } from "../jsx"; import { Action, ActionInfo, ChangeType, Plugin, PluginOptions, } fro...
the_stack
import fs from "fs"; import protos from "google-ads-node/build/protos/protos.json"; import pluralize from "pluralize"; import { ServiceName } from "../src/protos"; import { toCamelCase } from "../src/utils"; import { googleAdsVersion } from "../src/version"; import { FILES } from "./path"; const VERSION = googleAdsVer...
the_stack
import { DataSet } from '@/lib/dataset'; import { addLocalUniquesToDataset, iterateRecords, updateLocalUniquesFromDatabase, } from '@/lib/dataset/helpers'; import { _guessType, inferTypeFromDataset, MongoResults, mongoResultsToDataset, } from '@/lib/dataset/mongo'; /** * helper functions to sort a datas...
the_stack
import * as fs from 'fs' import * as path from 'path' // ------------------------------------------------------------------------ // Error // ------------------------------------------------------------------------ export class OptionsError extends Error { constructor(public readonly option: string, public readon...
the_stack
import { ipcRenderer } from "electron"; import { platform } from "os"; import { join, dirname, extname, basename } from "path"; import { readdir, readJSON, writeJSON, stat, copyFile } from "fs-extra"; import { Nullable, IStringDictionary } from "../../../shared/types"; import { IPCRequests, IPCResponses } from "...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type FairExhibitorRailTestsQueryVariables = { showID: string; }; export type FairExhibitorRailTestsQueryResponse = { readonly show: { readonly " $fragmentRefs": FragmentRefs<"FairExhibitorRail_show">; ...
the_stack
import { Workbook, SheetModel, CellModel, getSheet, getColumn, ColumnModel, isHiddenRow, getCell, setCell, getSheetIndex } from '../base/index'; import { cellValidation, applyCellFormat, isValidation, addHighlight, getCellAddress, validationHighlight, getSwapRange, getSheetIndexFromAddress, getSplittedAddressForColumn ...
the_stack
import { assert } from "chai"; import { document } from "xmlcreate"; import { Absent, parse, parseToExistingElement } from "../../lib/main"; import { IOptions, ITypeHandlers, IWrapHandlers } from "../../lib/options"; import { isSet } from "../../lib/utils"; const simpleOptions: IOptions = { declaration: { ...
the_stack
if ((typeof global !== "undefined") && !(global as any).document) { (global as any).document = {}; } import _sodium from "libsodium-wrappers"; import * as Argon2 from "argon2-webworker"; import * as Constants from "./Constants"; import { numToUint8Array, symmetricNonceSize } from "./Helpers"; import { Rollsum } fro...
the_stack
import "./helpers/dotenv_helper"; import { getTestId, getState, dispatch } from "./helpers/test_helper"; import { query } from "@api_shared/db"; import { acceptDeviceGrant } from "./helpers/device_grants_helper"; import * as R from "ramda"; import { registerWithEmail, loadAccount } from "./helpers/auth_helper"; import ...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/disasterRecoveryConfigsMappers"; import * as Parameters from "../models/parameters"; import { EventHubManagementClientContext } from "../eventHubManagementClientContext"; /** Class representing a Disas...
the_stack
import * as React from 'react'; import * as ClickOutHandler from 'react-onclickout'; import { Icon } from "office-ui-fabric-react/lib/Icon"; import { MessageBar, MessageBarType } from "office-ui-fabric-react/lib/MessageBar"; import { SearchBox } from "office-ui-fabric-react/lib/SearchBox"; import IGlobalNavigationProps...
the_stack
import { CrossEditSuspiciousPatternsInfo, Revision } from './interface'; import { DecisionLogProps, DecisionLogDoc, } from '~/shared/models/decision-log.model'; export class CrossEditSuspiciousPatterns implements Revision { // Enum of Operating Mode of the CrossEditSuspiciousPatterns Detection Mechanism. // Tw...
the_stack
import { basename, dirname, extname, join, relative, sep } from 'path'; import { readdirSync, existsSync, writeFileSync, openSync, closeSync } from 'fs'; import { Logger } from '../logger/logger'; import { toUnixPath } from '../util/helpers'; import * as Constants from '../util/constants'; import * as GeneratorConstan...
the_stack
import {expectErroneousCode, expectTranslate} from './test_support'; describe('variables', () => { it('should print variable declaration with initializer', () => { expectTranslate('var a:number = 1;').to.equal(`@JS() external num get a; @JS() external set a(num v);`); }); it('should print variable declaratio...
the_stack
import { TestBed, fakeAsync, tick, flush, ComponentFixture } from '@angular/core/testing'; import { FormsModule, NgModel } from '@angular/forms'; import { By } from '@angular/platform-browser'; import { Component, ViewChild } from '@angular/core'; import { MdcIconButtonDirective, MdcIconToggleDirective, MdcIconDirectiv...
the_stack
import Service from './service'; import {statusCodes} from './TLV/values'; export type ValueFormat = 'bool' | 'uint8' | 'uint16' | 'uint32' | 'int' | 'float' | 'string' | 'tlv8' | 'data'; export type ValueUnit = 'celsius' | 'percentage' | 'arcdegrees' | 'lux' | 'seconds'; export type OnWrite = (value: any, callback: (...
the_stack
import Debug = require('debug'); const debug = Debug('modbus-client') import * as Stream from 'stream' import { ReadCoilsRequestBody, ReadDiscreteInputsRequestBody, ReadHoldingRegistersRequestBody, ReadInputRegistersRequestBody, WriteMultipleCoilsRequestBody, WriteMultipleRegistersRequestBody, WriteSing...
the_stack
"use strict"; declare var zip: any; declare var cordova: Cordova; import LocalPackage = require("./localPackage"); import RemotePackage = require("./remotePackage"); import CodePushUtil = require("./codePushUtil"); import NativeAppInfo = require("./nativeAppInfo"); import Sdk = require("./sdk"); import SyncStatus = r...
the_stack
import { moment, normalizePath, Notice, TFile, TFolder } from 'obsidian'; import { getAllDailyNotes, getDateFromFile } from 'obsidian-daily-notes-interface'; import appStore from '../stores/appStore'; import { CommentOnMemos, CommentsInOriginalNotes, DefaultMemoComposition, DeleteFileName, FetchMemosFromNote,...
the_stack
import { action, computed, observable, makeObservable, override } from "mobx"; import { onPatch, resolvePath, applyPatch, IAnyModelType, Instance, } from "mobx-state-tree"; import { Form, FormDefinition, ValidationResponse, GroupDefinition, ErrorFunc, IDisposer, RepeatingForm, } from "./form"; ...
the_stack
const Flac = require('libflacjs/dist/libflac.js'); // declare window.webkitAudioContext for the ts compiler interface Window { webkitAudioContext: typeof AudioContext } function setCookie(key: string, value: string, exdays: number = -1) { let d = new Date(); if (exdays < 0) exdays = 10 * 365; d.setTime(...
the_stack