text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { AnimatePresence } from '@tamagui/animate-presence' import { useComposedRefs } from '@tamagui/compose-refs' import { GetProps, Slot, Theme, composeEventHandlers, isWeb, styled, useId, useThemeName, withStaticProperties, } from '@tamagui/core' import { Scope, createContext, createContextScope }...
the_stack
import { makeSprite, t, GameProps, makeNativeSprite, mask, Texture, makeContext, } from "@replay/core"; import { mockContext, testSprite } from "../index"; test("getTextures, nextFrame", () => { const { getTextures, nextFrame } = testSprite(Game(gameProps), gameProps, { initInputs: { pressed:...
the_stack
import { Unit } from '@iota/unit-converter' import { convertToFiat, currencies, exchangeRates } from 'shared/lib/currency' import { localize } from 'shared/lib/i18n' import { activeProfile, updateProfile } from 'shared/lib/profile' import { formatUnitPrecision } from 'shared/lib/units' import { isSelfTransaction, walle...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ComputePolicies } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataLakeAnalyticsAccountManagementClien...
the_stack
import noop from "../../../../../../utils/noop"; import { IAdaptationSetAttributes, IAdaptationSetChildren, ISegmentListIntermediateRepresentation, } from "../../../node_parser_types"; import ParsersStack, { IAttributeParser, IChildrenParser, } from "../parsers_stack"; import { AttributeName, TagName, } f...
the_stack
import { isPrdApp } from '~/app/constants' import Erd from '~/components/erd' import { modelDetailSchema } from './model_detail' import * as styled from './styled' import * as tpl from './template' import * as utils from './utils' export default { props: { scopeRef: utils.scopeRefProp, }, schema: { type...
the_stack
import { v4 as uuidv4 } from "uuid"; import "jest-extended"; import { Account } from "web3-core"; import { PluginRegistry } from "@hyperledger/cactus-core"; import { EthContractInvocationType, Web3SigningCredentialType, PluginLedgerConnectorXdai, PluginFactoryLedgerConnector, Web3SigningCredentialCactusKeycha...
the_stack
import * as React from "react"; import * as Monaco from "monaco-editor"; import { default as MonacoEditor } from "../src/MonacoEditor"; import { mount } from "enzyme"; // Common Props required to instantiate MonacoEditor View, shared by all tests. const monacoEditorCommonProps = { id: "foo", contentRef: "bar", e...
the_stack
import * as React from 'react'; import { mount } from 'enzyme'; import { pluginDepsToComponents, getComputedState } from '@devexpress/dx-testing'; import { PluginHost } from '@devexpress/dx-react-core'; import { closeGroupGetter, rowsToExport, buildGroupTree, groupOutlineLevels, exportSummaryGetter, maximum...
the_stack
* Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use t...
the_stack
import $1 from "../Components/ScrollView/ScrollView"; import $2 from "../Components/View/View"; import * as React from "react"; import { ScrollResponderType } from "../Components/ScrollView/ScrollView"; import { ViewStyleProp } from "../StyleSheet/StyleSheet"; import { ViewabilityConfig } from "./ViewabilityHelper"; im...
the_stack
import { Subscription } from 'rxjs'; import { NxNumberStepperIntl } from './number-stepper-intl'; import { coerceBooleanProperty, BooleanInput } from '@angular/cdk/coercion'; import { mapClassNames, pad } from '@aposin/ng-aquila/utils'; import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Compone...
the_stack
import type { JSX } from 'preact'; import { h, createRef, Component } from 'preact'; import cx from 'classnames'; import { isSpecialClick, isEqual } from '../../lib/utils'; import type { PreparedTemplateProps } from '../../lib/utils/prepareTemplateProps'; import Template from '../Template/Template'; import RefinementLi...
the_stack
import { DiscoverySchemaChanges, IDiscoveryVersionable } from "../../MailboxSearch/Versioning"; import { EwsServiceJsonReader } from "../EwsServiceJsonReader"; import { EwsServiceXmlWriter } from "../EwsServiceXmlWriter"; import { ExchangeService } from "../ExchangeService"; import { ExchangeVersion } from "../../Enum...
the_stack
import compose from 'lodash/flowRight'; import React from 'react'; import { withStyles } from '@material-ui/core/styles'; import { shallowEqual, shallowEqualExcept, debugShouldComponentUpdate } from '../utils/componentUtils'; import { isClient } from '../executionEnvironment'; import * as _ from 'underscore'; type Com...
the_stack
import "./helpers/dotenv_helper"; import { getTestId, getState, dispatch } from "./helpers/test_helper"; import { Api, Client, Model } from "@core/types"; import { registerWithEmail } from "./helpers/auth_helper"; import { getEnvironments } from "./helpers/envs_helper"; import { createApp } from "./helpers/apps_helper"...
the_stack
import { Reducer, combineReducers } from 'redux' import { handleActions } from 'redux-actions' import omit from 'lodash/omit' import mapValues from 'lodash/mapValues' import pickBy from 'lodash/pickBy' import { FIXED_TRASH_ID } from '../../constants' import { getPDMetadata } from '../../file-types' import { SingleLab...
the_stack
import * as React from "react"; import { mount } from "enzyme"; import DateUtil from "#SRC/js/utils/DateUtil"; import JestUtil from "#SRC/js/utils/JestUtil"; import PodInstancesTable from "../PodInstancesTable"; import Pod from "../../../structs/Pod"; import PodFixture from "../../../../../../../tests/_fixtures/pods...
the_stack
import { isString, isBlank, isType, resolveDirectiveNameFromSelector, isPresent, stringify, getFuncName, normalizeBool, isArray } from '../../facade/lang'; import { Type } from '../../facade/type'; import { reflector } from '../reflection/reflection'; import { OpaqueToken } from './opaque_token'; impo...
the_stack
import * as _ from "lodash"; import * as ExtensionApi from "@extraterm/extraterm-extension-api"; import { EventEmitter } from "extraterm-event-emitter"; import { CustomElement } from "extraterm-web-component-decorators"; import * as ThemeTypes from "../../../theme/Theme"; import { EtTerminal, LineRangeChange } from ...
the_stack
import React, {ReactNode} from 'react'; import Types from '../types'; import { IComponent} from "../types/component"; import { IInfrastructure } from "../types"; import { setEntry, ddbGetEntry, ddbListEntries, getEntryListQuery, getEntryQuery, setEntryMutation, deleteEntryMutation, deleteEntry, getEntryScanQu...
the_stack
var Validation = require('../../src/validation/Validation.js'); var Validators = require('../../src/validation/BasicValidators.js'); var Util = require('../../src/validation/Utils.js'); var expect = require('expect.js'); var _:UnderscoreStatic = require('underscore'); import Q = require('q'); import dateCompareValida...
the_stack
import { AEventDispatcher, debounce, ISequence, OrderedSet, IDebounceContext, IEventListener, suffix, IEventContext, } from '../internal'; import { Column, IColumnConstructor, Ranking, AggregateGroupColumn, createAggregateDesc, IAggregateGroupColumnDesc, isSupportType, EDirtyReason, Ra...
the_stack
import { CdmCorpusDefinition, CdmDocumentDefinition, resolveOptions, importsLoadStrategy, cdmLogCode } from '../../internal'; import { LocalAdapter } from '../../Storage'; import { testHelper } from '../testHelper'; /** * Testing loading imports on a cdm file */ // tslint:disable-next-line: max-f...
the_stack
import { AbstractCrdt, Doc, ApplyResult } from "./AbstractCrdt"; import { deserialize, isCrdt } from "./utils"; import { CrdtType, CreateObjectOp, DeleteObjectKeyOp, Op, OpType, SerializedCrdtWithId, UpdateObjectOp, } from "./live"; /** * The LiveObject class is similar to a JavaScript object that is sy...
the_stack
import { CodeEditorInfo, CustomLanguageInfo, DocumentsInfo, IDocumentFactory, IDocumentPanel, IDocumentService, } from "@abstractions/document-service"; import { setDocumentFrameStateAction } from "@state/document-frame-reducer"; import { ILiteEvent, LiteEvent } from "@core/utils/lite-event"; import { getNo...
the_stack
import FlowMapLayer, { Flow, Location } from '@flowmap.gl/core'; import FlowMap, { DiffColorsLegend, getViewStateForFeatures, LegendBox, LocationTotalsLegend } from '@flowmap.gl/react'; import { storiesOf } from '@storybook/react'; import * as d3scaleChromatic from 'd3-scale-chromatic'; import React from 'react'; impor...
the_stack
import { generateProperty, generateColor, generateBorderRadius, generateMargin, } from './utils' import { dslPxtoRem } from './dslPxtoRem' import { dslPxtoRpx } from './dslPxtoRpx' import cssOrder from './cssOrder' // 驼峰改连接符 const toKebabCase = (str: any) => str.replace(/([A-Z])/g, '-$1').toLowerCase()...
the_stack
import { RawHttpHeaders } from "@azure/core-rest-pipeline"; import { HttpResponse } from "@azure-rest/core-client"; import { ErrorModelOutput } from "./outputModels"; /** Send a post request with header value "User-Agent": "overwrite" */ export interface ParamExistingKey200Response extends HttpResponse { status: "20...
the_stack
import './setup'; import { TaskQueue } from 'aurelia-task-queue'; import { Compose, ActivationStrategy } from '../src/compose'; import * as LogManager from 'aurelia-logging'; import { View } from 'aurelia-framework'; describe('Compose', () => { let elementMock; let containerMock; let compositionEngineMock; let...
the_stack
import { flow, identity, pipe, Predicate, Refinement } from 'fp-ts/function' import { bind as bind_, chainFirst as chainFirst_, Chain4 } from 'fp-ts/Chain' import { Task } from 'fp-ts/Task' import * as TE from 'fp-ts/TaskEither' import * as H from '.' import * as M from './Middleware' import { IO } from 'fp-ts/IO' impo...
the_stack
* Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails oncall+relay * @flow * @format */ // flowlint ambiguous-object-type:error 'use strict'; jest.mock('fbjs/lib/warning', () ...
the_stack
import Application = require("application"); import FileSystem = require("file-system"); import HTTP = require("http"); import Image = require("image-source"); import TypeUtils = require("utils/types"); import Xml = require("xml"); /** * A basic logger. */ export abstract class LoggerBase implements ILo...
the_stack
import * as Draft from "draft-js"; import * as React from "react"; import { useRef, useState, useCallback, forwardRef, useImperativeHandle } from "react"; import { splice } from "./utils/string"; import defaultImage from "./img/richtext/default.png"; import blackImage from "./img/richtext/black.png"; import whiteImage...
the_stack
import { TestBed, fakeAsync, ComponentFixture, tick, flush } from '@angular/core/testing'; import { Component, Type } from '@angular/core'; import { MdcFloatingLabelDirective } from '../floating-label/mdc.floating-label.directive'; import { MdcNotchedOutlineDirective, MdcNotchedOutlineNotchDirective } from '../notched-...
the_stack
import React, {RefObject} from 'react'; import { Flex, Box } from 'reflexbox' //import {disableBodyScroll, enableBodyScroll} from "body-scroll-lock"; /** React layouts **/ import MainLayout from '../layouts/MainLayout'; import DashboardLayoutContainer from "../layouts/DashboardLayoutContainer"; /** React components *...
the_stack
import { StrictMode } from 'react'; import { render } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import type { Column } from '../src'; import DataGrid, { SelectColumn } from '../src'; import { useFocusRef } from '../src/hooks'; import { setup, getSelectedCell, validateCellPositi...
the_stack
import JSZip from 'jszip' import { SheetData } from './model/sheet' import { TopicData } from './model/topic' const MANIFEST_XML_PATH = 'META-INF/manifest.xml' const CONTENT_XML_PATH = 'content.xml' const STYLES_XML_PATH = 'styles.xml' const CONTENT_JSON_PATH = 'content.json' const FILE_ENTRIES = 'file-entries' cons...
the_stack
import { expectSaga } from 'redux-saga-test-plan' import * as matchers from 'redux-saga-test-plan/matchers' import { throwError } from 'redux-saga-test-plan/providers' import request from 'app/utils/request' import actions from 'app/containers/Projects/actions' import OrgActions from 'app/containers/Organizations/actio...
the_stack
import type { IQService } from 'angular'; import * as angular from 'angular'; import _ from 'lodash'; import type { Application, InstanceTypeService } from '@spinnaker/core'; import { AccountService, DeploymentStrategyRegistry, INSTANCE_TYPE_SERVICE, NameUtils, SubnetReader, } from '@spinnaker/core'; import...
the_stack
declare const map: AMap.Map; declare const lnglat: AMap.LngLat; declare const size: AMap.Size; declare const lnglatTuple: [number, number]; declare const pixel: AMap.Pixel; declare const layer: AMap.Layer; declare const ambientLight: AMap.Lights.AmbientLight; declare const directionLight: AMap.Lights.DirectionLight; de...
the_stack
import assert from 'assert' import { JSONSchema7 } from 'json-schema' import { updateSchema } from '../src/json-schema' import { addProperty, inside, map, headProperty, wrapProperty, hoistProperty, plungeProperty, renameProperty, convertValue, } from '../src/helpers' describe('transforming a json sch...
the_stack
import { Buffer } from './buffer'; import { Context } from './context'; import { Initializable } from './initializable'; /* spellchecker: enable */ /** * Class to encapsulating a WebGL buffer adding functionality to record changes to the underlying buffer without * instantly propagating them to the WebGL buffer. I...
the_stack
import { Trans, t } from "@lingui/macro"; import { withI18n, i18nMark } from "@lingui/react"; import * as React from "react"; import { Hooks } from "#SRC/js/plugin-bridge/PluginSDK"; import gql from "graphql-tag"; import { DataLayerType, DataLayer } from "@extension-kid/data-layer"; import { take } from "rxjs/operators...
the_stack
// The MIT License (MIT) // // vs-deploy (https://github.com/mkloubert/vs-deploy) // Copyright (c) Marcel Joachim Kloubert <marcel.kloubert@gmx.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // ...
the_stack
import { SelectionStatus, AvailabilityStatus, } from "@commons/enums/Availability"; import { timeDay, timeHour, timeMinute } from "d3-time"; import { scaleTime } from "d3-scale"; import type { TimeInterval } from "d3-time"; import type { Manifest, TimeSlot } from "@commons/types/Availability"; import { arrayContain...
the_stack
import {TypedSopNode} from './_Base'; import { AttribClass, AttribClassMenuEntries, ObjectType, ObjectTypeMenuEntries, ObjectTypes, objectTypeFromConstructor, AttribType, AttribTypeMenuEntries, ATTRIBUTE_TYPES, AttribSize, ATTRIBUTE_CLASSES, ATTRIBUTE_SIZE_RANGE, } from '../../../core/geometry/Constant'; im...
the_stack
import * as singleLineString from "single-line-string"; import { BigNumber } from "../../utils/bignumber"; import { BLOCK_TIME_ESTIMATE_SECONDS, NULL_ADDRESS, NULL_ECDSA_SIGNATURE, SALT_DECIMALS, } from "../../utils/constants"; import { CollateralizedSimpleInterestLoanOrder } from "../adapters/collate...
the_stack
import {DebugElement, Component} from '@angular/core'; import {Location} from '@angular/common'; import {async, ComponentFixture, TestBed, tick, fakeAsync} from '@angular/core/testing'; import {MatCardModule, MatProgressSpinnerModule} from '@angular/material'; import {By} from '@angular/platform-browser'; import {Activ...
the_stack
import { expect } from 'chai'; import { hot, cold, expectObservable, expectSubscriptions } from '../helpers/marble-testing'; import { publishBehavior, mergeMapTo, tap, mergeMap, refCount, retry, repeat } from 'rxjs/operators'; import { ConnectableObservable, of, Subscription, Observable, pipe } from 'rxjs'; /** @test ...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type PartnerShowsInfiniteScrollGridQueryVariables = { id: string; cursor?: string | null | undefined; count: number; }; export type PartnerShowsInfiniteScrollGridQueryResponse = { readonly partner: { ...
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://spanner.googleapis.com/$discovery/rest?version=v1 /// <r...
the_stack
import { mention } from "../utils/mention" import { RegExpValidator } from "regexpp" import type { CharacterClassElement, Element } from "regexpp/ast" import type { RegExpVisitor } from "regexpp/visitor" import type { RegExpContext } from "../utils" import { isOctalEscape, createRule, defineRegexpVisitor, ...
the_stack
import { browser, protractor } from 'protractor'; import { createApiService, AppListCloudPage, LoginPage, ProcessCloudWidgetPage, ProcessDefinitionsService, ProcessInstancesService, QueryService, StringUtil, TaskFormCloudComponent, TaskHeaderCloudPage, TasksService, FormCloud...
the_stack
import { html, SpectrumElement, CSSResultArray, TemplateResult, property, PropertyValues, query, } from '@spectrum-web-components/base'; import { MenuItem, MenuItemAddedOrUpdatedEvent, MenuItemRemovedEvent, } from './MenuItem.js'; import menuStyles from './menu.css.js'; export ...
the_stack
import {handler, gen_handler} from "../util" export class loader_mgr { private static inst:loader_mgr; private _loadedRes:Map<string, boolean>; private _loadedExternalUrls:Map<string, boolean>; private constructor() { this._loadedRes = new Map(); this._loadedExternalUrls...
the_stack
import { AuthenticationProviderOptions } from '@microsoft/microsoft-graph-client/lib/es/IAuthenticationProviderOptions'; import { Configuration, InteractionRequiredAuthError, SilentRequest } from '@azure/msal-browser'; import { LoginType, ProviderState, TeamsHelper } from '@microsoft/mgt-element'; import { Msal2Provide...
the_stack
import { expect } from 'chai'; import * as sinon from 'sinon'; import { cloneDeep } from 'lodash'; import * as fsAsync from '../../src/common/fsAsync'; import * as os from 'os'; import * as path from 'path'; import { IVSCodeManager, IConfigManager, IVSIcons, ConfigurationTarget, PresetNames, } from '../../src...
the_stack
import { IDisposable } from '@lumino/disposable'; import { NotebookActions } from '@jupyterlab/notebook'; import { NotebookPanel, Notebook } from '@jupyterlab/notebook'; import { Cell, ICellModel } from '@jupyterlab/cells'; import { StickyContent } from './content'; import { StickyMarkdown } from './markdown'; import {...
the_stack
import './strings.m.js'; import './alert_indicators.js'; import {assert} from 'chrome://resources/js/assert.m.js'; import {CustomElement} from 'chrome://resources/js/custom_element.js'; import {getFavicon} from 'chrome://resources/js/icon.js'; import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js'; im...
the_stack
import { Array } from "@siteimprove/alfa-array"; import { Cache } from "@siteimprove/alfa-cache"; import { Device } from "@siteimprove/alfa-device"; import { Attribute, Element, Node, Text } from "@siteimprove/alfa-dom"; import { Equatable } from "@siteimprove/alfa-equatable"; import { Iterable } from "@siteimprove/alf...
the_stack
/* * --------------------------------------------------------- * Copyright(C) Microsoft Corporation. All rights reserved. * --------------------------------------------------------- * * --------------------------------------------------------- * Generated file, DO NOT EDIT * -----------------------------...
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/clustersMappers"; import * as Parameters from "../models/parameters"; import { EventHubManagementClientContext } from "../eventHubManagementClient...
the_stack
import { IWebPartContext } from '@microsoft/sp-webpart-base'; import { ITermStore, ITermSet, ITermGroup, ITerm } from '../common/SPEntities'; import { IDataHelper } from './DataHelperBase'; /** * Interface for terms with path property and nested terns */ interface ITermWithTerms extends ITerm { /** ...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace Formmsdyn_ocoutboundmessage_Information { interface Header extends DevKit.Controls.IHeader { /** Unique identifier of the user or team who owns the activity. */ OwnerId: DevKit.Controls.Lookup; /** Priority of the activity...
the_stack
import { ServiceClientOptions } from "@azure/ms-rest-js"; import * as msRest from "@azure/ms-rest-js"; /** * Defines the query context that Bing used for the request. */ export interface QueryContext { /** * Polymorphic Discriminator */ _type: "QueryContext"; /** * The query string as specified in the...
the_stack
module android.widget { import DataSetObserver = android.database.DataSetObserver; import SystemClock = android.os.SystemClock; import View = android.view.View; import ViewGroup = android.view.ViewGroup; import ArrayList = java.util.ArrayList; import Collections = java.util.Collections; import Integer = java.lang.Integ...
the_stack
import { expect } from 'chai'; import express from 'express'; import moment from 'moment'; import nock from 'nock'; import { run as runSettlementScript } from '../../cron/monthly/host-settlement'; import { TransactionKind } from '../../server/constants/transaction-kind'; import { PLATFORM_TIP_TRANSACTION_PROPERTIES,...
the_stack
import { ID, SimpleEventEmitter } from 'acebase-core'; import { NodeLocker, NodeLock } from '../node-lock'; import { Storage } from '../storage'; export class AceBaseIPCPeerExitingError extends Error { constructor(message: string) { super(`Exiting: ${message}`); } } /** * Base class for Inter Process Communicati...
the_stack
Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
the_stack
import { Inject, Injectable } from '@angular/core'; import { DashboardService } from '@core/http/dashboard.service'; import { TranslateService } from '@ngx-translate/core'; import { Store } from '@ngrx/store'; import { AppState } from '@core/core.state'; import { ActionNotificationShow } from '@core/notification/notifi...
the_stack
import { createState, PluginClient, usePlugin, useValue, Panel, theme, Layout, DetailSidebar, DataTable, DataTableColumn, Toolbar, } from 'flipper-plugin'; import adb from 'adbkit'; import TemperatureTable from './TemperatureTable'; import {Button, Typography, Switch} from 'antd'; import {PlayCirc...
the_stack
import { createInstance, isUndefined, merge, extend, getValue } from './util'; /** * Interface for Class Object */ interface ClassObject { properties: Object & { [key: string]: Object }; setProperties: (arg: Object, muteOnChange?: boolean) => void; } /** * Interface for Parent Options */ interface ParentOpt...
the_stack
import type { NonDeletedExcalidrawElement, NonDeleted, ExcalidrawFreeDrawElement, } from "@excalidraw/excalidraw/types/element/types"; import { getFreeDrawSvgPath } from "@excalidraw/excalidraw"; type AnimateOptions = { startMs?: number; pointerImg?: string; pointerWidth?: string; pointerHeight?: string...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Manages an Automation Runbook's Webhook. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const exampleResourceGroup = new azure.core.Resou...
the_stack
import minimatch from 'minimatch'; import { isFilePath, isModuleName, PackageStructure, Path, PathResolver, toArray, } from '@boost/common'; import { Blueprint, Schemas } from '@boost/common/optimal'; import { color } from '@boost/internal'; import { ConfigError } from './ConfigError'; import { CONFIG_FOLDER, DEF...
the_stack
import Conditions from '../../../../../resources/conditions'; import NetRegexes from '../../../../../resources/netregexes'; import Outputs from '../../../../../resources/outputs'; import { Responses } from '../../../../../resources/responses'; import Util from '../../../../../resources/util'; import ZoneId from '....
the_stack
import { AbortController } from "@aws-sdk/abort-controller"; import { HttpRequest } from "@aws-sdk/protocol-http"; import { Server as HttpServer } from "http"; import http from "http"; import { Server as HttpsServer } from "https"; import https from "https"; import { AddressInfo } from "net"; import { NodeHttpHandler ...
the_stack
import * as path from "path"; import { TreeItem, TreeItemCollapsibleState, Command, TextEditor, TreeView, ProviderResult } from "vscode"; import { AntlrTreeDataProvider } from "./AntlrTreeDataProvider"; import { LexicalRange, CodeActionType } from "../backend/facade"; import { Utils, RangeHolder } from "./Utils"; exp...
the_stack
import * as Expr from "./Expression"; import { Token, Identifier, Location, Lexeme } from "../lexer"; import { BrsType, BrsInvalid } from "../brsTypes"; import { InvalidZone } from "luxon"; import { AstNode } from "./AstNode"; /** A set of reasons why a `Block` stopped executing. */ export * from "./BlockEndReason"; ...
the_stack
import assert from 'assert'; import { getLogger, Logger } from 'common/log'; import { randomSelect } from 'common/utils'; import { RemoteMachineConfig } from 'common/experimentConfig'; import { GPUInfo, ScheduleResultType } from '../common/gpuData'; import { ExecutorManager, RemoteMachineMeta, RemoteMachineScheduleResu...
the_stack
import { Sequence } from 'async-sequencer' import { IData } from './interface' import * as Util from './util' import generatorData from './generatorData.json' import fs from 'fs' // Used to identify event functions. let eventResolverNames = Object.keys(generatorData.event.eventName) eventResolverNames = eventResolver...
the_stack
import { render, screen, within } from '@testing-library/react' import userEvent, { specialChars } from '@testing-library/user-event' import addMonths from 'date-fns/addMonths' import format from 'date-fns/format' import React from 'react' import CareGoalForm from '../../../patients/care-goals/CareGoalForm' import Car...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Manages a Sentinel Automation Rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure...
the_stack
import Env from './env' export type MalJSFunc = (...args: MalVal[]) => MalVal | never export const M_META = Symbol.for('meta') export const M_AST = Symbol.for('ast') export const M_ENV = Symbol.for('env') export const M_PARAMS = Symbol.for('params') export const M_ISMACRO = Symbol.for('ismacro') export const M_ISLIST...
the_stack
import * as express from 'express'; import * as path from 'path'; const fs = require('fs'); const dotenv = require('dotenv'); if (fs.existsSync(path.join(__dirname, '../.env'))) { const envPath = fs.readFileSync(path.join(__dirname, '../.env')); // tslint:disable-next-line: no-console console.log('A .env file ha...
the_stack
import { CfnDomain, CfnRepository } from '@aws-cdk/aws-codeartifact'; import { InterfaceVpcEndpoint } from '@aws-cdk/aws-ec2'; import { Effect, Grant, IGrantable, PolicyStatement } from '@aws-cdk/aws-iam'; import { ArnFormat, Construct, IConstruct, Lazy, Stack } from '@aws-cdk/core'; import { AwsCustomResource, AwsCust...
the_stack
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, OnDestroy, OnInit, Output, ViewEncapsulation, } from '@angular/core'; import { AbstractControl, FormControl, FormGroup, } from '@angular/forms'; import { untilComponentDestroyed } from '@terminus/ngx-tools/utili...
the_stack
import { geoAlbers, geoConicEqualArea, GeoStream, geoStream } from "d3-geo"; function noop() { } let x0 = Infinity; let y0 = x0; let x1 = -x0; let y1 = x1; function boundsPoint(x, y) { if (x < x0) x0 = x; if (x > x1) x1 = x; if (y < y0) y0 = y; if (y > y1) y1 = y; } const boundsStream = { point: ...
the_stack
import express = require("express"); import * as eris from "eris"; import randomstring = require("randomstring"); import Joi = require("joi"); import { Server, User, BlacklistedChannel, Role, RoleCondition, LeagueAccount } from "../database"; import { requireAuth, swallowErrors } from "./decorators"; import { REGIONS }...
the_stack
import { MessageHeaders } from "../src/IHubProtocol"; import { TransferFormat } from "../src/ITransport"; import { HttpClient, HttpRequest } from "../src/HttpClient"; import { ILogger } from "../src/ILogger"; import { ServerSentEventsTransport } from "../src/ServerSentEventsTransport"; import { getUserAgentHeader } fr...
the_stack
import { IGatsbyState, IGatsbyPage, IHtmlFileState, IStaticQueryResultState, } from "../../redux/types" const platformSpy = jest.spyOn(require(`os`), `platform`) interface IMinimalStateSliceForTest { html: IGatsbyState["html"] pages: IGatsbyState["pages"] components: IGatsbyState["components"] } describ...
the_stack
import Currencies from '@tf2autobot/tf2-currencies'; import { genUserPure, genScrapAdjustment } from './userSettings'; import Bot from '../Bot'; import { EntryData, KeyPrices, PricelistChangedSource } from '../Pricelist'; import log from '../../lib/logger'; import { currPure } from '../../lib/tools/pure'; import sendAl...
the_stack
import { ensureLeadingSlash, inBrowser, isString } from '@vitebook/core'; import { tick } from 'svelte'; import { noop, raf } from 'svelte/internal'; import { get } from 'svelte/store'; import type { SvelteModule } from '../../shared'; import { currentPage } from '../stores/currentPage'; import { currentRoute } from '...
the_stack
import { EventEmitter, NextFunction, HookContext as BaseHookContext } from './dependencies.ts'; type SelfOrArray<S> = S | S[]; type OptionalPick<T, K extends PropertyKey> = Pick<T, Extract<keyof T, K>> export type { NextFunction }; export interface ServiceOptions { events?: string[]; methods?: string[]; serv...
the_stack
import { BroadcastChannel, createLeaderElection } from 'broadcast-channel'; import { Path, StateValueAtPath, Plugin, PluginCallbacks, StateValueAtRoot, none, PluginCallbacksOnSetArgument, State } from '@hookstate/core'; type OnLeaderSubscriber = () => void function activateLeaderElecti...
the_stack
import { View } from 'tns-core-modules/ui/core/view'; import { topmost } from "tns-core-modules/ui/frame"; import { ios as iosUtils } from "tns-core-modules/utils/utils"; import { CardBrand, CardCommon, CreditCardViewBase, PaymentMethodCommon, Source, StripePaymentIntentCommon, StripePaymentIntentStatus, Token } from '...
the_stack
import { Component, INotifyPropertyChanged, NotifyPropertyChanges, Property, closest } from '@syncfusion/ej2-base'; import { EmitType, Event, EventHandler, MouseEventArgs } from '@syncfusion/ej2-base'; import { addClass, isRippleEnabled, removeClass, rippleEffect, isNullOrUndefined } from '@syncfusion/ej2-base'; import...
the_stack
import * as debug_ from "debug"; import { shell } from "electron"; import * as fs from "fs"; import { inject, injectable } from "inversify"; import * as moment from "moment"; import * as path from "path"; import { acceptedExtensionObject } from "readium-desktop/common/extension"; import { lcpLicenseIsNotWellFormed } fr...
the_stack
import { expect } from 'chai'; import * as sinon from 'sinon'; import { discoverEmulators, EMULATOR_HOST_ENV_VARS, getEmulatorHostAndPort } from '../../src/impl/discovery'; import { HostAndPort } from '../../src/public_types'; import { restoreEnvVars, stashEnvVars } from '../test_utils'; describe('discoverEmulat...
the_stack