text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { Items, TradeOffer, ItemsDict } from '@tf2autobot/tradeoffer-manager'; import SKU from '@tf2autobot/tf2-sku'; import Currencies from '@tf2autobot/tf2-currencies'; import pluralize from 'pluralize'; import dayjs from 'dayjs'; import PriceCheckQueue from './requestPriceCheck'; import Bot from '../../../Bot'; imp...
the_stack
namespace wordBreakers { export namespace data { // Automatically generated file. DO NOT MODIFY. /** * Valid values for a word break property. */ export const enum WordBreakProperty { Other, LF, Newline, CR, WSegSpace, Double_Quote, Single_Quote, MidNum, MidNumLet, Numeric, MidLetter, ALetter,...
the_stack
import * as debug_ from "debug"; import { BrowserWindow, globalShortcut } from "electron"; import { Headers } from "node-fetch"; import { ToastType } from "readium-desktop/common/models/toast"; import { authActions, historyActions, toastActions } from "readium-desktop/common/redux/actions"; import { takeSpawnEvery } fr...
the_stack
import * as functions from "firebase-functions"; import * as admin from "firebase-admin"; import { PubSub } from "@google-cloud/pubsub"; import equal from "fast-deep-equal"; import { loadAuthorMetadata, loadProjectMetadata } from "./metadata"; import { loadBlogStats, makeRepoStats } from "./stats"; import { deleteA...
the_stack
import { FlowKind, ShapeBpmnElementKind, ShapeUtil } from '../../../model/bpmn/internal'; import { AssociationDirectionKind, SequenceFlowKind } from '../../../model/bpmn/internal/edge/kinds'; import { MarkerIdentifier, StyleDefault, StyleIdentifier } from '../StyleUtils'; import { BpmnMxGraph } from '../BpmnMxGraph'; i...
the_stack
import { createElement, attributes, Browser, L10n, EmitType, isUndefined, detach } from '@syncfusion/ej2-base'; import { isNullOrUndefined, EventHandler } from '@syncfusion/ej2-base'; import { createSpinner, showSpinner } from '@syncfusion/ej2-popups'; import { Uploader } from '../src/uploader/uploader'; import {profi...
the_stack
import { expandAtIndex, expandAtIndexes, expandByIds, expandByIdsWithInfo, collapseAtIndexes, collapseAtIndex, sortTreeData, } from './index'; xdescribe('expandAtIndexes', () => { it('index', () => { const dataSource = expandAtIndexes( [ { id: 2, nodes: [{ id: 3 }, { id: 4 }] }, ...
the_stack
* {@link Laika | `Laika`} is the place where most of the magic happens. * All the operations are routed through its Apollo Link, and Laika can decide what happens to them along the way. * By default every connection is passed through and no additional action is taken. * * If you're using createGlobalLaikaLink, an i...
the_stack
import { ISPLists, ISPListItems, ISPListItem } from './ISPList'; import { IWebPartContext } from '@microsoft/sp-webpart-base'; import { ISimpleCarouselWebPartProps } from './ISimpleCarouselWebPartProps'; import { Environment, EnvironmentType } from '@microsoft/sp-core-library'; import { SPHttpClient, SPHttpClientRespon...
the_stack
/// <reference types="node" /> declare class Request { private configure; constructor(configure: { host: string; apiKey?: string | undefined; accessToken?: string | undefined; timeout?: number | undefined; }); get<T>(path: string, params?: any): Promise<T>; post<T>(p...
the_stack
import { Observable } from 'rxjs/Observable'; import { map } from 'rxjs/operators'; import IHttpClient from '../IHttpClient'; import { inject, injectable } from 'inversify'; import { IAPIConfiguration } from '../IAPIConfiguration'; import { Headers } from '../Headers'; import HttpResponse from '../HttpResponse'; impo...
the_stack
import { spawn, ChildProcess, execSync } from "child_process"; import path from "path"; import vscode from "vscode"; import { attach, NeovimClient } from "neovim"; // eslint-disable-next-line import/no-extraneous-dependencies import { createLogger, transports as loggerTransports } from "winston"; import { HighlightCo...
the_stack
import Page = require('../../../../base/Page'); import Response = require('../../../../http/response'); import V1 = require('../../V1'); import { SerializableClass } from '../../../../interfaces'; type CustomerProfilesEvaluationsStatus = 'compliant'|'noncompliant'; /** * Initialize the CustomerProfilesEvaluationsLis...
the_stack
import { Row, RowKey } from '@t/store/data'; import { Store } from '@t/store'; import { OptRow, OptAppendTreeRow, OptMoveRow } from '@t/options'; import { Column, ColumnInfo } from '@t/store/column'; import { ColumnCoords } from '@t/store/columnCoords'; import { Dimension } from '@t/store/dimension'; import { createVie...
the_stack
import { GaxiosPromise } from 'gaxios'; import { Compute, JWT, OAuth2Client, UserRefreshClient } from 'google-auth-library'; import { APIRequestContext, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions } from 'googleapis-common'; export declare namespace run_v1alpha1 { interface Options extend...
the_stack
* #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
the_stack
import * as assert from 'assert' import { Application } from 'spectron' import { v4 as uuid } from 'uuid' import { load } from 'js-yaml' import * as Selectors from './selectors' import * as CLI from './cli' import * as Common from './common' import * as ReplExpect from './repl-expect' import * as SidecarExpect from '....
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Backend } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { ApiManagementClient } from "../apiManagementCli...
the_stack
import { createDuration } from './datelib/duration' import { mergeProps, isPropsEqual } from './util/object' import { createFormatter } from './datelib/formatting' import { parseFieldSpecs } from './util/misc' import { DateProfileGeneratorClass } from './DateProfileGenerator' // public import { CssDimValue, DateIn...
the_stack
import { expect, test } from '@jest/globals'; import { Injector, InjectorContext, injectorReference } from '../src/injector'; import { provide, Tag } from '../src/provider'; import { InjectorModule } from '../src/module'; import { typeOf } from '@deepkit/type'; import { Inject } from '../src/types'; test('basic', () =...
the_stack
declare namespace photonui { // Base namespace Helpers { function escapeHtml(string: string): void; function uuid4(): string; function cleanNode(node: HTMLElement): void; function getAbsolutePosition(element: HTMLElement|string): { x: number; y: number }; function numberT...
the_stack
import React from 'react'; import { Text, TouchableOpacity, View, } from 'react-native'; import { fireEvent, render, RenderAPI, waitForElement, } from 'react-native-testing-library'; import { light, mapping, } from '@eva-design/eva'; import { ApplicationProvider } from '../../theme'; import { RangeD...
the_stack
import { describe, expect, it } from '@jest/globals' import http from 'http' import path from 'path' import { readFile } from 'fs/promises' import { App } from '../../packages/app/src' import { renderFile } from 'eta' import type { EtaConfig } from 'eta/dist/types/config' import { InitAppAndTest } from '../../test_hel...
the_stack
import { Spreadsheet, DialogBeforeOpenEventArgs, ICellRenderer, completeAction } from '../index'; import { initiateHyperlink, locale, dialog, click, keyUp, createHyperlinkElement, getUpdateUsingRaf, focus } from '../common/index'; import { editHyperlink, openHyperlink, editAlert, removeHyperlink, } from '../common/inde...
the_stack
import { each, indexOf, curry, assert, map, createHashMap } from 'zrender/src/core/util'; import * as graphic from '../../util/graphic'; import * as brushHelper from './brushHelper'; import { BrushPanelConfig, BrushControllerEvents, BrushType, BrushAreaRange, BrushDimensionMinMax } from './BrushController'; imp...
the_stack
import * as React from 'react'; import { DropdownProps, CheckboxProps, GridCellProps } from '@/index.type'; import { GridHead } from './GridHead'; import { GridBody } from './GridBody'; import { sortColumn, pinColumn, hideColumn, moveToIndex, getSchema } from './utility'; import { BaseProps, extractBaseProps } from '@/...
the_stack
import getType from 'cache-content-type'; import compressible from 'compressible'; import contentDisposition from 'content-disposition'; import { OutgoingHttpHeaders, ServerResponse } from 'http'; import { extname } from 'path'; import { Stream } from 'stream'; import * as zlib from 'zlib'; import { Container } from '....
the_stack
import Sinon = require('sinon'); import * as TestOverrides from '../../test-related-lib/TestOverrides'; import * as TestUtils from '../../TestUtils'; import { RuleCatalog } from '../../../src/lib/services/RuleCatalog'; import { CategoryFilter, EngineFilter, LanguageFilter, RuleFilter, RulesetFilter } from '../../../src...
the_stack
import * as path from "path"; import { commands, Disposable, Event, EventEmitter, TreeDataProvider, TreeItem, TreeItemCollapsibleState, Uri, window, workspace } from "vscode"; import { RepositoryChangeEvent, ISvnLogEntry, ISvnLogEntryPath } from "../common/types"; import { exists } from "../fs...
the_stack
import type {Matrix4, Quaternion, Vector3} from '@math.gl/core'; import type {TypedArray, MeshAttribute, TextureLevel} from '@loaders.gl/schema'; export enum DATA_TYPE { UInt8 = 'UInt8', UInt16 = 'UInt16', UInt32 = 'UInt32', UInt64 = 'UInt64', Int16 = 'Int16', Int32 = 'Int32', Int64 = 'Int64', Float32 ...
the_stack
import { Component, JSXComponent, RefObject, Ref, Mutable, Method, Effect, InternalState, } from '@devextreme-generator/declarations'; import { DisposeEffectReturn } from '../../../utils/effect_return.d'; import { BaseWidgetProps } from '../../common/base_props'; import { Scrollbar } from './scrollbar...
the_stack
import { BuiltinTypes, createRefToElmWithValue, CORE_ANNOTATIONS, ElemID, ObjectType, createRestriction, ListType, } from '@salto-io/adapter-api' import * as constants from '../../../constants' import { enums } from '../enums' export const suiteletInnerTypes: ObjectType[] = [] const suiteletElemID = new ElemID(cons...
the_stack
import { addComponent, addEntity, IComponent, removeComponent } from "bitecs"; import { vec3, quat, mat4 } from "gl-matrix"; import { maxEntities, NOOP } from "../config.common"; import { GameState, World } from "../GameTypes"; import { registerEditorComponent } from "../editor/editor.game"; import { ComponentProperty...
the_stack
import { computeDifference } from '@meetalva/util'; import { isEqual, flatMap } from 'lodash'; import * as Mobx from 'mobx'; import { Pattern, PatternSlot } from '../pattern'; import { ElementContent } from '../element'; import { AnyPatternProperty, PatternEnumProperty, PatternProperty, PatternPropertyBase, EnumVa...
the_stack
import React from 'react'; import Link from '@docusaurus/Link'; import Translate, {translate} from '@docusaurus/Translate'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import useBaseUrl from '@docusaurus/useBaseUrl'; import Image from '@theme/IdealImage'; import Layout from '@theme/Layout'; i...
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://www.googleapis.com/discovery/v1/apis/games/v1/rest /// <...
the_stack
import { click, currentRouteName, fillIn } from '@ember/test-helpers'; import { setupMirage } from 'ember-cli-mirage/test-support'; import { percySnapshot } from 'ember-percy'; import { module, test, skip } from 'qunit'; import { timeout } from 'ember-concurrency'; import { t } from 'ember-intl/test-support'; import {...
the_stack
import * as React from "react" import { useState } from "react" import { NavLink, Redirect, Route, useHistory, useLocation, Switch } from "react-router-dom" import { Button, Dropdown, message, Modal, MessageArgsProps, Tooltip, notification, Popover } from "antd" // @Components import { BreadcrumbsProps, withHome, Bread...
the_stack
import { PdfLayoutElement } from './../figures/layout-element'; import { PdfBrush } from './../brushes/pdf-brush'; import { PdfFont } from './../fonts/pdf-font'; import { PdfStandardFont } from './../fonts/pdf-standard-font'; import { PdfPen } from './../pdf-pen'; import { PdfStringFormat } from './../fonts/pdf-string-...
the_stack
import messaging from '@react-native-firebase/messaging' import Log from '../Log/Log' import { sublocale } from '../i18n' import MarketingEvent from '../Marketing/MarketingEvent' import settingsActions from '../../appstores/Stores/Settings/SettingsActions' import config from '../../config/config' import NavStore from...
the_stack
import { VTransmitFile } from "../classes/VTransmitFile"; import { VTransmitUploadContext } from "../classes/VTransmitUploadContext"; import { DriverInterface, UploadResult } from "../core/interfaces"; import { VTransmitEvents, UploadStatuses, ErrType, is_function, } from "../core/utils"; import { Dictionary } from...
the_stack
import * as nakamajs from "@heroiclabs/nakama-js"; import * as nakamajsprotobuf from "../nakama-js-protobuf"; import {generateid, createPage, adapters, AdapterType, matchmakerTimeout} from "./utils"; import {describe, expect, it} from '@jest/globals' import {MatchmakerMatched, PartyPresenceEvent, PartyData, PartyJoinRe...
the_stack
import { BasePlugin, Func, HeaderGetter, HeaderSetter, Span, TraceOptions, MessageEventType, SpanKind, CanonicalCode } from '@opencensus/core' import * as httpModule from 'http' import * as semver from 'semver' import * as shimmer from 'shimmer' import * as url from 'url' import * as uuid from 'uuid' import { kMiddlewa...
the_stack
import { SearchOperator } from "../Queries/SearchOperator"; import { OrderingType } from "./OrderingType"; import { MethodCall } from "./MethodCall"; import { WhereParams } from "./WhereParams"; import { DynamicSpatialField } from "../Queries/Spatial/DynamicSpatialField"; import { SpatialCriteria } from "../Querie...
the_stack
/// <reference types="node" /> /// <reference types="bytebuffer" /> import { EventEmitter } from 'events'; export class CMClient extends EventEmitter { /** * A boolean that indicates whether you are currently connected and the encryption handshake is complete. * 'connected' is emitted when it changes to...
the_stack
import { ExecContext } from "../helperFunctions/ExecContext"; import { getLastOperationTrackingResultCall, ignoredStringLiteral, runIfIdentifierExists, ignoredArrayExpression, createGetMemoArray, getLastOpValueCall, ignoredIdentifier, getTrackingVarName, ignoreNode, createSetMemoValue, getLastOper...
the_stack
'use strict'; import { errors } from 'azure-iot-common'; import * as machina from 'machina'; import * as tss from 'tss.js'; import { Tpm, TPM_HANDLE, TPM_ALG_ID, TPM_RC, TPM_PT, TPMA_OBJECT, TPMT_PUBLIC, TPM2B_PRIVATE } from 'tss.js'; import * as crypto from 'crypto'; import base32Encode = require('base32-encode'); im...
the_stack
const defaultConfig = { debug: { automagic: false, build: false, hooks: false, performance: false, shortcodes: false, stacks: false }, distDir: 'public', srcDir: 'src', rootDir: process.cwd(), build: { numberOfWorkers: -1, shuffleRequests: false, }, server: { prefix: '', }, shortcodes: { ...
the_stack
import { Matrix4 } from 'three' import { Debug, Log, ParserRegistry } from '../globals' import { defaults } from '../utils' import StructureParser from './structure-parser' import Entity, { EntityTypeString } from '../structure/entity' import Unitcell, { UnitcellParams } from '../symmetry/unitcell' import Assembly, { ...
the_stack
import { EventHandler } from '@syncfusion/ej2-base'; import { remove } from '@syncfusion/ej2-base'; import { Chart } from '../chart'; import { Axis } from '../axis/axis'; import { AxisModel } from '../axis/axis-model'; import { ZoomMode } from '../utils/enum'; import { removeElement, RectOption, PolygonOption, createTo...
the_stack
import { handler } from "./github.ts"; import { cleanupDatabase, createContext, createJSONWebhookEvent, } from "../../utils/test_utils.ts"; import { Database } from "../../utils/database.ts"; import { assert, assertEquals } from "../../test_deps.ts"; import { getMeta, s3, uploadMetaJson } from "../../utils/storag...
the_stack
import { ComponentFactoryResolver, ComponentRef, Injectable, ViewContainerRef } from '@angular/core'; import { HttpResponse } from '@angular/common/http'; import { finalize, take } from 'rxjs/operators'; import { forkJoin, Observable, Subject } from 'rxjs'; import { Store } from '@ngrx/store'; import * as parseEmail fr...
the_stack
class KWinDriver implements IDriverContext { public static backendName: string = "kwin"; // TODO: split context implementation //#region implement properties of IDriverContext (except `setTimeout`) public get backend(): string { return KWinDriver.backendName; } public get currentSurfac...
the_stack
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="de_DE"> <context> <name>MlockMainWindow</name> <message> <location filename="mlockmainwindow.ui" line="17"/> <source>MikroLock</source> <oldsource>µlock</oldsource> <translation>MikroLock</translatio...
the_stack
import Delaunay from './delaunay'; const epsilon = 1e-6; class Polygon { _: any[]; constructor() { this._ = []; } moveTo(x: any, y: any) { this._.push([x, y]); } closePath() { this._.push(this._[0].slice()); } lineTo(x: any, y: any) { this._.push([x, y])...
the_stack
/// <reference types="activex-interop" /> declare namespace SHDocVw { // tslint:disable-next-line no-const-enum const enum BrowserBarConstants { AddressBar = 0x0009, Tools = 0x000A, Links = 0x000B, Search = '{30D02401-6A81-11D0-8274-00C04FD5AE38}', Favorites = '{EFA24E61...
the_stack
interface JQuery { progress: SemanticUI.Progress; } declare namespace SemanticUI { interface Progress { settings: ProgressSettings; /** * Sets current percent of progress to value. If using a total will convert from percent to estimated value. */ (behavior: 'set perce...
the_stack
import * as ts from 'typescript'; import * as path from 'path'; export function formatUrl(url: string) { return url.replace(/\\/g, '/'); } // try find declaration in root export function tryFindDeclarationByName(sourceFile: ts.SourceFile, name: ts.EntityName): ts.Declaration { let decl; if (ts.isIdentifier(name...
the_stack
import { Bridge } from "../bridge"; import { get as getLogger } from "./logging"; import PQueue from "p-queue"; import { Counter, Gauge } from "prom-client"; const log = getLogger("MembershipQueue"); export interface ThinRequest { getId(): string; } interface QueueUserItem { type: "join"|"leave"; kickUse...
the_stack
import { PermissionStatus, PermissionResponse, PermissionHookOptions } from 'expo-modules-core'; import { LocationAccuracy, LocationCallback, LocationGeocodedAddress, LocationGeocodedLocation, LocationHeadingCallback, LocationHeadingObject, LocationLastKnownOptions, LocationObject, LocationOptions, LocationPermissionRe...
the_stack
module TDev { export class LayoutMgr { static instance: LayoutMgr = new LayoutMgr(); // Set in initAsync(), default.str public onBoxSelected: () => void = () => { }; public onRendered: () => void = () => { }; public numBoxes: number = 0; public changedtext: string...
the_stack
'use strict'; import { join } from 'path'; import { exec } from 'child_process'; import encoding = require('vs/base/node/encoding'); import * as fs from 'fs'; import pfs = require('vs/base/node/pfs'); import nls = require('vs/nls'); import { TPromise } from 'vs/base/common/winjs.base'; import { IWorkspaceContextServi...
the_stack
import { Directionality } from '@angular/cdk/bidi'; import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'; import { ESCAPE, hasModifierKey, UP_ARROW } from '@angular/cdk/keycodes'; import { ScrollStrategy, OverlayConfig, Overlay, OverlayRef, FlexibleConnectedPositionStrategy, } from '@an...
the_stack
import { AwsEsdkKMSInterface } from './kms_types' import { needs, Keyring, EncryptionMaterial, DecryptionMaterial, SupportedAlgorithmSuites, KeyringTrace, KeyringTraceFlag, EncryptedDataKey, immutableClass, readOnlyProperty, unwrapDataKey, Newable, Catchable, } from '@aws-crypto/material-manag...
the_stack
import { html } from "."; import { deepDiff, diffArrays } from "./diff"; import { Parts } from "./htmlSafeString"; describe("test diffs", () => { it("diff is empty if no difference between parts", () => { const previousState = html`something ${"foo"} blah`; const nextState = html`something ${"foo"} blah`; ...
the_stack
import { BehaviorSubject, Observable, Subject, Subscription } from "rxjs"; import { Auditor } from "./auditor"; import { hook } from "./detect"; import { Detector } from "./detector"; import { hidden } from "./hidden"; import { identify } from "./identify"; import { defaultLogger, Logger, PartialLogger...
the_stack
import { AggregateRewriteData, ConditionalStyle, ConditionalStyleExpression, StyleExpression } from "./AggregateRewriteData"; const root = Symbol("style root"); const STYLE_TYPE = Symbol("style type"); const IMPLICATION_TYPE = Symbol("style type"); interface StyleCondition { type: typeof STYLE_TYPE; style: number...
the_stack
import util from 'somes/util'; import paths from './paths'; import * as fs from 'somes/fs'; import path from 'somes/path'; import keys from 'somes/keys'; import FtrBuild, {PackageJson,native_source,native_header} from './build'; import { getLocalNetworkHost } from 'somes/network_host'; import * as child_process from 'c...
the_stack
export class DomEvents { private handlers = new Map<{ removeEventListener: Function }, { [key: string]: Function[] }>(); constructor(private root: HTMLElement) { } public on(event: string, selector: string, handler: (UIEvent, target?: Element, root?: Element) => any, root?); public on(event: str...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/customersMappers"; import * as Parameters from "../models/parameters"; import { BillingManagementClientContext } from "../billingManagementClientContext"; /** Class representing a Customers. */ export ...
the_stack
import { TextCheckerElement } from "./text-checker-element"; import { TextCheckerCard, TextCheckerPopupElement, TextCheckerPopupElementArgs } from "./text-checker-popup-element"; import type { TextlintMessage, TextlintResult } from "@textlint/types"; import type { TextCheckerElementRectItem } from "./text-checker-store...
the_stack
import * as I from '../lib/interfaces' import 'mocha' import assert from 'assert' import {queryTypes} from '../lib/qrtypes' import sel from '../lib/sel' import {vCmp, vDec, V_EMPTY, vToRange} from '../lib/version' import {bitHas} from '../lib/bit' import {subResults} from '../lib/subvalues' import {inspect} from 'util'...
the_stack
import { AnimationClip } from 'three'; import { Camera } from 'three'; import { EventDispatcher } from 'three'; import { Quaternion } from 'three'; import { Scene } from 'three'; import { Vector3 } from 'three'; /** * Mapping of rotation action to axis */ export declare interface ActionAxes { [CameraA...
the_stack
import { IAbort, IAbortIf, IAbortIfConditionsIsFalse, IAbortIfConditionsIsTrue, IAllowButton, IApplyImpluse, IBigMessage, IChaseGlobalVariableAtRate, IChaseGlobalVariableOverTime, IChasePlayerVariableAtRate, IChasePlayerVariableOverTime, IClearStatus, ICommunicate, ...
the_stack
import { LanguageKeys } from "#lib/i18n/languageKeys"; import { GuildLogEmbed } from "#lib/structures"; import { Events } from "#lib/types/Enums"; import { seconds } from "#utils/common"; import { Emojis } from "#utils/constants"; import { getAuditLogExecutor } from "#utils/util"; import { ApplyOptions } from "@sapphir...
the_stack
import base64js from "base64-js"; import { generateRandomUInt32Array } from "../platform-dependent"; const UINT_32HASH_PRIME = 16777619; /** * Fast high quality 32 bit RNG for consistent guid. * * Good "randomness" (distribution); Period is approximately equal to 3.11*10^37 * Implementation was take from "Numeric...
the_stack
import { UrbanBot, UrbanMessage, UrbanSyntheticEvent, UrbanParseMode } from '@urban-bot/core'; import express from 'express'; import bodyParser from 'body-parser'; import crypto from 'crypto'; import { GraphAPI } from './GraphAPI'; import { FacebookMessageMeta, FacebookPayload } from './types'; import { formatGenericT...
the_stack
import * as React from 'react' import { Icon, Box, Btn, Flex, PrimaryBtn, Text, Link, SPACING_1, SPACING_2, SPACING_3, SPACING_4, SPACING_5, ALIGN_CENTER, ALIGN_STRETCH, C_BLUE, COLOR_SUCCESS, COLOR_WARNING, OVERLAY_LIGHT_GRAY_50, FONT_HEADER_DARK, FONT_SIZE_BODY_2, FONT_SIZE_B...
the_stack
module formFor { /** * Model validation service. */ export class ModelValidator { private $interpolate_:ng.IInterpolateService; private formForConfiguration_:FormForConfiguration; private nestedObjectHelper_:NestedObjectHelper; private promiseUtils_:PromiseUtils; /** * Constructor....
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/experimentsMappers"; import * as Parameters from "../models/parameters"; import { FrontDoorManagementClientContext } from "../frontDoorManagementC...
the_stack
import { Injectable } from '@angular/core'; import { TestBed } from '@angular/core/testing'; import { NgxsDataPluginModule } from '@angular-ru/ngxs'; import { Computed, DataAction, StateRepository } from '@angular-ru/ngxs/decorators'; import { NgxsDataSequence } from '@angular-ru/ngxs/internals'; import { NgxsDataRepos...
the_stack
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest'; import * as moment from 'moment'; import * as models from '../models'; /** * @class * Operations * __NOTE__: An instance of this class is automatically created for an * instance of the TimeSeriesInsightsClient....
the_stack
interface AuthOptions { clientId: string; persistentCache: boolean; redirectUri: string; } interface AzureAuthOptions { /** @param {String} clientId your AzureAuth client identifier */ clientId: string; /** @param {boolean} [persistentCache] should store token cache between the app starts; defaults to true...
the_stack
import * as vscode from "vscode"; import { executeCommand, ExpectedDocument, groupTestsByParentName } from "../utils"; suite("./test/suite/commands/select-lines.md", function () { // Set up document. let document: vscode.TextDocument, editor: vscode.TextEditor; this.beforeAll(async () => { document =...
the_stack
import { Store } from 'antd/lib/form/interface'; import { User } from 'components/task-page/user-selector'; import getCore from 'cvat-core-wrapper'; import { ActionUnion, createAction, ThunkAction } from 'utils/redux'; const core = getCore(); export enum OrganizationActionsTypes { GET_ORGANIZATIONS = 'GET_ORGANIZ...
the_stack
import PodInstance from "../PodInstance"; import PodInstanceStatus from "../../constants/PodInstanceStatus"; import PodFixture from "../../../../../../tests/_fixtures/pods/PodFixture"; const conditions = { unhealthyConditions: { lastChanged: "2019-01-01T12:00:00.000Z", lastUpdated: "2019-01-01T12:00:00.000Z...
the_stack
import { Component, OnInit, OnChanges, EventEmitter, Input, Output } from "@angular/core"; import { queryList } from "../shared/queryList"; declare var $: any; @Component({ selector: "query-blocks", templateUrl: "./app/queryBlocks/queryBlocks.component.html", inputs: [ "detectChange", "editor...
the_stack
import { Utility } from "@hpcc-js/common"; import * as Comms from "./Comms"; function nestedRowFix(row) { if (row.Row && row.Row instanceof Array) { return row.Row.map(nestedRowFix); } else if (row instanceof Object) { for (const key in row) { row[key] = nestedRowFix(row[key]); ...
the_stack
namespace pxt.py { /// /// VARIABLE SCOPE ANALYSIS /// interface VarRead { kind: "read", node: ts.Identifier, varName: string } type VarDeclNodeType = ts.VariableDeclaration | ts.ParameterDeclaration | ts.FunctionExpression | ts.FunctionDeclaration | ts.ArrowFunct...
the_stack
import {MultiClassClassificationModels} from '../../Models'; import React, {useCallback, useEffect, useState, useRef} from 'react'; import {StyleSheet, Text, View} from 'react-native'; import { Canvas, CanvasRenderingContext2D, Image, ImageUtil, media, MobileModel, Module, Tensor, torch, torchvision...
the_stack
import ITreeInitializedInfo from "./ITreeInitializedInfo"; import AttributeManager from "../Base/AttributeManager"; import Utility from "../Base/Utility"; import Constants from "../Base/Constants"; import GomlParser from "./GomlParser"; import XMLReader from "../Base/XMLReader"; import GrimoireInterface from "../Interf...
the_stack
import * as ctx from "../utils/getContext" declare global { interface NexusGen extends NexusGenTypes {} } export interface NexusGenInputs { CharacterWhereInput: { // input type comics?: string[] | null; // [ID!] events?: string[] | null; // [ID!] id?: number | null; // Int modifiedSince?: string ...
the_stack
import { TeamSpeakServer } from "../node/Server" import { ApiKeyScope, ClientType, Codec } from "./enum" import { TeamSpeakQuery } from "../transport/TeamSpeakQuery" export interface ClientSetServerQueryLogin extends TeamSpeakQuery.ResponseEntry { clientLoginPassword: string } export interface ClientFind extends Te...
the_stack
import * as Configuration from "./Configuration"; import * as IC from "./ICProcess"; import * as Messages from "./Messages"; import * as Meta from "./Meta"; import * as Streams from "./Streams"; import * as StringEncoding from "./StringEncoding"; import * as Root from "./AmbrosiaRoot"; import * as Utils from "./Utils/U...
the_stack
import bigInt from 'big-integer' import { assert } from 'chai' import { Utils, XrplNetwork } from 'xpring-common-js' import { XrpError, XrpUtils } from '../../../src' import XrpCurrency from '../../../src/XRP/protobuf-wrappers/xrp-currency' import XrpCurrencyAmount from '../../../src/XRP/protobuf-wrappers/xrp-currency...
the_stack
import { createTail, Tail, TailMessage, TailOptions, setSubtract, ErrorInfo, TailConnection, TailConnectionCallbacks, UnparsedMessage } from './deps_app.ts'; export type TailKey = string; // accountId-scriptId export interface TailControllerCallbacks { onTailCreating(accountId: string, scriptId: string): void; ...
the_stack
import { Droppable, DropEventArgs } from '@syncfusion/ej2-base'; import { isNullOrUndefined, extend } from '@syncfusion/ej2-base'; import { setStyleAttribute, remove, updateBlazorTemplate } from '@syncfusion/ej2-base'; import { getUpdateUsingRaf, appendChildren, setDisplayValue, clearReactVueTemplates } from '../base/u...
the_stack
declare module 'net' { import * as stream from 'stream'; import EventEmitter = require('events'); import * as dns from 'dns'; type LookupFunction = ( hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) =...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { DiagramElement } from '../../../src/diagram/core/elements/diagram-element'; import { NodeModel, PathModel } from '../../../src/diagram/objects/node-model'; import { ShadowModel, RadialGradientModel, St...
the_stack
import { c, cB, cE, cM, cNotM } from '../../../_utils/cssr' import fadeInScaleUpTransition from '../../../_styles/transitions/fade-in-scale-up.cssr' // vars: // --n-bezier // --n-icon-color // --n-icon-color-disabled // --n-panel-border-radius // --n-panel-color // --n-panel-box-shadow // --n-panel-text-color // pa...
the_stack