text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import functions from 'lodash/functions'
import omit from 'lodash/omit'
import { push } from 'connected-react-router'
// @ts-expect-error(sa, 2021-05-17): api client is not typed yet
import { client } from '../api-client/client'
// @ts-expect-error(sa, 2021-05-17): rpc client is not typed yet
import { Client as RpcClie... | the_stack |
import fetch, { Response } from 'node-fetch';
import { zip } from 'zip-a-folder';
import * as unzipper from 'unzipper';
import {
Uri,
CancellationToken,
commands,
window,
} from 'vscode';
import { CodeQLCliServer } from './cli';
import * as fs from 'fs-extra';
import * as path from 'path';
import { DatabaseMan... | the_stack |
import { lstat, exists } from "fs"
import glob from "glob"
import reflect, { GenericTypeArgumentDecorator, useCache } from "@plumier/reflect"
import { promisify } from "util"
import { EntityIdDecorator, RelationDecorator } from "./decorator/entity"
import { errorMessage } from "./types"
import { isAbsolute, join } fro... | the_stack |
import ts from "typescript";
import {
apply,
chain,
externalSchematic,
MergeStrategy,
mergeWith,
move,
noop,
Rule,
SchematicContext,
template,
Tree,
url,
} from "@angular-devkit/schematics";
import { join, normalize, Path } from "@angular-devkit/core";
import { Schema } from "./schema";
import {... | the_stack |
declare module 'github-api' {
/**
* A Gist can retrieve and modify gists.
*/
class Gist {
/**
* A Gist can retrieve and modify gists.
*/
constructor(id: string, auth?: Requestable.auth, apiBase?: string);
/**
* Fetch a gist.
* @see h... | the_stack |
import { Kind, GraphQLError, GraphQLScalarType } from 'graphql';
interface Specification {
length: number;
structure: string;
example: string;
}
interface CountryStructure {
[key: string]: Specification;
}
/* These are IBAN the specifications for all countries using IBAN
The key is the countrycode, the secon... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../types";
import * as utilities from "../utilities";
/**
* Provides an AppStream image builder.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi... | the_stack |
import { Component, DebugElement, ElementRef, TemplateRef, ViewChild } from '@angular/core';
import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { By } from '@angular/platform-browser';
import { NoopAnimationsModule } fro... | the_stack |
import {Xliff2MessageParser} from './xliff2-message-parser';
import {ParsedMessage} from './parsed-message';
/**
* Created by martin on 14.05.2017.
* Testcases for parsing normalized messages to XLIFF 2.0 and vive versa.
*/
describe('message parse XLIFF 2.0 test spec', () => {
/**
* Helperfunction to crea... | the_stack |
import {tensor2d} from '@tensorflow/tfjs-core';
import * as tfl from './index';
import {describeMathCPUAndGPU} from './utils/test_utils';
describe('EarlyStopping', () => {
function createDummyModel(): tfl.LayersModel {
const model = tfl.sequential();
model.add(tfl.layers.dense({units: 1, inputShape: [1]}));... | the_stack |
import { Gulp, TaskFunction } from 'gulp';
declare namespace seq {
type Step = string | string[];
type Done = (error?: any) => void;
function use(gulp: Gulp): typeof seq;
}
/*
Sequence functions (apart from the one returning TaskFunction) generated using the following (requires lodash for the padding):
... | the_stack |
'use strict';
import * as authorization from './authorization';
import { ArgumentError, FormatError } from './errors';
import { createDictionary } from './dictionary';
/**
* Shared access signature tokens are used to authenticate the connection when using symmetric keys (as opposed to x509 certificates) to secure th... | the_stack |
import * as dateFns from 'date-fns'
import * as R from 'ramda'
import * as React from 'react'
import * as RRDom from 'react-router-dom'
import type { ResultOf } from '@graphql-typed-document-node/core'
import * as M from '@material-ui/core'
import { fade } from '@material-ui/core/styles'
import JsonDisplay from 'compo... | the_stack |
function doFail(streamState: JSONStreamState, msg: string): void {
// console.log('Near offset ' + streamState.pos + ': ' + msg + ' ~~~' + streamState.source.substr(streamState.pos, 50) + '~~~');
throw new Error('Near offset ' + streamState.pos + ': ' + msg + ' ~~~' + streamState.source.substr(streamState.pos, 50) + ... | the_stack |
import type {
ContextMenuCommandBuilder,
SlashCommandBuilder,
SlashCommandSubcommandsOnlyBuilder,
SlashCommandOptionsOnlyBuilder
} from '@discordjs/builders';
import { container } from '@sapphire/pieces';
import {
ApplicationCommandType,
RESTPostAPIChatInputApplicationCommandsJSONBody,
RESTPostAPIContextMenuAppl... | the_stack |
namespace annie {
/**
* annie引擎核心类
* @class annie.MovieClip
* @since 1.0.0
* @public
* @extends annie.Sprite
*/
export class MovieClip extends Sprite {
//Events
/**
* annie.MovieClip 播放完成事件
* @event annie.Event.END_FRAME
* @type {string}
... | the_stack |
module Kiwi.HUD {
/**
* The HUDWidget is an abstract class containing the fundamental properties and methods that every HUDWidget needs to have.
* This class is designed to be extended from and thus objects should not directly instantiate it.
*
* @class HUDWidget
* @namespace Kiwi.HUD
* @constructor
* @param g... | the_stack |
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
EventEmitter,
forwardRef,
HostBinding,
Inject,
Input,
OnDestroy,
OnInit,
Optional,
Output,
ViewChild,
ViewEncapsulation
} from '@angular/core';
import { AbstractControl, ControlValueAccessor, NG_VALID... | the_stack |
import {
Component,
ContentChild,
ContentChildren,
EventEmitter,
Input,
OnDestroy,
Output,
QueryList,
TemplateRef,
AfterContentInit,
forwardRef,
ElementRef,
ViewChild,
OnInit,
NgZone
} from '@angular/core';
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
import {... | the_stack |
import * as vscode from "vscode";
import { pickClient, pickConsumerGroupId, pickTopic } from "./common";
import { ConsumerCollection, ClientAccessor, createConsumerUri, ConsumerInfoUri, ConsumerLaunchState } from "../client";
import { KafkaExplorer } from "../explorer";
import { ConsumerVirtualTextDocumentProvider } f... | the_stack |
import { Route, RouteConfig } from 'vue-router';
import { Routes } from './routes';
import { QueryParams } from './params';
import CassQueryView from '@/views/cassandra/query/CassQueryView.vue';
export const cassandraRoutes: RouteConfig = {
path: '/cassandra',
redirect: { name: Routes.CassandraClusters },
compon... | the_stack |
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
import {
BatchExecuteStatementCommand,
BatchExecuteStatementCommandInput,
BatchExecuteStatementCommandOutput,
} from "./commands/BatchExecuteStatementCommand";
import {
BeginTransactionCommand,
BeginTransactionCommandInput,
BeginT... | the_stack |
import {
Component,
AfterViewInit,
ViewChild,
OnDestroy,
NgZone,
ChangeDetectorRef,
} from '@angular/core';
import { Project } from '../../shared/models/project.model';
import {
Feature,
LocationFeature,
GeoJsonFeature,
PolygonFeature,
} from '../../shared/models/feature.model';
import {
DrawingTo... | the_stack |
import React from "react";
import styled from "styled-components";
import classNames from "classnames";
import { Size } from "src/theme";
import { RouteName } from "src/shared/constants/routing";
import { getPrimaryColor } from "src/shared/utils/color";
import { SearchParamKey } from "src/shared/constants/search";
imp... | the_stack |
import React, { useState } from 'react';
import { mount } from 'enzyme';
import addDays from 'date-fns/add_days';
import subDays from 'date-fns/sub_days';
import Calendar, { validateProps, normaliseValue, hasAnyPastDays, hasAnyFutureDays } from './index';
test('renders a basic calendar with past date selection allowe... | the_stack |
import { hex2b64 } from "./lib/jsbn/base64";
import { Hex } from "./lib/asn1js/hex";
import { Base64 } from "./lib/asn1js/base64";
import { ASN1 } from "./lib/asn1js/asn1";
import { RSAKey } from "./lib/jsbn/rsa";
import { parseBigInt } from "./lib/jsbn/jsbn";
import { KJUR } from "./lib/jsrsasign/asn1-1.0";
/**
* C... | the_stack |
import directionConverter from '@aesthetic/addon-direction';
import vendorPrefixer from '@aesthetic/addon-vendor';
import { RankCache, SheetManager } from '@aesthetic/types';
import {
createTestSheetManager,
createTestStyleEngine,
getRenderedStyles,
purgeStyles,
} from '../src/test';
import { StyleEngine } from '..... | the_stack |
import {
BoundingBox,
EdgeCirculator,
FaceCirculator,
LineFaceCirculator,
LocateType,
Sign,
TDS,
Triangle,
} from "./tds";
import type { Point, Vertex } from "./tds";
import {
ccw,
collinearBetween,
cw,
edgeInfo,
hasInexactNegativeOrientation,
intersection,
or... | the_stack |
import * as $protobuf from "protobufjs";
/** Namespace cosmos. */
export namespace cosmos {
/** Namespace bank. */
namespace bank {
/** Namespace v1beta1. */
namespace v1beta1 {
/** Properties of a Params. */
interface IParams {
/** Params sendEnabled ... | the_stack |
import { field, Logger, logger } from "@coder/logger"
import * as cp from "child_process"
import * as path from "path"
import * as rfs from "rotating-file-stream"
import { Emitter } from "../common/emitter"
import { DefaultedArgs } from "./cli"
import { paths } from "./util"
const timeoutInterval = 10000 // 10s, match... | the_stack |
import * as coreClient from "@azure/core-client";
export type MethodRequestUnion =
| MethodRequest
| MediaGraphTopologySetRequest
| MediaGraphTopologySetRequestBody
| MediaGraphInstanceSetRequest
| MediaGraphInstanceSetRequestBody
| ItemNonSetRequestBaseUnion
| MediaGraphTopologyListRequest
| MediaGrap... | the_stack |
import React from 'react'
import {
Events,
i18n,
isAbortableResponse,
isCodedError,
isCommentaryResponse,
isTabLayoutModificationResponse,
isRadioTable,
isReactResponse,
isMarkdownResponse,
isMixedResponse,
isMultiModalResponse,
isNavResponse,
isXtermResponse,
isTable,
Tab as KuiTab,
St... | the_stack |
import { parse, ParseResult } from "@babel/parser";
import traverse from "@babel/traverse";
import generate from '@babel/generator';
import * as t from '@babel/types';
import { IDocsAPI } from "../../types";
import { Resource } from "../../resource";
import { getContentByPath } from "../../utils";
const path_ = requir... | the_stack |
import { RuleTester, Failure, Position, dedent } from './ruleTester';
// ESLint Tests: https://github.com/eslint/eslint/blob/master/tests/lib/rules/max-len.js
const ruleTester = new RuleTester('ter-max-len');
function expecting(errors: Array<[number, number] | [number, number, boolean]>): Failure[] {
return errors.... | the_stack |
'use strict';
import * as React from 'react';
import client from 'js/slycat-web-client';
import SlycatSelector, {Option} from 'components/SlycatSelector.tsx';
/**
* @member hostname name of the host we are connecting
* (assumes we have a connection already to the host)
* @member persistenceId uuid for local storage... | the_stack |
import type {$FixMe, $IntentionalAny} from '@theatre/shared/utils/types'
import userReadableTypeOfValue from '@theatre/shared/utils/userReadableTypeOfValue'
import type {Rgba} from '@theatre/shared/utils/color'
import {
decorateRgba,
linearSrgbToOklab,
oklabToLinearSrgb,
srgbToLinearSrgb,
linearSrgbToSrgb,
} ... | the_stack |
import * as assert from 'assert'
import { Schemas } from 'aws-sdk'
import * as sinon from 'sinon'
import {
CommandMessage,
createMessageReceivedFunc,
getPageHeader,
getRegistryNames,
getSearchListForSingleRegistry,
getSearchResults,
} from '../../../eventSchemas/commands/searchSchemas'
import {... | the_stack |
import * as React from 'react';
import { IPropertyFieldGroupOrPerson, PrincipalType } from './IPropertyFieldPeoplePicker';
import { NormalPeoplePicker, IBasePickerSuggestionsProps } from 'office-ui-fabric-react/lib/Pickers';
import { Label } from 'office-ui-fabric-react/lib/Label';
import { IPersonaProps, PersonaPresen... | the_stack |
import '../elements/interpreter_controls';
import '@material/mwc-icon';
import {MobxLitElement} from '@adobe/lit-mobx';
// tslint:disable:no-new-decorators
import {customElement} from 'lit/decorators';
import {css, html, TemplateResult} from 'lit';
import {computed, observable} from 'mobx';
import {app} from '../core... | the_stack |
import {
AttributeTypeModel,
BinaryReader,
common,
ConfirmedTransactionJSON,
crypto,
getSignData,
InvalidFormatError,
IOHelper,
JSONHelper,
MAX_TRANSACTION_SIZE,
multiSignatureContractCost,
Script,
scriptHashToAddress,
signatureContractCost,
TransactionDataJSON,
TransactionJSON,
Transa... | the_stack |
import { FSHTank } from '../import/FSHTank';
import { StructureDefinition, InstanceDefinition, ElementDefinition, PathPart } from '../fhirtypes';
import { Instance, SourceInfo } from '../fshtypes';
import { logger, Fishable, Type, Metadata, resolveSoftIndexing } from '../utils';
import {
setPropertyOnInstance,
repl... | the_stack |
import { LitElement, html, TemplateResult, css, PropertyValues, CSSResultGroup } from 'lit';
import { render } from 'lit';
import { property, customElement, state } from 'lit/decorators';
import {
HomeAssistant,
hasConfigOrEntityChanged,
hasAction,
ActionHandlerEvent,
handleAction,
LovelaceCardEditor,
get... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { StaticSites } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { WebSiteManagementClient } from "../webSiteM... | the_stack |
import { Literal, NamedNode, Quad_Object } from "@rdfjs/types";
import { Thing, Url, UrlString } from "../interfaces";
import { internal_isValidUrl, Time } from "../datatypes";
import { internal_throwIfNotThing } from "./thing.internal";
import { removeAll } from "./remove";
import {
isThing,
ValidPropertyUrlExpect... | the_stack |
import {ResourceBase} from '../resource'
import {Value, List} from '../dataTypes'
export class InforNexusConnectorProfileProperties {
InstanceUrl!: Value<string>
constructor(properties: InforNexusConnectorProfileProperties) {
Object.assign(this, properties)
}
}
export class DynatraceConnectorProf... | the_stack |
import * as DomUtil from '../common/dom_util';
import {Attribute} from '../enrich_mathml/enrich_mathml';
import {SemanticAttr, SemanticFont, SemanticRole, SemanticType} from '../semantic_tree/semantic_attr';
import {SemanticNode} from '../semantic_tree/semantic_node';
import {SemanticNodeFactory} from '../semantic_tree... | the_stack |
import { useEffect, useMemo, useState, useContext, useRef } from 'react';
import type { FormInstance } from 'antd';
import { Button, Collapse, Form, Popconfirm } from 'antd';
import { PlusOutlined, DeleteOutlined } from '@ant-design/icons';
import { getTimeZoneList } from './panelData';
import moment from 'moment';
imp... | the_stack |
import Button from '@material-ui/core/Button';
import Checkbox from '@material-ui/core/Checkbox';
import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogActions';
import DialogContent from '@material-ui/core/DialogContent';
import DialogContentText from '@material-ui/core/Dial... | the_stack |
import {
BigIntLiteral,
BooleanLiteral,
NoSubstitutionTemplateLiteral,
NullLiteral,
NumericLiteral,
RegularExpressionLiteral,
StringLiteral,
SyntaxKind,
TemplateHead,
TemplateMiddle,
TemplateSpan,
TemplateTail,
} from 'typescript';
import {
ILogger,
} from '@aurelia/kernel';
import {
Realm,
... | the_stack |
import * as os from "os";
import * as fs from "fs";
import * as path from "path";
import { Widgets, screen } from "neo-blessed";
import { Logger } from "../common/Logger";
import { BlessedPanel } from "./BlessedPanel";
import { FuncKeyBox } from "./FuncKeyBox";
import BottomFilesBox from "./BottomFileBox";
import { rea... | the_stack |
import * as React from "react"
//import { load } from 'opentype.js'
import { bumpAnnotations } from "./annotationLayerBehavior/annotationHandling"
import Legend from "./Legend"
import Annotation from "./Annotation"
import * as labella from "labella"
import SpanOrDiv from "./SpanOrDiv"
import {
AnnotationHandling,
... | the_stack |
import * as React from 'react';
import './aplRendererWindow.css';
import {
APLClient,
APLWSRenderer,
IAPLWSOptions,
AudioPlayer,
IAudioEventListener,
IEnvironment
} from 'apl-client';
import {IClient} from '../lib/messages/client';
import {IAPLCoreMessage, IAPLEventMessage} from '../lib/messages/messages';
... | the_stack |
///<reference path="./codemirror.d.ts" />
//--------------------------------------------------------------------------
//
// Brackets declaration files
//
//--------------------------------------------------------------------------
declare module brackets {
//------------------------------... | the_stack |
import { Component, Inject, OnDestroy, OnInit } from '@angular/core';
import { AbstractControl, FormControl, FormGroup, ValidationErrors, ValidatorFn } from '@angular/forms';
import { MatDialog } from '@angular/material/dialog';
import { combineLatest, EMPTY, from, Observable, Subject, zip } from 'rxjs';
import { catch... | the_stack |
import {fakeAsync, TestBed, tick} from "@angular/core/testing";
import {ViewFileOptionsService} from "../../../../services/files/view-file-options.service";
import {ViewFileOptions} from "../../../../services/files/view-file-options";
import {ViewFile} from "../../../../services/files/view-file";
import {LoggerService... | the_stack |
import Icon from 'polestar-icons';
import React, { Component } from 'react';
import { Spin, Row, Col, Card, Button, Input, Select } from 'antd';
import { Entity } from 'aframe';
import uuid from 'uuid/v4';
import AddEmpty from './AddEmpty';
import Scrollbar from './Scrollbar';
import Empty from './Empty';
import { for... | the_stack |
import m from "mithril";
import {Agents} from "models/agents/agents";
import {AgentsJSON} from "models/agents/agents_json";
import {AgentsTestData} from "models/agents/spec/agents_test_data";
import {Environments, EnvironmentWithOrigin} from "models/new-environments/environments";
import test_data from "models/new-envi... | the_stack |
import { CfnCondition } from './cfn-condition';
import { CfnRefElement } from './cfn-element';
import { CfnCreationPolicy, CfnDeletionPolicy, CfnUpdatePolicy } from './cfn-resource-policy';
import { Construct, IConstruct } from 'constructs';
import { Reference } from './reference';
import { RemovalPolicy, RemovalPolicy... | the_stack |
import {
simpleArray, oddArray, jsn, un1, un2, people, msdn, pets, mix, phrase
} from "./data";
import {assert} from "chai";
import Linq from "../lib/linq";
import { Enumerable } from "../lib/enumerable";
describe('Deferred Execution -', function () {
// Cast
it('Cast()', function () {
class a {... | the_stack |
import type {Class} from "@swim/util";
import type {MemberFastenerClass} from "@swim/component";
import type {View} from "@swim/view";
import {Controller, TraitViewRef, TraitViewControllerRef} from "@swim/controller";
import type {GraphView} from "../graph/GraphView";
import type {GraphTrait} from "../graph/GraphTrait"... | the_stack |
import { localize } from '@opensumi/ide-core-common';
import { Color, RGBA } from '../../common/color';
import { registerColor, transparent, lighten, darken, lessProminent } from '../color-registry';
import { badgeBackground, badgeForeground } from './badge';
import { contrastBorder, activeContrastBorder, focusBorder... | the_stack |
declare const enum ChinaCRS {
/**
* 标准无偏坐标系
*/
WGS84 = "WGS84",
/**
* 国测局(GCJ02)偏移坐标系
*/
GCJ02 = "GCJ02",
/**
* 百度(BD09) 偏移坐标系
*/
BAIDU = "BD09"
}
/**
* 坐标系 枚举
*/
declare const enum CRS {
/**
* Web墨卡托投影坐标系
*/
EPSG3857 = "EPSG:3857",
/**
... | the_stack |
import {Plural, Trans} from '@lingui/react'
import {DataLink} from 'components/ui/DbLink'
import {Action, ActionKey} from 'data/ACTIONS'
import {Status} from 'data/STATUSES'
import {Event, Events} from 'event'
import {Analyser} from 'parser/core/Analyser'
import {EventHook} from 'parser/core/Dispatcher'
import {filter}... | the_stack |
import './index.less';
import { ValueComponentProps, ValueComponent, VNode, mountComponent, createVNode } from 'jeact';
export interface PmSelectorOption {
value: any;
label: string;
checked?: boolean;
parent?: PmSelectorOption;
children?: PmSelectorOption[];
}
export interface PmSelectorComponentProps exte... | the_stack |
export namespace Mail {
// Default Application
export interface Application {}
// Class
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/
/*... | the_stack |
import * as React from 'react';
import * as renderer from 'react-test-renderer';
import { mount } from 'enzyme';
import { resetIds } from '@fluentui/utilities';
import { MessageBar } from './MessageBar';
import { MessageBarType } from './MessageBar.types';
import { isConformant } from '../../common/isConformant';
desc... | the_stack |
import * as React from "react";
import { ImageBackground, Animated } from "react-native";
import { Heroes } from "../../assets";
import { Colors, Shadows } from "../../components";
import { TestGroup } from "../../types";
import { FastImage } from "./FastImage";
//import { PhotoView } from "./PhotoView";
import { Test... | the_stack |
import {isCancel} from 'cancel-token';
import * as path from 'path';
import {ForkOptions, LazyEdgeMap, NoKnownParserError, Options, ScannerTable} from '../core/analyzer';
import {CssCustomPropertyScanner} from '../css/css-custom-property-scanner';
import {CssParser} from '../css/css-parser';
import {HtmlCustomElementR... | the_stack |
import type { LiteralUnion } from '@/generalTypes'
import type { ITEMS } from '@arguments'
import type {
BlockIdCriterion,
DamageCriterion,
DimensionCriterion,
DistanceCriterion,
EffectCriterion,
EntityCriterion,
ItemCriterion,
LocationCriterion,
NumberProvider,
PlayerCriterion,
PotionIdCriterion,... | the_stack |
// clang-format off
import 'chrome://settings/settings.js';
import 'chrome://webui-test/cr_elements/cr_policy_strings.js';
import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js';
import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {flush} from 'chrome://resources/polymer/v3_0/po... | the_stack |
const calculateSaves = () => {
getAttrs([...attributes.map(attr => `${attr}_mod`), "level",
"homebrew_luck_save", "save_physical", "save_mental", "save_evasion", "save_luck"
], v => {
const base = 16 - (parseInt(v.level) || 1);
const setting: {[key: string]: any} = {
save_phy... | the_stack |
import { SVG } from "../util";
import { SVGPathBuilder } from "../util/SVG";
import { EMFJSError, Helper } from "./Helper";
import { Obj, PointL, PointS, RectL } from "./Primitives";
import { CreateSimpleRegion, Region } from "./Region";
import { Brush, ColorRef, Font, Pen } from "./Style";
interface ISelectedStyle {
... | the_stack |
import { PdfColor } from './../pdf-color';
import { PdfBrush } from './pdf-brush';
import { Dictionary } from './../../collections/dictionary';
import { KnownColor } from './enum';
import { PdfSolidBrush} from './pdf-solid-brush';
/**
* `PdfBrushes` class provides objects used to fill the interiors of graphical shapes... | the_stack |
import { PAGModule } from '../binding';
import { destroyVerify, wasmAwaitRewind } from '../utils/decorators';
import { MatrixIndex } from '../types';
@destroyVerify
@wasmAwaitRewind
export class Matrix {
/**
* Sets Matrix to:
*
* | scaleX skewX transX |
* | skewY scaleY transY |
* | ... | the_stack |
import * as io from '../../io/src/io'
import * as path from 'path'
import {promises as fs} from 'fs'
import * as core from '@actions/core'
import {getUploadSpecification} from '../src/internal/upload-specification'
const artifactName = 'my-artifact'
const root = path.join(__dirname, '_temp', 'upload-specification')
co... | the_stack |
import {
Component,
forwardRef,
NgModule,
Input,
Output,
ChangeDetectorRef,
OnInit,
OnDestroy,
ContentChildren,
QueryList,
Optional,
EventEmitter,
ChangeDetectionStrategy,
NgZone,
ViewChild,
ElementRef,
Renderer2,
AfterViewInit
} from '@angular/core';
import {
NG_VALUE_ACCESSOR,
... | the_stack |
import { _In, _Out, QueueSym } from "@effect/core/io/Queue/definition"
import { unsafeCompleteDeferred } from "@effect/core/io/Queue/operations/_internal/unsafeCompleteDeferred"
import { unsafeCompleteTakers } from "@effect/core/io/Queue/operations/_internal/unsafeCompleteTakers"
import { unsafeOfferAll } from "@effect... | the_stack |
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export { BaseResource, CloudError };
/**
* @interface
* An interface representing Resource.
* Azure resource.
*
* @extends BaseResource
*/
export interface Resource extend... | the_stack |
import { WorkflowState, WorkflowStatus } from '../workflow-state'
import { Message, MessageAttributes } from '@node-ts/bus-messages'
import { MessageWorkflowMapping } from '../message-workflow-mapping'
import * as uuid from 'uuid'
import { Workflow, OnWhenHandler, WorkflowMapper } from '../workflow'
import { ClassConst... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
import * as Models from "../models";
import * as Mappers from "../models/backupSchedulesMappers";
import * as Parameters from "../models/parameters";
import { StorSimple8000SeriesManagementClientContext } from "../storS... | the_stack |
import oboe from "oboe";
interface DeduplicationContext {
JSONroot:any,
currentDepth:number,
}
export default class StreamingJSONParser {
// this expects to get a valid qlog-formatted string and parses it to JSON format
// we don't directly use JSON.parse since the qlog string might not be valid JSO... | the_stack |
import { ether, expectEvent, expectRevert } from '@openzeppelin/test-helpers'
import BN from 'bn.js'
import { Transaction, AccessListEIP2930Transaction, FeeMarketEIP1559Transaction } from '@ethereumjs/tx'
import Common from '@ethereumjs/common'
import { TxOptions } from '@ethereumjs/tx/dist/types'
import { encode } fr... | the_stack |
import { EXMLConfig, NS_S, NS_W } from "./EXMLConfig2";
import XMLParser = require("../xml/index");
import { EXAddItems, EXBinding, EXClass, EXFunction, EXSetProperty, EXState, EXVariable, EXSetStateProperty } from "./CodeFactory";
let DEBUG = false;
import { egretbridge } from "./egretbridge";
import { jsonFactory } f... | the_stack |
import xss from 'xss';
import mongoose from 'mongoose';
import { SearchDelegatorName } from '~/interfaces/named-query';
import { IPageWithMeta } from '~/interfaces/page';
import { IFormattedSearchResult, IPageSearchMeta, ISearchResult } from '~/interfaces/search';
import loggerFactory from '~/utils/logger';
import Na... | the_stack |
import { getRegistryUrl, install } from '../../shared/npm';
import fs from 'fs';
import path from 'path';
import axios from 'axios';
import packageJson from '../../shared/packageJson';
import { getTag, checkoutVersion, getCurrentTag } from '../universal-pkg/repository/git';
import { download } from '../../shared/git';
... | the_stack |
import * as core from '@actions/core'
import {
removeRef,
slug,
slug_cs,
slugref,
slugref_cs,
slugurl,
slugurl_cs,
slugurlref,
slugurlref_cs
} from './slug'
import {shortsha} from './short'
import {get_first_part, get_second_part} from './partial'
const SEPARATOR = '/'
/**
* Inputs environments var... | the_stack |
/// <reference types="amap-js-api" />
/// <reference types="amap-js-api-place-search" />
declare namespace AMap {
enum TransferPolicy {
/**
* 最快捷模式
*/
LEAST_TIME = 0,
/**
* 最经济模式
*/
LEAST_FEE = 1,
/**
* 最少换乘模式
*/
... | the_stack |
import { Lambda } from 'aws-sdk';
import { REQUIRED_BY_CFN } from '../../../lib/api/hotswap/s3-bucket-deployments';
import * as setup from './hotswap-test-setup';
let mockLambdaInvoke: (params: Lambda.Types.InvocationRequest) => Lambda.Types.InvocationResponse;
let hotswapMockSdkProvider: setup.HotswapMockSdkProvider;... | 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 } from '../units/action';
import { Cost } from '../cost';
import { TypeList }... | the_stack |
import Point from "@mapbox/point-geometry";
import UnitBezier from "@mapbox/unitbezier";
// @ts-ignore
import polylabel from "polylabel";
import {
ArrayAttr,
AttrOption,
FontAttr,
FontAttrOptions,
NumberAttr,
StringAttr,
TextAttr,
TextAttrOptions,
} from "./attribute";
import { Label, Layout } from "./l... | the_stack |
import { ErrorTypes,
ErrorMessages,
TypeAssertionErrorMessageConstraints,
TypeAssertion,
RepeatedAssertion,
SpreadAssertion,
OptionalAssertion,
ValidationContext } from '../types';
import { escapeString } from './escape';
import { nvl } f... | the_stack |
import {
Address,
Algorithm,
ChainId,
isBlockInfoPending,
isFailedTransaction,
isSendTransaction,
PubkeyBytes,
SendTransaction,
TokenTicker,
TransactionState,
} from "@iov/bcp";
import { Secp256k1 } from "@iov/crypto";
import { fromBase64, toHex } from "@iov/encoding";
import { HdPaths, Secp256k1HdW... | the_stack |
import {ComponentFixture, fakeAsync, flushMicrotasks, TestBed} from '@angular/core/testing';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {MatDialogModule} from '@angular/material/dialog';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {RouterTestingModul... | the_stack |
import {BaseConsoleView} from "./BaseConsoleView";
import {
EngineAdapter,
TickerEvent,
IObjectUnderPointVO,
ITextWrapper,
DisplayObjectWrapperMouseEvent,
IDisplayObjectWrapper
} from "fgraphics/dist/index";
import {Point, KeyboardTools, KeyCodes} from "fcore/dist/index";
import {InputManager, I... | the_stack |
import {
Address,
ConditionalTransferTypes,
EventNames,
EventPayloads,
GraphReceipt,
IConnextClient,
NodeResponses,
PrivateKey,
PublicParams,
SignedTransferStatus,
} from "@connext/types";
import {
getChainId,
getRandomPrivateKey,
getTestGraphReceiptToSign,
getTestVerifyingContract,
signGr... | the_stack |
import { DefaultWebGL2BufferFragment, DefaultWebGLBufferFragment } from '../context/chunks';
import Context from '../context/context';
import IterableStringMap from '../core/iterable';
import FlatGeometry from '../geometry/flat-geometry';
import Geometry from '../geometry/geometry';
export enum BufferFloatType {
FLOA... | the_stack |
import { ApplicationRef, Component, Directive, HostBinding, Inject, Injectable, Input, ModuleWithProviders, NgModule, Optional } from '@angular/core';
import { MenuCheckboxDirective, MenuDirective, MenuItemDirective, MenuRadioDirective, MenuSeparatorDirective } from './menu.component';
import { detectChangesNextFrame, ... | the_stack |
import * as Immutable from 'immutable';
import * as shortid from 'shortid';
import {
RequestForApplicationNotifications,
RequestForApplicationNotificationsStep,
} from '../notifications/duck';
import { Targets } from '../urlrouter/constants';
import { InstallContext } from './types';
/**
* -------------
* - PERS... | the_stack |
import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
import * as msRest from "@azure/ms-rest-js";
export const CloudError = CloudErrorMapper;
export const BaseResource = BaseResourceMapper;
export const Trial: msRest.CompositeMapper = {
serializedName: "Trial",
type: {
name: "Compos... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* Manages a Redis Enterprise Database.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azur... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.