text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { SecurityIdentity } from "@webiny/api-security/types"; import useGqlHandler from "./useGqlHandler"; import * as mocks from "./mocks/form.mocks"; class Mock { public name: string; constructor(prefix = "") { this.name = `${prefix}name`; } } interface MockSubmissionData { firstName: strin...
the_stack
import { Component, OnDestroy, Output, EventEmitter, OnChanges, SimpleChanges, Input, AfterViewInit, ViewChild } from '@angular/core'; import { Subscription } from 'rxjs/Subscription'; import { CommonResponseService } from '../../../shared/services/common-response.service'; import { environment } from...
the_stack
import * as React from 'react'; import * as ReactDom from 'react-dom'; import { Utils, PathRegion, Helpable } from './Utils'; import * as d3 from 'd3'; import * as FontAwesome from 'react-fontawesome'; import * as tubeMap from './tubemap'; // import Graph from './Graph'; // import * as tubeMap from 'sequenceTubeMap/fr...
the_stack
import { defineConfig, generateId, includesArray } from '@agile-ts/utils'; export class Logger { public config: LoggerConfigInterface; // Key/Name identifier of the Logger public key?: LoggerKey; // Whether the Logger is active and can log something public isActive: boolean; // Registered Logger Categor...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * BGP information that must be configured into the routing stack to * establish BGP peering. This information must specify the peer ASN * and either the interface n...
the_stack
import aceEvent, { AceEvent } from "@wowts/ace_event-3.0"; import { LuaArray, LuaObj, ipairs, lualength, pairs, unpack } from "@wowts/lua"; import { concat, insert, sort } from "@wowts/table"; import { GetUnitName, UnitGUID, UnitIsUnit } from "@wowts/wow-mock"; import { AceModule } from "@wowts/tsaddon"; import { Ovale...
the_stack
"use strict"; import "jest-environment-puppeteer"; import Flash from "../helpers/flash"; import { IFlash, IMarket } from "../types/types"; import { toDefaultView, toReporting, toInitialReporting } from "../helpers/navigation-helper"; import { createCategoricalMarket, createScalarMarket, createYesNoMarket }...
the_stack
module android.view{ import Log = android.util.Log; import Pools = android.util.Pools; import MotionEvent = android.view.MotionEvent; import KeyEvent = android.view.KeyEvent; /** * Helper for tracking the velocity of touch events, for implementing * flinging and other such gestures. *...
the_stack
import TestCase from '../testcase'; let redoKey = 'ctrl+r'; describe('basic multiline tests', function() { it('tests basic multiline insertion and movement', async function() { let t = new TestCase(['']); t.sendKeys('ione'); t.sendKey('esc'); t.sendKeys('otwo'); t.sendKey('esc'); t.expect(['...
the_stack
import {Component, OnInit, OnDestroy, ElementRef, ViewChild, Input, OnChanges} from '@angular/core'; import {Subscription} from 'rxjs/Subscription'; import {AssetGroupObservableService} from '../../../core/services/asset-group-observable.service'; import {AutorefreshService} from '../../services/autorefresh.service'; i...
the_stack
import React = require("react"); var ReactDOM = require('react-dom'); import csx = require('./base/csx'); import {BaseComponent} from "./ui"; import * as ui from "./ui"; import * as utils from "../common/utils"; import * as styles from "./styles/styles"; import * as state from "./state/state"; import * as commands from...
the_stack
import Token from '../src/models/Token' import { BigNumber, Wallet, constants, providers } from 'ethers' import { Chain, Hop } from '../src/index' import { formatUnits, parseUnits } from 'ethers/lib/utils' import { privateKey } from './config' import * as addresses from '@hop-protocol/core/addresses' // @ts-ignore ...
the_stack
(function ():void { const parseDuration:IParseDuration = require("parse-duration"); enum NodeType { Element = 1, Attribute = 2, Text = 3, Comment = 8 } interface IProcessingConfigurationItem { tag?: string; id?: string; cssClass?: string; ...
the_stack
import config from '../util/config' import logger from '../util/logger' import { counter } from '../util/id' import { bits } from './bit' import { Middleware } from './middleware' import { State, ICallback } from './state' import { Conditions, ConditionInput } from './condition' import { Message, TextMessage, Cat...
the_stack
import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, HostBinding, Input, NgZone, OnDestroy, Output, } from '@angular/core'; @Component({ selector: '[soho-monthview]', // eslint-disable-line template: `<ng-content></ng-con...
the_stack
export const SPARTACUS_SCOPE = `@spartacus/`; export const SPARTACUS_SCHEMATICS = `@spartacus/schematics`; export const SPARTACUS_CORE = `@spartacus/core`; export const SPARTACUS_STOREFRONTLIB = `@spartacus/storefront`; export const SPARTACUS_ASSETS = `@spartacus/assets`; export const SPARTACUS_STYLES = `@spartacus/s...
the_stack
class WebGLRenderer extends Renderer { canvas: HTMLCanvasElement; gl: WebGLRenderingContext; offsetLocation: any; positionLocation: any; texCoordLocation: any; uScaleLocation: any; uNumFramesLocation: any; uFrameLocation: any; objectUVBuffer: any; texCoordBuffer: any; tileBuf...
the_stack
import { types, getEnv, flow, getRoot, detach, destroy, isAlive, Instance } from 'mobx-state-tree'; import debounce from 'lodash/debounce'; import {ServiceStore} from './service'; import {FormItemStore, IFormItemStore, SFormItemStore} from './formItem'; import {Api, ApiObject, fetchOptions, Payload} fro...
the_stack
import moment = require('moment'); import { browser, protractor } from 'protractor' import { BrowserHelper, ElementHelper } from 'topcoder-testing-lib'; import * as appconfig from '../../config/app-config.json'; import { logger } from '../../logger/logger'; import TcElement from '../../node_modules/topcoder-testing-lib...
the_stack
import { configure } from "mobx"; import { types, Instance } from "mobx-state-tree"; import { Field, Form, IAnyFormAccessor, FieldAccessor, RepeatingForm, RepeatingFormAccessor, SubForm, converters, } from "../src"; // "always" leads to trouble during initialization. configure({ enforceActions: "observ...
the_stack
import { Container, DisplayObject } from '@pixi/display'; import { Renderer, MaskData } from '@pixi/core'; import { Rectangle } from '@pixi/math'; /** Interface for a child of a LinkedListContainer (has the prev/next properties added) */ export interface LinkedListChild extends DisplayObject { nextChild: LinkedLis...
the_stack
import WebGame = Facepunch.WebGame; namespace Gokz { /** * Address hash format for the ReplayViewer. */ export interface IHashData { /** Tick number, starting from 1 for the first tick. */ t?: number; } /** * Creates a GOKZ replay viewer applet. */ export class ...
the_stack
import { EventEmitter, Injectable } from '@angular/core' import { EnumValues, MathUtils } from '@app/class' import { ElectronProvider } from '@app/provider/electron.provider' import { GameLogService } from '@app/service/game-log.service' import { IpcMain, IpcMainEvent, IpcRenderer } from 'electron' import moment from '...
the_stack
import { ArrayHelper, StringHelper } from "../ExtensionMethods"; import { BasePropertySet } from "../Enumerations/BasePropertySet"; import { BodyType } from "../Enumerations/BodyType"; import { Dictionary } from "../AltDictionary"; import { EwsLogging } from "../Core/EwsLogging"; import { EwsServiceXmlWriter } from "....
the_stack
import { SpreadsheetHelper } from "../util/spreadsheethelper.spec"; import { defaultData } from '../util/datasource.spec'; import { SheetModel, getRangeAddress, Spreadsheet, getCell } from "../../../src/index"; import { L10n } from '@syncfusion/ej2-base'; describe('Cell Format ->', () => { let helper: SpreadsheetH...
the_stack
import arrify = require('arrify'); import * as escapeStringRegexp from 'escape-string-regexp'; import * as is from 'is'; // eslint-disable-next-line @typescript-eslint/no-var-requires const isUtf8 = require('is-utf8'); import {Mutation} from './mutation'; /** * @private */ export class FilterError extends Error { ...
the_stack
"use strict"; import {BrokerOptions, Errors, MetricRegistry, ServiceBroker} from "moleculer"; /** * Moleculer ServiceBroker configuration file * * More info about options: * https://moleculer.services/docs/0.14/configuration.html * * * Overwriting options in production: * ================================ ...
the_stack
import {ifEnvSupports} from '../test-util'; describe('element', function() { let button: HTMLButtonElement; beforeEach(function() { button = document.createElement('button'); document.body.appendChild(button); }); afterEach(function() { document.body.removeChild(button); }); // https://githu...
the_stack
import { Config } from "../types/Config"; import { generateTopologicGraph } from "../workspace/generateTopologicalGraph"; import { NpmScriptTask } from "./NpmScriptTask"; import { PackageInfo, PackageInfos } from "workspace-tools"; import { RunContext } from "../types/RunContext"; import { PipelineTarget, TargetConfig,...
the_stack
// helper types export type JsonData = string | number | boolean | Date | Json | JsonArray | undefined; export type KnuddelsJsonData = string | number | boolean | Date | KnuddelsJson | KnuddelsJsonArray | KnuddelsSerializable | undefined; export type KnuddelsSerializable = string | number | boolean | User | BotUser | u...
the_stack
import './index'; import { expect } from 'chai'; import { DOT_STROKE_COLORS, DOT_FILL_COLORS, MAX_UNIQUE_DIGESTS, } from '../dots-sk/constants'; import { setUpElementUnderTest } from '../../../infra-sk/modules/test_util'; import { DotsLegendSk } from './dots-legend-sk'; import { DotsLegendSkPO } from './dots-lege...
the_stack
* Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use t...
the_stack
import { serialize, serializeAsColor4, serializeAsCameraReference } from "../Misc/decorators"; import { Tools } from "../Misc/tools"; import { SmartArray } from "../Misc/smartArray"; import { Observable } from "../Misc/observable"; import { Nullable } from "../types"; import { Camera } from "../Cameras/camera"; i...
the_stack
import { BentleyError, Id64, Id64Arg, Id64String } from "@itwin/core-bentley"; import { Angle, Geometry, Matrix3d, Point3d, Transform, Vector3d, YawPitchRollAngles } from "@itwin/core-geometry"; import { ColorDef, GeometricElementProps, IModelStatus, isPlacement2dProps, LinePixels, PersistentGraphicsRequestProps, Pla...
the_stack
import type {Mutable, ObserverType} from "@swim/util"; import type {FastenerOwner} from "@swim/component"; import type {GestureInputType} from "./GestureInput"; import type {GestureMethod} from "./Gesture"; import {PositionGestureInit, PositionGestureClass, PositionGesture} from "./PositionGesture"; import {MomentumGes...
the_stack
import { TSDocTagDefinition, TSDocTagSyntaxKind, TSDocConfiguration, ParserMessageLog, TSDocMessageId, ParserMessage, TextRange, IParserMessageParameters, ITSDocTagDefinitionParameters, } from '@microsoft/tsdoc'; import * as fs from 'fs'; import * as resolve from 'resolve'; import * as pa...
the_stack
import React from 'react'; import { BarStack } from '@visx/shape'; import { SeriesPoint } from '@visx/shape/lib/types'; import { Group } from '@visx/group'; import { Grid } from '@visx/grid'; import { AxisBottom, AxisLeft } from '@visx/axis'; import { scaleBand, scaleLinear, scaleOrdinal } from '@visx/scale'; import { ...
the_stack
import * as React from 'react'; import styles from '@patternfly/react-styles/css/components/SearchInput/search-input'; import { css } from '@patternfly/react-styles'; import { Button, ButtonVariant } from '../Button'; import { Badge } from '../Badge'; import AngleDownIcon from '@patternfly/react-icons/dist/esm/icons/an...
the_stack
import { BufferGeometry, Float32BufferAttribute, Mesh, MeshBasicMaterial, Object3D, PlaneBufferGeometry, Renderer, sRGBEncoding, Texture, Uint32BufferAttribute, WebGLRenderer } from 'three'; import { moduloBy, createElement } from './utils'; type AdvancedHTMLVideoElement = HTMLVideoElement & { re...
the_stack
import {ENGINE} from './engine'; import * as tf from './index'; import {ALL_ENVS, describeWithFlags} from './jasmine_util'; import {Tensor} from './tensor'; import {expectArraysClose} from './test_util'; describeWithFlags('gradients', ALL_ENVS, () => { it('matmul + relu', async () => { const a = tf.tensor2d([-1,...
the_stack
import {ElementRef, EventEmitter, Injector, Input, OnDestroy, OnInit, Output, ViewChild} from '@angular/core'; import {AbstractComponent} from '@common/component/abstract.component'; import {SelectComponent} from '@common/component/select/select.component'; import {Format} from '@domain/workbook/configurations/format';...
the_stack
import 'mocha'; import 'chai'; import { newDb } from '../db'; import { expect, assert } from 'chai'; import { Types } from '../datatypes'; import { _IDb } from '../interfaces-private'; import { SelectFromStatement, SelectStatement } from 'pgsql-ast-parser'; import { buildValue } from '../expression-builder'; import { p...
the_stack
import { darker, lighter } from "app/client/ui2018/ColorPalette"; import { colors, testId, vars } from 'app/client/ui2018/cssVars'; import { textInput } from "app/client/ui2018/editableLabel"; import { icon } from "app/client/ui2018/icons"; import { isValidHex } from "app/common/gutil"; import { cssSelectBtn } from 'ap...
the_stack
import { tmpdir as osTmpdir } from 'os'; import { join as pathJoin } from 'path'; import { expect } from 'chai'; import { shouldThrow, testSetup, unexpectedResult } from '../../../src/testSetup'; import { fs } from '../../../src/util/fs'; // Setup the test environment. const $$ = testSetup(); describe('util/fs', () =...
the_stack
import * as vscode from 'vscode'; import { JestTotalResults } from 'jest-editor-support'; import { TestStatus } from '../decorations/test-status'; import { statusBar, StatusBar, Mode, StatusBarUpdate, SBTestStats } from '../StatusBar'; import { TestReconciliationState, TestResultProvider, TestResult, resultsWi...
the_stack
import { ethers, upgrades, waffle } from "hardhat"; import { Signer, BigNumberish, utils, Wallet } from "ethers"; import chai from "chai"; import { solidity } from "ethereum-waffle"; import "@openzeppelin/test-helpers"; import { MockERC20, MockERC20__factory, PancakeFactory, PancakeFactory__factory, PancakeRo...
the_stack
import {Component, OnInit, ViewChild, ViewEncapsulation, ChangeDetectorRef, Inject, OnDestroy} from '@angular/core'; import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { FormControl } from '@angular/forms'; import { ToastrService } from 'ngx-toastr'; import {debounceTime, filter...
the_stack
import { App, FileView, ItemView, MarkdownRenderer, MarkdownView, TAbstractFile, TFile, TFolder, Vault, WorkspaceLeaf } from 'obsidian'; import { Elm, ElmApp, Flags } from '../src/Main'; import CardBoardPlugin from './main'; import { getDateFromFile, IPeriodicNoteSettings } from 'obsidian-daily-n...
the_stack
import test from 'japa' import { DateTime } from 'luxon' import { validator as validatorType } from '@ioc:Adonis/Core/Validator' import { rules } from '../src/Rules' import { schema } from '../src/Schema' import { getLiteralType } from '../src/utils' import * as validations from '../src/Validations' import { ApiErrorR...
the_stack
import { RequestOptions as HttpRequestOptions } from 'http'; import { RequestOptions as HttpsRequestOptions } from 'https'; import * as url from 'url'; /** * Represents the interface between ApiClient and a Service Client. * @export * @interface ApiClientMessage */ export interface ApiClientMessage { h...
the_stack
import {Environment} from "../Env"; import {IO} from "../IO"; import {Errors} from "../Errors"; import {Strings} from "./Strings"; import {Lists} from "./List"; import {Maps} from "./Maps"; import {Iter} from "./Iter"; /** * Created by Josh on 2/13/17. */ //AST functions that implement standard library export namesp...
the_stack
import { WeightVectorOption, ErrorCohort, defaultModelAssessmentContext, ModelAssessmentContext, JointDataset, ModelExplanationUtils, FabricStyles, constructRows, constructCols, ModelTypes } from "@responsible-ai/core-ui"; import { IGlobalSeries, LocalImportancePlots } from "@responsible-ai/interpre...
the_stack
import { DataManager, Query } from '@syncfusion/ej2-data'; import { extend } from '@syncfusion/ej2-base'; import { CallbackFunction } from '../../../src/schedule/base/interface'; /** * Schedule datasource spec */ export const defaultData: Record<string, any>[] = [ { Id: 1, Subject: 'Paris', ...
the_stack
import { DbContext } from "@webiny/handler-db/types"; import { SecurityContext, SecurityPermission } from "@webiny/api-security/types"; import { TenancyContext } from "@webiny/api-tenancy/types"; import { I18NContext } from "@webiny/api-i18n/types"; import { ClientContext } from "@webiny/handler-client/types"; import {...
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://adexchangebuyer.googleapis.com/$discovery/rest?version=v2...
the_stack
import Piscina from '@posthog/piscina' import * as IORedis from 'ioredis' import { ONE_HOUR } from '../../src/config/constants' import { startPluginsServer } from '../../src/main/pluginsServer' import { LogLevel } from '../../src/types' import { Hub } from '../../src/types' import { Client } from '../../src/utils/cele...
the_stack
const allHTMLTagsKnownToHumanity = new Set([ "a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", ...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [databrew](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsgluedatabrew.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/...
the_stack
import { Injectable } from '@angular/core'; import { Website } from '../../decorators/website-decorator'; import { MarkdownParser } from 'src/app/utils/helpers/description-parsers/markdown.parser'; import { BaseWebsiteService } from '../base-website-service'; import { LoginProfileManagerService } from 'src/app/login/se...
the_stack
import '@testing-library/jest-dom' import {act, render, screen} from '@testing-library/react' import React from 'react' import {mocked} from 'ts-jest/utils' import userEvent from '@testing-library/user-event' import {Utils} from '../utils' import {TestBlockFactory} from '../test/testBlockFactory' import {mockDOM, wr...
the_stack
import {animationFrameDebounce} from 'neuroglancer/util/animation_frame_debounce'; import {ArraySpliceOp, spliceArray} from 'neuroglancer/util/array'; import {RefCounted} from 'neuroglancer/util/disposable'; import {removeFromParent, updateChildren} from 'neuroglancer/util/dom'; import {Signal} from 'neuroglancer/util/...
the_stack
import {OwlBotAPIChanges} from '../src/process-checks/owl-bot-api-changes'; import {describe, it} from 'mocha'; import assert from 'assert'; import nock from 'nock'; const {Octokit} = require('@octokit/rest'); const octokit = new Octokit({ auth: 'mypersonalaccesstoken123', }); function getPRsOnRepo( owner: strin...
the_stack
import * as POGOProtos from 'node-pogo-protos'; /** * Pogobuf typings created with <3 by hands. */ declare namespace pogobuf { /** * Pokémon Go RPC client. */ export class Client { /** * @param {Object} options Client options (see pogobuf wiki for documentation) */ ...
the_stack
import * as validator from '../utils/validator'; import { deepCopy } from '../utils/deep-copy'; import { AuthClientErrorCode, FirebaseAuthError } from '../utils/error'; /** * Interface representing base properties of a user-enrolled second factor for a * `CreateRequest`. */ export interface BaseCreateMultiFactorInf...
the_stack
import { Component, OnInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; import { DatePipe } from '@angular/common'; import * as xml2js from 'xml2js'; import * as Crypto from 'crypto-js'; interface Importsource { value: string; viewValue: string; } @Component({ selector: 'app-...
the_stack
import { KubernetesObject } from 'kpt-functions'; import * as apiCoreV1 from './io.k8s.api.core.v1'; import * as apisMetaV1 from './io.k8s.apimachinery.pkg.apis.meta.v1'; // StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. // // StorageClasses are...
the_stack
import React = require("react"); var ReactDOM = require("react-dom"); import csx = require('./base/csx'); import { BaseComponent } from "./ui"; import * as ui from "./ui"; import Modal = require('react-modal'); import * as styles from "./styles/styles"; import { debounce, createMap, rangeLimited, getFileName } from ".....
the_stack
import React, {useState, CSSProperties, useEffect, useContext, createRef} from "react"; import {Collapse, Icon, Card, Modal, Menu, Dropdown} from "antd"; import {DownOutlined} from "@ant-design/icons"; import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; import {faCog} from "@fortawesome/free-solid-svg-icons...
the_stack
import { sign } from "tweetnacl"; import { SkynetClient } from "./client"; import { DEFAULT_DOWNLOAD_OPTIONS, CustomDownloadOptions } from "./download"; import { DEFAULT_GET_ENTRY_OPTIONS, DEFAULT_SET_ENTRY_OPTIONS, CustomGetEntryOptions, RegistryEntry, CustomSetEntryOptions, validatePublicKey, } from "./r...
the_stack
import { Injectable } from '@angular/core'; import { CoreLogger } from '@singletons/logger'; import { CoreSites } from '@services/sites'; import { CoreApp } from '@services/app'; import { CoreUser, CoreUserBasicData } from '@features/user/services/user'; import { AddonMessagesOffline, AddonMessagesOfflineAnyMes...
the_stack
import * as Clutter from 'clutter'; import * as Gio from 'gio'; import * as GObject from 'gobject'; import { TaskBarItem } from 'src/layout/msWorkspace/horizontalPanel/taskBar'; import { MsWindow } from 'src/layout/msWorkspace/msWindow'; import { MainCategories } from 'src/layout/msWorkspace/msWorkspaceCategory'; impor...
the_stack
import _ from 'lodash' import React from 'react' import { connect as reduxConnect, Options as ReduxConnectOptions } from 'react-redux' import { Action, Dispatch } from 'redux' import { Shell, AnyFunction, ObservableState, StateObserverUnsubscribe } from './API' import { ErrorBoundary } from './errorBoundary' import { S...
the_stack
* Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use t...
the_stack
jest.mock('../../src/js/wrapper', () => { return { NATIVE: { fetchNativeFrames: jest.fn(), disableNativeFramesTracking: jest.fn(), enableNative: true, }, }; }); import { Transaction } from '@sentry/tracing'; import { EventProcessor } from '@sentry/types'; import { NativeFramesInstrumenta...
the_stack
module PhaserAds { export module AdProvider { export enum GameDistributionAdType { interstitial = 'interstitial', rewarded = 'rewarded', display = 'display' } export enum GameDistributionBannerSize { LargeRectangle, // 336x280 ...
the_stack
import { XmlGeneralNode, XmlNode, XmlParser, XmlTextNode } from '../xml'; import { Zip } from '../zip'; import { Docx } from './docx'; export class DocxParser { /* * Word markup intro: * * In Word text nodes are contained in "run" nodes (which specifies text * properties such as font and color...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/hcxEnterpriseSitesMappers"; import * as Parameters from "../models/parameters"; import { AvsClientContext } from "../avsClientContext"; /** Class representing a HcxEnterpriseSites. */ export class HcxE...
the_stack
import createLayout from 'justified-layout' import { profileLibraryLayout, profileThumbnailRenderer } from 'common/LogConstants' import { PhotoSectionId, PhotoSectionById, LoadedPhotoSection, isLoadedPhotoSection, Photo, PhotoId, PhotoSet } from 'common/CommonTypes' import CancelablePromise, { isCancelError } from 'co...
the_stack
import React, {Suspense} from 'react'; import { Logger, logServerResponse, logCacheControlHeaders, logQueryTimings, getLoggerWithContext, } from './utilities/log'; import {getErrorMarkup} from './utilities/error'; import type { AssembleHtmlParams, RunSsrParams, RunRscParams, ResolvedHydrogenConfig, ...
the_stack
import React, { useMemo, useState, useReducer, useEffect } from "react"; import { makeStyles } from "@material-ui/core/styles"; import DialogTitle from "@material-ui/core/DialogTitle"; import Dialog from "@material-ui/core/Dialog"; import DialogActions from "@material-ui/core/DialogActions"; import Link from "@material...
the_stack
import { DisplayMode } from '@microsoft/sp-core-library'; import { clone } from '@microsoft/sp-lodash-subset'; import { Checkbox, DefaultButton, findIndex, Icon, IconButton, ISlider, Panel, PanelType, Slider, TextField } from 'office-ui-fabric-react'; import * as React from 'react'; import ImageCro...
the_stack
import { GraphQLSchema, GraphQLScalarType, Kind, SelectionSetNode, graphql, OperationTypeNode } from 'graphql'; import { makeExecutableSchema } from '@graphql-tools/schema'; import { wrapSchema, WrapQuery, ExtractField, TransformQuery } from '@graphql-tools/wrap'; import { delegateToSchema, defaultMergedResolver } f...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * A Certificate corresponds to a signed X.509 certificate issued by a Certificate. * * > **Note:** The Certificate Authority that is referenced by this resource **m...
the_stack
import * as _ from "lodash" import * as RedisInst from "redis" const EventEmitter = require("events").EventEmitter /* To create a new instance use: RedisSMQ = require("rsmq") rsmq = new RedisSMQ() Paramenters for RedisSMQ: * `host` (String): *optional (Default: "127.0.0.1")* The Redis server * `port` (Number):...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import * as vscode from 'vscode'; import * as lsp from 'vscode-languageclient/node'; import {ProjectLoadingFinish, ProjectLoadingStart, SuggestStrictMode, SuggestStrictModeParams} from '../common/notifications'; import {NgccProgress, NgccProgressToken, NgccProgre...
the_stack
import {Clipper} from "../../scripts/clipperUI/frontEndGlobals"; import {BookmarkError, BookmarkHelper, BookmarkResult, MetadataKeyValuePair} from "../../scripts/contentCapture/bookmarkHelper"; import {ObjectUtils} from "../../scripts/objectUtils"; import {StubSessionLogger} from "../../scripts/logging/stubSessionLo...
the_stack
import * as XmlNames from './../defs/xml-names'; import * as XmlUtils from './../utils/xml-utils'; import { KdbxTimes } from './kdbx-times'; import { KdbxUuid } from './kdbx-uuid'; import { KdbxEntry } from './kdbx-entry'; import { KdbxCustomData, KdbxCustomDataMap } from './kdbx-custom-data'; import { Icons } from '.....
the_stack
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class MigrationH...
the_stack
import {HfDriver} from "../../src/drivers/hfdriver"; import {TrustIdHf} from "../../src/core/trustidHF"; import {DID} from "../../src/core/did"; import {Wallet} from "../../src/wallet"; import { AccessPolicy, PolicyType} from "../../src/core/trustid"; /* global describe, it, before, after */ const {expect} = require("...
the_stack
import { KeyCodes, MouseButtons } from './input_lite'; export enum OpCode { CONTINUATION = 0, TEXT = 1, BINARY = 2, CLOSE = 8, PING = 9, PONG = 10, INVALID = 255 } ; export enum ImageEncoding { COLOR, GRAYSCALE } ; export enum ClipboardSharing { NOT_SHARED, SHARED } ; expor...
the_stack
import * as assert from "assert"; import * as Azure from "azure-storage"; import { configLogger } from "../../../src/common/Logger"; import StorageError from "../../../src/table/errors/StorageError"; import TableServer from "../../../src/table/TableServer"; import { getUniqueName, overrideRequest, restoreBuildR...
the_stack
import {DemoSharedBase} from '../utils'; import {Screen, Utils} from "@nativescript/core"; import {func, images} from "./games/utils"; declare let Phaser: any, UIDevice; interface AccelerometerData { x: number; y: number; z: number; } type SensorDelay = "normal" | "game" | "ui" | "fastest"; interface Acceleromet...
the_stack
module TDev { export var runnerHost : RunnerHost = null; export class RunnerHost extends RuntimeHostBase { currentRt: Runtime; runMain: () =>void; constructor () { super(); var script = (<any>TDev).precompiledScript; this.currentRt = new Runt...
the_stack
import React, { useState, useMemo, useEffect, useLayoutEffect } from "react"; import { OrgComponent } from "@ui_types"; import { Api, Rbac } from "@core/types"; import { stripUndefinedRecursive } from "@core/lib/utils/object"; import { Link } from "react-router-dom"; import * as g from "@core/lib/graph"; import * as R ...
the_stack
import { CancelablePromise } from './util/promise'; import { indexAsync } from './api/processor'; import { DltFilterConf, DltLogLevel, IIndexDltParams, dltOverSocket, ISocketConfig, IMulticastInfo, indexPcapDlt, pcap2dlt } from './api/dlt'; import indexer, { DLT, Merge, Progress } from './index'; import { ITick...
the_stack
import * as coreClient from "@azure/core-client"; export const CreateConversionSettings: coreClient.CompositeMapper = { type: { name: "Composite", className: "CreateConversionSettings", modelProperties: { settings: { serializedName: "settings", type: { name: "Composite", ...
the_stack
import React, { useCallback, useContext, useEffect, useMemo, ChangeEvent, ReactElement, } from 'react'; import { useDispatch } from 'react-redux'; import moment from 'moment'; import { get, actions } from '../../store'; import { translate as $t, localeComparator, endOfMonth, NO...
the_stack
export interface paths { "/": { get: { responses: { /** OK */ 200: unknown; }; }; }; "/_prisma_migrations": { get: { parameters: { query: { id?: parameters["rowFilter._prisma_migrations.id"]; checksum?: parameters["rowFilter._prisma_migrati...
the_stack
import { JDate } from './jdate'; import {InvalidJalaliDateError} from './InvalidJalaliDate.error'; describe('JDate', () => { let jDate: JDate; beforeEach(() => { jDate = new JDate(); }); describe('JDate Constructor', () => { it('should create an instance', () => { expect(new JDate()).toBeTruthy(...
the_stack
import * as parse from './parse'; describe('parse', () => { const encoder = new TextEncoder(); const decoder = new TextDecoder(); describe('getLines', () => { it('single line', () => { // arrange: let lineNum = 0; const next = parse.getLines((line, fie...
the_stack