text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import i18next from 'i18next'; import { ControlInput } from '../../controls/ControlInput'; import { AplContent, QuestionnaireControl } from './QuestionnaireControl'; export namespace QuestionnaireControlAPLPropsBuiltIns { export interface QuestionnaireChoice { ordinalText: string; selectedText: str...
the_stack
import { Manager } from "./Manager"; import { Node, NodeStats } from "./Node"; import { Player, Track, UnresolvedTrack } from "./Player"; import { Queue } from "./Queue"; /** @hidden */ const TRACK_SYMBOL = Symbol("track"), /** @hidden */ UNRESOLVED_TRACK_SYMBOL = Symbol("unresolved"), SIZES = [ "0", "1"...
the_stack
// clang-format off import {isChromeOS, webUIListenerCallback} from 'chrome://resources/js/cr.m.js'; import {listenOnce} from 'chrome://resources/js/util.m.js'; import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; import {ChooserType, ContentSetting, ContentSettingsTypes, SiteDetailsEle...
the_stack
import { getSupportedInterfaces } from 'ask-sdk-core'; import { Intent, IntentRequest, interfaces } from 'ask-sdk-model'; import i18next from 'i18next'; import _ from 'lodash'; import { AmazonBuiltInSlotType, DeepRequired, falseIfGuardFailed, InputUtil, ModelData, okIf, unpackValueControlInt...
the_stack
import { ColorEntry, ColorReason } from "./ColorEntry"; import { injectable } from "../Utils/DI"; import { BaseColorProcessor, SchemeResponse } from "./BaseColorProcessor"; import { IApplicationSettings } from "../Settings/IApplicationSettings"; import { IBaseSettingsManager } from "../Settings/BaseSettingsManager"; im...
the_stack
import { browser, element, by, protractor, $ } from 'protractor'; import { Jazz } from '../page-objects/jazzservices.po'; import { Timeouts, Browser } from 'selenium-webdriver'; import { SSL_OP_SSLEAY_080_CLIENT_DH_BUG, SSL_OP_TLS_BLOCK_PADDING_BUG } from 'constants'; import { Common } from '../common/commontest'; des...
the_stack
import * as Statements from "../2_statements/statements"; import * as Structures from "../3_structures/structures"; import {Issue} from "../../issue"; import {Token} from "../1_lexer/tokens/_token"; import {StatementNode, StructureNode} from "../nodes"; import {IRegistry} from "../../_iregistry"; import {ABAPObject} fr...
the_stack
import * as stream from 'stream'; import * as http from 'http'; export { IncomingMessage } from 'http'; /** * REST request options * * @property {object.<string, string>} customHeaders - Any additional HTTP headers to be added to the request * @proprerty {boolean} [jar] - If true, remember cookies for future use ...
the_stack
import * as Clutter from 'clutter'; import { Actor } from 'clutter'; import * as Gio from 'gio'; import * as Meta from 'meta'; import { KeyBindingAction, KeyBindingFlags, KeyHandlerFunc, ModalOptions, Rectangle, WindowType, Workspace, } from 'meta'; import { ActionMode } from 'shell'; import...
the_stack
import './MatchMediaMock'; import { ControlElement, DispatchCellProps, JsonSchema } from '@jsonforms/core'; import * as React from 'react'; import MaterialArrayControlRenderer from '../../src/complex/MaterialArrayControlRenderer'; import { materialCells, materialRenderers } from '../../src'; import Enzyme, { mou...
the_stack
import { assert } from "chai"; import { debug } from "../debug"; import { CCounter, LWWCVariable, OptionalLWWCVariable, CRDTApp, TestingCRDTAppGenerator, ResettableCCounter, } from "../../src"; import { Pre, Optional } from "@collabs/core"; import seedrandom = require("seedrandom"); import { AddComponent,...
the_stack
import delay from 'delay'; import { of } from "rxjs"; import { take, map, combineLatest } from "rxjs/operators"; import { marbles } from "rxjs-marbles/jest"; import { makeExecutableSchema } from "graphql-tools"; import { graphql } from "../"; const typeDefs = ` type Shuttle { name: String! firstFlight: In...
the_stack
import {escapeRegExp} from '@angular/compiler/src/util'; import {serializeNodes} from '../../../src/i18n/digest'; import {MessageBundle} from '../../../src/i18n/message_bundle'; import {Xliff2} from '../../../src/i18n/serializers/xliff2'; import {HtmlParser} from '../../../src/ml_parser/html_parser'; import {DEFAULT_I...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/variableOperationsMappers"; import * as Parameters from "../models/parameters"; import { AutomationClientContext } from "../automationClientContext"; /** Class representing a VariableOperations. */ exp...
the_stack
import { assert } from "chai"; import * as path from "path"; import { AccessToken, DbResult, GuidString, Id64, Id64String, PerfLogger } from "@itwin/core-bentley"; import { ChangedValueState, ChangeOpCode, ColorDef, IModel, IModelError, IModelVersion, QueryBinder, QueryRowFormat, SubCategoryAppearance, } from "@itwin...
the_stack
import { SharePointQueryable, SharePointQueryableCollection, SharePointQueryableInstance } from "./sharepointqueryable"; import { TextFileParser, BlobFileParser, JSONFileParser, BufferFileParser } from "../odata/parsers"; import { Util } from "../utils/util"; import { MaxCommentLengthException } from "../utils/exceptio...
the_stack
import { Component, OnDestroy, OnInit } from '@angular/core'; import { AddonMessagesProvider, AddonMessagesMessagePreferences, AddonMessagesMessagePreferencesNotification, AddonMessagesMessagePreferencesNotificationProcessor, AddonMessages, } from '../../services/messages'; import { CoreUser } from '@fe...
the_stack
import * as z from 'zod'; import { Activity } from 'botframework-schema'; import { Configuration } from 'botbuilder-dialogs-adaptive-runtime-core'; import { AuthenticateRequestResult, AuthenticationConfiguration, AuthenticationConstants, BotFrameworkAuthentication, BotFrameworkAuthenticationFactory...
the_stack
import { nextTick } from 'vue' import GlobalConfig from '../../v-x-e-table/src/conf' import XEUtils from 'xe-utils' import { getFuncText, eqEmptyValue } from '../../tools/utils' import { scrollToView } from '../../tools/dom' import { VxeGlobalHooksHandles, TableValidatorMethods, TableValidatorPrivateMethods, VxeTableD...
the_stack
import type { DeepPath, Event, Listener, OptPathVal, Path, Path0, Path1, Path2, Path3, Path4, Path5, Path6, Path7, Path8, PathVal, Predicate2, Watch, } from "@thi.ng/api"; import { INotifyMixin } from "@thi.ng/api/mixins/inotify"; import { equiv } from...
the_stack
import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { BaseDialog, IDialogConfiguration } from '@microsoft/sp-dialog'; import { autobind, PrimaryButton, CommandButton, TextField, Label, DialogFooter, DialogContent, DialogType, Toggle, Spinner, Spinner...
the_stack
import React, { lazy } from 'react' import { ConfigurationReference, getConf, readConfObject, } from '@jbrowse/core/configuration' import { isAbortException, getSession, getContainingView, isSelectionContainer, } from '@jbrowse/core/util' import { getRpcSessionId } from '@jbrowse/core/util/tracks' import ...
the_stack
import * as child_process from "child_process"; import * as stream from "stream"; import * as util from "util"; import EventEmitter = require("eventemitter3"); import * as common from "./common"; import * as log from "./log"; import * as config from "./config"; import * as apid from "../../api"; import status f...
the_stack
import { $TSObject, JSONUtilities } from 'amplify-cli-core'; import { addAuthIdentityPoolAndUserPoolWithOAuth, addAuthUserPoolOnlyWithOAuth, amplifyPushAuth, getBackendAmplifyMeta, getProjectMeta, getTeamProviderInfo, } from 'amplify-e2e-core'; import * as aws from 'aws-sdk'; import * as fs from 'fs-extra';...
the_stack
import { AppRunner } from 'aws-sdk' import * as nls from 'vscode-nls' import { createCommonButtons, createRefreshButton, QuickInputToggleButton } from '../../shared/ui/buttons' import { Remote } from '../../../types/git.d' import { GitExtension } from '../../shared/extensions/git' import * as vscode from 'vscode' impor...
the_stack
import { BrowserWindow } from 'electron'; import { Account, AccountWithBalance, HexString, Reward, Tx, TxCoinTransfer, TxSendRequest, TxState } from '../shared/types'; import { ipcConsts } from '../app/vars'; import { AccountDataFlag } from '../proto/spacemesh/v1/AccountDataFlag'; import { Transaction__Output } from '....
the_stack
import * as angular from "angular"; import {moduleName} from "../module-name"; import * as _ from 'underscore'; import * as moment from "moment"; import {OpsManagerFeedUtil} from "./ops-manager-feed-util"; export default class OpsManagerDashboardService{ static readonly $inject = ['$q', '$http', 'OpsManagerR...
the_stack
import * as Long from 'long'; import {CPSessionAwareProxy} from './CPSessionAwareProxy'; import {ISemaphore} from '../ISemaphore'; import {CPProxyManager} from './CPProxyManager'; import {CPSessionManager, NO_SESSION_ID} from './CPSessionManager'; import {RaftGroupId} from './RaftGroupId'; import { assertNonNegativ...
the_stack
import type {Output} from "../output/Output"; /** * Stylized text output utility functions. * @public */ export const OutputStyle = (function () { const OutputStyle = {} as { /** * Writes the ASCII reset escape code to `output`, * if [[OutputSettings.isStyled `output.settings.isStyled()`]] is `true`...
the_stack
import Widget from './Widget' import { ListView } from './basicWidget' import Util from '../shared/Util' import { RenderData, ThreshProvider } from '../types/type' import threshApp from './ThreshApp' import appContainer from './AppContainer' import TimerManager from '../manager/TimerManager' import UtilManager from '.....
the_stack
import ReactDOMServer from "react-dom/server" import { JSONOutput } from "typedoc" import * as React from "react" import { ReactNode, ReactElement } from "react" import * as fs from "fs" import { tmpNameSync, file } from "tmp" import { execSync } from "child_process" // import filesize from "filesize" import { gzip, gz...
the_stack
import * as assert from "power-assert"; import { kubernetesSpecFileBasename, kubernetesSpecStringify, parseKubernetesSpecs, specSlug, specSnippet, specStringSnippet, } from "../../../../lib/pack/k8s/kubernetes/spec"; /* tslint:disable:max-file-line-count */ describe("pack/k8s/kubernetes/spec",...
the_stack
import firebase from "firebase/app"; import { Alert, AsyncStorage, Dimensions } from "react-native"; import Settings from "../constants/Settings"; import Fire from "../ExpoParty/Fire"; import GameStates from "../Game/GameStates"; import Constants from "expo-constants"; import * as Facebook from "expo-facebook"; import...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import * as readline from 'readline'; import * as yargs from 'yargs'; import * as uuid from 'uuid'; import { URI } from 'vscode-uri'; import * as paths from './paths'; import PackageJson from './package'; import { Edge, Vertex, Id, Moniker, PackageIn...
the_stack
import Conditions from '../../../../../resources/conditions'; import NetRegexes from '../../../../../resources/netregexes'; import { Responses } from '../../../../../resources/responses'; import ZoneId from '../../../../../resources/zone_id'; import { RaidbossData } from '../../../../../types/data'; import { NetMa...
the_stack
import { css } from "styled-components"; import { theme, colorScheme, getConcreteBreakpointSize } from "@typestrap/config"; interface Props { hidden: boolean; theme: typeof theme; } /* Constants and helpers */ const capitalizeFirstLetter = (string: string) => string.charAt(0).toUpperCase() + string.slice(...
the_stack
//declare var self:any; module TDev.Plugins { var pluginsBySlot:StringMap<Plugin> = {} var pluginWorker:Worker = null; export interface PluginOperation extends RT.AstAnnotationOp { icon?: string; buttonScope?: string; } class Plugin { public slotId = Random.uniqueI...
the_stack
export class Huffman { static IndexTable = [ 0x0247, 0x0236, 0x0225, 0x0214, 0x0203, 0x01f2, 0x01e1, 0x01d0, 0x01bf, 0x01ae, 0x019d, 0x018c, 0x017b, 0x016a, 0x0161, 0x0158, 0x014f, 0x0146, 0x013d, 0x0134, 0x012b, 0x0122, 0x0119, 0x0110, 0x0107, 0x00fe, 0x00f5, 0x00ec, 0x00e3, 0x00da, 0x00d1, 0x00c8, 0x00b...
the_stack
import chai from "chai"; import "@openzeppelin/test-helpers"; import { solidity } from "ethereum-waffle"; import { BigNumber, Signer } from "ethers"; import { ethers, upgrades, waffle } from "hardhat"; import { ChainLinkPriceOracle, ChainLinkPriceOracle__factory, MockAggregatorV3, MockAggregatorV3__factory, M...
the_stack
"use strict"; /* * Generated by PEG.js 0.10.0. * * http://pegjs.org/ */ function buildMessage(expected, found): any { var DESCRIBE_EXPECTATION_FNS = { literal: function (expectation) { return "\"" + literalEscape(expectation.text) + "\""; }, "class": function (expectation) { v...
the_stack
import { Convert } from '../..'; import { UnresolvedMapping } from '../../core/utils'; import { MessageFactory, MosaicSupplyRevocationTransaction, UInt64 } from '../../model'; import { Address, PublicAccount } from '../../model/account'; import { Mosaic, MosaicFlags, MosaicId, MosaicNonce } from '../../model/mosaic'; i...
the_stack
import { TfCommand, CoreArguments } from "../../lib/tfcommand"; import { MergeSettings, PackageSettings, PublishSettings } from "./_lib/interfaces"; import { WebApi, getBasicHandler } from "azure-devops-node-api/WebApi"; import { BasicCredentialHandler } from "azure-devops-node-api/handlers/basiccreds"; import { Galler...
the_stack
import React from 'react'; import * as pc from 'playcanvas/build/playcanvas.js'; import Example from '../../app/example'; import { AssetLoader } from '../../app/helpers/loader'; // @ts-ignore: library file import import Panel from '@playcanvas/pcui/Panel/component'; // @ts-ignore: library file import import SliderInput...
the_stack
import { applyPatches } from 'immer'; import { Middleware } from 'redux'; import { injectable, createContainer, state, createStore, action, getStagedState, enablePatchesKey, applyMiddleware, } from '../..'; describe('@action', () => { test('base', () => { @injectable() class Counter { @...
the_stack
import path from "path"; const binary = require("@mapbox/node-pre-gyp"); const binding_path = binary.find(path.resolve(path.join(__dirname,"../package.json"))); const maluuba: Maluuba = require(binding_path); /** * The exported classes for phonetic matching. * * @export * @interface Maluuba */ export interface Ma...
the_stack
import * as React from 'react' import { Button, Table, Row, Col, Icon, Dropdown, Card, Checkbox, Menu, Affix } from 'antd' import update from 'immutability-helper' import { PaginationProps } from 'antd/lib/pagination/Pagination' import { ValidationRule } from 'antd/lib/form/Form' import SearchField ...
the_stack
const models = require('../../../../../db/mysqldb/index') import moment from 'moment' const { resClientJson } = require('../../../utils/resData') const Op = require('sequelize').Op const cheerio = require('cheerio') const clientWhere = require('../../../utils/clientWhere') const xss = require('xss') const config = requ...
the_stack
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Store } from '@ngrx/store'; import { Observable } from 'rxjs'; import { map, switchMap, mergeMap } from 'rxjs/operators'; import { FollowLinkConfig, followLink } from '../../../shared/utils/follow-link-config.model...
the_stack
import {ethers} from 'hardhat'; import {setupTestGiveaway} from './fixtures'; import {constants, BigNumber} from 'ethers'; import { waitFor, expectReceiptEventWithArgs, expectEventWithArgs, } from '../utils'; import {expect} from '../chai-setup'; import helpers from '../../lib/merkleTreeHelper'; const {calculate...
the_stack
* @module Polyface */ // import { Point2d } from "./Geometry2d"; /* eslint-disable @typescript-eslint/naming-convention, no-empty */ import { Transform } from "../geometry3d/Transform"; import { Matrix3d } from "../geometry3d/Matrix3d"; import { Point3d } from "../geometry3d/Point3dVector3d"; import { NumberArray } f...
the_stack
namespace gdjs { export namespace evtTools { export namespace firebaseTools { /** * Firebase Authentication Event Tools. * @namespace */ export namespace auth { type ProviderClass = | typeof firebase.auth.GoogleAuthProvider | typeof firebase.auth.Facebo...
the_stack
import React from 'react'; import ReactDOM from 'react-dom'; import classNames from 'classnames'; import noop from 'lodash/noop'; import * as tokens from '@thumbtack/thumbprint-tokens'; import { TextButton } from '../Button/index'; import StickyFooter from './components/sticky-footer'; import Transition from './compone...
the_stack
import {Routes} from '@angular/router'; import {DevApp404} from './dev-app/dev-app-404'; import {DevAppHome} from './dev-app/dev-app-home'; export const DEV_APP_ROUTES: Routes = [ {path: '', component: DevAppHome}, { path: 'autocomplete', loadComponent: () => import('./autocomplete/autocomplete-demo').then...
the_stack
import * as angular from 'angular'; describe('navbar: <uif-nav-bar />', () => { beforeEach(() => { angular.mock.module('officeuifabric.core'); angular.mock.module('officeuifabric.components.navbar'); }); describe('regular navbar tests', () => { let $element: JQuery; let $scope: any; beforeE...
the_stack
import { strict as assert } from "assert"; import got from "got"; import { KubeConfig } from "@kubernetes/client-node"; import { Deployment, K8sResource, Service, V1ServicemonitorResource } from "@opstrace/kubernetes"; import { enrichHeadersWithAuthTokenFile, globalTestSuiteSetupOnce, httpTimeoutSetti...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [medialive](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awselementalmedialive.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/Use...
the_stack
import * as angular from 'angular'; /** * @ngdoc class * @name DatepickerController * @module officeuifabric.components.datepicker * * @restrict E * * @description * DatepickerController is the controller for the <uif-datepicker> directive * */ export class DatepickerController { public static $inject: str...
the_stack
"use strict"; module AlienTube { /** * The extension ptions page for all browsers. * @class Options */ export class Options { private static preferenceKeyList = [ "hiddenPostScoreThreshold", "hiddenCommentScoreThreshold", "showGooglePlusWhenNoPosts", ...
the_stack
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { SprkIconComponent } from '../sprk-icon/sprk-icon.component'; import { SprkLinkDirective } from '../../directives/sprk-link/sprk-link.directive'; import { SprkUnorderedListComponent } from '../sprk-unordered-list/sprk-unordered-list.com...
the_stack
import { BigNumber, BigNumberish, constants, ContractTransaction, providers, Signer } from 'ethers'; import { erc20EscrowToPayArtifact } from '@requestnetwork/smart-contracts'; import { ERC20EscrowToPay__factory } from '@requestnetwork/smart-contracts/types/'; import { ClientTypes, PaymentTypes } from '@requestnetwork/...
the_stack
import {Oas20ParameterDefinition} from "../../models/2.0/parameter.model"; import {Oas20Response, Oas20ResponseDefinition} from "../../models/2.0/response.model"; import {Oas20SecurityScheme} from "../../models/2.0/security-scheme.model"; import {Oas20SchemaDefinition} from "../../models/2.0/schema.model"; import {Oas2...
the_stack
import {getPluralCase} from '../../i18n/localization'; import {assertDefined, assertDomNode, assertEqual, assertGreaterThan, assertIndexInRange, throwError} from '../../util/assert'; import {assertIndexInExpandoRange, assertTIcu} from '../assert'; import {attachPatchData} from '../context_discovery'; import {elementPro...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type AuctionResultQueryVariables = { auctionResultInternalID: string; artistID: string; }; export type AuctionResultQueryResponse = { readonly auctionResult: { readonly " $fragmentRefs": FragmentRef...
the_stack
import { defineConfig, equal, flatMerge, generateId, isFunction, isValidObject, notEqual, } from '@agile-ts/utils'; import { logCodeManager } from '../logCodeManager'; import { State, StateConfigInterface, StateKey } from './state'; import { Agile } from '../agile'; import { StateIngestConfigInterface } f...
the_stack
import * as child_process from 'child_process' import { commands, ExtensionContext, LanguageClient, LanguageClientOptions, languages, OutputChannel, ServerOptions, services, Terminal, Uri, window, workspace } from 'coc.nvim' import * as fs from 'fs' import os from 'os' import path from 'path' import { Notificatio...
the_stack
import * as assert from 'assert'; import { Hanging } from 'python-indent-parser'; // You can import and use all API from the 'vscode' module // as well as import your extension to test it // import * as vscode from 'vscode'; import * as indent from '../../indent'; suite("dedent current line", function () { test(...
the_stack
import * as chai from "chai"; import * as chaiAsPromised from "chai-as-promised"; import { ECClass, ECClassModifier, ECVersion, EntityClass, PrimitiveProperty, PrimitiveType, Schema, SchemaContext, SchemaItemKey, SchemaKey, SchemaMatchType, } from "@itwin/ecschema-metadata"; import { SchemaContextEditor } from "../.....
the_stack
import 'chrome://resources/polymer/v3_0/iron-media-query/iron-media-query.js'; import './styles.js'; import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js'; import {afterNextRender, html} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; import {ImageTile} from '../../common/const...
the_stack
'use strict'; import 'chord/css!../../media/artist'; import * as React from 'react'; import { connect } from 'react-redux'; import { getLikeAndPlayCount } from 'chord/workbench/api/utils/statistic'; import { ESize } from 'chord/music/common/size'; import { IArtistViewProps } from 'chord/workbench/parts/mainView/br...
the_stack
import { WindowPostMessageProxy } from 'window-post-message-proxy'; import { HttpPostMessage } from 'http-post-message'; import { Router } from 'powerbi-router'; import { mockAppSpyObj, mockApp } from './mockApp'; import * as models from 'powerbi-models'; export const spyApp = mockAppSpyObj; export function setupEmbe...
the_stack
import * as React from "react"; import { Trans } from "@lingui/macro"; import { Tooltip } from "reactjs-components"; import { routerShape } from "react-router"; import PropTypes from "prop-types"; import sort from "array-sort"; import { componentFromStream } from "@dcos/data-service"; import { combineLatest, pipe } fr...
the_stack
import * as ts from 'typescript'; export class IdentifierResolver { public constructor(private typeChecker: ts.TypeChecker) { } public getFirstDeclaration(typeInfo: ts.Type): ts.Declaration { return typeInfo && typeInfo.symbol && typeInfo.symbol.declarations[0]; } public getV...
the_stack
import {Oas20Document} from "../../models/2.0/document.model"; import {OasValidationRule} from "./common.rule"; import {Oas20Operation} from "../../models/2.0/operation.model"; import {Oas20Parameter, Oas20ParameterBase, Oas20ParameterDefinition} from "../../models/2.0/parameter.model"; import {Oas20Items} from "../../...
the_stack
import {Proposal, Change, ResolvedValue, createArray, createHash, IGNORE_REG, ID, EAVN, EAVNField, Iterator, Register, Constraint, ALLOCATION_COUNT, RoundArray} from "./runtime"; //------------------------------------------------------------------------ // Utils //----------------------------------------------...
the_stack
import { anyObject } from "jest-mock-extended"; import mockFs from "mock-fs"; import type { CatalogEntity, CatalogEntityData, CatalogEntityKindData } from "../catalog"; import { getDiForUnitTesting } from "../../main/getDiForUnitTesting"; import getConfigurationFileModelInjectable from "../get-configuration-file-model/...
the_stack
import { HttpClient } from '@angular/common/http'; import { Observable, from, forkJoin } from 'rxjs'; import { map} from 'rxjs/operators'; import { Injectable } from '@angular/core'; import { Storage } from '@ionic/storage'; import { ConfigService } from './config.service'; import { PresetOption, PrimaryTag, TagC...
the_stack
import * as $protobuf from "protobufjs"; /** Namespace google. */ export namespace google { /** Namespace cloud. */ namespace cloud { /** Namespace compute. */ namespace compute { /** Namespace v1. */ namespace v1 { /** Properties of an Operation. */ ...
the_stack
import React from 'react'; import ReactDOM from 'react-dom/server'; import { renderToStringWithData } from '@apollo/client/react/ssr'; import { getUserFromReq, computeContextFromUser, configureSentryScope } from '../apollo-server/context'; import { wrapWithMuiTheme } from '../../material-ui/themeProvider'; import { Vu...
the_stack
import {console as Console} from 'global/console'; import {TRIP_POINT_FIELDS, SORT_ORDER} from 'constants/default-settings'; import {ascending, descending} from 'd3-array'; // import {validateInputData} from 'processors/data-processor'; import {generateHashId} from 'utils/utils'; import {getGpuFilterProps, getDatasetF...
the_stack
import * as vscode from 'vscode'; import * as chai from 'chai'; import * as sinonChai from 'sinon-chai'; import * as fs from 'fs-extra'; import * as path from 'path'; import { TektonYamlType, tektonYaml, pipelineYaml, pipelineRunYaml, DeclaredTask } from '../../src/yaml-support/tkn-yaml'; const expect = chai.expect; c...
the_stack
import * as coreHttp from "@azure/core-http"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { StorageClientContext } from "../storageClientContext"; import { ContainerCreateOptionalParams, ContainerCreateResponse, ContainerGetPropertiesOptionalParams, C...
the_stack
declare namespace AsTypedInternal { type SchemaBase = { $id?: string $ref?: string type?: string title?: string description?: string default?: any exmamples?: any[] } type DefinitionsBase = {[name: string]: SchemaBase} type SchemaWithDefinitions<Sc...
the_stack
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * The policy definition. */ export interface PolicyDefinition extends BaseResource { /** * The type of policy definition. Possible...
the_stack
import { ProgressEvent, EventTarget, Event, AddEventListenerOptions, EventListenerOptions } from "../event"; export type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text"; export type XMLHttpRequestMethod = "GET" | "POST" | "DELETE"; export type BodyInit = string | Record<string, a...
the_stack
import { Context, LLVMContext, X86Context } from '../environment/context' import ESTree from 'estree' import { walk } from 'estree-walker' import { NodeTypes } from './ast'; import { BinaryExpression, dispatchExpressionCompile, dispatchExpressionEvaluation, dispatchExpressionLLVMCompile } from './expression'; import { ...
the_stack
import React from "react"; import {render, fireEvent, cleanup, wait} from "@testing-library/react"; import CreateEditStep from "./create-edit-step"; import data from "../../../assets/mock-data/curation/create-edit-step.data"; import axiosMock from "axios"; import {stringSearchResponse} from "../../../assets/mock-data/e...
the_stack
import {expect} from '@loopback/testlab'; import * as types from '../../../'; describe('types', () => { describe('string', () => { const stringType = new types.StringType(); it('checks isInstance', () => { expect(stringType.isInstance('str')).to.be.true(); expect(stringType.isInstance(null)).to.b...
the_stack
import * as path from 'path'; import { checkFilesExist, isNotWindows, isWindows, newProject, readFile, readJson, removeProject, runCLI, runCLIAsync, uniq, updateFile, } from '@nrwl/e2e/utils'; import { classify } from '@nrwl/workspace/src/utils/strings'; let proj: string; beforeAll(() => { pro...
the_stack
import {MeshStandardMaterial} from 'three/src/materials/MeshStandardMaterial.js'; import {Mesh} from 'three/src/objects/Mesh.js'; import {$lazyLoadGLTFInfo} from '../../../features/scene-graph/material.js'; import {$availableVariants, $materials, $primitivesList, $switchVariant, Model} from '../../../features/scene-gr...
the_stack
import React from 'react'; import { Animated, Dimensions, Image, ImageRequireSource, ImageURISource, PanResponder, PanResponderInstance, StyleSheet, Text, TouchableOpacity, View } from 'react-native' import {animateGenericNative, base, extra, large, small, tiny} from "./Utils...
the_stack
// MSSQL Client // ------- import _ from '../../deps/lodash@4.17.15/index.js'; const flatten = _.flatten; const map = _.map; const values = _.values; import inherits from '../../deps/inherits@2.0.4/inherits.js'; import Client from '../../client.js'; import Formatter from '../../formatter.js'; import Transaction from ...
the_stack
import { ParserServices, TSESTree } from '@typescript-eslint/typescript-estree'; import { JSONSchema4 } from 'json-schema'; import { AST } from './AST'; import { Linter } from './Linter'; import { Scope } from './Scope'; import { SourceCode } from './SourceCode'; interface RuleMetaDataDocs { /** * The general ...
the_stack
import * as https from 'https'; import * as http from 'http'; import { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http'; import * as url from 'url'; import { Readable, Writable } from 'stream'; import { EventEmitter } from 'events'; import { LookupFunction } from 'net'; export { IncomingHttpHeaders, OutgoingHttp...
the_stack
//% color=#7600A8 weight=31 icon="\uf03e" //% advanced=true declare namespace images { /** * Creates an image that fits on the LED screen. */ //% weight=75 help=images/create-image //% blockId=device_build_image block="create image" //% parts="ledmatrix" imageLiteral=1 shim=images::create...
the_stack
declare namespace MpxStore { type UnboxDepField<D, F> = F extends keyof D ? D[F] : {} interface Deps { [key: string]: Store | StoreWithThis } type UnboxDepsField<D extends Deps, F> = string extends keyof D ? {} : { [K in keyof D]: UnboxDepField<D[K], F> } type getMutation<M> = M extends (state: a...
the_stack
import Restful from '../../'; import { BulkEbayOfferDetailsWithKeys, BulkInventoryItem, BulkMigrateListing, BulkOffer, BulkPriceQuantity, Compatibility, EbayOfferDetailsWithId, EbayOfferDetailsWithKeys, InventoryItemGroup, InventoryLocation, InventoryLocationFull, OfferKeysWithId, PublishByInv...
the_stack
/// <reference types="node" /> export interface Box { x: number; y: number; width: number; height: number; } export interface Point { x: number; y: number; } export interface Segment { p1: Point; p2: Point; error: number; } export interface Skew { angle: number; confidenc...
the_stack
import React from "react"; import rpcService from "../../../app/service/rpc_service"; import { BuildBuddyError } from "../../../app/util/errors"; import { User } from "../../../app/auth/auth_service"; import { scheduler } from "../../../proto/scheduler_ts_proto"; import ExecutorCardComponent from "./executor_card"; imp...
the_stack
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; import { AbortConfig, Action, ActiveViolation, AggregationType, AlertTarget, AuditCheckConfiguration, AuditCheckDetails, AuditFinding, AuditFrequency, AuditMitigationActionExecutionMetadata, ...
the_stack
import * as coreClient from "@azure/core-client"; /** The response of the List Available Clusters operation. */ export interface AvailableClustersList { /** The count of readily available and pre-provisioned Event Hubs Clusters per region. */ value?: AvailableCluster[]; } /** Pre-provisioned and readily available...
the_stack