text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import {AriaLabelingProps} from '@react-types/shared'; import {HTMLAttributes, MutableRefObject, useCallback, useEffect, useState} from 'react'; import {useLayoutEffect} from '@react-aria/utils'; export type AriaLandmarkRole = 'main' | 'region' | 'search' | 'navigation' | 'form' | 'banner' | 'contentinfo' | 'complemen...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Manages a Log Analytics Linked Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const exampleResourceGroup = new azure.core.Resour...
the_stack
import { DocumentNode, Reference, StoreObject, useQuery } from '@apollo/client' import { useRef, useCallback, useMemo } from 'react' import { ChannelContentsConnectable } from '__generated__/ChannelContentsConnectable' import { moveConnectableMutationVariables, moveConnectableMutation as moveConnectableMutationDat...
the_stack
import createEditor from '../../helpers/create-editor' import $ from '../../../src/utils/dom-core' import dispatchEvent from '../../helpers/mock-dispatch-event' import { UA } from '../../../src/utils/util' import { EMPTY_P } from '../../../src/utils/const' let editor: ReturnType<typeof createEditor> let id = 1 const ...
the_stack
import * as assert from 'assert'; import { timeout } from 'vs/base/common/async'; import { bufferedStreamToBuffer, bufferToReadable, bufferToStream, decodeBase64, encodeBase64, newWriteableBufferStream, readableToBuffer, streamToBuffer, VSBuffer } from 'vs/base/common/buffer'; import { peekStream } from 'vs/base/common...
the_stack
import React, {createRef, RefObject, useEffect} from 'react'; import PropTypes from 'prop-types'; /* Components */ import {ItemComponent} from './itemComponent'; /* Context */ import {GridProvider} from '../contexts'; /* Controllers */ import { ChildrenController, FiberController, ItemAddController, ItemRemoveC...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ContentKeyPolicies } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { AzureMediaServices } from "../azureM...
the_stack
module CorsicaTests { "use strict"; var S = WinJS.Utilities.Scheduler; var global: any = window; function schedulePromise(priority) { var s = new WinJS._Signal(); S.schedule(s.complete.bind(s), priority, null, "Scheduled Promise"); return s.promise; } interface IXHRRe...
the_stack
import {Component, EventEmitter, Injector, OnInit} from "@angular/core"; import {FormGroup} from "@angular/forms"; import { CommandLineToolModel, isType, WorkflowFactory, WorkflowModel, WorkflowStepInputModel, WorkflowStepOutputModel, CommandInputParameterModel } from "cwlts/models"; import ...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/jobsMappers"; import * as Parameters from "../models/parameters"; import { IotHubGatewayServiceAPIsContext } from "../iotHubGatewayServiceAPIsContext"; /** Class representing a Jobs. */ export class Jo...
the_stack
import * as fs from "fs-plus"; import * as path from "path"; import * as vscode from "vscode"; import { ArgumentEmptyOrNullError } from "../common/Error/OperationFailedErrors/ArgumentEmptyOrNullError"; import { WorkspaceNotOpenError } from "../common/Error/OperationFailedErrors/WorkspaceNotOpenError"; import { O...
the_stack
import React, { Fragment, useState, createRef, ChangeEvent } from "react"; import { Dialog, Transition } from "@headlessui/react"; import { useForgotPasswordMutation, useLogoutMutation, useMeQuery, useUpdateNameMutation, } from "../../../generated/graphql"; import { useApolloClient } from "@apollo/clien...
the_stack
* Empty interface from which all entities inherit. */ export interface Entity { [k: string]: unknown; } /** * Cover some cases of objects with `rendered` property. */ interface Rendered { /** * Property of the object, transformed for display. */ rendered?: string; [k: string]: unknown; } /** * Base ...
the_stack
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { RouterTestingModule } from '@angular/router/testing'; import { TooltipModule } from 'ngx-bootstrap'; import { VerticalNavigationComponen...
the_stack
import { useFruitManageHandler } from "../utils/useFruitManageHandler"; // @ts-ignore import mdbid from "mdbid"; import { CmsEntry, CmsModel } from "~/types"; import { setupContentModelGroup, setupContentModels } from "../utils/setup"; const NUMBER_OF_FRUITS = 200; jest.setTimeout(100000); const createFruitData = (c...
the_stack
import * as assert from 'assert'; import * as grpc from '@grpc/grpc-js'; import * as sinon from 'sinon'; import * as vscode from 'vscode'; import {TestMemento, mocks} from '../mocks/vscode'; import {EventEmitter} from 'stream'; import {ListenResponse} from '../../src/rpc/listen_pb'; import {NoDaemonCommandError} from '...
the_stack
import * as _ from "lodash"; import { IChildLogger } from "@vscode-logging/logger"; import { IRpc } from "@sap-devx/webview-rpc/out.ext/rpc-common"; import { NpmCommand, PackagesData } from "./utils/npm"; import messages from "./exploreGensMessages"; import { Env, GeneratorData } from "./utils/env"; import { vscode } f...
the_stack
import {Window} from "../Window"; import * as utils from "../utils"; import {GoldenSun} from "../GoldenSun"; import {Button} from "../XGamepad"; import {MainChar} from "../MainChar"; import {CursorManager, PointVariants} from "../utils/CursorManager"; const MAX_PER_LINE = 4; const WIN_X = 0; const WIN_Y = 112; const ...
the_stack
* @module OrbitGT */ //package orbitgt.pointcloud.model; type int8 = number; type int16 = number; type int32 = number; type float32 = number; type float64 = number; import { AList } from "../../system/collection/AList"; import { ALong } from "../../system/runtime/ALong"; import { ASystem } from "../../system/runtim...
the_stack
module TDev { export module RT { //? Current box element in the page. //@ skill(2) export module Box { var R = HTML; // Start new definition of a box export function push_box(s:IStackFrame) : void { if (!LayoutMgr.RenderExecutionMode()) Util....
the_stack
import 'chrome://resources/cr_elements/shared_vars_css.m.js'; import './print_preview_vars_css.js'; import '../strings.m.js'; import '../data/document_info.js'; import './sidebar.js'; import {CrDialogElement} from 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js'; import {assert} from 'chrome://resources/js/as...
the_stack
import BaseFoundation, { DefaultAdapter } from '../base/foundation'; import { numbers } from './constants'; export interface PaginationAdapter<P = Record<string, any>, S = Record<string, any>> extends DefaultAdapter<P, S> { setPageList: (pageListState: AdapterPageList) => void; setDisabled: (prevIsDisabled: bo...
the_stack
import * as Common from '../../core/common/common.js'; import * as Host from '../../core/host/host.js'; import type * as SDK from '../../core/sdk/sdk.js'; import * as PerfUI from '../../ui/legacy/components/perf_ui/perf_ui.js'; import * as UI from '../../ui/legacy/legacy.js'; import * as ThemeSupport from '../../ui/leg...
the_stack
import React from 'react'; import { Box, Grid, Text, styled, Container, Flex, Heading, Paragraph, Section, Card, darkTheme, } from '@modulz/design-system'; import { MarketingCaption } from './MarketingCaption'; import { CodeDemo } from './CodeDemo'; enum Highlights { Unstyled = '1-18', Compos...
the_stack
// clang-format off import 'chrome://settings/settings.js'; import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js'; import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; import {AutofillManagerImpl, CountryDetailManager, CountryDetailManagerImpl, CrInputElement, Settings...
the_stack
import { GLSLContext, IAttribute, IAttributeInitializationOptions, IBuffer, IBufferInitializationOptions, IClearOptions, IElements, IElementsInitializationOptions, IFramebuffer, IFramebufferInitializationOptions, IModel, IModelInitializationOptions, IReadPixelsOptions, IRendererConfig, IRe...
the_stack
import React from 'react' import { expect, mount, within, wait } from '@instructure/ui-test-utils' import { ScreenReaderFocusRegion } from '../ScreenReaderFocusRegion' describe('ScreenReaderFocusRegion', async () => { const element = ( <div data-test-parent role="main" aria-label="test app" id="test-parent3"> ...
the_stack
import { Component, OnInit, AfterViewInit, AfterViewChecked, ApplicationRef } from '@angular/core'; import { Chart, registerShape } from '@antv/g2'; import { DashboardService } from 'src/app/business/dashboard.service'; import { UriConfig } from 'src/app/configs/uri-config'; const signalR = require("@microsoft/signalr...
the_stack
import _ from 'lodash' import timecodes from 'node-timecodes' import { Clip, Effect, Project } from '../Entity' import EffectPluginBase from '../PluginSupport/PostEffectBase' import { ParameterValueTypes } from '../PluginSupport/TypeDescriptor' import { IRenderingStreamObserver, RenderingStatus } from './IRenderingSt...
the_stack
import * as express from 'express'; import DocBuilder from 'tiny-attribution-generator'; import TextRenderer from 'tiny-attribution-generator/lib/outputs/text'; import * as winston from 'winston'; import auth from '../../../auth'; import { isAdmin } from '../../../auth/util'; import * as documentdb from '../../../db/a...
the_stack
import test from 'ava' import * as React from 'react' import { Simulate } from 'react-dom/test-utils' import { debounceTime, distinctUntilChanged, filter, map, pairwise } from 'rxjs/operators' import { Effects, Store } from '../../src' import { createConnectedStore } from '../../src/react/createConnectedStore...
the_stack
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
the_stack
import * as fs from 'fs'; import { AsynchronousLocalStorage } from '../AsynchronousLocalStorage'; const cls: AsynchronousLocalStorage<Number> = new AsynchronousLocalStorage<Number>(); const DODEBUG = 0; function debugId(prefix: string): void { if (!DODEBUG) { return; } console.log('TEST: ' + prefix); } /...
the_stack
import { createHash } from 'crypto'; import * as Debug from 'debug'; import * as _ from 'lodash'; import * as redis from 'redis'; import * as traverse from 'traverse'; import { v4 as uuid } from 'uuid'; import { INohmPrefixes, NohmClass } from '.'; import { LinkError } from './errors/LinkError'; import { ValidationErro...
the_stack
import * as argparse from 'argparse'; import * as fs from 'fs'; import Stream from 'stream'; import * as readline from 'readline'; import * as Tp from 'thingpedia'; import * as ThingTalk from 'thingtalk'; import util from 'util'; import { SentenceExample, DatasetParser, DatasetStringifier } from '../lib/dataset-tools/...
the_stack
import Ajv from 'ajv' import flatten from 'lodash/flatten' import range from 'lodash/range' import round from 'lodash/round' import labwareSchema from '../../labware/schemas/2.json' import { toWellName, sortWells, splitWellsOnColumn, getDisplayVolume, getAsciiVolumeUnits, ensureVolumeUnits, } from '../hel...
the_stack
import { HierarchyProvider } from "./provider"; import { Index } from "@esfx/interval"; type HasPreviousSibling<T> = Pick<Required<HierarchyProvider<T>>, "previousSibling">; type HasNextSibling<T> = Pick<Required<HierarchyProvider<T>>, "nextSibling">; type HasFirstChild<T> = Pick<Required<HierarchyProvider<T>>, "...
the_stack
import { routing } from "../../example/routing"; import { z, OpenAPI, defaultEndpointsFactory, withMeta, createConfig, } from "../../src"; import { expectType } from "tsd"; describe("Open API generator", () => { const config = createConfig({ cors: true, logger: { level: "debug", color: true }, ...
the_stack
import * as React from 'react'; import { ICrop } from '../ImageManipulation.types'; import { nodePoition } from './Enums'; import styles from './ImageCrop.module.scss'; import { ICropData, IMousePosition } from './Interfaces'; function clamp(num: number, min: number, max: number): number { return Math.min(Math.max(...
the_stack
import { injectable } from 'inversify'; import * as ts from 'typescript'; import { getCommentAtPosition, WrappedAst, getWrappedNodeAtPosition } from 'tsutils'; import { FindingFilterFactory, FindingFilter, Finding, FindingFilterContext, LineSwitchParser, LineSwitchParserContext, RawLineSwitc...
the_stack
import { ethers, bridge } from 'hardhat'; const { BridgeMessageTypes } = bridge; import { BytesLike } from 'ethers'; import { expect } from 'chai'; import { toBytes32 } from '../../lib/utils'; import { formatTokenId } from '../../lib/bridge'; import * as types from '../../lib/types'; import { TestBridgeMessage__fact...
the_stack
import { now, timeFrom } from 'hrtime-now'; import * as sts from 'ts-simple-ast'; import SimpleProjectConstructor, { Node } from 'ts-simple-ast'; import * as ts from 'typescript'; import * as ts_module from 'typescript/lib/tsserverlibrary'; import { EvalContextUtil, EvalContextUtilImpl } from './evalCodeContextUtil'; /...
the_stack
import { MarshallingError } from './MarshallingError'; import * as Assert from './assert'; import * as Util from './utils'; type Processor<T, R = T> = (value: T) => R; type CustomProcessor<T, R = T> = (value: T, path: string) => R; export enum MiddlewareStep { Before, After, } /** * Predicate over serialization...
the_stack
import type Pose from '../../armature/Pose'; import type { IKChain, IKLink } from "../rigs/IKChain"; import type { ISolver } from './support/ISolver'; import type Bone from '../../armature/Bone'; import { QuatUtil, Transform, Vec3Uti...
the_stack
import { Nodehun } from 'nodehun' const fs = require('fs') const path = require('path') // @ts-ignore const { performance } = require('perf_hooks') const ChartjsNode = require('chartjs-node'); const Nodehun3: typeof Nodehun = require('bindings')('Nodehun') const Nodehun2 = require('nodehun') ////////////////////////...
the_stack
import * as path from "path"; import * as fs from "fs"; import * as yazl from "yazl"; import * as yauzl from "yauzl"; import { ArchiveCommon } from "./ArchiveCommon"; import { File, FileLink } from "../../common/File"; import { ProgressFunc, ProgressResult } from "../../common/Reader"; import { Logger } from "../../co...
the_stack
import { camelCase, cloneDeep, maxBy, max, compact, sampleSize, round, sample, startCase } from "lodash-es"; import { randomNormalDistribution, strSimilarity } from "./util"; import { base62, debase62 } from "./lib/base62"; import { Polarity, RivenProperty, RivenDatabase, RivenPropertyDataBase, NormalMod, MainTag, Weap...
the_stack
import { BoardType, Space, SpaceSubtype, EventExecutionType, GameVersion, EventCodeLanguage, EditorEventActivationType, CostumeType } from "./types"; import { copyObject } from "./utils/obj"; import { ICustomEvent } from "./events/customevents"; import { getEvent, IEventParameter, EventParameterValues } from "./events/...
the_stack
import {EventAggregator, Subscription} from 'aurelia-event-aggregator'; import {NewInstance, bindable, computedFrom, inject, observable} from 'aurelia-framework'; import {Router} from 'aurelia-router'; import {ControllerValidateResult, ValidateResult, ValidationController, ValidationRules} from 'aurelia-validation'; im...
the_stack
import {PipeTransform} from '@angular/core'; import * as angular from 'angular'; import * as _ from "underscore"; import {DomainType, DomainTypesService} from "../../../services/DomainTypesService"; import {TableColumnDefinition} from "../../../model/TableColumnDefinition"; import {TableFieldPartition} from "../../../m...
the_stack
import _ from 'lodash'; import {TailwindConfigParser} from './TailwindConfigParser'; import {nonConfigurableClassNames} from '../lib/non-configurable'; // prettier-ignore import { TAllClassnames, Backgrounds, Layout, Borders, Tables, Effects, Interactivity, TransitionsAndAnimations, Transforms, Accessibility, SVG, ...
the_stack
import { FileManager } from '../../../src/file-manager/base/file-manager'; import { NavigationPane } from '../../../src/file-manager/layout/navigation-pane'; import { DetailsView } from '../../../src/file-manager/layout/details-view'; import { Toolbar } from '../../../src/file-manager/actions/toolbar'; import { createE...
the_stack
import { gql } from "@apollo/client"; import * as Apollo from "@apollo/client"; export type Maybe<T> = T | undefined; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K]; }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; Strin...
the_stack
import InterfacesDefault from "../src/interfaces"; import { runModule } from "../src/module"; import path from "path"; import * as utils from "../src/utils"; import * as cms from "../src/cms"; import * as locales from "../src/locales"; import * as packages from "../src/packages"; import * as theme from "../src/theme"; ...
the_stack
import { SyntheticViewTemplate, Updates } from "@microsoft/fast-element"; import { attr, Observable, observable } from "@microsoft/fast-element"; import { limit, uniqueId } from "@microsoft/fast-web-utilities"; import type { FoundationElementDefinition } from "../foundation-element/foundation-element.js"; import type {...
the_stack
import { assert, MultiMap, InterfaceType, isInterfaceType, isFed1Supergraph, isObjectType, isUnionType, NamedType, ObjectType, Schema, SchemaRootKind, Type, UnionType, baseType, SelectionSet, federationBuiltIns, isFederationSubgraphSchema, CompositeType, extractSubgraphsFromSupergr...
the_stack
import rule, { RULE_NAME } from '../../../lib/rules/prefer-explicit-assert'; import { ALL_QUERIES_METHODS } from '../../../lib/utils'; import { createRuleTester } from '../test-utils'; const ruleTester = createRuleTester(); const COMBINED_QUERIES_METHODS = [...ALL_QUERIES_METHODS, 'ByIcon']; ruleTester.run(RULE_NAME...
the_stack
import { Event } from 'vs/base/common/event'; import { toSlashes } from 'vs/base/common/extpath'; import * as json from 'vs/base/common/json'; import * as jsonEdit from 'vs/base/common/jsonEdit'; import { FormattingOptions } from 'vs/base/common/jsonFormatter'; import { normalizeDriveLetter } from 'vs/base/common/label...
the_stack
import i18next from "i18next"; import { computed, toJS } from "mobx"; import { createTransformer } from "mobx-utils"; import filterOutUndefined from "../../../Core/filterOutUndefined"; import isDefined from "../../../Core/isDefined"; import { isJsonObject, isJsonString, JsonArray, JsonObject } from "../../../Co...
the_stack
import ts from 'typescript'; import { getNumComponentsInSourceFile } from './react'; import { collectIdentifiers } from './identifiers'; import { PropTypesIdentifierMap } from '../react-props'; export type PropsTypeNode = ts.TypeLiteralNode | ts.IntersectionTypeNode; type Params = { anyAlias?: string; anyFunction...
the_stack
import type * as vscode from 'vscode'; import * as assert from 'assert'; import { URI } from 'vs/base/common/uri'; import { mock } from 'vs/base/test/common/mock'; import { IEditorTabDto, IEditorTabGroupDto, MainThreadEditorTabsShape, TabInputKind, TabModelOperationKind, TextInputDto } from 'vs/workbench/api/common/ext...
the_stack
import * as tfc from '@tensorflow/tfjs-core'; import {Tensor, util} from '@tensorflow/tfjs-core'; import {Activation} from '../activations'; import * as K from '../backend/tfjs_backend'; import {checkDataFormat, checkPaddingMode} from '../common'; import {Constraint} from '../constraints'; import {InputSpec} from '../...
the_stack
// @lib: es5 // // Copyright (c) Microsoft Corporation. All rights reserved. // // 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 //...
the_stack
import { Workbook } from './../src/workbook'; import { Utils } from './../spec/utils.spec'; describe('CellStyle', () => { // afterEach(function () { // sleep(3000); // }); // function sleep(millSecs: any) { // let date: any = new Date(); // let curDate: any = null; // do { cu...
the_stack
import * as DOM from 'vs/base/browser/dom'; import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent'; import { SimpleIconLabel } from 'vs/base/browser/ui/iconLabel/simpleIconLabel'; import { WorkbenchActionExecutedClassification, WorkbenchActionExecutedEvent } from 'vs/base/common/actions'; import { toErro...
the_stack
import { css } from '@emotion/react'; import { neutral, brandBackground, brandBorder, from, until, space, } from '@guardian/source-foundations'; import { ArticleDesign, ArticleSpecial } from '@guardian/libs'; import type { ArticleFormat } from '@guardian/libs'; import { ArticleBody } from '@root/src/web/compone...
the_stack
// // ShadowMapping // /*global renderingCommonCreateRendererInfoFn: false, Camera: false*/ interface ShadowMap { shadowMapTexture: Texture; shadowMapRenderTarget: RenderTarget; lightInstance: LightInstance; // TODO: Is this ever set? DeferredRendering appears to refer to it. texture?: Texture; }...
the_stack
import * as recursive from 'recursive-readdir'; import { QuickPickItem, QuickPickOptions, Range, Selection, TextDocument, TextDocumentChangeEvent, TextEditor, window, workspace, Position } from 'vscode'; import { ignoreFiles, insertContentToEditor, isMarkdownFileCheckWithoutNotification, matchAll, postWa...
the_stack
import { Injectable } from '@angular/core'; import { HttpResponse, HttpParams } from '@angular/common/http'; import { FileEntry } from '@ionic-native/file/ngx'; import { FileUploadOptions, FileUploadResult } from '@ionic-native/file-transfer/ngx'; import { Md5 } from 'ts-md5/dist/md5'; import { Observable } from 'rxjs...
the_stack
import debugFactory from 'debug'; import {EventEmitter} from 'events'; import {iterator, multiple} from 'p-event'; import {Context} from './context'; import {ContextEvent, ContextEventListener} from './context-event'; import { ContextEventObserver, ContextEventType, ContextObserver, } from './context-observer'; ...
the_stack
import * as React from 'react'; import { Animated, TextInputProps as RNTextInputProps } from 'react-native'; import { createComponent, createElement, createHook, hexToRgb, mergeRefs, omitCSSProps, pickCSSProps, useTheme, } from 'bumbag/utils'; import { Palette, Size } from 'bumbag/types'; import { Box,...
the_stack
import { Autowired, Injectable } from '@opensumi/di'; import { AllowedExtension, IAuthenticationService, IAuthenticationProvider, AuthenticationSessionsChangeEvent, AuthenticationSession, IAccountUsage, StorageProvider, IStorage, URI, STORAGE_SCHEMA, ILogger, IEventBus, ExtensionActivateEvent,...
the_stack
import * as d3 from 'd3'; import Pikaday from '../../../packages/pikaday/pikaday'; import '../../../packages/pikaday/css/pikaday.css' import moment from 'moment'; import './DateTimePicker.scss'; import { ChartComponent } from '../../Interfaces/ChartComponent'; import TimezonePicker from '../TimezonePicker/TimezonePicke...
the_stack
declare module 'sway' { /** * Creates an ApiDefinition object from the provided OpenAPI definition. * @param options - The options for loading the definition(s) * @returns The promise */ export function create(options: CreateOptions): Promise<ApiDefinition>; /** * Options ...
the_stack
import * as React from "react"; import * as ReactDOM from "react-dom"; import {observer} from "mobx-react"; import {autorun, reaction, toJS, intercept} from 'mobx'; import * as d3 from "d3"; import SelectVoucherType from "../Shared/Components/SelectVoucherType"; import SelectAccount from "../Shared/Components/SelectA...
the_stack
import _ from 'lodash'; const debug = require('debug')('restapi'); import cost from './cost'; import { IRestResponse, flattenData } from './core'; import { CompositeApiContext, CompositeIntelligentEngine } from './composite'; import { Collaborator } from '../../business/collaborator'; import { Team } from '../../busi...
the_stack
import { Template } from '@aws-cdk/assertions'; import * as lambda from '@aws-cdk/aws-lambda'; import { Duration, Stack } from '@aws-cdk/core'; import * as apigw from '../lib'; describe('cors', () => { test('adds an OPTIONS method to a resource', () => { // GIVEN const stack = new Stack(); const api = ne...
the_stack
import { Help } from '@cli-engine/command/lib/help' import { ICommand } from '@cli-engine/config' import cli from 'cli-ux' import * as path from 'path' import RWLockfile, { rwlockfile } from 'rwlockfile' import _ from 'ts-lodash' import { ICommandInfo, ICommandManager, ILoadResult } from '../command' import Config fro...
the_stack
import { throwError, ConnectableObservable, Observable, Subscription, from, of as just } from 'rxjs' import { concatMap, map, tap } from 'rxjs/operators' import * as lf from 'lovefield' import * as Exception from '../exception' import * as typeDefinition from './helper/definition' import Version from '../version' impor...
the_stack
import { defineComponent, getCurrentInstance, ref, h, nextTick, toRef, VNode } from 'vue' import { VcComponentInternalInstance, VcComponentPublicInstance } from '@vue-cesium/utils/types' import { useCommon } from '@vue-cesium/composables' import { VcPrimitive, VcPrimitiveGroundPolyline } from '@vue-cesium/components/pr...
the_stack
import { Component, OnInit, AfterViewInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { HttpErrorResponse, HttpResponse } from '@angular/common/http'; import { AlertService } from 'app/core/util/alert.service'; import { Location } from '@angular/common'; import { TextAssess...
the_stack
import isEqual from 'fast-deep-equal'; import PropTypes from 'prop-types'; import React, { ChangeEvent, FocusEvent, KeyboardEvent, MouseEvent, SyntheticEvent, } from 'react'; import TypeaheadManager from './TypeaheadManager'; import { caseSensitiveType, checkPropType, defaultInputValueType, defaultS...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * An SslCertificate resource, used for HTTPS load balancing. This resource * represents a certificate for which the certificate secrets are created and * managed b...
the_stack
import { state, ExpressionEvaluator, numberPickerMechanics, MealMechanics, translations, randomTable, mechanicsEngine, EquipmentSectionMechanics, gameView, template } from "../.."; /** * Random table links mechanics */ export const randomMechanics = { /** * The last random number picked, with the incre...
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/servicesMappers"; import * as Parameters from "../models/parameters"; import { DataMigrationServiceClientContext } from "../dataMigrationServiceCl...
the_stack
import { h, Component } from 'preact'; import { Side } from '@t/store/focus'; import { createDraggableRowInfo, DraggableRowInfo, getMovedPosAndIndexOfRow, MovedIndexAndPosInfoOfRow, PosInfo, getResolvedOffsets, FloatingRowSize, } from '../query/draggable'; import { RowKey } from '@t/store/data'; import { ...
the_stack
import type { Fn3, FnN2 } from "@thi.ng/api"; import { clamp, clamp01 } from "@thi.ng/math/interval"; import type { Color, ReadonlyColor } from "./api.js"; import { postmultiply, postmultiplyInt, premultiply, premultiplyInt, } from "./premultiply.js"; import { setC4, setN4 } from "./utils.js"; const mi...
the_stack
import { connect } from '@tarojs/redux'; import Taro from '@tarojs/taro'; import { View, Text } from '@tarojs/components'; import { AtDivider, AtAvatar, AtMessage, AtLoadMore, AtNavBar } from 'taro-ui'; import dayjs from 'dayjs'; import { IThread, IReply } from '../../interfaces/thread'; import { IThreadRespond } from...
the_stack
import * as algoliasearch from 'algoliasearch'; import * as algoliasearchHelper from 'algoliasearch-helper'; // tslint:disable-next-line:no-duplicate-imports import { SearchResults, SearchParameters } from 'algoliasearch-helper'; // https://community.algolia.com/algoliasearch-helper-js/reference.html#module:algoliasea...
the_stack
import {Component, ElementRef, Injector, OnDestroy, OnInit, ViewChild} from '@angular/core'; import {Page} from '@domain/common/page'; import {DataconnectionService} from '@common/service/dataconnection.service'; import {Alert} from '@common/util/alert.util'; import {Workbench} from '@domain/workbench/workbench'; impor...
the_stack
import omit from 'lodash/omit' import type { ValidationMessages } from '@looker/components' import { DefaultSettings } from '@looker/sdk-rtl' import type { ITabTable } from '@looker/wholly-sheet' import { SheetSDK } from '@looker/wholly-sheet' import { getExtensionSDK } from '@looker/extension-sdk' import { getCore40SD...
the_stack
import {BoxrecRole} from "boxrec-requests/dist/boxrec-requests.constants"; import {getHeaderColumnText, trimRemoveLineBreaks} from "../../helpers"; import {BoxrecParseBoutsParseBouts} from "../event/boxrec.parse.bouts.parseBouts"; import {BoxrecProfileRole, BoxrecProfileTable} from "./boxrec.profile.constants"; const ...
the_stack
* --------------------------------------------------------------- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ## * ## ## * ## AUTHOR: acacode ## * ## SOURCE: https://github.com/acacode/swagger-type...
the_stack
declare namespace jBox { interface jBoxOptions { /** Choose a unique id, otherwise jBox will set one for you (jBox1, jBox2, ...) */ id?: string; /** The width of the content area */ width?: 'auto' | number; /** The height of the content area */ height?: 'auto' | number; /** Minimal widt...
the_stack
import { AfterViewInit, Component, Directive, ElementRef, HostListener, Input, OnDestroy, OnInit, Optional, Renderer2, TemplateRef, ViewChild, Output, EventEmitter, OnChanges, ContentChildren, forwardRef, QueryList, HostBinding } from '@angular/core'; import { LyOverlay, LyTh...
the_stack
import { DelimArray } from '@looker/sdk-rtl' import { TestConfig } from './testUtils' import type { IEnumType } from './sdkModels' import { KotlinGen } from './kotlin.gen' const config = TestConfig() const apiTestModel = config.apiTestModel const gen = new KotlinGen(apiTestModel) const indent = '' describe('Kotlin ge...
the_stack
import DebounceLink from './DebounceLink'; import { ObservableEvent, TestSequenceLink, toResultValue, assertObservableSequence, } from './TestUtils'; import { gql, execute, GraphQLRequest, ApolloLink, } from '@apollo/client'; import { ExecutionResult, } from 'graphql'; describe('Deb...
the_stack
import cloneDeep from 'lodash/cloneDeep'; import { CollectionNode, CollectionNodeBackendDict, } from 'domain/collection/collection-node.model'; import { CollectionPlaythrough, CollectionPlaythroughBackendDict } from 'domain/collection/collection-playthrough.model'; interface ExplorationIdToNodeIndexMap { [e...
the_stack
import log from "../../log"; import { UploadDirectoryPath, WorkDirectoryPath, DataDirectoryPath, TReturnData, ExportDirectoryPath, } from "../../../types/module/data/data.types"; import { TWorkspaceCreateData, TWorkspaceUpdateData, TWorkspaceData, TReturnWorkspaceData, } from "../../...
the_stack
import { isIE } from '@ui5/webcomponents-react-base/dist/Device'; import { useResponsiveContentPadding, useSyncRef } from '@ui5/webcomponents-react-base/dist/hooks'; import { ThemingParameters } from '@ui5/webcomponents-react-base/dist/ThemingParameters'; import { debounce, enrichEventWithDetails } from '@ui5/webcompon...
the_stack