text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import * as crypto from 'crypto';
import * as globals from './globals';
import * as logging from '../lib/logging/logging';
import * as loggingTypes from '../lib/loggingprovider/loggingprovider.types';
var log :logging.Log = new logging.Log('KeyVerify');
// KeyVerify's callbacks API from ZRTP protocol.
export interface... | the_stack |
import React, {
ReactNode,
useImperativeHandle,
Ref,
forwardRef,
useRef,
MutableRefObject,
useState,
useEffect
} from 'react'
import AyCard from '../AyCard'
import { theme } from '../Theme'
import { Form, Row, Col, Input } from 'antd'
import { AyFormField, AyFormProps, FieldListener, RegisterFieldProps ... | the_stack |
import React, { ReactNode } from "react";
import {
Provider as FluentUIThemeProvider,
mergeThemes,
teamsTheme,
teamsDarkTheme,
teamsHighContrastTheme,
ComponentVariablesInput,
ThemePrepared,
} from "@fluentui/react-northstar";
import { ComponentVariablesObject, ThemeInput } from "@fluentui/styles";
imp... | the_stack |
import {
createConnection,
TextDocuments,
ProposedFeatures,
InitializeParams,
DidChangeConfigurationNotification,
TextDocumentPositionParams,
TextDocumentSyncKind,
InitializeResult,
TextDocumentChangeEvent,
RenameParams,
DocumentSymbolParams,
ExecuteCommandParams,
CompletionParams,
} from 'vsc... | the_stack |
import { LogLevel } from './../../chat21-core/utils/constants';
import { ElementRef, Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { Http, Headers, RequestOptions } from '@angular/http';
import { Observable } from 'rxjs/Observable';
// services
import { Globals } from... | the_stack |
import ApoloMutate from './graphqlMutate'
import snapbar from '../functions/module/snackbar'
import mutateCreateComment from '../graphql/mutateCreateComment.gql'
export interface CommentForm {
author: string,
email: string,
url: string,
comment: string,
comment_post_ID: number,
comment_parent: number,
no... | the_stack |
import { FormDefinitionRepresentation } from '../model/formDefinitionRepresentation';
import { FormValueRepresentation } from '../model/formValueRepresentation';
import { IdentityLinkRepresentation } from '../model/identityLinkRepresentation';
import { ResultListDataRepresentationProcessDefinitionRepresentation } from ... | the_stack |
import { Benchmark, BenchmarkType, convertToMap, DisplayMode, Framework, FrameworkType, RawResult, Result, ResultTableData, SORT_BY_GEOMMEAN_CPU, categories } from "./Common"
import {benchmarks as benchmark_orig, frameworks, results as rawResults} from './results';
// Temporarily disable script bootup time
const bench... | the_stack |
namespace colibri.ui.controls.viewers {
export const TREE_ICON_SIZE = RENDER_ICON_SIZE;
export const LABEL_MARGIN = TREE_ICON_SIZE + 0;
export declare type TreeIconInfo = {
rect: Rect,
obj: any
};
export class TreeViewer extends Viewer {
private _treeRenderer: TreeViewerR... | the_stack |
import * as spec from '@jsii/spec';
import * as clone from 'clone';
import { toSnakeCase } from 'codemaker/lib/case-utils';
import * as fs from 'fs-extra';
import * as reflect from 'jsii-reflect';
import {
Rosetta,
TargetLanguage,
enforcesStrictMode,
markDownToJavaDoc,
ApiLocation,
} from 'jsii-rosetta';
impo... | the_stack |
import * as Common from '../../core/common/common.js';
import * as i18n from '../../core/i18n/i18n.js';
import throttlingSettingsTabStyles from './throttlingSettingsTab.css.js';
import type * as SDK from '../../core/sdk/sdk.js';
import * as UI from '../../ui/legacy/legacy.js';
const UIStrings = {
/**
*@descripti... | the_stack |
import * as request from 'supertest';
import app from '../src/api/app';
import {
User,
Scan,
connectToDatabase,
Organization,
OrganizationTag,
UserType
} from '../src/models';
import { createUserToken } from './util';
import { handler as scheduler } from '../src/tasks/scheduler';
import { Organizations } fr... | the_stack |
import {
ChallengeRegistry,
ProxyFactory,
MinimumViableMultisig,
ERC20,
SetStateCommitment,
} from "@connext/contracts";
import {
JsonRpcProvider,
CONVENTION_FOR_ETH_ASSET_ID,
CoinTransfer,
SetStateCommitmentJSON,
ChallengeEvents,
ChallengeStatus,
IStoreService,
} from "@connext/types";
import {... | the_stack |
import {ChartImpl, TEST_ONLY} from './chart';
import {ChartCallbacks, RendererType, ScaleType} from './public_types';
import {
assertSvgPathD,
buildMetadata,
buildSeries,
createSeries,
} from './testing';
describe('line_chart_v2/lib/integration test', () => {
let dom: SVGElement;
let callbacks: ChartCallba... | the_stack |
import {
AfterContentInit,
ChangeDetectionStrategy,
Component,
ElementRef,
EventEmitter,
Inject,
Input,
NgZone,
Optional,
Output,
ViewEncapsulation
} from '@angular/core';
import {
DOWN_ARROW,
END,
ENTER,
HOME,
LEFT_ARROW,
PAGE_DOWN,
PAGE_UP,
RIGHT_ARROW,
UP_ARROW
} from '../core... | the_stack |
import {
EndpointsInputConfig,
EndpointsResolvedConfig,
RegionInputConfig,
RegionResolvedConfig,
resolveEndpointsConfig,
resolveRegionConfig,
} from "@aws-sdk/config-resolver";
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
import {
getHostHeaderPlugin,
HostHeaderInputConfi... | the_stack |
/// <reference types="activex-interop" />
/// <reference types="activex-adodb" />
declare namespace ADOX {
const enum ActionEnum {
adAccessDeny = 3,
adAccessGrant = 1,
adAccessRevoke = 4,
adAccessSet = 2,
}
const enum AllowNullsEnum {
adIndexNullsAllow = 0,
... | the_stack |
const fakeDB = require('fake-indexeddb');
const fakeDBIndex = require('fake-indexeddb/lib/FDBIndex');
const fakeDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange');
const fakeDBDataBase = require('fake-indexeddb/lib/FDBDatabase');
const fakeObjectStore = require('fake-indexeddb/lib/FDBObjectStore');
const fakeDBTran... | the_stack |
import { AccessToken, DbResult, GuidString, OpenMode } from "@itwin/core-bentley";
import { IModelError, IModelVersion } from "@itwin/core-common";
import { TestUsers, TestUtility } from "@itwin/oidc-signin-tool";
import { assert } from "chai";
import { BriefcaseManager, ChangedElementsDb, IModelHost, IModelJsFs, Proce... | the_stack |
import * as React from "react";
import * as sui from "./sui";
import * as data from "./data";
import { fireClickOnEnter } from "./util";
export interface ICarouselProps extends React.Props<Carousel> {
// Percentage of child width to bleed over either edge of the page
bleedPercent: number;
selectedIndex?: n... | the_stack |
import {range} from 'd3-array'
import {Scale, NumericColumnData} from '../types'
import {useLazyMemo} from './useLazyMemo'
import {isDefined} from './isDefined'
import {minBy} from './extrema'
export const useHoverPointIndices = (
mode: 'x' | 'y' | 'xy',
mouseX: number,
mouseY: number,
xColumnData: NumericCol... | the_stack |
import {assert} from '../utils/assert';
import {getAccessorArrayTypeAndLength} from '../gltf-utils/gltf-utils';
import {BufferView} from '../types/gltf-json-schema';
import {BufferView as BufferViewPostprocessed} from '../types/gltf-postprocessed-schema';
// This is a post processor for loaded glTF files
// The goal i... | the_stack |
import * as Common from '../../core/common/common.js';
import networkWaterfallColumnStyles from './networkWaterfallColumn.css.js';
import type * as SDK from '../../core/sdk/sdk.js';
import * as PerfUI from '../../ui/legacy/components/perf_ui/perf_ui.js';
import * as UI from '../../ui/legacy/legacy.js';
import * as Th... | 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/interactionsMappers";
import * as Parameters from "../models/parameters";
import { CustomerInsightsManagementClientContext } from "../customerInsi... | the_stack |
import R from 'ramda';
import yn from 'yn';
import pMapSeries from 'p-map-series';
import * as path from 'path';
import fs from 'fs-extra';
import { Consumer, loadConsumer } from '../../../consumer';
import ComponentsList from '../../../consumer/component/components-list';
import loader from '../../../cli/loader';
impo... | the_stack |
process.env.AWS_ACCESS_KEY_ID = 'testing';
process.env.AWS_SECRET_ACCESS_KEY = 'testing';
import 'mocha';
import { AwsInstrumentation, NormalizedRequest, NormalizedResponse } from '../src';
import { ReadableSpan, Span } from '@opentelemetry/sdk-trace-base';
import { context, SpanStatusCode, trace } from '@opentelemetr... | the_stack |
import { ScrollBar } from './scrollbar';
import { Chart } from '../../chart/chart';
import { RectOption, CircleOption } from '../utils/helper';
import { PathOption, Rect, SvgRenderer } from '@syncfusion/ej2-svg-base';
import { IScrollbarThemeStyle } from '../../chart/index';
// eslint-disable-next-line jsdoc/require-p... | the_stack |
import { Live2DCubismFramework as cubismphysicsinternal } from './cubismphysicsinternal';
import { Live2DCubismFramework as cubismmodel } from '../model/cubismmodel';
import { Live2DCubismFramework as cubismvector2 } from '../math/cubismvector2';
import { Live2DCubismFramework as cubismmath } from '../math/cubismmath';... | the_stack |
import { MOST_NEGATIVE_SINGLE_FLOAT, MOST_POSITIVE_SINGLE_FLOAT } from '../constants';
import { computeBufferSize } from '../helpers/compute-buffer-size';
import { copyFromChannel } from '../helpers/copy-from-channel';
import { copyToChannel } from '../helpers/copy-to-channel';
import { createAudioWorkletProcessor } fr... | the_stack |
import { Server, WebSocket } from "mock-socket";
import { StateTransitionError, TransportState } from "../../../../src/api";
import { LoggerFactory } from "../../../../src/core";
import { Transport } from "../../../../src/platform/web";
import { EmitterSpy, makeEmitterSpy } from "../../../support/api/emitter-spy";
imp... | the_stack |
namespace egret {
/**
* @class egret.GlowFilter
* @classdesc
* 使用 GlowFilter 类可以对显示对象应用发光效果。在投影滤镜的 distance 和 angle 属性设置为 0 时,发光滤镜与投影滤镜极为相似。
* @extends egret.Filter
* @version Egret 3.1.4
* @platform Web,Native
*/
export class GlowFilter extends Filter {
/**
*... | the_stack |
declare namespace adone {
/**
* Filesystem Automation Streaming Templates/Transforms
*/
namespace fast {
// File is based on vinyl typings
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/vinyl/index.d.ts
namespace I {
interface FileConstruct... | the_stack |
import * as CanvasGauges from 'canvas-gauges';
import { WidgetContext } from '@home/models/widget-component.models';
import {
attributesGaugeType,
AttributeSourceProperty,
ColorLevelSetting,
DigitalGaugeSettings,
digitalGaugeSettingsSchema,
FixedLevelColors
} from '@home/components/widget/lib/digital-gauge.... | the_stack |
import { connectivityState as ConnectivityState, status as Status, Metadata, logVerbosity, experimental } from "@grpc/grpc-js";
import { isLocalitySubchannelAddress, LocalitySubchannelAddress } from "./load-balancer-priority";
import LoadBalancingConfig = experimental.LoadBalancingConfig;
import LoadBalancer = exper... | the_stack |
import * as ui from "../../ui";
import * as csx from '../../base/csx';
import * as React from "react";
import { cast, server } from "../../../socket/socketClient";
import * as docCache from "../model/docCache";
import * as types from "../../../common/types";
import * as cursorHistory from "../../cursorHistory";
import ... | the_stack |
//==============================================================
// START Enums and Input Objects
//==============================================================
export enum BreastTypeEnum {
FAKE = "FAKE",
NA = "NA",
NATURAL = "NATURAL",
}
export enum CriterionModifier {
EQUALS = "EQUALS",
EXCLUDES = "EXCL... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import {
VirtualMachine,
VirtualMachinesListByLocationOptionalParams,
VirtualMachinesListOptionalParams,
VirtualMachinesListAllOptionalParams,
VirtualMachineSize,
VirtualMachine... | the_stack |
* Variable: DEFAULT_HOTSPOT
*
* Defines the portion of the cell which is to be used as a connectable
* region. Default is 0.3. Possible values are 0 < x <= 1.
*/
export const DEFAULT_HOTSPOT = 0.3;
/**
* Variable: MIN_HOTSPOT_SIZE
*
* Defines the minimum size in pixels of the portion of the cell which is
* to ... | the_stack |
import delay from 'delay'
import { mockProcessExit, mockProcessStderr, mockProcessStdout } from 'jest-mock-process'
import { Listr } from '@root/index'
describe('show subtasks', () => {
let mockExit: jest.SpyInstance<never, [number?]>
// eslint-disable-next-line @typescript-eslint/ban-types
let mockStdout: jes... | the_stack |
export type ColorSpecification = string;
export type FormattedSpecification = string;
export type ResolvedImageSpecification = string;
export type PromoteIdSpecification = {[_: string]: string} | string;
export type FilterSpecification =
['has', string]
| ['!has', string]
| ['==', string, string | num... | the_stack |
import {
includes,
isUndefined,
isNull,
isArray,
isObject,
isBoolean,
defaults,
each,
extend,
find,
has,
initial,
last,
clone,
reduce,
keys,
isEmpty,
forEach,
} from 'lodash';
export function RestangularConfigurer(object, configuration) {
object.configuration = configuration;
/... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement } from "../shared";
/**
* Statement provider for service [appconfig](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsappconfig.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/re... | the_stack |
import assert = require("assert")
//import fs = require("fs")
//import path = require("path")
//import _=require("underscore")
//
//import def = require("raml-definition-system")
//
//import ll=require("../lowLevelAST")
import high = require("../highLevelImpl")
import hl=require("../highLevelAST")
//
//import t3 = re... | the_stack |
import Builder from '../../src/Builder';
import TypeScriptRenderer from '../../src/renderers/TypeScript';
import ArrayDefinition from '../../src/definitions/Array';
import BoolDefinition from '../../src/definitions/Bool';
import EnumDefinition from '../../src/definitions/Enum';
import InstanceDefinition from '../../src... | the_stack |
import { entitySchemaValidator } from './entitySchemaValidator';
describe('entitySchemaValidator', () => {
const validator = entitySchemaValidator();
let entity: any;
beforeEach(() => {
entity = {
apiVersion: 'backstage.io/v1alpha1',
kind: 'Component',
metadata: {
uid: 'e01199ab-08... | the_stack |
import { LoanMasterNodeRegTestContainer } from './loan_container'
import BigNumber from 'bignumber.js'
import { Testing } from '@defichain/jellyfish-testing'
import { GenesisKeys } from '@defichain/testcontainers'
describe('Loan updateLoanScheme', () => {
const container = new LoanMasterNodeRegTestContainer()
cons... | the_stack |
import { css, jsx } from '@emotion/core';
import React, { useMemo, useCallback, useState, useEffect, useRef } from 'react';
import { useRecoilValue } from 'recoil';
import { v4 as uuidv4 } from 'uuid';
import { ConversationActivityTrafficItem, Activity, UserSettings } from '@botframework-composer/types';
import { Stack... | the_stack |
import React, {
CSSProperties,
forwardRef,
useLayoutEffect,
useMemo,
useState,
useCallback,
MutableRefObject,
useEffect,
useRef,
} from 'react';
import ReactEcharts from 'echarts-for-react';
import * as Echarts from 'echarts/core';
import { EChartsOption, ComposeOption, ECharts } from 'echarts';
impor... | the_stack |
import { ChatReplayData, RestartConversationStatus } from '@bfemulator/app-shared';
import cloneDeep from 'clone-deep';
import { Activity } from 'botframework-schema';
import { replayScenarios } from '../../mocks/conversationQueueMocks';
import { ConversationQueue, WebChatEvents } from './restartConversationQueue';
... | the_stack |
import { BigNumber } from 'bignumber.js';
import { buf2hex, b58cdecode, textDecode, textEncode } from './utility';
import { prefix, forgeMappings } from './constants';
interface Operation {
kind: string;
level?: number;
nonce?: string;
pkh?: string;
hash?: string;
secret?: string;
source?: string;
peri... | the_stack |
import * as cdk from 'monocdk';
import { AutoBump, WritableGitHubRepo } from '../../lib';
import '@monocdk-experiment/assert/jest';
const Stack = cdk.Stack;
const MOCK_REPO = new WritableGitHubRepo({
sshKeySecret: { secretArn: 'ssh-key-secret-arn' },
commitUsername: 'user',
commitEmail: 'email@email',
reposit... | the_stack |
import React, { Fragment, Component } from 'react'
import { connect } from 'dva'
import _ from 'lodash'
import queryString from 'query-string'
import { emitter } from '~/utils/events'
import BaseIframe from '~/components/Iframe'
import TheStage from '../Stage'
import './index.less'
import { isKeyboardEvent } from '~/c... | the_stack |
import * as React from 'react';
import { LinearProgress } from '@material-ui/core';
import CloseIcon from '@material-ui/icons/Close';
import LaunchIcon from '@material-ui/icons/Launch';
import ErrorIcon from '@material-ui/icons/Error';
import UnknownIcon from '@material-ui/icons/Help';
import PendingIcon from '@materia... | the_stack |
import {
Application,
Contract,
Organization,
Key,
Wallet,
Vault as ProvideVault,
BaselineResponse,
Object,
Mapping,
Workflow,
Workstep,
} from "@provide/types";
import { Ident, identClientFactory, nchainClientFactory, vaultClientFactory, baselineClientFactory } from "provide-js";
import { Uuid, T... | the_stack |
* @file index.ts
*
* The main LMLayerWorker class, the top-level class within the Web Worker.
* The LMLayerWorker handles the keyboard/worker communication
* protocol, delegating prediction requests to the language
* model implementations.
*/
/// <reference path="../message.d.ts" />
/// <reference path="models/... | the_stack |
import * as net from 'net'
import * as crypto from 'crypto'
import * as childProcess from 'child_process'
import * as path from 'path'
import * as fs from 'fs'
import * as os from 'os'
import * as _ from 'lodash'
import * as url from 'url'
import * as qs from 'querystring'
import {
mapYcmCompletionsToLanguageServ... | 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/operationalizationClustersMappers";
import * as Parameters from "../models/parameters";
import { MachineLearningComputeManagementClientContext } f... | the_stack |
import { EDITOR } from 'internal:constants';
import { IRigidBody2D } from '../../spec/i-rigid-body';
import { _decorator, Vec2, Component, error, Layers, IVec2Like } from '../../../core';
import { ERigidBody2DType } from '../physics-types';
import { ccclass } from '../../../core/data/class-decorator';
import { createRi... | the_stack |
import ImageAssets from '../../assets/ImageAssets';
import { getAwardProps } from '../../awards/GameAwardsHelper';
import { AwardProperty } from '../../awards/GameAwardsTypes';
import CommonBackButton from '../../commons/CommonBackButton';
import { Constants, screenCenter, screenSize } from '../../commons/CommonConstan... | the_stack |
import * as React from "react";
import * as ReactDom from "react-dom";
import { Version, Environment, EnvironmentType } from "@microsoft/sp-core-library";
import { ThemeProvider, IReadonlyTheme, ThemeChangedEventArgs } from '@microsoft/sp-component-base';
import { BaseClientSideWebPart, IWebPartPropertiesMetadata } fro... | the_stack |
import { Component } from 'vue-property-decorator';
import { select } from 'd3-selection';
import Victor from 'victor';
import _ from 'lodash';
import $ from 'jquery';
import {
Visualization,
injectVisualizationTemplate,
multiplyVisuals,
Scale,
AnyScale,
getScale,
drawAxis,
DEFAULT_PLOT_MARGINS,
LABE... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import {
TagContract,
TagListByOperationOptionalParams,
TagListByApiOptionalParams,
TagListByProductOptionalParams,
TagListByServiceOptionalParams,
TagGetEntityStateByOperationOptionalParams,
TagGetEntityStateByOperationResponse,
TagGetByO... | the_stack |
import * as Immutable from "immutable";
import * as _ from "lodash";
import * as moment from "moment-timezone";
import Moment = moment.Moment;
import { Duration, duration } from "./duration";
import { Index, index } from "./index";
import { period, Period } from "./period";
import { time } from "./time";
import { TimeR... | the_stack |
import {
needs,
NodeEncryptionMaterial,
NodeDecryptionMaterial,
unwrapDataKey,
wrapWithKeyObjectIfSupported,
AwsEsdkKeyObject,
NodeHash,
} from '@aws-crypto/material-management'
import {
createCipheriv,
createDecipheriv,
createSign,
createVerify,
timingSafeEqual,
} from 'crypto'
import { HKDF } ... | the_stack |
import "mocha";
import * as expect from "expect";
import {
DefaultZxSpectrumStateManager,
loadWaModule,
SilentAudioRenderer,
} from "../helpers";
import { setEngineDependencies } from "../../../src/renderer/machines/core/vm-engine-dependencies";
import { ZxSpectrum48Core } from "../../../src/renderer/machines/zx-... | the_stack |
import * as React from 'react';
export interface AppProps {
/**
* Called when the quit menu item is called, right before the entire app quits.
*/
onShouldQuit?: () => void;
}
/**
* The app is the container for the entire program and holds Windows and Menus.
*/
export class App extends React.Compon... | the_stack |
import prelude = require("prelude-ls");
var five: number = prelude.id(5); //=> 5
var emptyObj: Object = prelude.id({}); //=> {}
var expectBool: boolean = prelude.isType("Undefined", void 8); //=> true
prelude.isType("Boolean", true); //=> true
prelude.isType("Number", 1); //=> true
prelude.isType("String... | the_stack |
import { toolkit } from '@docgeni/toolkit';
import { DocgeniContext } from '../docgeni.interface';
import { ChannelItem, ComponentDocItem, DocItem, HomeDocMeta, Locale, NavigationItem } from '../interfaces';
import { ascendingSortByOrder, buildNavsMapForLocales, DOCS_ENTRY_FILE_NAMES, getDocTitle, isEntryDoc } from '..... | the_stack |
import _ from 'lodash'
import K8sFunctions, {StringStringArrayMap, GetItemsFunction} from '../k8s/k8sFunctions'
import {Cluster, PodDetails, PodContainerDetails, ServiceDetails} from "../k8s/k8sObjectTypes"
import { K8sClient } from '../k8s/k8sClient'
import ActionContext from './actionContext'
import {Choice} from './... | the_stack |
import { DataType } from "../../entities/dataType";
import { GlobalFunction, GlobalTag } from "../../entities/globals";
import { Parameter } from "../../entities/parameter";
import { Signature } from "../../entities/signature";
import { equalsIgnoreCase } from "../textUtil";
import CFDocsService from "./cfDocsService";... | the_stack |
import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core';
import { OrganisationService, CatalogService, ShopEventBus, UserEventBus } from './../shared/services/index';
import { ModalComponent, ModalResult, ModalAction } from './../shared/modal/index';
import { ManagerInfoVO, ManagerVO, ShopVO, RoleVO, Pr... | the_stack |
import { expect } from "chai";
import { Tenant } from "../../../emulator/auth/state";
import { expectStatusCode, registerTenant } from "./helpers";
import { describeAuthEmulator, PROJECT_ID } from "./setup";
describeAuthEmulator("tenant management", ({ authApi }) => {
describe("createTenant", () => {
it("should ... | the_stack |
import {Platform} from 'react-native';
import {WebsocketEvents} from '@constants';
import {getConfig} from '@mm-redux/selectors/entities/general';
import Store from '@store/store';
const MAX_WEBSOCKET_FAILS = 7;
const MIN_WEBSOCKET_RETRY_TIME = 3000; // 3 sec
const MAX_WEBSOCKET_RETRY_TIME = 300000; // 5 mins
class... | the_stack |
import { fakeAsync, flush, tick } from '@angular/core/testing';
import { NgExpressEngineInstance } from '../engine-decorator/ng-express-engine-decorator';
import { OptimizedSsrEngine, SsrCallbackFn } from './optimized-ssr-engine';
import {
RenderingStrategy,
SsrOptimizationOptions,
} from './ssr-optimization-option... | the_stack |
import { DevSkimAutoFixEdit, DevskimRuleSeverity, IDevSkimSettings } from "../devskimObjects";
import { Range } from 'vscode-languageserver';
import { SourceContext } from "./sourceContext";
import { DocumentUtilities } from './document';
/**
* Class to handle Suppressions (i.e. comments that direct devskim to ignore... | the_stack |
import { EditCrmItem } from '../edit-crm-item/edit-crm-item';
import { Polymer } from '../../../../tools/definitions/polymer';
import { I18NKeys } from '../../../_locales/i18n-keys';
declare const browserAPI: browserAPI;
export interface CRMColumnElement extends HTMLElement {
index: number;
items: (CRM.Node & {
e... | the_stack |
import React, { FunctionComponent, useEffect, useState } from "react";
import { observer } from "mobx-react-lite";
import { RouteProp, useNavigation, useRoute } from "@react-navigation/native";
import { RegisterConfig } from "@keplr-wallet/hooks";
import { useStyle } from "../../../styles";
import { useSmartNavigation ... | the_stack |
import { customElement, html, property, TemplateResult } from 'lit-element';
import { styles } from './mgt-file-upload-css';
import { strings } from './strings';
import { getSvg, SvgIcon } from '../../../utils/SvgHelper';
import { formatBytes } from '../../../utils/Utils';
import { IGraph, MgtBaseComponent } from '@mic... | the_stack |
import { shell } from "@tauri-apps/api";
/**
* Generates commandline arguments for yt-dl. Optionally also generates ffmpeg arguments.
*/
export class Downloader {
private readonly runningProcesses = new Map<string, shell.Child>();
constructor() {}
/** Video extension */
static get videoFormats() {
// F... | the_stack |
var has = Object.prototype.hasOwnProperty;
var prefix: any = '~';
/**
* Constructor to create a storage for our `EE` objects.
* An `Events` instance is a plain object whose properties are event names.
*
* @constructor
* @private
*/
function Events() { }
//
// We try to not inherit from `Object.prototype`. In so... | the_stack |
import { Client } from '@elastic/elasticsearch'
import merge from 'lodash/merge'
import * as AWS from 'aws-sdk'
import AwsConnector from 'aws-elasticsearch-connector'
import { Injectable } from '@nestjs/common'
import { logger } from '@island.is/logging'
import { autocompleteTermQuery } from '../queries/autocomplete'
i... | the_stack |
type BigInt = number
declare const BigInt: typeof Number
type BigUint64Array = Float32Array
declare const BigUint64Array: typeof Float32Array
declare var VkInout: { $: number; }
export interface VkInout { $: number; }
declare var VkInoutAddress: { $: BigInt; }
export interface VkInoutAddress { $: BigInt; }
/** ####... | the_stack |
'use strict';
import * as vscode from 'vscode';
import * as util from '../common';
import * as cpptools from './client';
import * as telemetry from '../telemetry';
import { getCustomConfigProviders } from './customProviders';
import { TimeTelemetryCollector } from './timeTelemetryCollector';
const defaultClientKey: s... | the_stack |
import * as stateTypes from '../reducers/types';
import * as _ from 'lodash';
function raise(e: string): never {
throw e;
}
export class Subpolicy {
i: number;
title: string;
passing?: boolean;
condition: string;
constructor(i: number) {
this.i = i;
this.title = '';
this.passing = undefined;
... | the_stack |
import React, { Component, ReactNode, ComponentClass, FC } from 'react';
/**
* concent types.d.ts file v2.15.13
*/
declare const mvoid = '$$concent_void_module_624313307';
type CC_CLASS = '$$CcClass';
type CC_HOOK = '$$CcHook';
type CC_FRAGMENT = '$$CcFrag';
type CC_CUSTOMIZE = '$$CcCust';
type CC_OB = '$$CcOb';
... | the_stack |
import { base64, str2buf, buf2str } from './utils';
export interface AccessToken {
expires?: number;
access_token?: string;
}
export interface GoogleDriveUserAccount extends AccessToken {
type: 'authorized_user';
// User Credential fields
// (These typically come from gcloud auth.)
client_id:... | the_stack |
import {
ComponentFixture,
inject,
TestBed,
waitForAsync,
} from "@angular/core/testing";
import {
Component,
Inject,
InjectionToken,
NgModule,
Optional,
ViewChild,
ViewContainerRef,
} from "@angular/core";
import { By } from "@angular/platform-browser";
import { MdlDialogModule, MdlDialogReferenc... | the_stack |
import { Component, Inject, OnInit } from '@angular/core';
import { Subscription } from "rxjs";
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import { MatSnackBar } from '@angular/material/snack-bar';
import { MatTableDataSource } from '@angular/material/table';
import { DialogService, Sn... | the_stack |
import { Component, ViewChild, AfterViewInit, ElementRef, ChangeDetectorRef, ViewChildren, QueryList } from '@angular/core';
import { IgxGridComponent, IDropBaseEventArgs, IgxDialogComponent, IDropDroppedEventArgs, GridSelectionMode} from 'igniteui-angular';
interface ColumnConfig {
key: string;
width: string;... | the_stack |
import { ChangeDetectorRef, Component, OnInit, ViewChild } from '@angular/core';
import { FormControl } from '@angular/forms';
import {
DYNAMIC_FORM_CONTROL_TYPE_DATEPICKER,
DynamicDateControlModel,
DynamicDatePickerModel,
DynamicFormArrayGroupModel,
DynamicFormArrayModel,
DynamicFormControlEvent,
Dynami... | the_stack |
import shortcut from './vendor/shortcut'
import scrollStop from './vendor/scrollStop'
import Overlay from './overlay'
import Color from './Color.d'
import Rect from './rect'
var EDROPPER_VERSION = 12
var CANVAS_MAX_SIZE = 32767 - 20
var page = {
width: 0,
height: 0,
screenWidth: 0,
screenHeight: 0,
... | the_stack |
import { expect } from 'chai';
import { lorem, random } from 'faker';
import sinon from 'sinon';
import { Platform } from '../src/enums';
import { $configuration, CastedObject } from '../src/configuration';
import { SentrySocket } from '../src/socket';
const { word } = lorem;
const { boolean } = random;
const sandbox ... | the_stack |
import {unzipSync, strFromU8, Unzipped} from 'fflate';
import {JsFilesManifest, SelfContainedFileName} from './Common';
import {ViewerDataByElement} from '../../poly/Common';
import {ModuleName} from '../../poly/registers/modules/Common';
import {DomEffects} from '../../../core/DomEffects';
import {PolyEngine} from '..... | the_stack |
module BABYLON {
export class WireFrame2DRenderCache extends ModelRenderCache {
effectsReady: boolean = false;
vb: WebGLBuffer = null;
vtxCount = 0;
instancingAttributes: InstancingAttributeInfo[] = null;
effect: Effect = null;
effectInstanced: Effect = null;
... | the_stack |
import DocPage from '../../components/DocPage'
import DocSection from '../../components/DocSection'
import Code from '../../components/Code'
export default function Tutorials() {
return (
<DocPage name="js-quickstart" title="Tutorials" colour="primary">
Clone it like above. Ensure you can build it. Open <... | the_stack |
interface IPhpDebugBarWidget
{
className?:string;
$el?:JQuery;
tagName?: string;
defaults ?: {};
render?: () => void;
initialize? : (options:{}) => void;
set?: (attr:string|{}, value:{}) => void;
has?: (attr:string) => boolean;
get?: (attr:string) => any;
bindAttr?: (attr:stri... | the_stack |
"use strict";
import * as fs from "fs";
import * as mkdirp from "mkdirp";
import * as _path from "path";
import * as rimraf from "rimraf";
import * as fsgit from "fs-git";
import * as pmb from "packagemanager-backend";
import * as m from "./model";
import * as utils from "./utils";
import Tracker from "./tracker";
... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type ArtworkTestsQueryVariables = {};
export type ArtworkTestsQueryResponse = {
readonly artwork: {
readonly " $fragmentRefs": FragmentRefs<"Artwork_artworkAboveTheFold">;
} | null;
};
export type Artwo... | the_stack |
import json from '@rollup/plugin-json'
import type { BuildOptions as ESBuildOptions } from 'esbuild'
import * as FS from 'fs'
import * as Path from 'path'
import type { OutputOptions, Plugin, RollupOptions } from 'rollup'
import dts from 'rollup-plugin-dts'
import { TopologicalSort } from 'topological-sort'
import type... | the_stack |
import { createMemoryHistory } from "history"
import React from "react"
import { findRenderedComponentWithType } from "react-dom/test-utils"
import ReactModal from "react-modal"
import { MemoryRouter } from "react-router"
import HUD, { mergeAppUpdate } from "./HUD"
import LogStore from "./LogStore"
import { SocketBarRo... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.