text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { Utils } from "./Utils"; export class Cursor { constructor(public offset: number, public line: number, public column: number, public lineStart: number, public lineEnd: number) { } } export class ParseError { constructor(public message: string, public cursor: Cursor = null, public reader: Reader = null...
the_stack
import MockWebSocket from "jest-websocket-mock"; import { Headers, Request } from "undici"; import { mockAccountId, mockApiToken } from "./helpers/mock-account-id"; import { setMockResponse, unsetAllMocks } from "./helpers/mock-cfetch"; import { mockConsoleMethods } from "./helpers/mock-console"; import { useMockIsTTY ...
the_stack
const container = require('@google-cloud/container'); // quickstart takes in the GCP credientials object and a timezone, defaults to central1-a if not specified async function quickstart(GOOGLE_APPLICATION_CREDENTIALS:object, zone:string='us-central1-a') { const client = new container.v1.ClusterManagerClient(GOOGL...
the_stack
import { Inject, Injectable, Optional } from '@angular/core'; import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http'; import { CustomHttpParameterCodec } from '../encoder'; import { Observable }...
the_stack
import { Readable, Writable } from 'stream' import { JdbcStream } from './jdbcstream' import { ifs as createIfs } from './ifs' import { toInsertSql } from './sqlutil' import { createJdbcWriteStream } from './jdbcwritestream' import jvm = require('java') import JSONStream = require('JSONStream') import { defaults } from...
the_stack
* Javascript port of https://github.com/jgm/pandocfilters */ "use strict"; import getStdin from "get-stdin"; /** * type of the JSON file (new syntax, old syntax was just the array of blocks) */ export type PandocJson = { blocks: Block[]; "pandoc-api-version": number[]; meta: PandocMetaMap; }; type FAReturn = vo...
the_stack
import { shell } from "electron"; import { join, extname, basename } from "path"; import { copy, readdir, remove } from "fs-extra"; import * as os from "os"; import * as React from "react"; import { ContextMenu, Menu, MenuItem, Classes, ButtonGroup, Button, Divider, MenuDivider, Tag, Intent } from "@blueprintjs/core";...
the_stack
* @module Pouchy */ import { toUnderscorePrefix } from './to-underscore-prefix' import adapterFind from 'pouchdb-find' import adapterHttp from 'pouchdb-adapter-http' import adapterReplication from 'pouchdb-replication' import defaults from 'lodash/defaults' import get from 'lodash/get' import isNil from 'lodash/isNil'...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { NodeConstraints } from '../../../src/diagram/enum/enum'; import { MarginModel } from '../../../src/diagram/core/appearance-model'; import { NodeModel, BpmnSubProcessModel } from '../../../src/diagram/o...
the_stack
import basem = require('./ClientApiBases'); import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces'); import WorkItemTrackingProcessDefinitionsInterfaces = require("./interfaces/WorkItemTrackingProcessDefinitionsInterfaces"); export interface IWorkItemTrackingProcessDefinitionsApi extends basem.Clien...
the_stack
import { FocusTrap } from "@a11y/focus-trap"; import "@a11y/focus-trap"; import { LitElement, property } from "lit-element"; import styles from "overlay-behavior.scss"; import { sharedStyles } from "../../style/shared"; import { pauseAnimations } from "../../util/animation"; import { CUBIC_BEZIER } from "../../util/con...
the_stack
import { ManagedTable, TableBodyColumn, TableRows, TableBodyRow, TableRowSortOrder, TableHighlightedRows, } from 'flipper'; import { DatabaseEntry, Page, plugin, Query, QueryResult, Structure, } from './index'; import {getStringFromErrorLike} from './utils'; import {Value, renderValue} from './T...
the_stack
import GL from '@luma.gl/constants'; import { render } from '@luma.gl/shadertools/test/gpu-test-utils'; import {isWebGL2} from '../utils/webgl-checks'; import {GLParameters} from './webgl-parameters'; // DEFAULT SETTINGS - FOR FAST CACHE INITIALIZATION AND CONTEXT RESETS /* eslint-disable no-shadow */ export const GL...
the_stack
import { BehaviorSubject, Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { isDefined, isNumber, isObject, isString, } from '@dynatrace/barista-components/core'; import { DtFilterFieldValidator } from './filter-field-validation'; import { DtFilterFieldDataSource } from './filter-field-dat...
the_stack
import { loadModule, FILESTACK_MODULES } from '@filestack/loader'; import { FilestackError, FilestackErrorType } from './../filestack_error'; import { Client } from './client'; import { FSProgressEvent, UploadOptions, WorkflowConfig } from './api/upload/types'; import { getValidator, PickerParamsSchema } from './../sch...
the_stack
import { arrayWith, expect as expectCDK, haveResource, haveResourceLike, stringLike, } from '@aws-cdk/assert'; import { GenericWindowsImage, IVpc, SecurityGroup, SubnetSelection, SubnetType, Vpc, } from '@aws-cdk/aws-ec2'; import { DockerImageAsset, } from '@aws-cdk/aws-ecr-assets'; import { C...
the_stack
import { Component } from 'react' import { Button, IconButton } from '@instructure/ui-buttons' import { Flex } from '@instructure/ui-flex' import { Img } from '@instructure/ui-img' import { Link } from '@instructure/ui-link' import { List } from '@instructure/ui-list' import { Text } from '@instructure/ui-text' import...
the_stack
import {forkJoin, Observable, of} from 'rxjs'; import {isNullOrUndefined} from '../common/util'; import {catchError, map} from 'rxjs/operators'; import { FILETYPE_XTB, FORMAT_XMB, IICUMessage, IICUMessageTranslation, ITranslationMessagesFile, ITransUnit, TranslationMessagesFileFactory } from '@ngx-i18nsup...
the_stack
import * as Fs from 'fs' import { v4 as uuid } from 'uuid' import { findIndex, fromPairs, omit } from 'lodash' import { ApplicationWindow } from '@main/application-window' import { state } from '@lib/state' import { Project as ProjectState } from '@lib/state/project' import { ProjectEventEmitter } from '@lib/frameworks...
the_stack
namespace phasereditor2d.scene.core.code { import io = colibri.core.io; import ISceneGameObject = ui.sceneobjects.ISceneGameObject; import Container = ui.sceneobjects.Container; import Layer = ui.sceneobjects.Layer; export class SceneCodeDOMBuilder { private _scene: ui.Scene; priv...
the_stack
import 'jest-extended'; import FormData from 'form-data'; import { BaseResource, RequesterType } from '@gitbeaker/requester-utils'; import { RequestHelper } from '../../../src/infrastructure/RequestHelper'; /* eslint no-empty-pattern: 0 */ /* eslint prefer-destructuring: 0 */ function mockLink(url: string, page: numbe...
the_stack
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { CreateClusterCommand, CreateClusterCommandInput, CreateClusterCommandOutput, } from "./commands/CreateClusterCommand"; import { CreateControlPanelCommand, CreateControlPanelCommandInput, CreateControlPanelCommandOutput, }...
the_stack
import path from 'path'; import markdownMagic from 'markdown-magic'; import logDefinitions, { LogDefinitionTypes } from '../resources/netlog_defs'; import NetRegexes from '../resources/netregexes'; import { UnreachableCode } from '../resources/not_reached'; import Regexes from '../resources/regexes'; import L...
the_stack
import { lint } from "stylelint" import { containsDeprecatedKaizenTokenWithNoReplacement, cssVariableUsedWithinUnsupportedFunction, invalidEquationContainingKaizenTokenMessage, kaizenVariableUsedNextToOperatorMessage, negatedKaizenVariableMessage, replacementCssVariableUsedWithinUnsupportedFunction, depre...
the_stack
import * as fse from 'fs-extra'; import * as crypto from 'crypto'; import * as io from './io'; import { join, relative, normalize, extname, } from './path'; import { Repository } from './repository'; import { getPartHash, HashBlock, MB20, StatsSubset, } from './common'; const sortPaths = require('sort-paths'); e...
the_stack
import { ElementLayouter, PdfLayoutResult, PdfLayoutParams } from './element-layouter'; import { RectangleF, SizeF, PointF } from './../../../drawing/pdf-drawing'; import { PdfPage } from './../../../pages/pdf-page'; import { PdfShapeElement } from './pdf-shape-element'; import { PdfLayoutBreakType, PdfLayoutType } fro...
the_stack
import { Vec3, v3 } from './Vec3'; import { Euler } from './Euler'; import { Quat } from './Quat'; export class Mat4 { elements: number[] = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]; isMat4: boolean = true; constructor() { if (arguments.length > 0) { console.error( " Mat4: the constructo...
the_stack
// @ts-ignore import * as gax from 'google-gax'; // @ts-ignore import {Callback, CallOptions, ClientOptions, Descriptors, GaxCall, LROperation, PaginationCallback,} from 'google-gax'; // @ts-ignore import {RequestType} from 'google-gax/build/src/apitypes'; import {Transform} from 'stream'; import * as protos from '../...
the_stack
import type * as grpc from '@grpc/grpc-js' import type { MethodDefinition } from '@grpc/proto-loader' import type { BlockRequest as _google_showcase_v1beta1_BlockRequest, BlockRequest__Output as _google_showcase_v1beta1_BlockRequest__Output } from '../../../google/showcase/v1beta1/BlockRequest'; import type { BlockResp...
the_stack
export interface CacheObject { /** Subresource Integrity hash for the content this entry refers to. */ integrity: string; /** Key the entry was looked up under. Matches the key argument. */ key: string; /** User-assigned metadata associated with the entry/content. */ metadata?: any; /** File...
the_stack
import { not } from "../../Data/Bool" import { cnst } from "../../Data/Function" import { fmap } from "../../Data/Functor" import { Lens_, over, view } from "../../Data/Lens" import { elemF, filter, fromArray, List } from "../../Data/List" import { bindF, ensure, fromMaybe, Just, liftM2, Maybe, Nothing, or } from "../....
the_stack
import utils from '@eventcatalog/utils'; import path from 'path'; import fs from 'fs-extra'; import plugin from '../index'; import awsClientSchemasMocks from './assets/aws-mock-responses/client-schemas'; import awsEventBridgeMocks from './assets/aws-mock-responses/client-eventbridge'; import eventSnapshots from './as...
the_stack
import { GraphTooltip } from './graph_tooltip'; import { ThresholdManager } from './threshold_manager'; import { convertValuesToHistogram, getSeriesValues } from './histogram'; import { GraphCtrl } from './module'; import $ from 'jquery'; import './vendor/flot/jquery.flot'; import './vendor/flot/jquery.flot.selection...
the_stack
import { BloomFilter } from 'bloomfilter' import { HighlightedLinkProps, offsetSum, RangePosition } from '../components/fuzzyFinder/HighlightedLink' import { FuzzySearch, IndexingFSM, FuzzySearchParameters, FuzzySearchResult, SearchValue } from './FuzzySearch' import { Hasher } from './Hasher' /** * We don't index ...
the_stack
import _ from 'lodash'; import moment from 'moment'; import angular from 'angular'; import * as dateMath from 'app/core/utils/datemath'; import appEvents from 'app/core/app_events'; import TableModel from 'app/core/table_model'; System.config({ meta: { 'https://apis.google.com/js/api.js': { exports: 'gapi'...
the_stack
import { $TSAny, $TSContext, $TSObject, pathManager, readCFNTemplate, stateManager, writeCFNTemplate } from 'amplify-cli-core'; import { printer, prompter } from 'amplify-prompts'; import _ from 'lodash'; import * as path from 'path'; import { v4 as uuid } from 'uuid'; import { categoryName, functionCategoryName } from...
the_stack
import React, { useCallback, useMemo, useState } from "react" import { observer } from "mobx-react-lite" import { useHistory, useParams } from "react-router" import { cloneDeep, snakeCase, uniqueId } from "lodash" // @Types import { CommonSourcePageProps } from "ui/pages/SourcesPage/SourcesPage" import { SourceConnecto...
the_stack
/// <reference types="jquery" /> declare namespace JQueryTooltipster { /** * Tooltipster options @see http://iamceege.github.io/tooltipster/ */ export interface ITooltipsterOptions { /** * Determines how the tooltip will animate in and out. In addition to the built-in transitions, * you may also create c...
the_stack
import { BotFrameworkAdapter, TurnContext } from 'botbuilder'; import { Choice, ChoicePrompt, ComponentDialog, DialogTurnResult, DialogTurnStatus, FoundChoice, OAuthPrompt, PromptValidatorContext, WaterfallDialog, WaterfallStep, WaterfallStepContext, OAuthPromptSettings, Dialog } from 'botbuilder-dialogs'; ...
the_stack
import { hasScrollbars, mixInto } from '../../util/Utils'; import EventObject from '../event/EventObject'; import InternalEvent from '../event/InternalEvent'; import PanningHandler from './PanningHandler'; import { Graph } from '../Graph'; import Cell from '../cell/datatypes/Cell'; import Rectangle from '../geometry/Re...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormMailbox_Information { interface tab_MailboxStatusTab_Sections { MailboxStatusTab_section_1: DevKit.Controls.Section; } interface tab_tab_4_Sections { tab_4_section_1: DevKit.Controls.Section; } interface tab_Mailb...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace Formmsdyn_quotebookingsetup_Information { interface Tabs { } interface Body { /** The name of the custom entity. */ msdyn_name: DevKit.Controls.String; notescontrol: DevKit.Controls.Note; /** Owner Id */ OwnerId:...
the_stack
import { CrochetValue, ForeignInterface } from "../../../build/crochet"; export default (ffi: ForeignInterface) => { const known_tags = ["h1", "h2", "p", "header", "section", "strong", "em"]; //#region Selections const references = new WeakMap<CrochetValue, string>(); const refered_elements = new WeakMap< ...
the_stack
import { FASTElement } from "@microsoft/fast-element"; import { RenderCommand } from "./commands.js"; import { RouterConfiguration } from "./configuration.js"; import { NavigationContributor } from "./contributors.js"; import { LinkHandler } from "./links.js"; import { NavigationMessage, NavigationQueue } from "./navig...
the_stack
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { XTreeComponent } from './tree.component'; import { Component, DebugElement, Injectable, ChangeDetectorRef, ViewChild } from '@angular/core'; import { By } from '@angular/platform-browser'; import { XTreeModule } from '@ng-nest/ui/tree'; import...
the_stack
import { Side, Snapshot } from '../Snapshot'; import { Change, ChangeType, placeFromStablePlace, StablePlace, StableRange, validateStablePlace, validateStableRange, } from '../default-edits'; import { assert, assertNotUndefined, fail } from '../Common'; import { EditValidationResult } from '../Checkout'; import ...
the_stack
import Adapt, { AdaptMountedElement, AdaptMountedPrimitiveElement, BuiltinProps, ChangeType, childrenToArray, DomError, Group, handle, isElement, PluginOptions, rule, Style, Waiting, } from "@adpt/core"; import * as ld from "lodash"; import should from "should"; impo...
the_stack
import ZRText from 'zrender/src/graphic/Text'; import { LabelLayoutOption } from '../util/types'; import { BoundingRect, OrientedBoundingRect, Polyline } from '../util/graphic'; import type Element from 'zrender/src/Element'; interface LabelLayoutListPrepareInput { label: ZRText labelLine?: Polyline comput...
the_stack
import { MockHistory, MockInstruction } from './shared'; import { History } from 'aurelia-history'; import { Container } from 'aurelia-dependency-injection'; import { Router, NavModel, RouteConfig, PipelineProvider, AppRouter, NavigationInstruction } from '../src/aurelia-router'; let absoluteRoot = 'http:/...
the_stack
import AWS = require('aws-sdk'); import type * as iam from '@aws-cdk/aws-iam'; import type * as lambda from '@aws-cdk/aws-lambda'; import type * as cdk from '@aws-cdk/core'; import { Json } from '@punchcard/shape-json'; import { any, AnyShape, Mapper, MapperFactory, NothingShape, Pointer, Shape, Value } from '@punch...
the_stack
'use strict'; import nls = require('vs/nls'); import { TPromise } from 'vs/base/common/winjs.base'; import { Builder, $ } from 'vs/base/browser/builder'; import URI from 'vs/base/common/uri'; import { ThrottledDelayer } from 'vs/base/common/async'; import errors = require('vs/base/common/errors'); import paths = requi...
the_stack
import { GlobalProps } from 'ojs/ojvcomponent'; import { ComponentChildren } from 'preact'; import { editableValue, editableValueEventMap, editableValueSettableProperties } from '../ojeditablevalue'; import { JetElement, JetSettableProperties, JetElementCustomEvent, JetSetPropertyType } from '..'; export interface ojSw...
the_stack
import './mock_browser_for_node'; import canvas from 'canvas'; import path, {dirname} from 'path'; import fs from 'fs'; import {PNG} from 'pngjs'; import pixelmatch from 'pixelmatch'; import {fileURLToPath} from 'url'; import glob from 'glob'; import nise from 'nise'; import {createRequire} from 'module'; import rtlTex...
the_stack
import * as expect from "expect"; import * as simple from "simple-mock"; import { ConsoleLogger, DeviceKeyAlgorithm, EncryptedFile, LogService, MatrixClient, RoomEncryptionAlgorithm, } from "../../src"; import { createTestClient, TEST_DEVICE_ID } from "../MatrixClientTest"; import { InternalOlmM...
the_stack
import {Component, Input, SimpleChange, HostListener, ViewChild, ElementRef} from '@angular/core'; import { Subject } from "rxjs"; export interface planCount { nodesCnt: number, levelsCnt: number } @Component({ selector: 'plan-viewer', templateUrl: 'plan-viewer.component.html', styleUrls: ['plan-viewer.com...
the_stack
import { bit, byte, memory } from '../types'; import { base64_decode, base64_encode } from '../base64'; import { bytify, debug, toHex } from '../util'; import { NibbleDisk, ENCODING_NIBBLE } from './types'; /** * DOS 3.3 Physical sector order (index is physical sector, value is DOS sector). */ export const DO = [ ...
the_stack
import operationGroup from '@/bkdata-ui/components/operationGroup/operationGroup.vue'; import { showMsg } from '@/common/js/util'; import utils from '@/pages/DataGraph/Common/utils.js'; import DataTable from '@/pages/datamart/common/components/DataTable.vue'; import { BKHttpResponse } from '@/common/js/BKHttpResponse';...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Manages a node pool in a Google Kubernetes Engine (GKE) cluster separately from * the cluster control plane. For more information see [the official documentation](...
the_stack
import Context from './../../src/lib/context'; import util from './../../src' import { getData } from './data'; const { deepClone } = util.data; describe('@idraw/board: src/lib/context', () => { const options = { width: 600, height: 400, contextWidth: 1000, contextHeight: 900, devicePixelRatio: ...
the_stack
import {Mutable, Class, Arrays, ObserverType} from "@swim/util"; import {Affinity, Provider} from "@swim/component"; import {R2Box, Transform} from "@swim/math"; import { ViewContextType, ViewContext, ViewFlags, View, ViewWillRender, ViewDidRender, ViewWillRasterize, ViewDidRasterize, ViewWillComposit...
the_stack
import * as XmlNames from './../defs/xml-names'; import * as XmlUtils from './../utils/xml-utils'; import { KdbxTimes } from './kdbx-times'; import { AutoTypeObfuscationOptions, Icons } from '../defs/consts'; import { ProtectedValue } from '../crypto/protected-value'; import { KdbxCustomData, KdbxCustomDataMap } from '...
the_stack
import {Injectable} from "@angular/core"; import {Issue} from "cwlts/models/helpers/validation"; import * as cwlSchemas from "cwlts/schemas"; import {WebWorker} from "../../core/web-worker/web-worker"; import {WebWorkerBuilderService} from "../../core/web-worker/web-worker-builder.service"; declare const jsyaml; decl...
the_stack
declare namespace PIXI.filters { class AdjustmentFilter extends PIXI.Filter { constructor(options?: AdjustmentOptions); /** * The amount of luminance (default: 1) */ gamma?: number; /** * The amount of color saturation (default: 1) */ saturation?: number; /** * The a...
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 { Nullable, Undefinable } from "../../../shared/types"; import * as React from "react"; import { Classes, ContextMenu, Intent, Menu, MenuDivider, MenuItem, Pre, Tag } from "@blueprintjs/core"; import Chart, { ChartDataSets } from "chart.js"; import "chartjs-plugin-dragdata"; import "chartjs-plugin-zoom"...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/billingRoleAssignmentsMappers"; import * as Parameters from "../models/parameters"; import { BillingManagementClientContext } from "../billingManagementClientContext"; /** Class representing a BillingR...
the_stack
import { Clipboard, CommandRegistry, Config, ContextMenuManager, DeserializerManager, Disposable, GrammarRegistry, HistoryManager, KeymapManager, MenuManager, NotificationManager, PackageManager, Project, StyleManager, TextEditorRegistry, ThemeManager, ...
the_stack
import {FocusKeyManager} from '@angular/cdk/a11y'; import {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion'; import {SelectionModel} from '@angular/cdk/collections'; import {A, ENTER, hasModifierKey, SPACE} from '@angular/cdk/keycodes'; import {_getFocusedElementPierceShadowDom} from '@angular/cdk/plat...
the_stack
import axios from 'axios'; import * as BluePromise from 'bluebird'; import * as Debug from 'debug'; import { coerce, satisfies } from 'semver'; import config from '../config'; import { ExpressBrainDriver } from '../expressBrainDriver'; import * as Models from '../models'; import * as Brain from './brain'; import buildB...
the_stack
import { ProgramState } from './model' import { Injectable } from '@angular/core' import * as SupplyChainAdapter from '../supply-chain-adapter' import * as Blockchain from 'blockchain-js-core' export type RsaKeyPair = { privateKey: string; publicKey: string; } export interface OnBlockchainMessage { id: st...
the_stack
import * as React from 'react'; import styles from './SpupsProperySync.module.scss'; import * as strings from 'SpupsProperySyncWebPartStrings'; import { DisplayMode } from '@microsoft/sp-core-library'; import { WebPartTitle } from "@pnp/spfx-controls-react/lib/WebPartTitle"; import { Placeholder } from "@pnp/spfx-contr...
the_stack
import { app, BrowserWindow, ipcMain } from 'electron'; import process = require('process'); import path = require('path'); import child_process = require('child_process'); import { AppMenu, LocaleString } from './appMenus'; import { isLinux } from '../utils/platform'; import { WindowSettings } from './windowSettings';...
the_stack
import { QueryQueue } from '../../src/orchestrator/QueryQueue'; export const QueryQueueTest = (name: string, options?: any) => { describe(`QueryQueue${name}`, () => { let delayCount = 0; const delayFn = (result, delay) => new Promise(resolve => setTimeout(() => resolve(result), delay)); let cancelledQuer...
the_stack
import { GraphicsIR, IDiagramArtist, Group, Text, mat3, safeAssign, Point, calculateTextDimensions, getPointAt, Rect, PathCommand, } from '@pintora/core' import { ErDiagramIR, Identification, Entity, Relationship } from './db' import { ErConf, getConf } from './config' import { createLayoutGraph, ...
the_stack
import { Context } from '@textile/context' import { Identity, PrivateKey } from '@textile/crypto' import { ThreadID } from '@textile/threads-id' import { expect } from 'chai' import { Client, getFunctionBody, JSONSchema3or4, Update } from './index' import { Event, ReadTransaction, Where, WriteTransaction } from './mode...
the_stack
export const enum errorCode { ERR_NO_ERROR = 0, /** GENERIC ERRORS */ ERR_MISSING_PARAMETERS = 1000, // Missing Parameters for the specified api endpoint ERR_INVALID_BODYTYPE = 1001, // Invalid Body Type; used by put / post handlers for parameter verification ERR_WRONG_PARAMETER_TYPE = 1002, // Wrong Parame...
the_stack
import { ComboBox, IComboBox, IComboBoxOption, Link, PrimaryButton, Stack, TextField } from '@fluentui/react' import React, { useEffect, useState } from 'react' import { useDispatch, useSelector } from 'react-redux' import { StepWizardChildProps, StepWizardProps } from 'react-step-wizard' import { StackGap10, StackGap5...
the_stack
import { withI18n, i18nMark } from "@lingui/react"; import { Trans, t } from "@lingui/macro"; import mixin from "reactjs-mixin"; import { Modal, Tooltip } from "reactjs-components"; import PropTypes from "prop-types"; import * as React from "react"; import { Icon, InfoBoxInline } from "@dcos/ui-kit"; import { purpleLig...
the_stack
import Long from "long"; import _m0 from "protobufjs/minimal"; import { Coin } from "../../cosmos/base/v1beta1/coin"; import { Any } from "../../google/protobuf/any"; import { EthereumSigner } from "../../gravity/v1/gravity"; export const protobufPackage = "gravity.v1"; /** * MsgSendToEthereum submits a SendToEthere...
the_stack
import crypto from 'crypto'; import { promises as fs } from 'fs'; import path from 'path'; import { IOAuthController, IAPIController, JacksonOption, OAuthReqBody, OAuthTokenReq, SAMLResponsePayload, } from '../src/typings'; import sinon from 'sinon'; import tap from 'tap'; import { JacksonError } from '../s...
the_stack
import { Kind } from 'graphql/language'; import { GraphQLNonNegativeInt } from '../src/scalars/NonNegativeInt'; import { GraphQLUnsignedInt } from '../src/scalars/UnsignedInt'; describe('NonNegativeInt', () => { describe('valid', () => { describe('greater than zero', () => { describe('as int', () => { ...
the_stack
import Permissions from './permissions'; export const RESOURCE_KEYS = { ABOUT: { EDITION_AND_LICENSE: 'about.edition_and_license', }, REPORTING: { SITE_STATISTICS: 'reporting.site_statistics', TEAM_STATISTICS: 'reporting.team_statistics', SERVER_LOGS: 'reporting.server_logs'...
the_stack
export interface DescribeFaceIdResultsRequest { /** * 调用方信息 */ Caller: Caller; /** * 慧眼业务ID */ WbAppId: string; /** * 订单号(orderNo); 限制在3个或以内 */ OrderNumbers: Array<string>; /** * 1:视频+照片,2:照片,3:视频,0(或其他数字):无; 可选 */ FileType?: number; } /** ...
the_stack
import BitArray from '../../common/BitArray'; import IllegalArgumentException from '../../IllegalArgumentException'; import StringUtils from '../../common/StringUtils'; import BitMatrix from '../../common/BitMatrix'; import AztecCode from './AztecCode'; import ReedSolomonEncoder from '../../common/reedsolomon/ReedSolom...
the_stack
import { EventEmitter2 } from 'eventemitter2'; /** * Represents a generic callback which receives a single TreeNode argument. */ export interface NodeIteratee { (node: TreeNode): any; } /** * Represents a processor for nodes matched during search. */ export interface MatchProcessor { (matches: TreeNodes):...
the_stack
import { Component, Element, Prop, Watch, h, Event, EventEmitter } from '@stencil/core'; import { select, event } from 'd3-selection'; import { min, max } from 'd3-array'; import { linkHorizontal } from 'd3-shape'; import { easeCircleIn } from 'd3-ease'; // import { IAlluvialDiagramProps } from './alluvial-diagram-pro...
the_stack
import 'colors'; import { ts } from '@ts-morph/common'; import cheerio = require('cheerio'); import fs = require('fs'); import glob = require('glob'); import request = require('request'); import { Project, Scope, SourceFile } from 'ts-morph'; import { Operator, ResourceTypes } from '../shared'; import { AccessLevelLi...
the_stack
import { Touch, SwipeEventArgs } from '../src/touch'; import { Browser } from '../src/browser'; import { createElement } from '../src/dom'; /*tslint:disable */ let touchTestObj: any; interface CommonArgs { changedTouches?: any[]; clientX?: number; clientY?: number; target?: Element | HTMLElement; ...
the_stack
import React from 'react'; import {mount} from 'enzyme'; import {filter, JSONRender, FuncCustomerArgs} from 'rcre'; import {RCRETestUtil} from 'rcre-test-tools'; import moxios from 'moxios'; import axios from 'axios'; // import {CoreKind} from '../../../../packages/rcre/src/types'; describe('FormItem', () => { bef...
the_stack
// ==================================================== // GraphQL mutation operation: updateBlockCellMutation // ==================================================== export interface updateBlockCellMutation_update_block_block_Channel_user { __typename: "User"; id: number; name: string; href: string | null; } ...
the_stack
* Tekton Hub * HTTP services for managing Tekton Hub * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as globalImportUrl from 'url'; impo...
the_stack
import SnippetProvider from "./SnippetProvider"; import Consts from './Consts'; import * as vscode from 'vscode'; const DOMParser = require('xmldom').DOMParser; export default class InsertCommands { static InsertClaimType() { let UserInputTypeList = ['TextBox', 'Radio Single Select', 'Dropdown Single Sele...
the_stack
import * as cdk from '@aws-cdk/core'; import * as ec2 from '@aws-cdk/aws-ec2'; import * as iam from '@aws-cdk/aws-iam'; import * as neptune from '@aws-cdk/aws-neptune'; import * as ecs from '@aws-cdk/aws-ecs'; import * as es from '@aws-cdk/aws-elasticsearch'; import * as elbv2 from '@aws-cdk/aws-elasticloadbalancingv2'...
the_stack
import { BaseResource } from 'ms-rest-azure'; import { CloudError } from 'ms-rest-azure'; import * as moment from 'moment'; export { BaseResource } from 'ms-rest-azure'; export { CloudError } from 'ms-rest-azure'; /** * @class * Initializes a new instance of the Resource class. * @constructor * The Resource mode...
the_stack
import * as DiscoveryError from "../../../../../main/js/generated/joynr/types/DiscoveryError"; import * as ProviderScope from "../../../../../main/js/generated/joynr/types/ProviderScope"; import Arbitrator from "../../../../../main/js/joynr/capabilities/arbitration/Arbitrator"; import DiscoveryEntryWithMetaInfo from "....
the_stack
import { IMethods, IIterator } from "../intefaces/index"; import { Utils } from '../utils/index'; import { WhereClause, SelectClause, SelectManyClause, JoinClause, LeftJoinClause, OrderByClause, OrderByDescendingClause, GroupByClause, GroupJoinClause, FirstClause, LastClause, CountClause, SumClause, Avarage...
the_stack
import { Promise } from "bluebird"; import Debug from "debug"; import { Kafka, Admin, Consumer, SASLMechanism, KafkaMessage } from "kafkajs"; import fs from "fs"; import { EventEmitter } from "events"; import { BatchConfig, LagStatus, JSKafkaConsumerConfig, KafkaLogger, ConsumerStats, AnalyticsConfig } from "../interfa...
the_stack
import type { Renderer } from './compose_ts'; import type * as SDK from 'balena-sdk'; import type Dockerode = require('dockerode'); import * as path from 'path'; import type { Composition, ImageDescriptor } from 'resin-compose-parse'; import type { BuiltImage, ComposeOpts, ComposeProject, Release, TaggedImage, } f...
the_stack
declare module com { export module google { export module android { export module gms { export module auth { export module api { export class Auth { public static class: java.lang.Class<com.google.android.gms.auth.api.Auth>; public static PROXY_API: com.google.android.gms.common.api.A...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormPublisher_Information { interface tab__70098AD5_4956_11DD_982E_00188B01DCE6_Sections { _70098AD6_4956_11DD_982E_00188B01DCE6: DevKit.Controls.Section; _EAF2EDB4_7C5E_DD11_940F_00155D8AC303: DevKit.Controls.Section; des...
the_stack