text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { createTestDriver } from '../../test-utils/create-test-driver'; import { ICortexTestDriver } from '../../test-utils/test-driver'; import { pioIN, pioIRQ, pioJMP, pioMOV, pioOUT, pioPULL, pioPUSH, pioSET, pioWAIT, PIO_COND_ALWAYS, PIO_COND_NOTEMPTYOSR, PIO_COND_NOTX, PIO_COND_NOTY, PI...
the_stack
import {NotifyDialog} from "./ui/dialog"; import {assert, findElement, findElementAny} from "./util"; interface TestOperation { /** * Condition which is evaluated to see whether the test can executed. */ cond: () => boolean; /** * Operation that executes the test. */ cont: () => voi...
the_stack
import { RuleSetCondition, RuleSetRule, RuleSetUse } from 'webpack'; import postcssPseudoClasses, { PostCssLoaderPseudoClassesPluginOptions, } from 'postcss-pseudo-classes'; export interface CssLoaderOptions { // Enables/Disables url/image-set functions handling url?: boolean | (() => boolean); // Enables/Disa...
the_stack
import React, { useCallback, useRef, useEffect, useReducer } from 'react' import { Spin } from 'antd' import { CloseOutlined } from '@ant-design/icons' import NavBar from './navbar/index' import './styles/index.less' import 'antd/dist/antd.css'; import './styles/global.css' import './styles/toc.less' import { getC...
the_stack
import test from 'tape' import BN from 'bn.js' import { ethers } from 'ethers' import { NonceTxMiddleware, CachedNonceTxMiddleware, SignedEthTxMiddleware, CryptoUtils, Client } from '../../index' import { LoomProvider } from '../../loom-provider' import { deployContract } from '../evm-helpers' import { Addre...
the_stack
import { concat } from './iterators/concat'; import { distinct } from './iterators/distinct'; import { exclude } from './iterators/exclude'; import { fill } from './iterators/fill'; import { filter } from './iterators/filter'; import { flat } from './iterators/flat'; import { groupJoin } from './iterators/groupJoin'; i...
the_stack
import { codebuildProjectNames, getCodebuildRoleName, getSnsAlertTopicName, getSourcesBucketName, installerBuildspec, installerFile, updaterBuildspec, updaterFile, ENVKEY_RELEASES_BUCKET, getS3CredsSecretName, } from "./stack-constants"; import { SharedIniFileCredentials, SNS } from "aws-sdk"; impor...
the_stack
const DBFactory = (): IDBFactory => { const host: any = window return host.indexedDB || host.mozIndexedDB || host.webkitIndexedDB || host.msIndexedDB || host.shimIndexedDB } // --------------------------------------------------------------------------- // // Semaphore // // Asynchronous semaphore u...
the_stack
import { promisify } from 'util' import { Readable, pipeline as rawPipeline } from 'stream' import type { Adapter } from '@resolve-js/eventstore-base' import createAdapter from './create-adapter' const pipeline = promisify(rawPipeline) jest.setTimeout(1000 * 60 * 5) function shuffle(array) { for (let i = array.le...
the_stack
'use strict'; import * as React from 'react'; import { connect } from 'react-redux'; import { makeListKey } from 'chord/platform/utils/common/keys'; import { IStateGlobal } from 'chord/workbench/api/common/state/stateGlobal'; import SongItemView from 'chord/workbench/parts/common/component/songItem'; import ArtistIt...
the_stack
import { noop } from '@babel/types'; /** * Various helper functions around paths and file types */ export class PathOperations { /** * check if the current file path meets any of the conditions that should cause analysis * to skip it * @param filePath the full file path of the file being analyzed ...
the_stack
import * as chai from 'chai'; import chaiHttp = require('chai-http'); import {TestHelper} from '../TestHelper'; import {FixtureUtils} from '../../fixtures/FixtureUtils'; import {Notification} from '../../src/models/Notification'; import {IUser} from '../../../shared/models/IUser'; import {User, IUserModel} from '../../...
the_stack
import { URLExt } from '@jupyterlab/coreutils'; import { Widget } from "@phosphor/widgets"; import { Dialog } from "@jupyterlab/apputils"; import { IDisposable, DisposableDelegate } from '@phosphor/disposable'; import { JupyterLab, JupyterLabPlugin, ILayoutRestorer } from '@jupyterlab/application'; imp...
the_stack
import { DefinitionProvider, TextDocument, Position, CancellationToken, DefinitionLink, Uri, Range, workspace, WorkspaceConfiguration } from "vscode"; import { objectReferencePatterns, ReferencePattern, Component } from "../entities/component"; import { componentPathToUri, getComponent, searchAllFunctionNames } from "....
the_stack
import { LoggingDebugSession, Logger, logger, InitializedEvent, TerminatedEvent, StoppedEvent, OutputEvent, Thread, StackFrame, Scope, Source, Handles, DebugSession, Breakpoint } from 'vscode-debugadapter'; import { DebugProtocol } from 'vscode-debugprotocol'; import { Variable, Stack, VariableObject, MIError } from '....
the_stack
import { ComponentSet, FileProperties, MetadataApiRetrieve, RetrieveResult, SourceComponent } from '@salesforce/source-deploy-retrieve'; import { RecompositionState } from '@salesforce/source-deploy-retrieve/lib/src/convert/convertContext'; import * as fs from 'fs'; import * as os from 'os'; import * as path ...
the_stack
import { Nullable } from "../../../../shared/types"; import * as React from "react"; import { Chart, ChartPoint, ChartTooltipItem } from "chart.js"; import "chartjs-plugin-dragdata"; import "chartjs-plugin-zoom"; import "chartjs-plugin-annotation"; import "chartjs-plugin-dragzone"; import { Animation, IAnimatable } ...
the_stack
import * as Path from 'path' import { readFileSync, writeFileSync, existsSync } from 'fs' import * as ts from "../../../node_modules/typescript/lib/typescript" declare function print(msg :any, ...v :any[]) :void const rootdir = Path.normalize(__dirname + "/../../..") function main() { let infile = __dirname + "/...
the_stack
import { service, inject } from 'spryly'; import { Server } from '@hapi/hapi'; import { ConfigService } from './config'; import { LoggingService } from './logging'; import { ModuleInfoFieldIds, ModuleState, PipelineState, AIModelProvider, IoTCentralService } from './iotCentral'; import { HealthState...
the_stack
import { ShaderLayout, BindingLayout, UniformBinding, UniformBlockBinding, ProgramBindings, AttributeBinding, VaryingBinding, AttributeLayout, AccessorObject } from '@luma.gl/api'; import GL from '@luma.gl/constants'; import {isWebGL2} from '../../context/context/webgl-checks'; import Accessor from '....
the_stack
import 'mocha' import * as admin from 'firebase-admin' import fs from 'fs' import { expect } from 'chai' import * as sinon from 'sinon' import 'sinon-chai' import { to } from '../utils/async' import { encrypt } from '../utils/encryption' import functionsTestLib from 'firebase-functions-test' const functionsTest = func...
the_stack
import {useState, useEffect, createRef} from 'react'; import axios from 'axios'; import {Grid, Card, CardActions, CardContent, Button, Typography, List, ListItem, TextField, Box} from '@material-ui/core'; // Icons import ReplayIcon from '@material-ui/icons/Replay'; import SmsIcon from '@material-ui/icons/Sms'; import ...
the_stack
* @module OrbitGT */ //package orbitgt.pointcloud.render; type int8 = number; type int16 = number; type int32 = number; type float32 = number; type float64 = number; import { Bounds } from "../../spatial/geom/Bounds"; import { AList } from "../../system/collection/AList"; import { Message } from "../../system/runti...
the_stack
import escapeStringRegexp from 'escape-string-regexp'; import { assertGet, command, CommandFunction, CreateExtensionPlugin, cx, DispatchFunction, extension, findMatches, FromToProps, getSelectedWord, Handler, isEmptyArray, isNumber, isSelectionEmpty, isString, keyBinding, KeyBindingCom...
the_stack
import '../jest-extensions'; import { predicate, DataFrame, RecordBatch } from 'apache-arrow'; import { test_data } from './table-tests'; import { jest } from '@jest/globals'; const { col, lit, custom, and, or, And, Or } = predicate; const F32 = 0, I32 = 1, DICT = 2; describe(`DataFrame`, () => { for (let d...
the_stack
import { ContractAddresses } from '@0x/contract-addresses'; import { artifacts as erc20Artifacts, DummyERC20TokenContract } from '@0x/contracts-erc20'; import { IExchangeContract } from '@0x/contracts-exchange'; import { blockchainTests, constants, expect, getRandomPortion, verifyEventsFromLogs } from '@0x/contracts-te...
the_stack
/* * Copyright(c) 2017 Microsoft Corporation. All rights reserved. * * This code is licensed under the MIT License (MIT). * * 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 withou...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { AnalysisServicesServer, ServersListByResourceGroupOptionalParams, ServersListOptionalParams, ServersGetDetailsOptionalParams, ServersGetDetailsResponse, ServersCreateOp...
the_stack
import CodeGenerator, { findTagById, convertToTreeData, updateChildrenText, copyObject } from 'lib/constructor'; import { TProtypoElement } from 'ibax/protypo'; import { TConstructorTreeElement, IFindTagResult } from 'ibax/editor'; test('Constructor module', () => { const jsonData: TProtypoElement[] = [ {...
the_stack
* Swagger Petstore * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. * * OpenAPI spec version:...
the_stack
import React, { useState, useRef, useCallback } from 'react'; import PropTypes from 'prop-types'; import pick from 'lodash/pick'; import omit from 'lodash/omit'; import isFunction from 'lodash/isFunction'; import isNil from 'lodash/isNil'; import DropdownMenu from './DropdownMenu'; import Checkbox from '../Checkbox'; i...
the_stack
import { selectDisplay, makeSelectCurrentLayersOperationInfo, makeSelectLayersBySlide, makeSelectLayerIdsBySlide, makeSelectCurrentLayerList, selectCurrentLayers, makeSelectCurrentLayerIds, makeSelectSlideLayerContextValue, makeSelectCurrentLayersMaxIndex, makeSelectCurrentSelectedLayerList, makeS...
the_stack
import Base64Provider = require('js-base64') import Docker = require('dockerode') import { v4 as uuid } from 'uuid' import DockerService from '../models/DockerService' import { IDockerApiPort, IDockerContainerResource, PreDeployFunction, VolumesTypes, } from '../models/OtherTypes' import BuildLog from '...
the_stack
import * as path from 'path'; import * as semver from 'semver'; import { PROJEN_DIR, PROJEN_RC } from '../common'; import { Component } from '../component'; import { Eslint, EslintOptions, NodeProject, NodeProjectOptions, TypeScriptCompilerOptions, TypescriptConfig, TypescriptConfigOptions } from '../javascript'; impor...
the_stack
export class Agent { constructor( account_url: string, agent_name: string, agent_password: string, friendly_name: string, log_level?: string ); /** * Set url of Agent * {string} url The new URL for the Agency. * Returns {void} */ setUrl(url: s...
the_stack
import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, Resolve, Router } from '@angular/router'; import { CellActionDescriptor, checkBoxCell, DateEntityTableColumn, EntityColumn, EntityTableColumn, EntityTableConfig, GroupActionDescriptor, HeaderActionDescriptor } from '@home/mode...
the_stack
import * as assert from 'assert'; import * as path from 'path'; import * as fs from 'fs'; import * as MozSourceMap from 'source-map'; import * as testUtils from '../testUtils'; import { SourceMap } from '../../src/sourceMaps/sourceMap'; import { ISourceMapPathOverrides } from '../../src/debugAdapterInterfaces'; /** ...
the_stack
import { sortUnique, anyToString } from "../src/util"; import { NodeLabel } from "./node-label"; function sourcePositionLe(a, b) { if (a.inliningId == b.inliningId) { return a.scriptOffset - b.scriptOffset; } return a.inliningId - b.inliningId; } function sourcePositionEq(a, b) { return a.inliningId == b....
the_stack
import { stringify } from 'querystring'; import { Url } from 'url'; /* -------------------------------------------------------------------------------------------- * Copyright for portions from https://github.com/microsoft/vscode-extension-samples/tree/master/lsp-sample * are held by (c) Microsoft Corporation. All ri...
the_stack
import { useEffect, useMemo, useContext, useRef, useState } from 'react'; import type { FormInstance } from 'antd'; import { Button, Collapse, Form, Popconfirm } from 'antd'; import classNames from 'classnames'; import molecule from '@dtinsight/molecule'; import { DeleteOutlined, PlusOutlined } from '@ant-design/icons'...
the_stack
import { IAppInsightsDeprecated } from "../../../src/ApplicationInsightsDeprecated"; import { ApplicationInsightsContainer } from "../../../src/ApplicationInsightsContainer"; import { IApplicationInsights, Snippet } from "../../../src/Initialization"; import { Sender } from "@microsoft/applicationinsights-channel-js"; ...
the_stack
/* * --------------------------------------------------------- * Copyright(C) Microsoft Corporation. All rights reserved. * --------------------------------------------------------- * * --------------------------------------------------------- * Generated file, DO NOT EDIT * ------------------------------------...
the_stack
import React, { PureComponent } from 'react'; import _ from 'lodash'; import { NavModel, DataSourcePluginMeta, getBootConfig, DataSourcePlugin, DataSourceApi, DataQuery, DataSourceJsonData, DataSourceSettings, getBackendSrv, setBootConfig, currentLang, getHistory } from 'src/packages/datav-core/src' import { InlineForm...
the_stack
import { ComponentFixture, fakeAsync, inject, TestBed, tick } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NavigationEnd, NavigationStart, Router, RouterState } from '@angular/router'; import { HttpTestingController } from '@angular/common/http/testing'; import { Observable, of...
the_stack
import { ClarityIcons } from '../icon.service.js'; import { IconAlias, IconShapeTuple } from '../interfaces/icon.interfaces.js'; import { administratorIcon, administratorIconName } from '../shapes/administrator.js'; import { animationIcon, animationIconName } from '../shapes/animation.js'; import { applicationIcon, ap...
the_stack
import { MultiSelect, TaggingEventArgs, MultiSelectChangeEventArgs, ISelectAllEventArgs } from '../../src/multi-select/multi-select'; import { Browser, isNullOrUndefined, EmitType } from '@syncfusion/ej2-base'; import { createElement, L10n } from '@syncfusion/ej2-base'; import { dropDownBaseClasses, PopupEventArgs } fr...
the_stack
import { app } from "electron"; import * as path from "path"; import { Subscription } from "rxjs"; import { createLogger, format, Logger, transports } from "winston"; import { IpcEvents, MessageObject } from "../../../shared/models"; import { IpcMain } from "../ipc-main"; import { AppServer } from "./app-server"; impor...
the_stack
import { Component, OnInit, OnDestroy, ViewChild, ElementRef } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { CoreError } from '@classes/errors/error'; import { CoreFileUploaderHelper } from '@features/fileuploader/services/fileuploader-helper'; import { CanLeave } from '@guards/can-le...
the_stack
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NgbCollapse, NgbPopoverModule } from '@ng-bootstrap/ng-bootstrap'; import { AngularFittextModule } from 'angular-fittext'; import { DragAndDropMapping } from 'app/entities/quiz/drag-and-drop-mapping.model'; import { DragAndDropQuestion } from '...
the_stack
import { Glue42Core } from "@glue42/core"; import { Glue42Web } from "@glue42/web"; import { ApplicationStartConfig, BridgeOperation, LibController } from "../../common/types"; import { GlueController } from "../../controllers/glue"; import { IoC } from "../../shared/ioc"; import { PromisePlus } from "../../shared/prom...
the_stack
import { Alternative, Backreference, CapturingGroup, CharacterClass, CharacterClassElement, CharacterClassRange, Flags, Group, RegExpLiteral, LookaroundAssertion, Pattern, Quantifier, } from "./ast" import { EcmaVersion } from "./ecma-versions" import { HyphenMinus } from...
the_stack
import { Yok } from "../../../lib/common/yok"; import { assert } from "chai"; import { NodeModulesDependenciesBuilder } from "../../../lib/tools/node-modules/node-modules-dependencies-builder"; import * as path from "path"; import * as _ from "lodash"; import * as constants from "../../../lib/constants"; import { IDepe...
the_stack
import * as GLib from "@gi-types/glib"; import * as GModule from "@gi-types/gmodule"; import * as GObject from "@gi-types/gobject"; export const ALLOCATOR_SYSMEM: string; export const BUFFER_COPY_ALL: BufferCopyFlags; export const BUFFER_COPY_METADATA: BufferCopyFlags; export const BUFFER_OFFSET_NONE: number; export c...
the_stack
import { Component, Input, OnDestroy, OnInit } from '@angular/core'; import { FormBuilder } from '@angular/forms'; import { Router } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; import { Observable, of as observableOf, Subscription, BehaviorSubject, combineLatest as observab...
the_stack
* @module Tiles */ import { assert, PriorityQueue } from "@itwin/core-bentley"; import { IModelConnection } from "../IModelConnection"; import { Tile, TileContent, TileRequest } from "./internal"; class TileRequestQueue extends PriorityQueue<TileRequest> { public constructor() { super((lhs, rhs) => { con...
the_stack
import { symbolLayoutAttributes, collisionVertexAttributes, collisionBoxLayout, dynamicLayoutAttributes, } from './symbol_attributes'; import {SymbolLayoutArray, SymbolDynamicLayoutArray, SymbolOpacityArray, CollisionBoxLayoutArray, CollisionVertexArray, PlacedSymbolArray, Symbo...
the_stack
import './WorkItemRenderer.scss'; import * as React from 'react'; import { InfoIcon } from '../InfoIcon/InfoIcon'; import { getRowColumnStyle } from '../../../redux/Helpers/gridhelper'; import { TooltipHost, TooltipOverflowMode } from 'office-ui-fabric-react/lib/Tooltip'; import { css } from '@uifabric/utilities/li...
the_stack
import { GraphqlService, GraphqlResult, GraphqlServiceApi, } from '@slickgrid-universal/graphql'; import { autoinject } from 'aurelia-framework'; import { HttpClient, json } from 'aurelia-fetch-client'; import { AureliaGridInstance, Column, Filters, Formatters, GridOption, Metrics, MultipleSelectOption, ...
the_stack
import { __assign } from 'tslib' import { EventDef } from '../structs/event-def' import { EVENT_NON_DATE_REFINERS, EVENT_DATE_REFINERS } from '../structs/event-parse' import { EventInstance } from '../structs/event-instance' import { EVENT_UI_REFINERS, EventUiHash } from '../component/event-ui' import { EventMutation, ...
the_stack
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { AddCustomRoutingEndpointsCommand, AddCustomRoutingEndpointsCommandInput, AddCustomRoutingEndpointsCommandOutput, } from "./commands/AddCustomRoutingEndpointsCommand"; import { AdvertiseByoipCidrCommand, AdvertiseByoipCidrCo...
the_stack
import { CatalystLabels } from '../../utils/constants'; import { CurrencyId } from '../../models'; const findBlock = (blockNumber?: number, blockHash?: string): string => ` SELECT b.hash as hash, b.block_no as number, (b.time at time zone 'utc') as "createdAt", CASE WHEN b2.block_no IS NOT NULL THEN b2.bl...
the_stack
import * as Delir from '@delirvfx/core' import { connectToStores, ContextProp, useStore, withFleurContext } from '@fleur/react' import classnames from 'classnames' import { clipboard } from 'electron' import _ from 'lodash' import mouseWheel from 'mouse-wheel' import React from 'react' import { Platform } from 'utils/p...
the_stack
const path = require("path"); interface Options { readonly httpUrl: string readonly networkId: string readonly feeToken: string readonly gasPrice: GasPrice readonly bech32prefix: string readonly hdPath: readonly Slip10RawIndex[] readonly faucetUrl?: string readonly defaultKeyFile: string readonly gas...
the_stack
import { OverlayContainer } from '@angular/cdk/overlay'; import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, HostListener, Inject, OnDestroy, OnInit } from '@angular/core'; import { MatDialog, MatDialogConfig, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; impor...
the_stack
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class SavingsPla...
the_stack
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { SpyLocation } from '@angular/common/testing'; import { HttpClient, HttpResponse } from '@angular/common/http'; import { DebugElement, Inject } from '@angular/core'; import { By } from '@angular/platform-browser'; import { Router, Naviga...
the_stack
import * as Geo from "../../geo/Geo"; import { TransitionMode } from "../TransitionMode"; import { EulerRotation } from "../interfaces/EulerRotation"; import { IStateBase } from "../interfaces/IStateBase"; import { ArgumentMapillaryError } from "../../error/ArgumentMapillaryError"; import { Camera } from "../../geo/Ca...
the_stack
import Obniz from '../../../obniz'; import PeripheralI2C from '../../../obniz/libs/io_peripherals/i2c'; import ObnizPartsInterface, { ObnizPartsInfo, } from '../../../obniz/ObnizPartsInterface'; // eslint-disable-next-line @typescript-eslint/no-empty-interface export interface DPS310Options {} export default class ...
the_stack
import { Button, Typography, Grid, Paper, Tooltip, Link, LinearProgress, useMediaQuery, Container, Box, SvgIcon, } from "@material-ui/core"; import Countdown from "react-countdown"; import { ReactComponent as ClockIcon } from "../../assets/icons/clock.svg"; import { ReactComponent as CheckIcon } f...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement, Operator } from "../shared"; /** * Statement provider for service [datapipeline](https://docs.aws.amazon.com/service-authorization/latest/reference/list_datapipeline.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest...
the_stack
// @ts-nocheck // TODO: Stroke constructor's second argument should be optional. // TODO: ElementStyle's lineWidth is declared as a number, but we pass in a string '3'. Should we also allow string? // TODO: In StaveNote.preFormat() line 929, should noteHeadPadding default to StaveNote.minNoteheadPadding? // The ...
the_stack
import IndexableArray from "indexable-array"; import { Memoize } from "@typescript-plus/fast-memoize-decorator/dist/src"; import Entity from "../base/entity"; import Constraint from "../base/constraint"; import Trigger from "../trigger"; import PrimaryKey from "../constraint/primary-key"; import ForeignKey from "../con...
the_stack
import Dayjs from 'dayjs' import crypto from 'crypto' import Bcrypt from 'bcryptjs' import Jwt from 'jsonwebtoken' import { ReferenceType } from '@mikro-orm/core' import { validateAll } from 'indicative/validator' import { plugin, resource, text, json, array, textarea, belongsTo, dateTime, DataPayload...
the_stack
import { Link } from "@fluentui/react"; import * as React from "react"; import AddDatabaseIcon from "../../../images/AddDatabase.svg"; import NewQueryIcon from "../../../images/AddSqlQuery_16x16.svg"; import NewStoredProcedureIcon from "../../../images/AddStoredProcedure.svg"; import OpenQueryIcon from "../../../images...
the_stack
import React, { useEffect, useCallback, useRef, useState } from 'react'; import { useDispatch } from 'react-redux'; import { READ_POST, SinglePost, REMOVE_POST, LIKE_POST, UNLIKE_POST, LinkedPost, POST_VIEW, } from '../../lib/graphql/post'; import PostHead from '../../components/post/PostHead'; import Pos...
the_stack
import { _FirebaseService, FirebaseApp } from '@firebase/app'; import { Auth, AuthErrorMap, AuthSettings, EmulatorConfig, NextOrObserver, Persistence, PopupRedirectResolver, User, UserCredential, CompleteFn, ErrorFn, NextFn, Unsubscribe } from '../../model/public_types'; import { createSubsc...
the_stack
import { bootstrap } from '../../../src/bootstrap'; import fastify, { FastifyInstance } from 'fastify'; import { controllerFactory } from '../../support/controllerFactory'; import methodsDefinitions from '../../data/controllerMethodsDefinitions'; describe('@Controller decorator', () => { let server: FastifyInstanc...
the_stack
import { Chart, registerInteraction } from '@antv/g2' import { AdjustOption, AnnotationPosition, ArcOption, AxisOption, ChartCfg, CoordinateActions, CoordinateOption, DataMarkerOption, DataRegionOption, GeometryOption, LineOption, RegionOption, ScaleOption, TextOption } from '@antv/g2/lib/interface' import { B, Dict, F...
the_stack
import React, { Component } from 'react' import { StyleSheet, Text, View, Animated, TouchableWithoutFeedback, StatusBar, ViewPagerAndroid } from 'react-native' import Icon from 'react-native-vector-icons/Ionicons' import { connect } from 'react-redux' import { changeSegmentIndex, changeCommunityType, ch...
the_stack
import {getScrollingElement} from "../../util/scrolling-element"; // tslint:disable interface IVisualViewport { height: number; width: number; } declare var visualViewport: IVisualViewport; interface VisualViewportable { visualViewport?: { height: number; width: number; }; } /** * Find out which edge to a...
the_stack
'use strict'; import * as jsdoc from './jsdoc' import * as dom5 from 'dom5' import { FeatureDescriptor, FunctionDescriptor, PropertyDescriptor, Descriptor, ElementDescriptor, BehaviorsByName, EventDescriptor, BehaviorDescriptor } from './descriptors' /** Properties on element prototypes that are purely configur...
the_stack
* WARNING: This file has been deprecated and should now be considered locked against further changes. Its contents * have been partially or wholely superceded by functionality included in the @salesforce/core npm package, and exists * now to service prior uses in this repository only until they can be ported to use ...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type ArtistAboutShowsTestsQueryVariables = { artistID: string; }; export type ArtistAboutShowsTestsQueryResponse = { readonly artist: { readonly currentShows: { readonly edges: ReadonlyArray...
the_stack
import { DATEPICKER_DIALOG_NAME, DATEPICKER_NAME } from '../../constants.js'; import type { DatepickerDialog } from '../../datepicker-dialog.js'; import type { Datepicker } from '../../datepicker.js'; import { APP_INDEX_URL } from '../constants.js'; import type { PrepareOptions } from '../custom_typings.js'; import { c...
the_stack
import first from "lodash/first" import isEmpty from "lodash/isEmpty" import drop from "lodash/drop" import flatten from "lodash/flatten" import filter from "lodash/filter" import reject from "lodash/reject" import difference from "lodash/difference" import map from "lodash/map" import forEach from "lodash/forEach" imp...
the_stack
import Browserslist from "browserslist"; import {feature as caniuseFeature, features as caniuseFeatures} from "caniuse-lite"; import compatData from "@mdn/browser-compat-data"; import {get} from "object-path"; import {gt, gte, lt, lte} from "semver"; import { getClosestMatchingBrowserVersion, getNextVersionOfBrowser,...
the_stack
import { Component } from 'vue-property-decorator'; import _ from 'lodash'; import * as synaptic from 'synaptic'; import template from './neural-network.html'; import { injectNodeTemplate } from '../node'; import { SubsetNode } from '../subset-node'; import FormInput from '@/components/form-input/form-input'; import F...
the_stack
import { defaultCss, IWebviewChannel, getVsCodeApiScript } from './common'; export class WebviewPanelManager { private activeTheme = 'default'; private styles: { [key: string]: string }; private isHandlingScroll = false; private updateId = 0; private firstLoad = true; private loadTimeout; private pending...
the_stack
import { BaseEvent, PortPageHook } from "../adapter/port"; import { Commit, MsgTypes, flush } from "../events/events"; import { VNode, FunctionalComponent, ComponentConstructor, Options, } from "preact"; import { getStringId } from "../string-table"; import { isRoot, getAncestor, isSuspenseVNode, getDisplayName...
the_stack
import React, {Component} from "react"; import {Button, Col, Input, notification, Popconfirm, Row, Select, Tree} from "antd"; import {Link} from "react-router"; import {ClusterZnode, ZnodeDetailInfoVo} from "../../model/ClusterModel"; import styles from "../../../themes/Search.less"; import {SysUserVo} from "../../../s...
the_stack
import { DOCUMENT } from '@angular/common'; import { Component, Inject, OnInit } from '@angular/core'; import { NavController } from '@ionic/angular'; import { filter } from 'rxjs/operators'; import { AudioName, ChatSessionType, FriendRequestStatus, MessageType, ResultCode, SocketEvent } from './common/enums'; import {...
the_stack
import { TransformBase } from './transform-base.ts'; import { _ISelection, _Transaction, IValue, _IIndex, _Explainer, _SelectExplanation, _IType, IndexKey, _ITable, Stats, AggregationComputer, AggregationGroupComputer, setId } from '../interfaces-private.ts'; import { SelectedColumn, Expr, ExprRef, ExprCall } from 'htt...
the_stack
import { expect } from "chai"; import * as fs from "fs"; import { Arc3d } from "../../curve/Arc3d"; import { AnyCurve, AnyRegion } from "../../curve/CurveChain"; import { CurveFactory } from "../../curve/CurveFactory"; import { CurvePrimitive } from "../../curve/CurvePrimitive"; import { GeometryQuery } from "../../cur...
the_stack
<?xml version="1.0" encoding="utf-8"?> <!-- // Copyright 2011 Google Inc. 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/LIC...
the_stack
import { capitalize } from "lodash" import * as Oni from "oni-api" import * as Log from "oni-core-logging" import { IDisposable } from "oni-types" import * as React from "react" import { store, SupportedProviders, VersionControlPane, VersionControlProvider } from "./" import getBufferLayerInstance from "./../../Editor...
the_stack
import type { ICategory, IndicesArray, UIntTypedArray } from '../model'; import { IForEachAble, ISequence, isIndicesAble } from './interable'; import { createWorkerCodeBlob, IPoorManWorkerScope, toFunctionBody } from './worker'; import type { IAdvancedBoxPlotData, IStatistics, INumberBin, IDateBin, IDateStati...
the_stack
import * as numbers from "./magic_numbers"; import {PageIndicator} from "./support_menus/PageIndicator"; import * as utils from "./utils"; /** * The type that holds some basic info about * any kind of text that is set in a window. */ export type TextObj = { text: Phaser.BitmapText; shadow: Phaser.BitmapText...
the_stack
import { deepEqual } from 'fast-equals'; import memoize from '../src'; import { isSameValueZero } from '../src/utils'; describe('memoize', () => { it('will return the memoized function', () => { let callCount = 0; const fn = (one: any, two: any) => { callCount++; return { one, ...
the_stack
import * as deepFreeze from 'deep-freeze'; import { AddFieldUpdateAction, DiscardObjectUpdatesAction, FieldChangeType, InitializeFieldsAction, ReinstateObjectUpdatesAction, RemoveAllObjectUpdatesAction, RemoveFieldUpdateAction, RemoveObjectUpdatesAction, SelectVirtualMetadataAction, SetEditableField...
the_stack
import * as bridge from '../lib/bridge/bridge'; import * as consent from './consent'; import * as globals from './globals'; import * as _ from 'lodash'; import * as logging from '../lib/logging/logging'; import Persistent from '../interfaces/persistent'; import * as remote_instance from './remote-instance'; import * as...
the_stack