text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import * as React from "react";
import {
dispatch,
getContextMenuService,
getDocumentService,
getModalDialogService,
getProjectService,
getState,
getStore,
} from "@core/service-registry";
import VirtualizedList, {
VirtualizedListApi,
} from "../../../emu-ide/components/VirtualizedList";
import { Side... | the_stack |
import { TableOptionsInterface, P_CREATE_TABLE_OPTIONS, O_CREATE_TABLE_OPTION } from '../../../../typings';
import { isString, isDefined } from '../../../../shared/utils';
import {
TableOptionsModelInterface,
} from './typings';
/**
* Class to represent table options as parsed from SQL.
*/
export class TableOptio... | the_stack |
declare module io {
export module fabric {
export module sdk {
export module android {
export class ActivityLifecycleManager {
public static class: java.lang.Class<io.fabric.sdk.android.ActivityLifecycleManager>;
public constructor(param0: globalAndroid.content.Context);
public registerCallback... | the_stack |
import Html2React from "@frontity/html2react/src/libraries/component";
import { HelmetProvider } from "frontity";
import { amp, toBeValidAmpHtml } from "./__utilities__/amp-validator";
import { FilledContext, HelmetData } from "react-helmet-async";
import processors from "../processors";
import { render } from "@testi... | the_stack |
import {
Button,
Checkbox,
CheckboxGroup,
FormControl,
FormHelperText,
FormLabel,
Input,
Stack,
} from "@chakra-ui/react";
import { OWNER_ROLE, defaultAbilities } from "@/features/roles";
import { Organization, Role } from "@prisma/client";
import { PlusIcon } from "@heroicons/react/outline";
import { d... | the_stack |
import Long from "long";
import _m0 from "protobufjs/minimal";
import { Timestamp } from "../google/protobuf/timestamp";
import {
BoolValue,
Int32Value,
StringValue,
UInt32Value,
Int64Value,
} from "../google/protobuf/wrappers";
export const protobufPackage = "nakama.api";
/** The Nakama server RPC protocol... | the_stack |
import {ATTRIBUTE_TYPE} from '@typedorm/common';
import {User, UserPrimaryKey} from '@typedorm/core/__mocks__/user';
import {Condition} from '../condition';
import {ExpressionInputParser} from '../expression-input-parser';
import {Filter} from '../filter';
import {KeyCondition} from '../key-condition';
import {Projecti... | the_stack |
import Vue from 'vue';
import { mount } from '@vue/test-utils';
import { defineComponent } from '@vue/composition-api';
import outdent from 'outdent';
import frag from '..';
import {
dualMount,
createMountTarget,
} from './utils';
Vue.config.ignoredElements = ['app', 'frag'];
test('Nested frags', async () => {
con... | the_stack |
import Random from "./random";
import Room from "./room";
import TILES, { DebugTileMap } from "./tiles";
import { debugMap, debugHtmlMap, DebugHtmlConfig, DebugConsoleConfig } from "./debug";
import create2DArray from "./create-2d-array";
import Point from "./point";
import { isOdd, isEven } from "./math";
type Dimens... | the_stack |
import { Production } from '../production';
import { WorldInterface } from './worldInterface';
import { Unit } from '../units/unit';
import { GameModel } from '../gameModel';
import { BuyAction, BuyAndUnlockAction, UpAction, UpHire, UpSpecial, Research } from '../units/action';
import { Cost } from '../cost';
import { ... | the_stack |
import areShallowEqual from 'are-shallow-equal';
import * as isPrimitive from 'is-primitive';
import {record} from 'proxy-watcher';
import {EMPTY_ARRAY, COMPARATOR_FALSE, SELECTOR_IDENTITY} from './consts';
import ChangesSubscribers from './changes_subscribers';
import Errors from './errors';
import Scheduler from './s... | the_stack |
import React, {
FunctionComponent,
useEffect,
useMemo,
useRef,
useState,
} from "react";
import {
ScrollViewProps,
View,
Animated as NativeAnimated,
} from "react-native";
import { PanGestureHandler } from "react-native-gesture-handler";
import Animated, { Easing } from "react-native-reanimated";
import... | the_stack |
import { assert } from '@canvas-ui/assert'
import { NonConstructiable } from '../foundation'
import { Point, Rect } from '../math'
import { PlatformAdapter } from '../platform'
export type Directive = [string, ...number[]]
export class Path extends NonConstructiable {
/**
* 解析 SVG 路径
*/
static parse(str: s... | the_stack |
import fs from "fs";
import { strict as assert } from "assert";
import { ArgumentParser } from "argparse";
import { ZonedDateTime } from "@js-joda/core";
import { rndstring } from "./util";
import { log, changeStderrLogLevel } from "./log";
import { DEFAULT_LOG_LEVEL_STDERR } from "./index";
interface CfgInterface... | the_stack |
interface KnockoutSubscribableFunctions<T> {
[key: string]: KnockoutBindingHandler | undefined;
notifySubscribers(valueToWrite?: T, event?: string): void;
}
interface KnockoutComputedFunctions<T> {
[key: string]: KnockoutBindingHandler | undefined;
}
interface KnockoutObservableFunctions<T> {
[key: stri... | the_stack |
import {BidiModule} from '@angular/cdk/bidi';
import {
BACKSPACE,
DOWN_ARROW,
END,
HOME,
LEFT_ARROW,
PAGE_DOWN,
PAGE_UP,
RIGHT_ARROW,
UP_ARROW,
A,
} from '@angular/cdk/keycodes';
import {
createMouseEvent,
dispatchEvent,
dispatchFakeEvent,
dispatchKeyboardEvent,
dispatchMouseEvent,
creat... | the_stack |
import { Enum } from './ServerStateEnum'
// ResponseNS
import { Response as ResponseSignatureNS } from './ResponseSignature'
import { Response as ResponseValidator } from './ResponseValidators'
import { Response as ResponseParser } from './ResponseParsers'
import ResponseSignature = ResponseSignatureNS.ResponseSignatu... | the_stack |
import { Injectable } from '@angular/core';
import { CoreSyncBaseProvider } from '@classes/base-sync';
import {
AddonMessagesOffline, AddonMessagesOfflineAnyMessagesFormatted,
} from './messages-offline';
import {
AddonMessagesProvider,
AddonMessages,
AddonMessagesGetMessagesWSParams,
} from './messages... | the_stack |
// These APIs are currently experimental and may change.
import * as aws from "@pulumi/aws";
import * as pulumi from "@pulumi/pulumi";
import * as awslambda from "aws-lambda";
import { CognitoAuthorizer } from "./cognitoAuthorizer";
import * as utils from "../utils";
export type AuthorizerEvent = awslambda.CustomAu... | the_stack |
import {
TSESLint,
TSESTree as es,
} from "@typescript-eslint/experimental-utils";
import { stripIndent } from "common-tags";
import {
getTypeServices,
isCallExpression,
isIdentifier,
isMemberExpression,
isThisExpression,
} from "eslint-etc";
import { ruleCreator } from "../utils";
const messages = {
n... | the_stack |
import test from 'ava';
import * as common from '../../../../../../common';
import {Table} from '../table';
import {Image} from '../../image';
import {Button} from '..';
test('basic complete use case works', t => {
const table = new Table({
title: 'title',
subtitle: 'subtitle',
image: new Image({
u... | the_stack |
import { expect } from "chai";
import { DOM } from "@microsoft/fast-element";
import { fixture } from "../test-utilities/fixture";
import { Button, buttonTemplate as template } from "./index";
const FASTButton = Button.compose({
baseName: "button",
template
})
async function setup() {
const { connect, dis... | the_stack |
import { expect } from 'chai';
import { TestScope } from 'cavy';
import notifee, {
AndroidChannel,
EventType,
Event,
AndroidImportance,
TimestampTrigger,
TriggerType,
RepeatFrequency,
AndroidStyle,
} from '@notifee/react-native';
import { Platform } from 'react-native';
export function NotificationSpec... | the_stack |
import chalk from 'chalk';
import { SetDifference } from 'utility-types';
import { AliasRecord } from '../../util/alias/create-alias';
import { Domain } from '../../types';
import { Output } from '../../util/output';
import * as ERRORS from '../../util/errors-ts';
import assignAlias from '../../util/alias/assign-alias'... | the_stack |
import { Injectable, Injector } from "@angular/core";
import { ListNode, AjaxResult, AjaxResultType, AuthConfig, VerifyCode, FilterOperate, FilterOperateEntry } from "@shared/osharp/osharp.model";
import { NzMessageService, NzMessageDataOptions } from "ng-zorro-antd";
import { Router } from "@angular/router";
import { ... | the_stack |
import {classNames, SlotProvider, unwrapDOMRef, useDOMRef, useStyleProps} from '@react-spectrum/utils';
import {DOMProps, DOMRef, Node, Orientation} from '@react-types/shared';
import {filterDOMProps, useValueEffect} from '@react-aria/utils';
import {FocusRing} from '@react-aria/focus';
import {Item, Picker} from '@rea... | the_stack |
module VORLON {
export class UWPClient extends ClientPlugin {
monitorInterval: any;
constructor() {
super("sample"); // Name
this.monitorInterval = null;
this._ready = true; // No need to wait
//this.debug = true;
}
//Return unique id... | the_stack |
import * as i18n from "i18next";
import * as moment from "moment";
import "pubsub-js";
import { Logger, LogLevel, Site, storage, Util } from "sp-pnp-js";
import ITaxonomyNavigationNode from "../../models/ITaxonomyNavigationNode";
import TaxonomyModule from "../../modules/TaxonomyModule";
import UtilityModule from "../.... | the_stack |
import assert from 'assert';
import * as events from 'events';
import * as child_process from 'child_process';
import * as Tp from 'thingpedia';
import JsonDatagramSocket from '../utils/json_datagram_socket';
const DEFAULT_QUESTION = 'translate from english to thingtalk';
export interface RawPredictionCandidate {
... | the_stack |
import { DeepPartial, Omit } from 'utility-types'
import { Size, KeyValue } from '../types'
import { Registry } from '../registry'
import { Point, Rectangle, Angle } from '../geometry'
import { StringExt, ObjectExt, NumberExt } from '../util'
import { Markup } from '../view/markup'
import { Cell } from './cell'
import ... | the_stack |
namespace eui.sys {
/**
* @private
*/
export const enum RangeKeys{
maximum,
maxChanged,
minimum,
minChanged,
value,
changedValue,
valueChanged,
snapInterval,
snapIntervalChanged,
explicitSnapInterval
}
}
namespac... | the_stack |
import { assertEquals, assertRejects } from "../testing/asserts.ts";
import {
Column,
DataItem,
NEWLINE,
stringify,
StringifyError,
StringifyOptions,
} from "./csv_stringify.ts";
type StringifyTestCaseBase = {
columns: Column[];
data: DataItem[];
name: string;
options?: StringifyOptions;
};
type ... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace Formmsdyn_projectapproval_Information {
interface Header extends DevKit.Controls.IHeader {
/** Shows the name of the approver. */
msdyn_ApprovedBy: DevKit.Controls.Lookup;
/** Shows the resource that the entry is submitted... | the_stack |
import React from 'react';
import { mount } from 'enzyme';
import mountTest from '../../../tests/mountTest';
import Tree from '..';
import { IconHeartFill } from '../../../icon';
import { NodeProps } from '../interface';
import componentConfigTest from '../../../tests/componentConfigTest';
componentConfigTest(Tree, 'T... | the_stack |
import * as path from 'path';
import * as tl from 'azure-pipelines-task-lib/task';
import * as tr from 'azure-pipelines-task-lib/toolrunner';
import * as utils from './helpers';
import * as constants from './constants';
import * as ci from './cieventlogger';
import { AreaCodes, DistributionTypes } from './constants';
i... | the_stack |
import {
CfnIdentityPool,
} from '@aws-cdk/aws-cognito';
import {
IOpenIdConnectProvider,
ISamlProvider,
Role,
FederatedPrincipal,
IRole,
} from '@aws-cdk/aws-iam';
import {
Resource,
IResource,
Stack,
ArnFormat,
Lazy,
} from '@aws-cdk/core';
import {
Construct,
} from 'constructs';
import {
I... | the_stack |
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import { Command as $Command } from "@aws-sdk/smithy-client";
import {
FinalizeHandlerArguments,
Handler,
HandlerExecutionContext,
HttpHandlerOptions... | the_stack |
module Fayde.Data {
export interface IPropertyPathWalkerListener {
IsBrokenChanged();
ValueChanged();
}
export interface IPropertyPathNode {
Next: IPropertyPathNode;
Value: any;
IsBroken: boolean;
ValueType: IType;
GetSource(): any;
... | 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';
interface Blob {}
declare class WorkSpaces exte... | the_stack |
import { useEffect, useMemo, useState } from 'react';
import molecule from '@dtinsight/molecule';
import { Scrollable } from '@dtinsight/molecule/esm/components';
import { connect } from '@dtinsight/molecule/esm/react';
import API from '@/api';
import { message, Spin, Steps } from 'antd';
import { checkExist, getTenant... | the_stack |
import * as fs from "fs";
import * as path from "path";
import * as os from "os";
import { execSync } from "child_process";
import { File, FileLink } from "../common/File";
import { Logger } from "../common/Logger";
import { Reader, IMountList, ProgressFunc, ProgressResult } from "../common/Reader";
import { Transfor... | the_stack |
import { format, isFunction } from 'util';
import { AzureFunctionsRpcMessages as rpc } from '../azure-functions-language-worker-protobuf/src/rpc';
import { augmentTriggerMetadata } from './augmenters';
import { CreateContextAndInputs, LogCallback, ResultCallback } from './Context';
import { toTypedData } from './conver... | the_stack |
import React from 'react';
import {Box, Flex} from 'theme-ui';
import {
colors,
Button,
Mentions,
Menu,
Upload,
UploadChangeParam,
UploadFile,
Text,
Tooltip,
} from '../common';
import {Message, MessageType, User} from '../../types';
import {InfoCircleOutlined, PaperClipOutlined} from '../icons';
impo... | the_stack |
import ui, {
start as uiStart,
setCameraMode, setCameraVerticalAxis, createNodeElement, setupSelectedNode, createComponentElement,
setInspectorPosition, setInspectorOrientation, setInspectorScale,
setInspectorVisible, setInspectorLayer, setInspectorPrefabScene,
setupInspectorLayers } from "./ui";
import engin... | the_stack |
import * as Clutter from 'clutter';
import { Text } from 'clutter';
import * as Gio from 'gio';
import * as GLib from 'glib';
import * as GObject from 'gobject';
import * as Shell from 'shell';
import { Async } from 'src/utils/async';
import { registerGObjectClass } from 'src/utils/gjs';
import { MatButton } from 'src/... | the_stack |
import { jsx } from '@emotion/react'
import React from 'react'
import { DeviceInfo, deviceInfoList } from '../../common/devices'
import { BASE_URL, FLOATING_PREVIEW_BASE_URL } from '../../common/env-vars'
import { useEditorState } from '../editor/store/store-hook'
import { SelectOption } from '../inspector/controls/sel... | the_stack |
import dedent from 'dedent';
import { format } from 'prettier/standalone';
import { collectCss } from '../helpers/collect-styles';
import { fastClone } from '../helpers/fast-clone';
import {
getMemberObjectString,
getStateObjectStringFromComponent,
} from '../helpers/get-state-object-string';
import { mapRefs } fro... | the_stack |
import {assert} from '../../../platform/assert-web.js';
import {HandleConnectionSpec} from '../../arcs-types/particle-spec.js';
import {Type} from '../../../types/lib-types.js';
import {RELAXATION_KEYWORD} from '../../manifest-ast-types/manifest-ast-nodes.js';
import {acceptedDirections} from '../../arcs-types/directio... | the_stack |
import { ProgressBar } from '../progressbar';
import { lineCapRadius, completeAngle } from '../model/constant';
import { getPathArc, Pos, degreeToLocation } from '../utils/helper';
import { PathOption, LinearGradient, GradientColor } from '@syncfusion/ej2-svg-base';
import { RangeColorModel } from '../model';
/**
* P... | the_stack |
import { COMMA, DOWN_ARROW, ENTER } from '@angular/cdk/keycodes';
import { Component, ElementRef, OnDestroy, OnInit, ViewChild, ViewContainerRef } from '@angular/core';
import { FormControl } from '@angular/forms';
import { select, Store } from '@ngrx/store';
import { from, Observable, of, Subject, Subscription } from ... | the_stack |
import { BotAdapter } from './botAdapter';
import { BotCallbackHandlerKey, TurnContext } from './turnContext';
import { INVOKE_RESPONSE_KEY } from './activityHandlerBase';
import { delay } from 'botbuilder-stdlib';
import { v4 as uuid } from 'uuid';
import {
AuthenticateRequestResult,
AuthenticationConstants,
... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* A description of the conditions under which some aspect of your system is
* considered to be "unhealthy" and the ways to notify people or services
* about this st... | the_stack |
import options from '../../util/options';
import Settings from '../../Settings';
import Math from '../../common/Math';
import Vec2 from '../../common/Vec2';
import Vec3 from '../../common/Vec3';
import Mat33 from '../../common/Mat33';
import Rot from '../../common/Rot';
import Joint, { JointOpt, JointDef } from '../Joi... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* A configuration for an external identity provider.
*
* To get more information about WorkloadIdentityPoolProvider, see:
*
* * [API documentation](https://cloud.... | the_stack |
import * as assert from 'assert';
import { Application, HTTPRequest, HTTPResponse } from '../src';
import { FaaSHTTPContext } from '@midwayjs/faas-typings';
import * as mm from 'mm';
describe('test http parser', () => {
it('should parser tencent apigw event', () => {
const app = new Application();
const req ... | the_stack |
import { resets, brandBackground } from '@guardian/source-foundations';
import { getFontsCss } from '@root/src/lib/fonts-css';
import { ASSET_ORIGIN } from '@root/src/lib/assets';
import he from 'he';
export const htmlTemplate = ({
title = 'The Guardian',
description,
linkedData,
loadableConfigScripts,
prioritySc... | the_stack |
import {Context} from '@loopback/core';
import {anOpenApiSpec, anOperationSpec} from '@loopback/openapi-spec-builder';
import {
ControllerSpec,
get,
ParameterObject,
RequestBodyObject,
} from '@loopback/openapi-v3';
import {
Client,
createClientForHandler,
createUnexpectedHttpErrorLogger,
expect,
} from... | the_stack |
// clang-format off
import {sendWithPromise} from 'chrome://resources/js/cr.m.js';
// clang-format on
/**
* Ctap2Status contains a subset of CTAP2 status codes. See
* device::CtapDeviceResponseCode for the full list.
*/
export enum Ctap2Status {
OK = 0x0,
ERR_FP_DATABASE_FULL = 0x17,
ERR_INVALID_OPTION = 0x2C... | the_stack |
import { mountWithElement, waitImmediate, triggerEvent } from '../util'
import { ref, ComponentPublicInstance } from 'vue'
import { VueWrapper } from '@vue/test-utils'
describe('InputNumber', () => {
it('create', () => {
const val = ref(1)
const wrapper = mountWithElement({
template: `
<el-... | the_stack |
/// <reference types="jquery" />
/// <reference types="pickadate" />
declare namespace Materialize {
/**
* The collapsible options
*/
interface CollapsibleOptions {
/**
* A setting that changes the collapsible behavior to expandable instead of the default accordion style
*/
... | the_stack |
import {Component, ViewChild} from '@angular/core';
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
import {FormsModule} from '@angular/forms';
import {By} from '@angular/platform-browser';
import * as moment from 'moment';
import {DlDateTimeNumberModule, DlDateTimePickerComponent, DlDateTimePic... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormCase {
interface Header extends DevKit.Controls.IHeader {
/** Date and time when the record was created. */
CreatedOn: DevKit.Controls.DateTime;
/** Owner Id */
OwnerId: DevKit.Controls.Lookup;
/** Select the pri... | the_stack |
import { ThreeCameraService } from "./threeViewer/threeCameraService"
import { IRootScopeService, IWindowService } from "angular"
import { CodeMapBuilding } from "./rendering/codeMapBuilding"
import $ from "jquery"
import { ViewCubeEventPropagationSubscriber, ViewCubeMouseEventsService } from "../viewCube/viewCube.mous... | the_stack |
export interface Derivative { // function computing the value of Y' = F(x,Y)
(x: number, // input x value
y: number[]) // input y value)
: number[] // output y' values (Array of length n)
}
export interface OutputFunction { // value callback
(nr: number, ... | the_stack |
import mysql, { Connection, ConnectionConfig, FieldInfo, QueryOptions } from 'mysql';
import genericPool from 'generic-pool';
import { promisify } from 'util';
import {
BaseDriver,
GenericDataBaseType,
DriverInterface,
StreamOptions,
DownloadQueryResultsOptions, TableStructure, DownloadTableData, IndexesSQL, ... | the_stack |
import { Injectable } from '@angular/core';
import * as _ from 'lodash';
import * as moment from 'moment';
import { QUARTER } from './../constants/quarter';
import { LoggerService } from './logger.service';
import { RefactorFieldsService } from './refactor-fields.service';
@Injectable()
export class UtilsService {
c... | the_stack |
import { BrandedButton } from '@covid/components';
import { ShareButton } from '@covid/components/buttons';
import { Text } from '@covid/components/typography';
import { WebView } from '@covid/components/WebView';
import Analytics, { events } from '@covid/core/Analytics';
import { TCoordinates, TPersonalisedLocalData }... | the_stack |
import React from 'react';
import { List } from 'immutable';
import { FormattedMessage } from 'react-intl';
import { Button } from 'react-bootstrap';
import { IMapEditorEvent, TMapEditorType } from 'ibax/geo';
import themed from 'components/Theme/themed';
import { loadModules } from 'esri-loader';
import Autosuggest, {... | the_stack |
import { AfterViewInit, ChangeDetectorRef, Component, ElementRef, HostListener, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { ControllerClient } from '../../client';
import { decodeFrameData, decodeFrames } from '@deepkit/framework-debug-api';
import { Application, Container, Graphics, InteractionEvent,... | the_stack |
import api from '@/api';
import {
CAT_TYPE,
COLLECT_TYPE,
CREATE_MODEL_TYPE,
DATA_SOURCE_ENUM,
ID_COLLECTIONS,
KAFKA_DATA_TYPE,
QOS_TYPE,
READ_MODE_TYPE,
RESTFUL_METHOD,
RESTFUL_PROPTOCOL,
RESTFUL_RESP_MODE,
SLOAR_CONFIG_TYPE,
SOURCE_TIME_TYPE,
SYNC_TYPE,
TASK_TYPE_ENUM,
} from '@/constant';
import { isK... | the_stack |
import {
getStoreKey,
pluginName,
getStorageSecretUrl,
getOperationManifestUrl,
} from './common';
import loglevel from 'loglevel';
import fetcher from 'make-fetch-happen';
import { HttpRequestCache } from './cache';
import type { InMemoryLRUCache } from 'apollo-server-caching';
import type { OperationManifes... | the_stack |
import * as angular from 'angular';
import { CalloutType } from './calloutTypeEnum';
import { CalloutArrow } from './calloutArrowEnum';
/**
* @ngdoc class
* @name CalloutController
* @module officeuifabric.components.callout
*
* @restrict E
*
* @description
* CalloutController is the controller for the <uif-ca... | the_stack |
import { Assert, AITestClass } from "@microsoft/ai-test-framework";
import { ITestContext, StepResult } from "@microsoft/ai-test-framework/dist-esm/src/TestCase";
import { _InternalMessageId, LoggingSeverity } from "../../../src/JavaScriptSDK.Enums/LoggingEnums";
import { _InternalLogMessage, DiagnosticLogger } from ".... | 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 Grafana ex... | the_stack |
import {
chain,
noop,
Rule,
SchematicContext,
Tree,
} from '@angular-devkit/schematics';
import { ArrowFunction, CallExpression, SyntaxKind } from 'ts-morph';
import {
featureFeatureModuleMapping,
getKeyByMappingValueOrThrow,
getSchematicsConfigByFeatureOrThrow,
} from '../shared/schematics-config-mappi... | the_stack |
import { Injectable } from '@angular/core';
import { CoreError } from '@classes/errors/error';
import { CoreWSError } from '@classes/errors/wserror';
import { CoreSite, CoreSiteWSPreSets } from '@classes/site';
import { CoreCourseCommonModWSOptions } from '@features/course/services/course';
import { CoreCourseLogHelper... | the_stack |
import assert = require('assert');
import argparse = require('argparse');
import colors = require('colors');
import fs = require('fs');
import mkdirp = require('mkdirp');
import path = require('path');
import underscore = require('underscore');
import xdiff = require('xdiff');
var qunit = require('qunitjs');
import en... | the_stack |
import { Nullable } from "../../../shared/types";
import * as React from "react";
import { Classes, ButtonGroup, Button, Tabs, TabId, Tab } from "@blueprintjs/core";
import { Terminal } from "xterm";
import { FitAddon } from 'xterm-addon-fit';
import { Logger, Observable } from "babylonjs";
import { Icon } from "..... | the_stack |
import 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.js';
import 'chrome://resources/cr_elements/cr_button/cr_button.m.js';
import 'chrome://resources/cr_elements/cr_link_row/cr_link_row.js';
import 'chrome://resources/cr_elements/shared_style_css.m.js';
import 'chrome://resources/cr_elements/shared_var... | the_stack |
declare var Winreg: WinregStatic;
interface WinregStatic {
/**
* Creates a registry object, which provides access to a single registry key.
* Note: This class is returned by a call to ```require('winreg')```.
*
* @public
* @class
*
* @param {@link Options} options - the options
... | the_stack |
import { Component } from 'vue-property-decorator';
import _ from 'lodash';
import template from './visual-editor.html';
import { injectNodeTemplate } from '@/components/node';
import SubsetNode from '@/components/subset-node/subset-node';
import { VisualProperties, VisualPropertyType, isNumericalVisual } from '@/data... | the_stack |
import { Injectable, HostBinding, EventEmitter, Output } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { ProgressWindow } from '../pages/generator/progressWindow/progressWindow.component';
import * as post from 'post-robot';
@Injectable()
export class GUIGlobal {
//Globals for GU... | the_stack |
import BigNumber from 'bignumber.js';
import { Provider } from 'web3/providers';
import Web3 from 'web3';
import PromiEvent from 'web3/promiEvent';
import { TransactionReceipt } from 'web3/types';
import { TransactionObject, Block, Tx } from 'web3/eth/types';
// Contracts
import { SoloMargin } from '../../build/wrappe... | the_stack |
import { BaseResource, CloudError } from "ms-rest-azure";
import * as moment from "moment";
export {
BaseResource,
CloudError
};
/**
* Error Details object.
*/
export interface StorageSyncErrorDetails {
/**
* Error code of the given entry.
*/
code?: string;
/**
* Error message of the given entry... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* An interval in time specifying the date and time for the inclusive start and exclusive end, i.e.
* `[start, end)`.
*/
export interfa... | the_stack |
import * as i18n from '../../../../core/i18n/i18n.js';
import * as Platform from '../../../../core/platform/platform.js';
import * as TextUtils from '../../../../models/text_utils/text_utils.js';
import * as UI from '../../legacy.js';
const UIStrings = {
/**
*@description Text to find an item
*/
find: 'Find',
... | the_stack |
import { IRawModel, getMeta, setMeta, isArrayLike, mobx, IObservable, IObservableArray, removeFromArray, replaceInArray } from '@datx/utils';
import { PureModel } from './PureModel';
import { IType } from './interfaces/IType';
import { TFilterFn } from './interfaces/TFilterFn';
import { IIdentifier } from './interface... | the_stack |
import { expect, test } from '@jest/globals';
import { float, float32, int8, integer, PrimaryKey, Reference } from '../src/reflection/type';
import { is } from '../src/typeguard';
test('primitive string', () => {
expect(is<string>('a')).toEqual(true);
expect(is<string>(123)).toEqual(false);
expect(is<strin... | the_stack |
declare function escape(str: any): any;
declare function unescape(str: any): any;
declare function config(configs: ConfigOption): void;
declare const isNumber: (obj: any) => boolean;
declare const isString: (obj: any) => boolean;
declare function arrayPush(arr1: any, arr2: any): number;
declare function arraySlice(ar... | the_stack |
import { createElement } from '@syncfusion/ej2-base';
import { Diagram } from '../../../src/diagram/diagram';
import { DiagramElement } from '../../../src/diagram/core/elements/diagram-element';
import { Canvas } from '../../../src/diagram/core/containers/canvas';
import { GridPanel, RowDefinition, ColumnDefinition } f... | the_stack |
import * as colorSpaces from '../util/color_spaces';
import Color from '../util/color';
import extend from '../util/extend';
import getType from '../util/get_type';
import * as interpolate from '../util/interpolate';
import Interpolate from '../expression/definitions/interpolate';
import Formatted from '../expression/t... | the_stack |
* @module WebGL
*/
import { assert, BentleyStatus, Dictionary, dispose, Id64, Id64String } from "@itwin/core-bentley";
import { ClipVector, Point3d, Transform } from "@itwin/core-geometry";
import {
ColorDef, ElementAlignedBox3d, Frustum, Gradient, ImageBuffer, ImageBufferFormat, ImageSourceFormat, IModelError, Pac... | the_stack |
import { NowResponse, NowRequest } from "@vercel/node";
import { getHtml } from "../../util/template";
import { writeTempFile, pathToFileURL } from "../../util/file";
import { getScreenshot } from "../../util/chromium";
import { fetchCaseGraph } from "../../util/fetcher";
const isDev = process.env.NOW_REGION === "dev1... | the_stack |
import { DetachedSequenceId, NodeId, TraitLabel, UuidString } from '../Identifiers';
import { Side } from '../Snapshot';
import { EditBase, BuildNode, NodeData, Payload, TraitLocation, TreeNodeSequence } from '../generic';
import {
Build,
Change,
ConstraintEffect,
Detach,
Insert,
Move,
SetValue,
StablePlace,
S... | the_stack |
import type { IntlShape } from 'react-intl';
import type { TApplicationContext } from '@commercetools-frontend/application-shell-connectors';
import type { Command } from './types';
import { oneLineTrim } from 'common-tags';
import { hasSomePermissions } from '@commercetools-frontend/permissions';
import {
LOGOUT_RE... | the_stack |
import { Component, OnInit, OnDestroy, ViewChild, ElementRef } from '@angular/core';
import { Location } from '@angular/common';
import { ActivatedRoute, ParamMap, Router } from '@angular/router';
import { ElectrsApiService } from '../../services/electrs-api.service';
import { switchMap, tap, debounceTime, catchError, ... | the_stack |
import { test, assert } from '../../utils/assert'
import { ethers } from 'ethers'
import { TypedDataDomain, TypedDataField } from '@ethersproject/abstract-signer'
import { Wallet, DefaultProviderConfig } from '@0xsequence/provider'
import { WalletContext } from '@0xsequence/network'
import { testAccounts, getEOAWallet,... | the_stack |
import * as cosmiconfig from "cosmiconfig";
import * as fs from "fs";
import * as http from "http";
import * as https from "https";
import * as mkdirp from "mkdirp";
import * as nock from "nock";
import * as path from "path";
import * as zlib from "zlib";
import * as URL from "url-parse";
import { log } from "./log";
... | the_stack |
export interface ISummaryExpression {
fieldName: string;
customSummary?: any;
}
export interface IgxSummaryResult {
key: string;
label: string;
summaryResult: any;
}
export interface ISummaryRecord {
summaries: Map<string, IgxSummaryResult[]>;
max?: number;
cellIndentation?: number;
}
... | the_stack |
import _ from 'lodash';
import {
FlowsenseToken,
FlowsenseTokenCategory,
FlowsenseCategorizedToken,
QueryValue,
FlowsenseDef,
} from './types';
import * as util from './update/util';
import * as update from './update';
import * as utterance from './utterance';
import { OutputPort, InputPort } from '@/componen... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.