text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { DescriptorProto, EnumDescriptorProto, EnumValueDescriptorProto, FieldDescriptorProto, FieldDescriptorProto_Type, FieldOptions_JSType, FileDescriptorProto, MethodDescriptorProto, OneofDescriptorProto, ServiceDescriptorProto } from "./google/protobuf/descriptor"; import {A...
the_stack
import * as markdownit from 'markdown-it' import * as path from 'path' import * as vscode from 'vscode' import { withLanguageClient } from '../extension' import { constructCommandString, getVersionedParamsAtPosition, registerCommand } from '../utils' function openArgs(href: string) { const matches = href.match(/^(...
the_stack
import React, { FC, useCallback, useEffect, useRef, useState, } from 'react'; import { useUserUISettings } from '~/client/services/user-ui-settings'; import { useDrawerMode, useDrawerOpened, useSidebarCollapsed, useCurrentSidebarContents, useCurrentProductNavWidth, useSidebarResizeDisabled, useSidebarScr...
the_stack
import * as PropTypes from 'prop-types'; import * as React from 'react'; import { FocusArbitratorProvider } from '../common/utils/AutoFocusHelper'; import { Types } from '../common/Interfaces'; import { applyFocusableComponentMixin } from './utils/FocusManager'; import { isEmpty } from './utils/lodashMini'; import St...
the_stack
import { buildQueryFactory } from "./buildQuery"; import gql from "plain-tag"; import gqlReal from "graphql-tag"; import { GetListParams } from "./buildVariables"; import { IntrospectionResult, Resource } from "./constants/interfaces"; import { getTestIntrospection } from "./testUtils/getTestIntrospection"; 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://www.googleapis.com/discovery/v1/apis/resourceviews/v1beta...
the_stack
import * as s from '../../src/utils/stream'; describe('stream', () => { test('from Set', () => { const stream = s.stream(new Set([1, 2, 3])); expect(stream.toArray()).toMatchObject([1, 2, 3]); }); test('from Map', () => { const stream = s.stream(new Map([['a', 1], ['b', 2], ['c', ...
the_stack
import { ArchDescr, t, // types OpDescription, ZeroWidth, Constant, Commutative, ResultInArg0, ResultNotInArgs, Rematerializeable, ClobberFlags, Call, NilCheck, FaultOnNilArg0, FaultOnNilArg1, UsesScratch, HasSideEffects, Generic, } from "./describe" import { emptyRegSet } from "../ir/...
the_stack
module android.os { import Runnable = java.lang.Runnable; /** * A Handler allows you to send and process {@link Message} and Runnable * objects associated with a thread's {@link MessageQueue}. Each Handler * instance is associated with a single thread and that thread's message * queue. Wh...
the_stack
import * as fs from "fs"; import * as path from "path"; import {uint16, uint32} from "./math"; var crypto = require('crypto'); const INTERESTING8 = new Uint8Array([-128, -1, 0, 1, 16, 32, 64, 100, 127]); const INTERESTING16 = new Uint16Array([-32768, -129, 128, 255, 256, 512, 1000, 1024, 4096, 32767, -128, -1, 0, 1, 1...
the_stack
import {Command} from 'app/client/components/commands'; import {NeedUpgradeError, reportError} from 'app/client/models/errors'; import {colors, testId, vars} from 'app/client/ui2018/cssVars'; import {cssSelectBtn} from 'app/client/ui2018/select'; import {IconName} from 'app/client/ui2018/IconList'; import {icon} from '...
the_stack
import {expect} from 'chai'; import path = require('path'); import Sinon = require('sinon'); import {Controller} from '../../src/Controller'; import {Rule, RuleGroup, RuleTarget} from '../../src/types'; import {CategoryFilter, EngineFilter, LanguageFilter, RuleFilter, RulesetFilter} from '../../src/lib/RuleFilter'; i...
the_stack
import Component from 'vue-class-component'; import Vue from 'vue'; import { log, getLogger } from "extraterm-logging"; import { KeybindingsKeyInput, EVENT_SELECTED, EVENT_CANCELED } from './KeyInputUi'; import { KeybindingsSet, KeybindingsBinding, CustomKeybindingsSet, CustomKeybinding } from '../../../keybindings/Key...
the_stack
let native: any /** * @ignore */ export function setNative(newNative: any) { native = newNative } /** * This identifies the task a model performs. */ export enum Task { Regression = "regression", BinaryClassification = "binary_classification", MulticlassClassification = "multiclass_classification", } /** * T...
the_stack
export as namespace intlTelInput; export = intlTelInput; /** * initialise the plugin with optional options. * @param options options that can be provided during initialization. */ declare function intlTelInput(node: Element, options?: intlTelInput.Options): intlTelInput.Plugin; declare namespace intlTelInput { ...
the_stack
import { state, derivedState, syncedState, setSyncAdapter, combinedState, } from './core' import { Patch } from 'immer' test('state.get()', () => { const s = state({ x: 1 }) expect(s.get()).toStrictEqual({ x: 1 }) }) test('state.get(selector)', () => { const s = state({ x: 1 }) exp...
the_stack
import * as _ from 'underscore'; import { Comments } from '../../lib/collections/comments/collection'; import Conversations from '../../lib/collections/conversations/collection'; import Messages from '../../lib/collections/messages/collection'; import { Posts } from "../../lib/collections/posts/collection"; import { Ta...
the_stack
import * as PIXI from 'pixi.js' import { DisplayObjectWithCulling, AABB } from './types' export interface SpatialHashOptions { size?: number xSize?: number ySize?: number simpleTest?: boolean dirtyTest?: boolean } export interface ContainerCullObject { static?: boolean added?: (object: Dis...
the_stack
import 'chrome://resources/cr_elements/cr_button/cr_button.m.js'; import 'chrome://resources/cr_elements/cr_expand_button/cr_expand_button.m.js'; import 'chrome://resources/cr_elements/cr_link_row/cr_link_row.js'; import 'chrome://resources/cr_elements/cr_toggle/cr_toggle.m.js'; import 'chrome://resources/cr_elements/i...
the_stack
import * as React from "react"; import { Button, ButtonType } from "office-ui-fabric-react"; import { ExcelUtils } from "./ExceLint-core/src/excelutils"; import { ExceLintVector, ProposedFix } from "./ExceLint-core/src/ExceLintTypes"; import { Config } from "./ExceLint-core/src/config"; const barWidth = 100; // pixel ...
the_stack
import { record, getRecordedTrials, getWarmupTrials } from "../record"; import seedrandom from "seedrandom"; import { assert } from "chai"; import { byteLength, Data, getMemoryUsed } from "../util"; const SEED = "42"; const CONCURRENT_NUM_DEVICES = 100; const ROTATE_NUM_DEVICES = 1000; export interface Replica { /*...
the_stack
import { expect as chaiExpect } from "chai"; import { parseCategories, parsePage, getProxyList } from "../src/parser"; import Torrent, { convertOrderByObject } from "../src"; import { baseUrl } from "../src/constants"; const testingUsername = "YIFY"; function torrentFactory() { return Torrent.getTorrent("10676856")...
the_stack
import * as fs from "fs"; import * as path from "path"; import slash = require("slash"); import * as recursiveFs from "recursive-fs"; import * as yazl from "yazl"; import Adapter from "../utils/adapter/adapter" import RequestManager from "../utils/request-manager" import { CodePushUnauthorizedError } from "./code-push-...
the_stack
import * as React from "react"; import * as ReactDOM from "react-dom"; import Cells from "./containers/cells"; import ExNodes from "./containers/exnodes"; import Stickies from "./containers/stickies"; import Inputer from "./containers/inputer"; import {KeyPressble, IKeyPress} from "./mixins/key-pressble"; import She...
the_stack
import { useRef, useState, useCallback, SyntheticEvent, ClipboardEvent, FormEvent, useEffect, useLayoutEffect, } from 'react'; import _uniq from 'lodash/uniq'; import _difference from 'lodash/difference'; import _includes from 'lodash/includes'; import { find as linkifyFind } from 'linkifyjs'; import { ...
the_stack
module WinJSTests { "use strict"; var testHost; var lv; function generateListView(host, rowsPerPage, columnsPerPage, pages, options?) { rowsPerPage = Math.max(rowsPerPage | 0, 1); columnsPerPage = Math.max(columnsPerPage | 0, 1); pages = Math.max(pages | 0, 1); options...
the_stack
import { Injectable } from '@angular/core'; import { Observable, Subject, from, of, BehaviorSubject, forkJoin, empty } from 'rxjs'; import { concatMap, map, tap, switchMap } from 'rxjs/operators'; import { TreeNode } from './interfaces/tree-node'; import { TreeService } from './interfaces/tree-service'; import { NodeM...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Manages a Data Flow inside an Azure Data Factory. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from ...
the_stack
import { ethers, optics } from 'hardhat'; import { expect } from 'chai'; import * as types from 'ethers'; import { formatCall, sendFromSigner } from './utils'; import { increaseTimestampBy } from '../utils'; import { getTestDeploy } from '../testChain'; import { Updater } from '../../lib/core'; import { Signer } from ...
the_stack
'use strict'; // Use untyped import syntax for Node built-ins import https = require('https'); import * as _ from 'lodash'; import * as chai from 'chai'; import * as nock from 'nock'; import * as sinon from 'sinon'; import * as mocks from '../../resources/mocks'; import { ALGORITHM_RS256, DecodedToken, decodeJwt, ...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { AFDEndpoint, AFDEndpointsListByProfileOptionalParams, Usage, AFDEndpointsListResourceUsageOptionalParams, AFDEndpointsGetOptionalParams, AFDEndpointsGetResponse, AFDE...
the_stack
import cx from 'classnames'; import React from 'react'; import ReactDOM from 'react-dom'; import { Keyframes } from 'styled-components'; import { DOCUMENT_BODY, OverlayBehaviorContext, OverlayBehaviorContextType } from '../../providers'; import { mergeRefs } from '../../utils'; import { domUtils } from '../virtual-list...
the_stack
class Core { public readonly mapWidth: number; public readonly mapHeight: number; private readonly map: Direction[][]; private fromX: number; private fromY: number; public constructor(mapWidth: number, mapHeight: number) { this.map = new Array<Direction[]>(mapHeight); ...
the_stack
'use strict'; import { inject, injectable } from 'inversify'; import { ProgressLocation, ConfigurationTarget, Uri, window, workspace } from 'vscode'; import { IApplicationShell, ICommandManager } from '../../../common/application/types'; import { traceInfo, traceError } from '../../../common/logger'; import { IConfigur...
the_stack
import * as lodash from "lodash"; import UpdateFeedInfo from "../types/UpdateFeedInfo"; define(function (require, exports, module) { const _: typeof lodash = node.require("lodash"); const getLogger = node.require("./utils").getLogger; const log = getLogger("UpdateNotification"); const Dialogs ...
the_stack
import _ from 'lodash' import { nanoid } from 'nanoid' import { EntityManager, getManager, getRepository, In, LessThan } from 'typeorm' import { IsolationLevel } from 'typeorm/driver/types/IsolationLevel' import { getIPermission, IPermission } from '../core/permission' import { User } from '../core/user' import { Work...
the_stack
import moment from "moment"; import { TFile,FileSystemAdapter } from "obsidian"; export class DailyNotesFolderMissingError extends Error {} export async function getRemainingTasks(note: TFile): Promise<number> { if (!note) { return 0; } const { vault } = window.app; const fileContents = await vault.cached...
the_stack
import { EditableDocumentData, EditableNodeType, EditableIndentType, EditableTextStyle, EditableAlignType, EditableSizeLevel } from '@wizdm/editable'; import { EditableInline, EditableDocument, EditableContent } from '@wizdm/editable'; import { timeInterval, map, filter } from 'rxjs/operators'; import { Subject, Subscr...
the_stack
import type { SearchParams } from 'elasticsearch'; import * as ts from '@terascope/utils'; import * as p from 'xlucene-parser'; import { SortOrder, GeoDistanceUnit, xLuceneVariables, xLuceneTypeConfig, xLuceneFieldType } from '@terascope/types'; import { CachedTranslator } from '../translator'; impo...
the_stack
import { normalizePath, Plugin } from 'vite' import { crawl } from 'recrawl-sync' import imagemin from 'imagemin' import webp, { Options as WebpOptions } from 'imagemin-webp' import pngquant, { Options as PngOptions } from 'imagemin-pngquant' import { minify as minifyHtml } from 'html-minifier-terser' import { minifyCs...
the_stack
import {PureComponent, createElement as $, RefObject, createRef} from 'react'; import { StyleSheet, Text, View, Platform, ViewStyle, TextStyle, TouchableWithoutFeedback, TouchableOpacity, FlatList, TextInput, } from 'react-native'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons';...
the_stack
import {Component, Input, Output, EventEmitter, OnChanges, AfterViewChecked, ViewChild} from '@angular/core'; import {Select2OptionData} from 'ng2-select2'; import {ModalComponent} from 'ng2-bs3-modal/ng2-bs3-modal'; import * as $ from "jquery" import {downgradeComponent} from '@angular/upgrade/static'; declare var a...
the_stack
import React from 'react'; import { IActa, TActaValue } from './types'; import { isObject } from './isObject'; const actaStoragePrefix = '__acta__'; const actaStoragePrefixLength = actaStoragePrefix.length; const actaEventPrefix = '__actaEvent__'; const actaEventPrefixLength = actaEventPrefix.length; const isInDOM = t...
the_stack
module formFor { /** * SelectField $scope. */ interface SelectFieldScope extends ng.IScope { /** * Allow an empty/blank option in the <select>. * Note that this is a display setting only and is not related to form validation. * (Fields with blank options may still be required.) */ ...
the_stack
namespace ts { const _chai: typeof import("chai") = require("chai"); const expect: typeof _chai.expect = _chai.expect; describe("unittests:: services:: languageService", () => { const files: {[index: string]: string} = { "foo.ts": `import Vue from "./vue"; import Component from "./...
the_stack
import { fabric } from 'fabric'; /** * Edit and render videos. * * @param config - Config. */ declare function Editly(config: Editly.Config): Promise<void>; declare namespace Editly { /** Little utility */ type OptionalPromise<T> = Promise<T> | T; type OriginX = 'left' | 'center' | 'right'; type...
the_stack
import React, { ReactNode } from 'react'; /* eslint-enable */ import { compose, withState, withProps } from 'recompose'; import { map, groupBy, reduce, filter, some, } from 'lodash'; import { Row, Column } from '@ncigdc/uikit/Flex'; import Button from '@ncigdc/uikit/Button'; import { visualizingButton } from '@ncigdc...
the_stack
import {Debugger} from '../common/debugger'; import {Engine} from '../common/engine'; import {SemanticAttr, SemanticRole, SemanticType} from './semantic_attr'; import {SemanticNode} from './semantic_node'; import {SemanticNodeFactory} from './semantic_node_factory'; import * as SemanticPred from './semantic_pred'; impo...
the_stack
import type * as types from "../types.ts"; const LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""); /** * Split line breaks * * @param text * @returns */ export const splitLines = (text: string): string[] => text.split("\n"); /** * Format a block description line * * @param line * @param indent * @returns ...
the_stack
import * as PropTypes from 'prop-types'; const numberProp = PropTypes.oneOfType([PropTypes.string, PropTypes.number]); const numberArrayProp = PropTypes.oneOfType([PropTypes.arrayOf(numberProp), numberProp]); const fillProps = { fill: PropTypes.string, fillOpacity: numberProp, fillRule: PropTypes.oneOf(['evenod...
the_stack
import chalk from 'chalk'; import fs from 'fs'; import https, { Agent as HttpsAgent } from 'https'; import path from 'path'; import FormData from 'form-data'; import axios, { AxiosRequestConfig, AxiosError } from 'axios'; import { TLSSocket } from 'tls'; import { digest, hmac } from './digest'; import { ClientR...
the_stack
process.on('unhandledRejection', err => { console.log("Caught unhandledRejection"); console.log(err); }); 'use strict'; // @ts-ignore const mochaSteps = require('mocha-steps'); const step: Mocha.ITestDefinition = mochaSteps.step; const Map: typeof MapPolyfill = (global as any).Map; import * as request from 're...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Mappers from "./mappers"; import { Operation } from "./operation"; import * as Parameters from "./parameters"; const serializer = new msRest.Serializer(Mappers, true); // specifications for new method group start const serviceSetPropertiesOperationSpec: msRest....
the_stack
import { setup, gql, fakeUser, setupFakeMailer } from './setup' import Supertest from 'supertest' import { auth } from '@tensei/auth' import { rest } from '@tensei/rest' import { text } from '@tensei/common' import { graphql } from '@tensei/graphql' jest.mock('purest', () => { return () => {} }) test('Registers aut...
the_stack
import * as fs from 'fs'; import util from 'util'; import * as Tp from 'thingpedia'; import * as ThingTalk from 'thingtalk'; import JSONStream from 'JSONStream'; import csvparse from 'csv-parse'; import * as StreamUtils from '../../../lib/utils/stream-utils'; import { snakecase } from '../lib/utils'; import { clean } f...
the_stack
import {are_in_browser, initCarr, merge, asyncForEach, asyncSeries, ext_classname, initString, int_classname, descriptor2typestr} from './util'; import SafeMap from './SafeMap'; import {dumpStats} from './methods'; import {ClassData, ReferenceClassData, ArrayClassData} from './ClassData'; import {BootstrapClassLoader, ...
the_stack
import { assertFails, assertSucceeds, firestore, } from '@firebase/rules-unit-testing' import { renderHook } from '@testing-library/react-hooks' import { expectType } from 'tsd' import { FTypes, STypes, TypedFirestore } from '../../core' import { useTypedDocument, useTypedQuery } from '../../hooks' import { _web ...
the_stack
import type {Fiber} from 'react-reconciler'; import type {ReactWrapper} from 'enzyme'; import React, {createRef} from 'react'; import {mount} from 'enzyme'; import {getChildrenIds, getFibersIndices, getFibersKeys} from '../__shared__'; import {addChild, getFiberFromElementInstance} from '../../src'; import {invariant, ...
the_stack
import * as fs from 'fs'; import { Answers, prompt } from 'inquirer'; import * as _ from 'lodash'; import * as path from 'path'; import { clean, gte, minVersion, satisfies, validRange } from 'semver'; import { Args } from '../../Constants'; import { debug, green, l, nl, red } from '../../Helper/Logging'; import { Sent...
the_stack
'use strict'; import { GenericObject } from './../types/index'; import { app, protocol, BrowserWindow, Menu, MenuItemConstructorOptions, Tray, shell, dialog, ipcMain, } from 'electron'; import { createProtocol, installVueDevtools, } from 'vue-cli-plugin-electron-builder/lib'...
the_stack
import { WebDNNWebGLContext, WebGLUniformItem, } from "../../../../interface/backend/webgl/webglContext"; import { WebGLTensor } from "../../../../interface/backend/webgl/webglTensor"; import { OperatorEntry } from "../../../../interface/core/operator"; import { Tensor } from "../../../../interface/core/tensor"; im...
the_stack
import {IOas30NodeVisitor, IOasNodeVisitor} from "../../visitors/visitor.iface"; import {OasExtensibleNode} from "../enode.model"; import {Oas30SchemaDefinition} from "./schema.model"; import {Oas30ResponseDefinition} from "./response.model"; import {Oas30ParameterDefinition} from "./parameter.model"; import {Oas30Exam...
the_stack
import {OasLibraryUtils} from "../src/library.utils"; import {Oas30Document} from "../src/models/3.0/document.model"; import {Oas20Document} from "../src/models/2.0/document.model"; export interface TestSpec { name: string; input: string; expected: string; debug?: boolean; } /** * Tests for the tran...
the_stack
import { PackageInspectorBase } from './PackageInspectorBase'; import { injectable, inject } from 'inversify'; import { Types } from '../../types'; import { IFileInspector } from '../IFileInspector'; import * as TOML from '@iarna/toml'; import { DependencyType, Package, PackageVersion } from '../IPackageInspector'; c...
the_stack
import {isES2015Class, getFunctionName, getTypeOf} from 'core-helpers'; import compact from 'lodash/compact'; import type {Component, ComponentMixin} from './component'; /** * Returns whether the specified value is a component class. * * @param value A value of any type. * * @returns A boolean. * * @category U...
the_stack
import { Component, Input, OnInit } from '@angular/core'; import { LockRepositoryPolicy, SubmissionPenaltyPolicy, SubmissionPolicyType } from 'app/entities/submission-policy.model'; import { ProgrammingExercise } from 'app/entities/programming-exercise.model'; import { FormControl, FormGroup, Validators } from '@angula...
the_stack
import { getVoidLogger } from '@backstage/backend-common'; import { Entity, CompoundEntityRef, DEFAULT_NAMESPACE, } from '@backstage/catalog-model'; import { ConfigReader } from '@backstage/config'; import express from 'express'; import request from 'supertest'; import mockFs from 'mock-fs'; import fs from 'fs-ex...
the_stack
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="en_US"> <context> <name>CompileWindow</name> <message> <location filename="../compilewindow.ui" line="14"/> <source>Compile Script</source> <translation></translation> </message> <message> <l...
the_stack
import { ContractTransaction, ContractInterface, BytesLike as Arrayish, BigNumber, BigNumberish, } from 'ethers'; import { EthersContractContextV5 } from 'ethereum-abi-types-generator'; export type ContractContext = EthersContractContextV5< Issue14Take2, Issue14Take2MethodNames, Issue14Take2EventsConte...
the_stack
import { PageActionPartial } from "./actions"; import { DELETE_CONTENT, DeleteContentAction, INSERT_CONTENT, InsertContentAction, REPLACE_CONTENT, ReplaceContentAction, } from "./contentTree/actions"; import { SENTINEL_CONTENT } from "./contentTree/tree"; import { Color, PageContent, StatePages } from "./pa...
the_stack
import { NestedFormData } from '../../../src/components/form'; import * as form from '../../../src/containers/SidePanel/OptionsPanel/constants'; import { SampleData } from '../../../src/containers/ImportWizardModal/SampleData'; import { GraphSelectors, ColorFixed, ColorLegend, EdgeStyleOptions, EdgeWidthFixed...
the_stack
import urlPath from '../util/url-path'; import crypto from 'crypto'; import BoxClient from '../box-client'; // ----------------------------------------------------------------------------- // Typedefs // ----------------------------------------------------------------------------- /** * A webhook trigger type consta...
the_stack
import traverse from '@babel/traverse' import * as t from '@babel/types' import { SourceTextWithContext } from '../../types' import { LIB_FACTORY_IDENTIFIER, LIB_IDENTIFIER, LIB_IGNORE_FILE, LIB_IGNORE_LINE, LIB_MODULE, } from '../constants' import { toDynamicText, toStaticText } from '../extract/tsx-extracto...
the_stack
import 'promise-polyfill'; import Buffers, { IOBuffer } from '../buffers/buffers'; import Context, { ContextMode } from '../context/context'; import Common from '../core/common'; import Logger from '../logger/logger'; import Vector2 from '../math/vector2'; import Renderer from '../renderer/renderer'; import Textures, {...
the_stack
import 'chrome://resources/cr_elements/cr_icon_button/cr_icon_button.m.js'; import 'chrome://resources/cr_elements/cr_icons_css.m.js'; import 'chrome://resources/cr_elements/cr_page_host_style_css.js'; import 'chrome://resources/cr_elements/cr_toolbar/cr_toolbar.js'; import 'chrome://resources/cr_elements/hidden_style_...
the_stack
import * as std from "tstl"; import { ExternalSystemArray } from "../external/ExternalSystemArray"; import { ParallelSystem } from "./ParallelSystem"; import { InvokeHistory } from "../slave/InvokeHistory"; import { PRInvokeHistory } from "./PRInvokeHistory"; import { Invoke } from "../../protocol/invoke/Invoke"; i...
the_stack
import * as path from "path"; import * as pulumi from "@pulumi/pulumi"; import * as aws from "@pulumi/aws"; import { PulumiApp } from "@webiny/pulumi-sdk"; // @ts-ignore import { getLayerArn } from "@webiny/aws-layers"; import { createLambdaRole, getCommonLambdaEnvVariables } from "../lambdaUtils"; import { StorageOu...
the_stack
import * as microsoftTeams from "@microsoft/teams-js"; import * as constants from "./constants"; import { cardTemplates, appRoot } from "./dialogs/CardTemplates"; import { taskModuleLink } from "./utils/DeepLinks"; declare var appId: any; // Injected at template render time // Helper function for generating an adapti...
the_stack
import { ActionResult, bind, CustomMiddleware, DefaultFacility, HttpCookie, HttpStatusError, Invocation, invoke, PlumierApplication, response, RouteInfo, RouteMetadata, VirtualRoute, Class } from "@plumier/core" import Axios, { AxiosError } from "axios" import cry...
the_stack
import { EmitType, L10n, createElement, isUndefined } from '@syncfusion/ej2-base'; import { SortOrder } from '@syncfusion/ej2-lists/src/common'; import { DataManager, ODataV4Adaptor, Query } from '@syncfusion/ej2-data'; import { DropDownBase } from '../../src/drop-down-base/drop-down-base'; import '../../node_modules/e...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { DetectorResponse, DiagnosticsListHostingEnvironmentDetectorResponsesOptionalParams, DiagnosticsListSiteDetectorResponsesOptionalParams, DiagnosticCategory, DiagnosticsListSiteDiagnosticCategoriesOptionalParams, AnalysisDefinition, D...
the_stack
import { TypesAwareObjectMapper } from "../../Mapping/ObjectMapper"; import { DocumentType, } from "../DocumentAbstractions"; import { ObjectTypeDescriptor, ObjectLiteralDescriptor, ClassConstructor, EntityConstructor, Field } from "../../Types"; import * as pluralize from "pluralize"; import ...
the_stack
import { resolveFileSystem, FileSystem } from "@xmcl/system"; import { parse as parseToml } from "@iarna/toml"; import { AnnotationVisitor, ClassReader, ClassVisitor, MethodVisitor, Opcodes } from "@xmcl/asm"; /** * The @Mod data from class file */ export interface ForgeModAnnotationData { [key: string]: any; ...
the_stack
import { $el, getNumTypeAttr, getStrTypeAttr, nextAll, prevAll, removeAttrs, setCss, setHtml } from '../../dom-utils'; import { warn } from '../../mixins'; import { type, validComps } from '../../utils'; import PREFIX from '../prefix'; interface Config { config( el: string ...
the_stack
import { Component, Event, EventEmitter, h, Listen, Method, Prop, State, Watch, } from '@stencil/core'; import { Disposal } from '../../../utils/Disposal'; import { listen } from '../../../utils/dom'; import { loadSDK } from '../../../utils/network'; import { isString, isUndefined } from '../../../ut...
the_stack
import { jsx } from '@emotion/react' import React from 'react' import Utils from '../../../utils/utils' import { CanvasPoint, CanvasRectangle } from '../../../core/shared/math-utils' import { EditorDispatch } from '../../editor/action-types' import { setCanvasAnimationsEnabled, setResizeOptionsTargetOptions, } from...
the_stack
import * as grpc from "grpc"; import * as commands_pb from "./commands_pb"; import * as common_pb from "./common_pb"; import * as board_pb from "./board_pb"; import * as compile_pb from "./compile_pb"; import * as core_pb from "./core_pb"; import * as upload_pb from "./upload_pb"; import * as lib_pb from "./lib_pb"; i...
the_stack
import { constants, describe, expect } from '@0x/contracts-test-utils'; import { SafeMathRevertErrors } from '@0x/contracts-utils'; import { BigNumber, LibMathRevertErrors } from '@0x/utils'; import * as _ from 'lodash'; import { addFillResults, getPartialAmountCeil, getPartialAmountFloor, isRoundingEr...
the_stack
* @packageDocumentation * @module std.ranges */ //================================================================ import * as base from "../../algorithm/iterations"; import { IForwardContainer } from "../container/IForwardContainer"; import { Pair } from "../../utility/Pair"; import { begin, end } from "../../ite...
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/replicationStorageClassificationMappingsMappers"; import * as Parameters from "../models/parameters"; import { SiteRecoveryManagementClientContext...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { ServiceResource, ServicesListBySubscriptionOptionalParams, ServicesListOptionalParams, ServicesGetOptionalParams, ServicesGetResponse, ServicesCreateOrUpdateOptionalPar...
the_stack
import { Map, Object as obj, VERSION } from 'ol'; import { ProjectionLike, transform } from 'ol/proj'; import Event from 'ol/events/Event'; import { Coordinate } from 'ol/coordinate'; import echarts from 'echarts'; import { isObject, merge, arrayAdd, bind, uuid, bindAll, removeNode, mockEvent, semver, } fr...
the_stack
import * as concaveman from 'concaveman'; import HTMLToPDF from 'convert-html-to-pdf'; import * as crypto from 'crypto'; import * as fs from 'fs'; import * as os from 'os'; import * as path from 'path'; import { inspect } from 'util'; import { Extractor } from './input/Extractor'; import { PDFJsExtractor } from './inpu...
the_stack
import { Duration, SecretValue, Tokenization } from '@aws-cdk/core'; import { IConstruct } from 'constructs'; import { CfnListener } from '../elasticloadbalancingv2.generated'; import { IListenerAction } from '../shared/listener-action'; import { IApplicationListener } from './application-listener'; import { IApplicati...
the_stack
import '../../../test/common-test-setup-karma'; import '../../edit/gr-edit-constants'; import '../gr-thread-list/gr-thread-list'; import './gr-change-view'; import { ChangeStatus, CommentSide, DefaultBase, DiffViewMode, HttpMethod, MessageTag, PrimaryTab, createDefaultPreferences, } from '../../../const...
the_stack
import { stripIndent } from 'common-tags' import * as fs from 'fs-jetpack' import * as Path from 'path' import prompts from 'prompts' import { PackageJson } from 'type-fest' import { Command } from '../../../lib/cli' import { rightOrFatal } from '../../../lib/utils' import * as Layout from '../../../lib/layout' import ...
the_stack
import * as React from 'react'; import { storiesOf } from '@storybook/react'; import Markdown from './Markdown'; const stories = storiesOf('src/components/Markdown', module); stories.add('Basic HTML', () => <Markdown html={basicHTML} />); stories.add('With Inline Code (with links too)', () => ( <Markdown html={wit...
the_stack
const list = [ "#091E3A, #2F80ED, #2D9EE0", "#9400D3, #4B0082", "#c84e89, #F15F79", "#00F5A0, #00D9F5", "#F7941E, #72C6EF, #00A651", "#F7941E, #004E8F", "#72C6EF, #004E8F", "#FD8112, #0085CA", "#bf5ae0,#a811da", "#00416A, #E4E5E6", "#fbed96, #abecd6", "#FFE000, #799F0C", "#F7F8F8, #ACBB78", ...
the_stack
import type { u64 } from "@saberhq/token-utils"; import type { PublicKey, TransactionInstruction } from "@solana/web3.js"; import type { Fees, RawFees } from "../state"; import { encodeFees, ZERO_FEES } from "../state"; import type { StableSwapConfig } from "./common"; import { buildInstruction } from "./common"; impo...
the_stack
'use strict'; import Char from 'typescript-char'; import { isBinary, isDecimal, isHex, isIdentifierChar, isIdentifierStartChar, isOctal } from './characters'; import { CharacterStream } from './characterStream'; import { TextRangeCollection } from './textRangeCollection'; import { ICharacterStream, ITextRangeC...
the_stack