text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import {IOas20NodeVisitor} from "../visitors/visitor.iface";
import {Oas20Document} from "../models/2.0/document.model";
import {Oas20Info} from "../models/2.0/info.model";
import {Oas20Contact} from "../models/2.0/contact.model";
import {Oas20License} from "../models/2.0/license.model";
import {Oas20Paths} from "../mo... | the_stack |
import * as assert from 'assert'
import * as fs from 'fs-extra'
import * as os from 'os'
import * as path from 'path'
import * as vscode from 'vscode'
import {
generateJavaLambdaHandler,
getLambdaHandlerComponents,
isValidClassSymbol,
isValidLambdaHandler,
JavaLambdaHandlerComponents,
} from '../../... | the_stack |
import * as PropTypes from 'prop-types';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import GestureViewCommon, { GestureStatePoint, GestureStatePointVelocity, GestureType, TouchEventBasic,
TouchListBasic } from '../common/GestureView';
import { Types } from '../common/Interfaces';
impor... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PollerLike, PollOperationState } from "@azure/core-lro";
import {
AppServiceEnvironmentResource,
AppServiceEnvironmentsListOptionalParams,
AppServiceEnvironmentsListByResourceGroupOptionalParams,
StampCapacity,
AppServiceEnvironmentsLis... | the_stack |
import type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils';
import type {Batch} from '@loaders.gl/schema';
type Schema = any;
import {
AsyncQueue,
TableBatchBuilder,
convertToArrayRow,
convertToObjectRow
} from '@loaders.gl/schema';
import Papa from './libs/papaparse';
import AsyncIteratorSt... | the_stack |
import {
Component,
ComponentFactory,
ComponentFactoryResolver,
ComponentRef,
Inject,
Injector,
Input,
OnDestroy,
OnInit,
ReflectiveInjector,
ViewChild,
ViewContainerRef,
} from '@angular/core';
import {
ActiveUIView,
filter,
inArray,
isFunction,
NATIVE_INJECTOR_TOKEN,
Param,
pars... | the_stack |
import {
AggregateFieldSubAggregateType,
ChartDataSectionFieldActionType,
ChartDataSectionType,
ChartDataViewFieldCategory,
DataViewFieldType,
} from 'app/constants';
import useFieldActionModal from 'app/hooks/useFieldActionModal';
import ChartAggregationContext from 'app/pages/ChartWorkbenchPage/contexts/Cha... | the_stack |
import {
$BATCH,
ACCEPT,
APPLICATION_HTTP,
APPLICATION_JSON,
BATCH_PREFIX,
BINARY,
BOUNDARY_PREFIX_SUFFIX,
CHANGESET_PREFIX,
CONTENT_ID,
CONTENT_TRANSFER_ENCODING,
CONTENT_TYPE,
HTTP11,
MULTIPART_MIXED,
MULTIPART_MIXED_BOUNDARY,
NEWLINE,
NEWLINE_REGEXP,
ODATA_VERSION,
VERSION_4_0,
... | the_stack |
* @module Tree
*/
import { Observable } from "rxjs/internal/Observable";
import { concat } from "rxjs/internal/observable/concat";
import { defer } from "rxjs/internal/observable/defer";
import { EMPTY } from "rxjs/internal/observable/empty";
import { from } from "rxjs/internal/observable/from";
import { merge } from... | the_stack |
import * as _ from 'lodash';
import {checkThat, isSimpleAllocation} from '../utils';
import {BN} from '../bignumber';
import {calculateChannelId, hashState, signState} from '../state-utils';
import {Address, SignatureEntry, SignedState, State, Uint256} from '../types';
import {BaseObjective, BaseObjectiveEvent} from ... | the_stack |
import type { VirtualHost as _envoy_config_route_v3_VirtualHost, VirtualHost__Output as _envoy_config_route_v3_VirtualHost__Output } from '../../../../envoy/config/route/v3/VirtualHost';
import type { HeaderValueOption as _envoy_config_core_v3_HeaderValueOption, HeaderValueOption__Output as _envoy_config_core_v3_Header... | the_stack |
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | the_stack |
import React, { useState, useEffect, useCallback } from 'react';
import { useHistory } from 'react-router-dom';
import { Stack, TextField, Text, PrimaryButton, DefaultButton, IconButton, Pivot, PivotItem, ComboBox, ChoiceGroup, Label, IComboBoxOption } from '@fluentui/react';
import { OrganizationDefinition, Deployment... | the_stack |
import fs from "fs/promises";
import path from "path";
import { TransformStream } from "stream/web";
import { setImmediate, setTimeout } from "timers/promises";
import { useTmp } from "@miniflare/shared-test";
import { Watcher } from "@miniflare/watcher";
import anyTest, { ExecutionContext, Macro } from "ava";
// Only... | the_stack |
import { Component, ComponentType, MouseEvent, ReactNode } from 'react'
import PropTypes from 'prop-types'
import cx from 'clsx'
import CellValue from './components/CellValue'
import ErrorBoundary from './components/ErrorBoundary'
import Paginator from './components/Paginator'
import Table from './components/Table'
imp... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { MaintenanceConfigurations } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { ContainerServiceClient } from... | the_stack |
import './i18n';
import React from 'react';
import { debounce, isEqual, omit } from 'lodash';
import ReactDOM from 'react-dom';
import {
Async as _Async,
AsyncProps,
FieldFeedback,
FieldFeedbacks,
FormWithConstraints
} from 'react-form-with-constraints';
import { DisplayFields } from 'react-form-with-constra... | the_stack |
import { vec3 } from 'gl-matrix';
import Scene from '../../scene';
import Shader from '../../gl/shader';
import ClientBuffer from '../../gl/clientbuffer';
import Texture from '../../texture';
import ParticleEmitter2Object from './particleemitter2object';
import RibbonEmitterObject from './ribbonemitterobject';
import E... | the_stack |
import { EventData, Observable } from "data/observable";
import { KeyedTemplate, Length, View } from "ui/core/view";
import * as utils from "utils/utils";
import {
GridViewBase,
itemTemplatesProperty,
orientationProperty,
paddingBottomProperty,
paddingLeftProperty,
paddingRightProperty,
pad... | the_stack |
import { P2PCommunicationClient } from './transports/clients/P2PCommunicationClient'
import { AppMetadata } from './types/beacon/AppMetadata'
import { PermissionRequest } from './types/beacon/messages/PermissionRequest'
import { Network } from './types/beacon/Network'
import { BeaconBaseMessage } from './types/beacon/B... | the_stack |
import * as R from 'ramda'
import * as React from 'react'
import * as redux from 'react-redux'
import { Link } from 'react-router-dom'
import { createStructuredSelector } from 'reselect'
import * as M from '@material-ui/core'
import Logo from 'components/Logo'
import * as style from 'constants/style'
import * as URLS ... | the_stack |
import { DI, IContainer, inject, InterfaceSymbol, Registration, singleton } from '@aurelia/kernel';
import { assert, createSpy, ISpy } from '@aurelia/testing';
describe('DI.singleton', function () {
describe('registerInRequester', function () {
class Foo {
}
const fooSelfRegister = DI.singleton(Foo, { sc... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { IntegrationRuntimes } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { DataFactoryClient } from "../dataFa... | the_stack |
import {TestOptions, Test, Spec, Report} from "@swim/unit";
import {Attr, Slot, Value, Record, Data, Text, Num, Bool} from "@swim/structure";
import {ReconExam} from "../ReconExam";
export class ReconParserSpec extends Spec {
override createExam(report: Report, name: string, options: TestOptions): ReconExam {
re... | the_stack |
import * as fs from "fs";
import * as path from "path";
import { is } from "@atjson/document";
import { VerticalAdjust } from "../src/annotations";
import { GDocsPasteBuffer } from "../src/gdocs-parser";
import GDocsSource from "../src/index";
describe("@atjson/source-gdocs-paste", () => {
describe("relatively compl... | the_stack |
import * as angular from 'angular';
import { ICompileService, IRootScopeService } from 'angular';
import { extend } from '@uirouter/core';
declare let inject, jasmine;
const module = angular.mock.module;
function animateFlush($animate) {
if ($animate && $animate.flush) {
$animate.flush(); // 1.4
} else if ($a... | the_stack |
Papa Parse
v5.0.0-beta.0
https://github.com/mholt/PapaParse
License: MIT
*/
// FORK SUMMARY:
// - Adopt ES6 exports
// - Implement new AsyncIteratorStreamer
// - Remove non Async Iterator streamers (can all be handled by new streamer)
// - Remove unused Worker support (loaders.gl worker system used instead)
// - Remove... | the_stack |
import {Component, ElementRef, Input, Output, EventEmitter, OnInit, OnDestroy, Inject, ViewEncapsulation} from '@angular/core';
import { Subject, fromEvent } from 'rxjs';
import { debounceTime } from 'rxjs/operators';
import { dia } from 'jointjs';
import { Flo } from '../shared/flo-common';
import '../shared/shapes';
... | the_stack |
import { detect } from "detect-browser";
import {
AuthEvent,
AuthEventKind,
AuthInfo,
CoreStitchAuth,
CoreStitchUser,
DeviceFields,
StitchAppClientInfo,
StitchAuthResponseCredential,
StitchClientError,
StitchClientErrorCode,
StitchCredential,
StitchRequestClient,
StitchUserFactory,
Storage
... | the_stack |
import * as fs from 'fs';
import * as path from 'path';
import { W3 } from './W3';
// tslint:disable:max-line-length
export module soltsice {
export interface SoltsiceOptions {
paths: string[];
cleanArtifacts: boolean;
skipPattern: string;
}
// tslint:disable-next-line:typedef
funct... | the_stack |
import { NS_FILE_ROOT_METADATA } from "@core/constant/ns.constant";
import {
PLUGIN_SDK_EK_BATCH_META_UPDATE,
PLUGIN_SDK_EK_DRAG_AND_DROPPED,
PLUGIN_SDK_NS_UI_API,
PLUGIN_SDK_EK_UI_RESIZE,
PLUGIN_SDK_EK_UI_SHOW,
PLUGIN_SDK_EK_UI_HIDE,
PLUGIN_SDK_EK_UI_CLOSE,
PLUGIN_SDK_EK_REQUEST_FETCH_NODE_MAIN_COMPON... | the_stack |
import { useRecords } from "beneath-react";
import _ from "lodash";
import { Button, Chip, Grid, makeStyles, Theme, Tooltip, Typography } from "@material-ui/core";
import ArrowDownwardIcon from "@material-ui/icons/ArrowDownward";
import FiberManualRecordIcon from "@material-ui/icons/FiberManualRecord";
import { ToggleB... | the_stack |
import {
$BuiltinFunction,
$Function,
$OrdinaryCreateFromConstructor,
} from '../types/function.js';
import {
Realm,
ExecutionContext,
} from '../realm.js';
import {
$AnyNonEmpty,
CompletionType,
$AnyNonEmptyNonError,
} from '../types/_shared.js';
import {
$TypeError,
} from '../types/error.js';
impor... | the_stack |
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
import {
IIterable, IIterator, each
} from '@lumi... | the_stack |
import * as http from "http";
import * as os from "os";
import * as path from "path";
import { resolve as pathResolve } from "path";
import { ParsedUrlQuery } from "querystring";
import * as url from "url";
import * as util from "util";
import * as _ from "lodash";
import * as models from "../models";
import { requestR... | the_stack |
import {
createContext,
useCallback,
useContext,
useEffect,
useState,
} from 'react';
import { ViewOptions } from 'components';
import { useEventListener, useMKEventListener, useWindowContext } from 'hooks';
import * as ConversionUtils from 'utils/conversion';
import { IpodEvent } from 'utils/events';
impor... | the_stack |
import { configureTestSuite } from '../../test-utils/configure-suite';
import { TestBed, tick, fakeAsync, ComponentFixture } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { IgxHierarchicalGridModule } fro... | the_stack |
import { Support } from './support';
import { Device } from './device';
import { Events } from './events';
import { PaneSettings, PaneBreaks, ZStackSettings } from './models';
import { Settings } from './settings';
import { Breakpoints } from './breakpoints';
export type CupertinoSettings = Partial<PaneSettings>;
expo... | the_stack |
import { ParsedPlaylist } from './src/typings.d';
import { app, BrowserWindow, ipcMain, session } from 'electron';
import { parse } from 'iptv-playlist-parser';
import axios from 'axios';
import { guid } from '@datorama/akita';
import { Playlist, PlaylistUpdateState } from './shared/playlist.interface';
import Nedb, { ... | the_stack |
import { bson } from '@mongosh/service-provider-core';
import chai, { expect } from 'chai';
import { Duplex, PassThrough } from 'stream';
import Nanobus from 'nanobus';
import path from 'path';
import { promises as fs } from 'fs';
import { promisify } from 'util';
import rimraf from 'rimraf';
import sinon from 'ts-sino... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormProductPriceLevel_Information {
interface tab_general_Sections {
price_list_item_information: DevKit.Controls.Section;
pricing: DevKit.Controls.Section;
rounding: DevKit.Controls.Section;
}
interface tab_general ex... | the_stack |
import assert from "assert";
import { deserialize, serialize } from "v8";
import {
OutputGate,
Storage,
StoredValue,
addAll,
runWithInputGateClosed,
viewToArray,
waitUntilOnOutputGate,
} from "@miniflare/shared";
import { DurableObjectError } from "./error";
import { ReadWriteMutex } from "./rwmutex";
imp... | the_stack |
namespace eui.sys {
let SOLUTION_TOLERANCE = 0.1;
let MIN_MAX_TOLERANCE = 0.1;
/**
* @private
*/
export class MatrixUtil {
/**
* @private
*/
public static fitBounds(width:number, height:number, matrix:egret.Matrix,
explicitWi... | the_stack |
import React from 'react';
import cx from 'classnames';
import '@itwin/itwinui-css/css/table.css';
import SvgChevronLeft from '@itwin/itwinui-icons-react/cjs/icons/ChevronLeft';
import SvgChevronRight from '@itwin/itwinui-icons-react/cjs/icons/ChevronRight';
import { IconButton, Button, DropdownButton } from '../Button... | the_stack |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { InteractivityChecker } from '@angular/cdk/a11y';
import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';
import { HttpTestingController } from '@angu... | the_stack |
import GL from '@luma.gl/constants';
import {RenderLoop, AnimationProps, Model, CubeGeometry} from '@luma.gl/engine';
import {
Framebuffer,
clear,
Program,
VertexArray,
UniformBufferLayout,
Buffer,
} from '@luma.gl/gltools';
import {Matrix4, radians} from '@math.gl/core';
const INFO_HTML = `
<p>
<b>Depth... | the_stack |
import CLASS from './class'
import { isValue, isFunction, isString, isEmpty, getBBox } from './util'
import { AxisInternal } from './axis-internal'
export default class AxisClass {
owner: any
d3: any
internal: typeof AxisInternal
constructor(owner) {
this.owner = owner
this.d3 = owner.d3
this.inte... | the_stack |
import fs from 'fs';
import path from 'path';
import R from 'ramda';
import { partition, set } from 'lodash';
import generateTree, { processPath } from './generate-tree-madge';
import { DEFAULT_BINDINGS_PREFIX } from '../../../../constants';
import { getPathMapWithLinkFilesData, convertPathMapToRelativePaths } from './... | the_stack |
import { MCanvas, MImage } from '../src/index'
import ear from './images/ear.png'
import watermark from './images/watermark.jpg'
import imgTest from './images/1.jpg'
import './main.scss'
// (async () => {
// const mc = new MImage('http://mtapplet.meitudata.com/596c72073971d86b5128.jpg')
// const b64 = await mc... | the_stack |
import { Injector } from '@opensumi/di';
import { RPCProtocol, ProxyIdentifier } from '@opensumi/ide-connection';
import {
Emitter,
Deferred,
IExtensionProps,
Uri,
IReporterService,
ReporterService,
REPORT_HOST,
IReporter,
REPORT_NAME,
} from '@opensumi/ide-core-common';
import { IExtensionWorkerHost... | the_stack |
import {Mutable, Class, AnyTiming, Timing} from "@swim/util";
import {Affinity, FastenerOwner, Property} from "@swim/component";
import {AnyLength, Length} from "@swim/math";
import type {Color} from "@swim/style";
import {Look, Mood, MoodVector, ThemeMatrix, ThemeAnimator} from "@swim/theme";
import {ViewContextType, ... | the_stack |
import AWS = require('aws-sdk');
import { TypeShape, Value } from '@punchcard/shape';
import { Compact } from 'typelevel-ts';
import { DSL } from './dsl';
import { Condition } from './filter';
import { Mapper } from './mapper';
import { Update } from './update';
import { Writer } from './writer';
export interface Bas... | the_stack |
import * as React from 'react';
import * as strings from 'ControlStrings';
import styles from './RichTextPropertyPane.module.scss';
import RteColorPicker from './RteColorPicker';
import { IRichTextPropertyPaneProps, IRichTextPropertyPaneState } from './RichTextPropertyPane.types';
import { IconButton } from 'office-ui-... | the_stack |
import _ from 'lodash';
import { DbDiffOptions, generateTablePairingId } from './diffTools';
import {
AlterProcessor,
ColumnInfo,
ConstraintInfo,
DatabaseInfo,
SqlObjectInfo,
SqlDialect,
TableInfo,
NamedObjectInfo,
} from '../../types';
import { DatabaseInfoAlterProcessor } from './database-info-alter-p... | the_stack |
import React, {
FC,
ReactNode,
createContext,
useContext,
useEffect,
useReducer,
Reducer,
useMemo
} from 'react';
import AsyncStorage from '@react-native-community/async-storage';
import i18n, {TFunction} from 'i18next';
import {useTranslation, UseTranslationResponse} from 'react-i18next';
import {Trace... | the_stack |
import { Grid } from '../../../src/grid/base/grid';
import { Sort } from '../../../src/grid/actions/sort';
import { Filter } from '../../../src/grid/actions/filter';
import { Page } from '../../../src/grid/actions/page';
import { Print } from '../../../src/grid/actions/print';
import { Group } from '../../../src/grid/a... | the_stack |
import { constants, providers, EventFilter } from 'ethers';
import { Result } from 'ethers/lib/utils';
import {
IColonyEvents,
IColonyEventsFactory,
IColonyNetwork,
IColonyNetworkFactory,
} from '@colony/colony-js/extras';
import type { BlockTag, Filter } from '@ethersproject/abstract-provider';
import { addre... | the_stack |
import {
API,
CameraRecordingConfiguration,
CameraRecordingDelegate,
HAP,
HDSProtocolSpecificErrorReason,
Logging,
PlatformAccessory,
RecordingPacket
} from "homebridge";
import { ProtectCamera, RtspEntry } from "./protect-camera";
import { FfmpegRecordingProcess } from "./protect-ffmpeg-record";
import... | the_stack |
import { addListeners } from '../../../../../client/addListener'
import { ANIMATION_T_MS } from '../../../../../client/animation/animation'
import applyStyle, { mergeStyle } from '../../../../../client/applyStyle'
import classnames from '../../../../../client/classnames'
import debounce from '../../../../../client/debo... | the_stack |
import { RepeatType } from "@protobuf-ts/runtime";
import { ScalarType } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { FileDescriptorProto } from "../descriptor";
/**
* The version number of protocol compiler.
*
* @generated from protobuf message google.protobuf.compiler.V... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement } from "../shared";
/**
* Statement provider for service [route53](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonroute53.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/ref... | the_stack |
'use strict';
import {createTrieFromBase64} from './Trie';
import {base64} from './linebreak-trie';
import {fromCodePoint, toCodePoints} from './Util';
export const LETTER_NUMBER_MODIFIER = 50;
// Non-tailorable Line Breaking Classes
const BK = 1; // Cause a line break (after)
const CR = 2; // Cause a line break (... | the_stack |
import { h, Fragment } from 'https://unpkg.com/preact@10.5.12?module';
import { useState, useEffect } from 'https://unpkg.com/preact@10.5.12/hooks/dist/hooks.module.js?module';
// import type definitions
import { FieldViewProps } from './interface.ts';
/****************************************************************... | the_stack |
import warning from 'tiny-warning';
import { ErrorConstant } from '@remirror/core-constants';
import { invariant, isEmptyArray, sort } from '@remirror/core-helpers';
import type { Dispose, EditorView } from '@remirror/core-types';
import {
AnyExtension,
AnyExtensionConstructor,
GetExtensions,
isExtension,
is... | the_stack |
import React, {Component} from 'react'
import {Form, Input, Modal, Select, Row, Col, InputNumber, Radio} from 'antd'
import {Task} from "../model/TaskModel";
import {FormComponentProps} from "antd/lib/form/Form";
import CommonUtils from "../../../common/utils/CommonUtils";
import {DynamicFormUtils} from "../../../commo... | the_stack |
import { BackgroundpageWindow, GreaseMonkeyData, EncodedContextData, MatchPattern, ToExecuteNode, ContextMenuCreateProperties, ContextMenuOverrides, UserAddedContextMenu, ContextMenuItemTreeItem } from './sharedTypes';
import { EncodedString } from '../../elements/elements';
import { I18NKeys } from "../../_locales/i18... | the_stack |
import { Vector3 } from 'three';
import {
TOM_HEADER_NUM_BYTES,
TOM_DIMENSIONS_START_POSITION,
TOM_DIMENSIONS_NUM_BYTES,
TOM_DATA_TYPE_START_POSITION,
TOM_DATA_TYPE_NUM_BYTES,
TOM_NUM_ELEMENTS_MARKER,
TOM_NUM_ELEMENTS_START_POSITION,
TOM_NUM_ELEMENTS_NUM_BYTES,
TOM_USE_NULL_MARKER,
TOM_USE_NULL_START_POSITIO... | the_stack |
import { Resolvers, VoteResults } from './types';
import { FilterQuery } from 'mongoose';
import diffHistory from 'mongoose-diff-history/diffHistory';
import { PROCEDURE as PROCEDURE_DEFINITIONS } from '@democracy-deutschland/bundestag.io-definitions';
import { xml2js } from 'xml-js';
import axios from 'axios';
import... | the_stack |
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest';
import * as models from '../models';
/**
* @class
* Operations
* __NOTE__: An instance of this class is automatically created for an
* instance of the AzureStackManagementClient.
*/
export interface Operations... | the_stack |
import { getElementByIdOrThrow, State } from './utils';
// see vis.js documentation at
// https://visjs.github.io/vis-network/docs/network/
// https://visjs.github.io/vis-data/data/dataset.html
// https://visjs.github.io/vis-network/examples/
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface... | the_stack |
import m from "mithril";
import Stream from "mithril/stream";
import {PipelineGroup} from "models/admin_pipelines/admin_pipelines";
import {Authorization, AuthorizedUsersAndRoles} from "models/authorization/authorization";
import {PipelineConfigTestData} from "models/pipeline_configs/spec/test_data";
import {Stage} fro... | the_stack |
import type { Tanker, b64string } from '@tanker/core';
import { errors, statuses } from '@tanker/core';
import { createIdentity } from '@tanker/identity';
import { expect, silencer } from '@tanker/test-utils';
import { zeroDelayGenerator } from '@tanker/http-utils';
import { random, utils } from '@tanker/crypto';
impo... | the_stack |
import Debug from 'debug';
import { isI18nData, RootSchema, NodeSchema, isJSExpression, JSSlot } from '@alilc/lowcode-types';
// moment对象配置
import _moment from 'moment';
import 'moment/locale/zh-cn';
import pkg from '../../package.json';
import { isEmpty } from 'lodash';
import _serialize from 'serialize-javascript';... | the_stack |
import { Base } from "../class/Base.js"
import { CalculationContext, CalculationGen, CalculationSync, Context, ContextGen, Contexts, ContextSync } from "../primitives/Calculation.js"
import { prototypeValue } from "../util/Helpers.js"
import { ProposedOrPrevious } from "./Effect.js"
import { ChronoGraph } from "./Graph... | the_stack |
export interface AccountAccountCounters {
/**
* New app requests number
*/
app_requests: number,
/**
* New events number
*/
events: number,
/**
* New faves number
*/
faves: number,
/**
* New friends requests number
*/
friends: number,
/**
... | the_stack |
import { AccessorInterface, ReadResult, UpdateResult, AddResult, RemoveResult, CountResult } from "./accessor"
import { Params, ActionType, Order, Direction } from '../types'
import { MongoClient, ObjectId, MongoClientOptions, Db, UpdateOptions, Filter } from 'mongodb'
import * as mongodb from 'mongodb'
import { Defaul... | the_stack |
import createAnimation from './animation';
import PhotoRoot from './PhotoRoot';
import PhotoMain from './PhotoMain';
import $tool from './tool';
import {
Square,
Rect,
Point,
PhotoBasic,
TouchePoint,
AnimationInterface,
ClipResult, RectFull
} from './interface';
export interface Draw{
(maskRect: Rect, ... | the_stack |
import path = require('path');
import { ForceIgnore } from '@salesforce/source-deploy-retrieve/lib/src/metadata-registry/forceIgnore';
import { ConfigFile, ConfigContents, Logger, fs as fscore, SfdxProject } from '@salesforce/core';
import { isEmpty } from '@salesforce/kit';
import { Dictionary, Nullable } from '@sale... | the_stack |
import { BulkFileHandle, SessionConfiguration, CreateSessionOptions } from "@extraterm/extraterm-extension-api";
import { html, render } from "extraterm-lit-html";
import { CustomElement, Attribute, Observe } from "extraterm-web-component-decorators";
import { Logger, getLogger } from "extraterm-logging";
import { log ... | the_stack |
import { aws_stepfunctions, Stack } from "aws-cdk-lib";
import { Pass } from "aws-cdk-lib/aws-stepfunctions";
import "jest";
import {
$AWS,
$SFN,
EventBus,
Event,
ExpressStepFunction,
StepFunction,
SyncExecutionResult,
ErrorCodes,
SynthError,
} from "../src";
import { StateMachine, States, Task } 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 ChimeSDKId... | the_stack |
import TestCase from '../testcase';
let swapDownKey = 'ctrl+j';
// let swapUpKey = 'ctrl+k';
describe('cloning', function() {
it('works in basic case', async function() {
let t = new TestCase([
{ text: 'one', children: [
'uno',
] },
{ text: 'two', children: [
'dos',
] },
... | the_stack |
import { Command } from "commander";
import { loadCookies, getRequester, saveCookies, getRequesterCdn } from "./common";
import { CrDl, Episode } from "../api/CrDl";
import { UserInputError, RuntimeError } from "../Errors";
import { languages, Language } from "../types/language";
import { makeid, pad, toFilename, forma... | the_stack |
import { EventEmitter } from "events";
/**
* A selection is basically an array of ranges. Every range represents a real
* selection or a cursor in the document (when the start position equals the
* end position of the range). The array must not be empty.
*/
export class Selection {
ranges: Selection.Range[];
... | the_stack |
'use strict';
import * as assert from 'assert';
import Ajv = require('ajv');
const schema = require('../assets/nlu.schema.json');
import log from "./logging";
import {EVCb, NluConf, NluMap, NluMapItem, PkgJSON} from "./index";
import chalk from 'chalk';
import * as fs from 'fs';
import * as path from 'path';
import a... | the_stack |
import { Block, BlockCompiler, BlockDefinitionCompiler, BlockFactorySync, Configuration, INLINE_DEFINITION_FILE, resolveConfiguration } from "@css-blocks/core";
import { BroccoliTreeImporter, CSSBlocksEmberOptions, EmberAnalysis, identToPath, isBroccoliTreeIdentifier } from "@css-blocks/ember-utils";
import type { ASTP... | the_stack |
import {VideoJsPlayerOptions} from "video.js";
import {Configuration, Transformation, Cloudinary} from "cloudinary-core"
declare module 'cloudinary-core' {
interface Cloudinary {
/**
*
* @param elem
* The video element for the player
* @param options
* ... | the_stack |
import type { UnmatchedResult } from '..';
import type { Expect, Result, List } from '../types';
import { matched, unmatched } from '../match-result';
import { Token } from './token';
type TokenCollectionOptions = Partial<
Omit<List, 'token'> & {
speificSeparator: string | string[];
}
>;
export type TokenEachCh... | the_stack |
import React, { ChangeEvent, useEffect } from 'react'
import {
OutlinedInput,
InputLabel,
InputAdornment,
FormControl,
Paper,
Container,
Grid,
Select,
Link,
IconButton,
makeStyles,
} from '@material-ui/core'
import clsx from 'clsx'
import AttachMoneyIcon from '@material-ui/... | the_stack |
import * as Icons from "phosphor-react";
import { IconEntry, IconCategory } from ".";
export const icons: ReadonlyArray<IconEntry> = [
{
name: "activity",
categories: [IconCategory.HEALTH],
tags: [
"heartbeat",
"medical",
"ecg",
"ekg",
"vitals",
"monitor",
"medic... | the_stack |
import debugModule from "debug";
const debug = debugModule("codec:abi-data:allocate");
export * as Utils from "./utils";
import type * as Abi from "@truffle/abi-utils";
import * as Import from "@truffle/codec/abi-data/import";
import * as AbiDataUtils from "@truffle/codec/abi-data/utils";
const Web3Utils = require("... | the_stack |
import {
destroy,
detach,
onSnapshot,
onPatch,
onAction,
applyPatch,
applyAction,
applySnapshot,
getSnapshot,
unprotect,
types,
setLivelinessChecking,
getParent,
SnapshotOut,
IJsonPatch,
ISerializedActionCall,
isAlive,
cast,
resolveIdentifier
}... | the_stack |
import * as ts from 'typescript';
import {isExpressionString, parseExpressionToken, TokenItem} from 'rcre-runtime';
import {templateParse} from './templateParse';
export * from './templateParse';
const TOKEN_PLACEHOLDER = '__TOKEN__ITEM__';
type BlackList = {
[key: string]: boolean;
};
/**
* 生成节点的操作 递归
* @par... | the_stack |
import { PdfColor } from './pdf-color';
import { PdfSolidBrush } from './brushes/pdf-solid-brush';
import { PdfDashStyle, PdfLineCap, PdfLineJoin, PdfColorSpace } from './enum';
import { PdfBrush } from './brushes/pdf-brush';
import { GetResourceEventHandler } from './pdf-graphics';
import { PdfTransformationMatrix } f... | the_stack |
import {
AST_NODE_TYPES,
TSESTree,
} from '@typescript-eslint/experimental-utils';
import * as util from '../util';
interface Failure {
unify: Unify;
only2: boolean;
}
type Unify =
| {
kind: 'single-parameter-difference';
p0: TSESTree.Parameter;
p1: TSESTree.Parameter;
}
| {
ki... | the_stack |
import { Injectable } from '@angular/core';
import { CoreError } from '@classes/errors/error';
import { CoreCourseCommonModWSOptions } from '@features/course/services/course';
import { CoreSites } from '@services/sites';
import { CoreDomUtils } from '@services/utils/dom';
import { CoreUtils } from '@services/utils/util... | the_stack |
* Unit tests for recurrent.ts.
*/
import * as tfc from '@tensorflow/tfjs-core';
import {randomNormal, Scalar, scalar, Tensor, tensor1d, tensor2d, tensor3d, tensor4d} from '@tensorflow/tfjs-core';
import * as K from '../backend/tfjs_backend';
import * as tfl from '../index';
import {ActivationIdentifier} from '../ker... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import * as Mappers from "../models/fileMappers";
import * as Parameters from "../models/parameters";
import { BatchServiceClientContext } from "../batchServiceClientContext";
/** Class representing a File. */
export class File {
priva... | the_stack |
import {
OperationParameter,
OperationURLParameter,
OperationQueryParameter
} from "@azure/core-client";
import {
SearchRequest as SearchRequestMapper,
SuggestRequest as SuggestRequestMapper,
IndexBatch as IndexBatchMapper,
AutocompleteRequest as AutocompleteRequestMapper
} from "../models/mappers";
expo... | the_stack |
import globalContextInfo from '../utils/global-context-info';
import { isNativeFunction } from '../utils/overriding';
const NATIVE_CODE_RE = /\[native code]/;
class NativeMethods {
isStoragePropsLocatedInProto: boolean;
createDocumentFragment: Document['createDocumentFragment'];
createElement: Document['c... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.