text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import React from 'react'
import { store } from '../../../store'
import { StoreContext } from 'storeon/react'
import { object, withKnobs, select, boolean, text } from '@storybook/addon-knobs'
import uiManagmentApi from '../../../api/uiManagment/uiManagmentApi'
import stylesApi from '../../../api/styles/stylesApi'
// im... | the_stack |
import sinon from "sinon";
import Api from "../src";
import KintoClientBase, { KintoClientOptions } from "../src/base";
import { EventEmitter } from "events";
import KintoServer from "kinto-node-test-server";
import { delayedPromise, Stub, btoa, expectAsyncError } from "./test_utils";
import Bucket from "../src/bucket... | the_stack |
'use strict';
import * as _ from 'lodash';
import { expect } from 'chai';
import * as sinon from 'sinon';
import * as mocks from '../../resources/mocks';
import { FirebaseApp } from '../../../src/app/firebase-app';
import { Database, DatabaseService } from '../../../src/database/database';
import { ServiceAccountCred... | the_stack |
import autobind from 'autobind-decorator';
import * as posenet from '@tensorflow-models/posenet';
import { backgroundColor } from './styles';
import { computeStyleResult, cssColorToArray } from './../utils';
import { vec2, copy, add, sub, scale } from './../vec2';
import { scaleToFill, clamp, setBooleanAttribute } from... | the_stack |
import {
EVENT_ACTION,
PRESENCE_ACTION,
RECORD_ACTION,
RPC_ACTION,
TOPIC,
Message,
ALL_ACTIONS,
ACTIONS
} from '../constants'
import * as Ajv from 'ajv'
import {
getUid,
reverseMap,
deepFreeze,
} from '../utils/utils'
import { jifSchema } from './jif-schema'
import { JifMessage, DeepstreamServic... | the_stack |
import { StateParams } from '@uirouter/core';
import _ = require('lodash');
import { ApiService } from '../../services/api.service';
import ApiHeaderService from '../../services/apiHeader.service';
import CategoryService from '../../services/category.service';
import ClientRegistrationProviderService from '../../servi... | the_stack |
import { fetchAddr, trackMro } from './backUtils';
import { ConstraintSet } from './constraintSet';
import { Constraint, ConstraintType } from './constraintType';
import { Context } from './context';
import { Fraction } from './fraction';
import { ShEnv, ShHeap } from './sharpEnvironments';
import { CodeSource, ShValue... | the_stack |
import * as React from 'react';
import { StackItem, Tooltip } from '@patternfly/react-core';
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
import cn from 'classnames';
import * as copy from 'copy-to-clipboard';
import i18next from 'i18next';
import { Trans, useTranslation } from 'react-i18next';
import... | the_stack |
import initTrace from "debug";
import { DEFAULT_TRAVERSE_LIMIT, DEFAULT_BUFFER_SIZE } from "../constants";
import {
MSG_INVALID_FRAME_HEADER,
MSG_SEGMENT_OUT_OF_BOUNDS,
MSG_SEGMENT_TOO_SMALL,
MSG_NO_SEGMENTS_IN_ARENA,
} from "../errors";
import { dumpBuffer, format, padToWord } from "../util";
import { AnyArena... | the_stack |
import { inject, injectable } from 'inversify'
import {
AlertEvent,
IdAlert,
IdRevision,
ResponseKind,
applyDelta
} from 'unofficial-grammarly-api'
import {
CodeAction,
CodeActionKind,
Connection,
Diagnostic,
DiagnosticRelatedInformation,
DiagnosticSeverity,
DiagnosticTag,
Disposable,
Marked... | the_stack |
import { Template } from '@aws-cdk/assertions';
import * as notifications from '@aws-cdk/aws-codestarnotifications';
import * as iam from '@aws-cdk/aws-iam';
import * as kms from '@aws-cdk/aws-kms';
import * as cdk from '@aws-cdk/core';
import * as sns from '../lib';
/* eslint-disable quote-props */
describe('Topic',... | the_stack |
import {
INodeProperties,
} from 'n8n-workflow';
export const playlistOperations: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
displayOptions: {
show: {
resource: [
'playlist',
],
},
},
options: [
{
name: 'Create',
value: 'create',
... | the_stack |
* ExportBashEvents请求参数结构体
*/
export interface ExportBashEventsRequest {
/**
* 过滤参数
*/
Filters?: Array<Filters>
}
/**
* DescribeSearchTemplates返回参数结构体
*/
export interface DescribeSearchTemplatesResponse {
/**
* 总数
*/
TotalCount: number
/**
* 模板列表
*/
List: Array<SearchTemplate>
/**
... | the_stack |
import * as std from "tstl";
import { Entity } from "../../protocol/entity/Entity";
import { IProtocol } from "../../protocol/invoke/IProtocol";
import { DistributedSystemArray } from "./DistributedSystemArray";
import { DistributedSystem } from "./DistributedSystem";
import { DSInvokeHistory } from "./DSInvokeHisto... | the_stack |
declare namespace WechatMiniprogram {
namespace Component {
type Instance<
TData extends DataOption,
TProperty extends PropertyOption,
TMethod extends Partial<MethodOption>
> = InstanceProperties &
InstanceMethods<TData> &
TMethod & {
... | the_stack |
import * as FSE from 'fs-extra'
import * as path from 'path'
import { Repository } from '../../../src/models/repository'
import { setupEmptyRepository } from '../../helpers/repositories'
import { GitProcess } from '@shiftkey/dugite'
import {
createDesktopStashMessage,
createDesktopStashEntry,
getLastDesktopStashE... | the_stack |
import {Receiver} from "../rpc";
import {
Groups,
kindIsString, RangeFilterArrayDescription,
RemoteObjectId
} from "../javaBridge";
import {FullPage, PageTitle} from "../ui/fullPage";
import {BaseReceiver, TableTargetAPI} from "../modules";
import {
add, assert, assertNever,
Converters, Exporter,
... | the_stack |
import { OidcClientSettingsStore } from "./OidcClientSettings";
import type { StateStore } from "./StateStore";
describe("OidcClientSettings", () => {
describe("client_id", () => {
it("should return value from initial settings", () => {
// act
const subject = new OidcClientSettingsS... | the_stack |
import Page = require('../../../base/Page');
import Response = require('../../../http/response');
import V1 = require('../V1');
import { SerializableClass } from '../../../interfaces';
type SmsCommandDirection = 'to_sim'|'from_sim';
type SmsCommandStatus = 'queued'|'sent'|'delivered'|'received'|'failed';
/**
* Init... | the_stack |
import {
DeflateWorker,
DeflateWorkerAction,
DeflateWorkerListener,
} from '../src/domain/segmentCollection/deflateWorker'
import {
IncrementalSource,
MutationPayload,
MutationData,
ElementNode,
NodeType,
SerializedNode,
SerializedNodeWithId,
TextNode,
} from '../src/domain/record/types'
import { ... | the_stack |
import * as monaco from "monaco-editor";
import * as markdownit from "markdown-it";
import * as ACDesigner from "adaptivecards-designer";
import * as ACTemplating from "adaptivecards-templating";
import "adaptivecards-designer/src/adaptivecards-designer.css";
import "./app.css";
// Uncomment below if you plan to use a... | the_stack |
import { get } from 'svelte/store'
import { getDecimalSeparator } from '../currency'
import { localize } from '../i18n'
import { networkStatus } from '../networkStatus'
import { showAppNotification } from '../notifications'
import { activeProfile } from '../profile'
import { getBestTimeDuration, MILLISECONDS_PER_SECOND... | the_stack |
import {
CdmCorpusDefinition,
CdmEntityAttributeDefinition,
CdmEntityDefinition,
CdmEntityReference,
CdmOperationIncludeAttributes,
CdmProjection,
CdmTypeAttributeDefinition
} from '../../../internal';
import { testHelper } from '../../testHelper';
import { projectionTestUtils } from '../../... | the_stack |
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use t... | the_stack |
import * as $protobuf from "protobufjs";
/** Properties of a ServerClientMessage. */
export interface IServerClientMessage {
/** ServerClientMessage compression */
compression?: (Compression|null);
/** ServerClientMessage uncompressedSize */
uncompressedSize?: (number|null);
/** ServerClientMessa... | the_stack |
import { TextAlign, TextVerticalAlign, ImageLike, Dictionary, MapToType } from '../core/types';
import { parseRichText, parsePlainText } from './helper/parseText';
import TSpan, { TSpanStyleProps } from './TSpan';
import { retrieve2, each, normalizeCssArray, trim, retrieve3, extend, keys, defaults } from '../core/util'... | the_stack |
import { SitePaging } from '@alfresco/js-api';
/* We are using functions instead of constants here to pass a new instance of the object each time */
export function getFakeSitePaging(): SitePaging {
return {
'list': {
'pagination': {
'count': 2,
'hasMoreItems': t... | the_stack |
import { createApiService,
ApplicationsUtil,
BrowserActions,
BrowserVisibility,
LocalStorageUtil,
LoginPage, ModelsActions,
StringUtil,
UserModel,
UsersActions
} from '@alfresco/adf-testing';
import { AppDefinitionRepresentation } from '@alfresco/js-api';
import { browser, by, element } ... | the_stack |
import { GlobalProps } from 'ojs/ojvcomponent';
import { ComponentChildren } from 'preact';
import { DataProvider } from '../ojdataprovider';
import { editableValue, editableValueEventMap, editableValueSettableProperties } from '../ojeditablevalue';
import { JetElement, JetSettableProperties, JetElementCustomEvent, Jet... | the_stack |
import _ from 'lodash'
//import x509 from 'x509'
import {ActionGroupSpec, ActionContextType, ActionOutputStyle, ActionOutput, ActionContextOrder} from '../actions/actionSpec'
import K8sFunctions from '../k8s/k8sFunctions'
import IstioFunctions from '../k8s/istioFunctions'
import ChoiceManager, {ItemSelection} from '../... | the_stack |
import {
Injector,
Directive,
ElementRef,
EventEmitter,
forwardRef,
Renderer,
NgZone,
KeyValueDiffers,
IterableDiffers,
DefaultIterableDiffer
} from '@angular/core';
import {FormControlName, NG_VALUE_ACCESSOR} from '@angular/forms';
const Polymer: any = (<any>window).Polymer;
... | the_stack |
import EventEmitter from "eventemitter3";
import * as React from "react";
import { useState, useEffect } from "react";
import * as ReactDOM from "react-dom";
import {
createTheme,
loadTheme,
Fabric,
Stack,
ActionButton,
Pivot,
PivotItem,
Separator,
Text,
Link,
... | the_stack |
import { expectAssignable, expectError, expectNotAssignable, expectNotType } from 'tsd';
import {
Decimal128,
Double,
Int32,
Long,
ObjectId,
Timestamp,
MongoClient,
Document
} from '../../../../src/index';
import type {
UpdateFilter,
MatchKeysAndValues,
AddToSetOperators,
ArrayOperator,
SetFie... | the_stack |
import '@material/mwc-button';
import '@material/mwc-dialog';
import '@material/mwc-icon';
import { BeforeEnterObserver, PreventAndRedirectCommands, Router, RouterLocation } from '@vaadin/router';
import { css, customElement, html } from 'lit-element';
import merge from 'lodash-es/merge';
import { autorun, computed, ob... | the_stack |
import {DEFAULT_FONT_SIZE, DEFAULT_FONT_NAME, DEFAULT_FONT_COLOR} from "../../api/constants";
import {
DEFAULT_STAND_ALONE,
DEFAULT_XML_VERSION,
ENCODING_UTF_8,
EXTENSION_XML,
FILE_STYLES, XMLNS_MAIN, XMLNS_MC, XMLNS_X14AC, XMLNS_X16R2, XMLNS_XR
} from "../../api/Internals";
import {___JSE_XLSX___Fi... | the_stack |
import {
CellEditingStoppedEvent,
ColDef,
ColGroupDef,
ColumnApi,
ColumnMovedEvent,
ColumnResizedEvent,
ColumnVisibleEvent,
GetContextMenuItemsParams,
GridApi,
GridReadyEvent,
RowClickedEvent,
RowDataUpdatedEvent,
RowDoubleClickedEvent,
RowNode,
RowSelectedEvent,
SelectionChangedEvent,
... | the_stack |
import * as RehypeBuilder from "annotatedtext-rehype";
import * as RemarkBuilder from "annotatedtext-remark";
import * as Fetch from "node-fetch";
import {
CancellationToken,
CodeAction,
CodeActionContext,
CodeActionKind,
CodeActionProvider,
Diagnostic,
DiagnosticCollection,
DiagnosticSeverity,
langua... | the_stack |
const util = require('util');
import { readdirSync, unlinkSync } from 'fs';
import { normalize, join } from 'path';
import {
forEach,
keys,
indexOf,
has,
some,
lowerFirst,
kebabCase,
snakeCase,
upperFirst,
endsWith,
find,
each,
uniqBy,
uniq,
isNil
} from 'lod... | the_stack |
import { ProgramCounterInfo } from "@state/AppState";
import { KeyMapping } from "./keyboard";
import { MemoryHelper } from "../wa-interop/memory-helpers";
import {
EXEC_ENGINE_STATE_BUFFER,
EXEC_OPTIONS_BUFFER,
} from "../wa-interop/memory-map";
import {
ExecuteCycleOptions,
MachineCoreState,
MachineCreation... | the_stack |
import produce, { Draft } from 'immer'
import { OfflineSignJSON } from 'services/remote'
import initStates from 'states/init'
import { ConnectionStatus, ErrorCode } from 'utils'
export enum NeuronWalletActions {
InitAppState = 'initAppState',
// wallets
UpdateCurrentWallet = 'updateCurrentWallet',
UpdateWallet... | the_stack |
import {
IExecuteFunctions,
} from 'n8n-core';
import {
IDataObject,
ILoadOptionsFunctions,
INodeExecutionData,
INodePropertyOptions,
INodeType,
INodeTypeDescription,
NodeOperationError,
} from 'n8n-workflow';
import {
keysToSnakeCase,
shopifyApiRequest,
shopifyApiRequestAllItems,
} from './GenericFunction... | the_stack |
import { ChartConfig } from 'app/types/ChartConfig';
import { FONT_FAMILY } from 'styles/StyleConstants';
const config: ChartConfig = {
datas: [
{
label: 'mixed',
key: 'mixed',
required: true,
type: 'mixed',
},
{
label: 'filter',
key: 'filter',
type: 'filter',
... | the_stack |
import * as d3 from "d3";
import * as C from "../src/constants";
class Snapper {
resizer: Resizer;
sourceExpand: HTMLElement;
sourceCollapse: HTMLElement;
disassemblyExpand: HTMLElement;
disassemblyCollapse: HTMLElement;
rangesExpand: HTMLElement;
rangesCollapse: HTMLElement;
constructor(resizer: Resi... | the_stack |
import * as Common from '../../core/common/common.js';
import * as i18n from '../../core/i18n/i18n.js';
import * as TextUtils from '../../models/text_utils/text_utils.js';
import * as DataGrid from '../../ui/legacy/components/data_grid/data_grid.js';
import * as SourceFrame from '../../ui/legacy/components/source_frame... | the_stack |
import BigNumber from 'bignumber.js';
import {
Balance,
BalanceStruct,
BaseValue,
CallOptions,
BigNumberable,
Price,
SendOptions,
SignedIntStruct,
TxResult,
address,
bnFromSoliditySignedInt,
bnToSoliditySignedInt,
} from '../../src/lib/types';
import { TestContracts } from './TestContracts';
e... | the_stack |
import { HTTPCodes, HTTPRequestContext, HTTPMethod } from '../WebDAVRequest'
import { ResourceType } from '../../../manager/v2/fileSystem/CommonTypes'
import { Transform } from 'stream'
class RangedStream extends Transform
{
nb : number;
constructor(public min : number, public max : number)
{
supe... | the_stack |
import { Endpoints } from 'detritus-client-rest';
import { ShardClient } from '../client';
import { BaseCollection, emptyBaseCollection } from '../collections/basecollection';
import { BaseSet } from '../collections/baseset';
import {
ActivityFlags,
ActivityPlatformTypes,
ActivityTypes,
DiscordKeys,
Platfor... | the_stack |
import React from 'react';
import 'jest-styled-components';
import 'jest-axe/extend-expect';
import 'regenerator-runtime/runtime';
import { axe } from 'jest-axe';
import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { Accordion, AccordionPanel, Box, Grom... | the_stack |
import { Component, ViewChild, ViewChildren, QueryList } from '@angular/core';
import { AlertController } from 'ionic-angular';
import { LoadingService } from '../../../services/loading/loading.service';
import { ToastService } from '../../../services/toast/toast.service';
import { Observable } from 'rxjs/Observable';
... | the_stack |
import { getRuntimeProxyWindow } from './window_groups_runtime_proxy';
import { GroupWindow } from '../shapes';
import { ExternalWindow } from 'electron';
import { moveFromOpenFinWindow, getEventBounds, getTransactionBounds } from './normalized_rectangle';
import of_events from './of_events';
import route from '../comm... | the_stack |
import * as ts from "typescript";
import * as lua from "../../LuaAST";
import { assert, getOrUpdate, isNonNull } from "../../utils";
import { TransformationContext } from "../context";
import { getSymbolInfo } from "./symbols";
import { findFirstNodeAbove, getFirstDeclarationInFile } from "./typescript";
export enum S... | the_stack |
import test from "ava";
import { anyoneCanPay } from "../src";
import { CellProvider } from "./cell_provider";
import {
TransactionSkeletonType,
TransactionSkeleton,
minimalCellCapacity,
} from "@ckb-lumos/helpers";
import { predefined } from "@ckb-lumos/config-manager";
import { bob, alice } from "./account_info... | the_stack |
import { LoanMasterNodeRegTestContainer } from './loan_container'
import { GenesisKeys } from '@defichain/testcontainers'
import BigNumber from 'bignumber.js'
import { TestingGroup } from '@defichain/jellyfish-testing'
import { RpcApiError } from '@defichain/jellyfish-api-core'
import { VaultActive } from 'packages/jel... | the_stack |
import {
ACESFilmicToneMapping,
Camera,
Matrix4,
Object3D,
PCFSoftShadowMap,
PerspectiveCamera,
Quaternion,
Scene,
sRGBEncoding,
Vector3,
WebGLRenderer,
} from "three";
import { getReadObjectBufferView, TripleBufferBackedObjectBufferView } from "../allocator/ObjectBufferView";
import { swapReadBu... | the_stack |
import * as assert from 'assert';
import * as mockery from 'mockery';
import * as mocha from "mocha";
import { Server, SocketIO } from 'mock-socket';
import { LoggerMock } from '../helperMocks';
import { Target } from '../../src/protocols/target';
// As of 0.1.0, the included .d.ts is not in the right format to use th... | the_stack |
import * as assert from 'assert';
import * as fs from 'fs-extra';
import * as path from 'path';
import * as sinon from 'sinon';
import * as uuid from 'uuid';
import * as vscode from 'vscode';
import {
IAzureBlockchainDataManagerApplicationDto,
IAzureBlockchainDataManagerDto,
IAzureBlockchainDataManagerInputDto,
... | the_stack |
import { core } from './core';
// for docs
// noinspection ES6UnusedImports
import * as el from '../';
// ============================================================================
// Native
/**
* Implements a simple one-pole filter,
* also sometimes called a leaky integrator.
* Expects two children, the first ... | the_stack |
import * as JSDiff from "diff";
import { RenderBaby } from "../jupyter-hooks/render-baby";
import {
Nodey,
NodeyCode,
NodeyMarkdown,
NodeyNotebook,
NodeyOutput,
NodeyRawCell,
} from "../nodey";
import { Sampler, CellMap } from ".";
import { History } from "../history";
import { ChangeType } from "../checkpo... | the_stack |
import {ChunkManager, ChunkSource} from 'neuroglancer/chunk_manager/frontend';
import {IndexedSegmentProperty} from 'neuroglancer/segmentation_display_state/base';
import {Uint64Set} from 'neuroglancer/uint64_set';
import {mergeSequences, TypedArray, TypedArrayConstructor, WritableArrayLike} from 'neuroglancer/util/arr... | the_stack |
import {
cleanValueOfQuotes,
copy,
ExpressionType,
getExpressionType,
getKeyAndValueByExpressionType,
hasOwn,
isEqual,
isNotEqual,
isNotExpression
} from './utility.functions';
import {Injectable} from '@angular/core';
import {isArray, isDefined, isEmpty, isMap, isNumber, isObject, isString} from './v... | the_stack |
import { NG_Chart } from "../../types/navigraph";
import { NavigraphApi } from "../../utils/NavigraphApi";
// TODO: split the actual viewer stuff from this class into a more generic viewer component for later reuse
export class CJ4_MFD_ChartView extends HTMLElement {
private readonly _renderCd: number = 50;
... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement } from "../shared";
/**
* Statement provider for service [sms](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsservermigrationservice.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserG... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import * as Mappers from "../models/myWorkbooksMappers";
import * as Parameters from "../models/parameters";
import { ApplicationInsightsManagementClientContext } from "../applicationInsightsManagementClientContext";
/** Class representi... | the_stack |
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { DataFeedCreateComponent } from './data-feed-create.component';
import { RouterTestingModule } from '@angular/router/testing';
import { FormBuilder, FormGroup, FormsModule, R... | the_stack |
import type Spec from './Spec';
import { offsetToLineAndColumn, validateEffects } from './utils';
export function parseStructuredHeaderH1(
spec: Spec,
header: Element
): {
name: string | null;
formattedHeader: string | null;
formattedParams: string | null;
formattedReturnType: string | null;
} {
// parsi... | the_stack |
import path from 'path';
import gulp, { TaskFunction } from 'gulp';
import gulpAdd from 'gulp-add';
import { DependencyMap } from '../model/dependency-map';
import { BrowserBundleFormat } from '../model/browser-bundle-format';
import { NodeBundleFormat } from '../model/node-bundle-format';
import { BuildMode } from '.... | the_stack |
import { initSqlite } from './utils';
import { initDotEnv } from '~/server/init-util';
import { MwActionApiClient } from '~/shared/mwapi';
const SqlString = require('sqlstring-sqlite');
const insertLinkEdges = async function(db, rows) {
const sql =
'INSERT OR REPLACE INTO link_graph_table (link_from, link_to, lin... | the_stack |
import { Sparkline } from '../sparkline';
import { IThemes } from '../model/interface';
import { SparklineTheme } from '../model/enum';
import { createElement, remove } from '@syncfusion/ej2-base';
import { SvgRenderer } from '@syncfusion/ej2-svg-base';
import { SparklineBorderModel, SparklineFontModel } from '../mode... | the_stack |
import {List} from 'immutable';
import {Twitter} from 'twit';
import Item from '../item/item';
import Tweet, {TwitterUser} from '../item/tweet';
import TimelineActivity, {TimelineActivityKind} from '../item/timeline_activity';
import Separator from '../item/separator';
import log from '../log';
import PM from '../plugi... | the_stack |
import * as vscode from "vscode";
import * as utils from "./utils";
import { ConfigMembers, ConfigSetting, FontSettings } from "./types";
import { Constants } from "./constants";
import { LeoIntegration } from "./leoIntegration";
/**
* * Configuration Settings Service
*/
export class Config implements ConfigMembers ... | the_stack |
import { AmbientLight, Vector3, Object3D, SpotLight, DirectionalLight, Euler, Scene } from "three";
import { ThreeJsPanel } from "./ThreeJsPanel";
import lightSettings from "./constants/lights";
import FusedChannelData from "./FusedChannelData";
import VolumeDrawable from "./VolumeDrawable";
import { Light, AREA_LIGHT... | the_stack |
import { IpcMainInvokeEvent } from 'electron'
import log, { LogMessage } from 'electron-log'
import { JSONSchema7 } from 'json-schema'
import { Config, dispatch, Plugin, Result } from 'stencila'
import { Channel, CHANNEL, Handler } from './channels'
import { UnprotectedStoreKeys } from './stores'
type EntityId = numbe... | the_stack |
import {
action,
IReactionDisposer,
observable,
reaction,
runInAction
} from "mobx";
import { observer } from "mobx-react";
import moment from "moment";
import React from "react";
import { withTranslation, WithTranslation } from "react-i18next";
import styled from "styled-components";
import isDefined from ".... | the_stack |
import React from 'react';
import { unmountComponentAtNode, render } from 'reactant-web';
// eslint-disable-next-line import/no-extraneous-dependencies
import { act } from 'react-dom/test-utils';
import { LastAction } from 'reactant-last-action';
import {
injectable,
state,
action,
ViewModule,
useConnector,
... | the_stack |
import "./item-list-layout.scss";
import type { ReactNode } from "react";
import React from "react";
import { computed, makeObservable } from "mobx";
import { Observer, observer } from "mobx-react";
import type { ConfirmDialogParams } from "../confirm-dialog";
import type { TableCellProps, TableProps, TableRowProps, T... | the_stack |
* Created by Dolkkok on 2017. 7. 18..
*/
import {AfterViewInit, Component, ElementRef, Injector, OnInit, OnDestroy} from '@angular/core';
import {BaseChart, PivotTableInfo} from '../base-chart';
import {BaseOption} from '../option/base-option';
import {
ChartType, SymbolType, ShelveType, ShelveFieldType, SeriesType... | the_stack |
* Copyright © 2020 Lisk Foundation
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated, or... | the_stack |
import {
IPageCreateInput,
IPageUpdateInput,
NotionFabricator,
TSchemaUnitInput
} from '@nishans/fabricator';
import { NotionLineage } from '@nishans/lineage';
import { NotionLogger } from '@nishans/logger';
import { NotionOperations } from '@nishans/operations';
import {
FilterType,
FilterTypes,
UpdateTy... | the_stack |
import {
NetworkOrSignerOrProvider,
TransactionResult,
TransactionResultWithId,
} from "../core/types";
import { Erc721 } from "../core/classes/erc-721";
import { ContractMetadata } from "../core/classes/contract-metadata";
import { ContractRoles } from "../core/classes/contract-roles";
import { ContractRoyalty }... | the_stack |
import {
getSnapshot,
unprotect,
recordPatches,
types,
IType,
IJsonPatch,
Instance,
cast,
IAnyModelType,
IMSTMap,
escapeJsonPath,
getPath,
resolvePath,
splitJsonPath,
joinJsonPath
} from "../../src"
function testPatches<C, S, T>(
type: IType<C, S, T>,
... | the_stack |
import { CoreDomUtils } from '@services/utils/dom';
import { CoreTextUtils } from '@services/utils/text';
import { CoreUtils } from '@services/utils/utils';
import { CoreLogger } from '@singletons/logger';
import { AddonModQuizDdwtosQuestionData } from '../component/ddwtos';
/**
* Class to make a question of ddwtos t... | the_stack |
import * as path from "path";
import deepdash from "deepdash";
import lodash from "lodash";
import { JsonLoader } from "../swagger/jsonLoader";
import { Operation, SwaggerSpec } from "../swagger/swaggerTypes";
import { traverseSwaggerAsync } from "../transform/traverseSwagger";
import { ModelValidationError } from "../... | the_stack |
import { Context } from 'probot'
import { handlePullRequest } from '../src/handler'
describe('handlePullRequest', () => {
let event: any
let context: Context
beforeEach(async () => {
event = {
id: '123',
name: 'pull_request',
payload: {
action: 'opened',
number: '1',
... | the_stack |
import { from, merge, MonoTypeOperatorFunction, Observable, of, Subject, Subscription, throwError } from 'rxjs';
import { catchError, filter, map, mergeMap, retryWhen, share, takeUntil, tap, throwIfEmpty } from 'rxjs/operators';
import { fromFetch } from 'rxjs/fetch';
import { v4 as uuidv4 } from 'uuid';
import { Backe... | the_stack |
import {
AlterTableAddPrimaryKey,
AlterTableAddUnique,
} from '@vuerd/sql-ddl-parser';
import { getData, uuid } from '@/core/helper';
import {
SIZE_CANVAS_MAX,
SIZE_CANVAS_MIN,
SIZE_MIN_WIDTH,
} from '@/core/layout';
import {
AlterTableAddColumn,
AlterTableAddForeignKey,
AlterTableDropColumn,
AlterTa... | the_stack |
import '@pnp/polyfill-ie11';
import { sp, SPBatch, IAttachmentFileInfo, IRenderListDataParameters } from '@pnp/sp/presets/all';
import { BaseService } from './base.service';
import { LogHelper, ContentTypes, ListTitles, StandardFields, PostFields, ReplyFields, QuestionFields, ShowQuestionsOption, DiscussionType } from ... | the_stack |
import {
createTheme,
DefaultPalette,
IPalette,
Theme as ThemeV8,
ISemanticColors,
IFontStyles,
IFontWeight,
IEffects,
} from '@fluentui/react';
import { BrandVariants, Theme as ThemeV9 } from '@fluentui/react-components';
import { black, blackAlpha, grey, sharedColors, white, whiteAlpha } from './the... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { AvailabilityStatuses } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { MicrosoftResourceHealth } from "..... | the_stack |
module Kiwi.GameObjects {
/**
* TextField is a GameObject that is used when you are wanting to render
* text onto the current State.
*
* TextField has width/height and a hitbox, but because text is difficult
* to measure, these may not be 100% accurate. It does not have an
* "Input" component either, although y... | the_stack |
import {
combineLatest as observableCombineLatest,
empty as observableEmpty,
merge as observableMerge,
from as observableFrom,
Observable,
} from "rxjs";
import {
distinctUntilChanged,
filter,
first,
map,
mergeMap,
publishReplay,
refCount,
share,
skipWhile,
s... | the_stack |
module BABYLON {
export module LeaderBoard {
export class Client {
public zumo: Microsoft.WindowsAzure.MobileServiceClient;
constructor(public applicationUrl: string, public applicationKey: string, public gameId: number, public masterKey?: string) {
// Check url... | the_stack |
import { ethers } from 'hardhat'
import { Interface, LogDescription } from '@ethersproject/abi'
import { Signer } from '@ethersproject/abstract-signer'
import { BigNumberish, BigNumber } from '@ethersproject/bignumber'
import { BytesLike, hexDataLength } from '@ethersproject/bytes'
import { ContractTransaction, Payable... | the_stack |
import React from 'react'
import classNames from 'classnames'
import { findDOMNode } from 'react-dom'
import { Button, Icon } from '@blueprintjs/core'
import { FaCheckCircle, FaRegCircle } from 'react-icons/fa'
import { msg } from 'common/i18n/i18n'
import CancelablePromise, { isCancelError } from 'common/util/Cancela... | the_stack |
import React, { useCallback, useMemo, RefObject } from 'react';
import { FormikProps } from 'formik';
import { defineMessages, FormattedMessage } from 'react-intl';
import { bigNumberify } from 'ethers/utils';
import moveDecimal from 'move-decimal-point';
import Button from '~core/Button';
import { ActionForm } from '... | the_stack |
import {Program} from "../src/runtime/dsl2";
import {verify} from "./util";
import * as test from "tape";
test("Aggregate: Count in choose", (assert) => {
let prog = new Program("test");
prog.bind("test count in choose", ({find, choose, gather, record}) => {
let person = find("person");
let [count] = choo... | the_stack |
import { Injectable } from '@angular/core';
import { matchAll } from '../polyfills/matchAll';
interface TextSegment {
startIndex: number;
endIndex: number;
}
/**
* A service that provides various functions for en- and decoding data type strings in order to make them
* meaningfully parseable by regex
*/
@Inject... | the_stack |
import * as Stream from 'stream';
import * as fs from 'fs';
import * as vscode from 'vscode';
import * as path from 'path';
import * as mime from 'mime';
import { Disposable } from '../../utils/dispose';
import {
FormatFileSize,
FormatDateTime,
isFileInjectable,
} from '../../utils/utils';
import { HTMLIn... | the_stack |
import Tile2DHeader from './tile-2d-header';
import {getTileIndices, tileToBoundingBox} from './utils';
import {RequestScheduler} from '@loaders.gl/loader-utils';
import {Matrix4} from '@math.gl/core';
import {assert, Viewport} from '@deck.gl/core';
import {Bounds, TileIndex, ZRange} from './types';
import {TileLayerPr... | the_stack |
import 'chrome://webui-test/mojo_webui_test_support.js';
import {fuzzySearch, FuzzySearchOptions, TabData, TabGroup, TabItemType} from 'chrome://tab-search.top-chrome/tab_search.js';
import {assertDeepEquals, assertEquals} from 'chrome://webui-test/chai_assert.js';
import {createTab} from './tab_search_test_data.js';... | the_stack |
import * as fs from "fs";
import * as path from "path";
import { Menu, MenuItemConstructorOptions } from "electron";
import {
emuMachineContextAction,
emuSetClockMultiplierAction,
emuSetKeyboardLayoutAction,
} from "@state/emulator-panel-reducer";
import {
machineIdFromMenuId,
menuIdFromMachineId,
} from "..... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.