text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { SpeechToTextApi } from './index';
import { ToastsManager } from 'ng2-toastr/ng2-toastr';
import { Http } from '@angular/http';
import { AwsService } from "app/aws/aws.service";
export type ProcessBehavior = "SAVE" | "BUILD";
export class BotEntry {
name: string;
description: string;
version: str... | the_stack |
import {Graph} from '../../../graph';
import {OperatorImplementation, OperatorInitialization} from '../../../operators';
import {Tensor} from '../../../tensor';
import {getGlsl} from '../glsl-source';
import {WebGLInferenceHandler} from '../inference-handler';
import {ProgramInfo, TextureType} from '../types';
import {... | the_stack |
import { TextFormat } from "../../core/text/TextFormat";
import { AlignType } from "../../ui/FieldTypes";
import { convertFromHtmlColor } from "../ToolSet";
import { XMLIterator, XMLTagType } from "../xml/XMLIterator";
import { XMLUtils } from "../xml/XMLUtils";
import { HtmlElement, HtmlElementType, elementPool } from... | the_stack |
import Log from '../Utils/Logger';
import BaseLoader from './BaseLoader';
import { RuntimeException } from '../Utils/Exception';
import LoaderStatus from './LoaderStatus';
import LoaderErrors from './LoaderErrors';
import UserConfig from '../Interfaces/UserConfig';
import MediaConfig from '../Interfaces/MediaConfig';
i... | the_stack |
module TDev
{
export class TutorialInstruction {
public decl:AST.Decl;
public stmt:AST.Stmt;
public targetName:string;
public targetKind:Kind;
public addButton: Ticks;
public calcButton: Ticks;
public calcIntelli: Ticks;
public label: string;
p... | the_stack |
import { AccessLevelList } from "../shared/access-level";
import { PolicyStatement } from "../shared";
/**
* Statement provider for service [route53resolver](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonroute53resolver.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/late... | the_stack |
import React, { useState, useMemo, useEffect } from "react";
import { OrgComponent } from "@ui_types";
import { Model, Api } from "@core/types";
import humanize from "humanize-string";
import * as g from "@core/lib/graph";
import * as R from "ramda";
import * as ui from "@ui";
import { stripUndefinedRecursive } from "@... | the_stack |
// //////////////////////////////////////////////////////////////////////////////////
//
// prettycron.js
// Generates human-readable sentences from a schedule string in cron format
//
// Based on an earlier version by Pehr Johansson
// http://dsysadm.blogspot.com.au/2012/09/human-readable-cron-expressions-using.ht... | the_stack |
import React, { useContext, useEffect, useLayoutEffect, useRef, useState } from 'react';
import { xarrowPropsType } from '../types';
import useXarrowProps from './useXarrowProps';
import { XarrowContext } from '../Xwrapper';
import XarrowPropTypes from './propTypes';
import { getPosition } from './utils/GetPosition';
... | the_stack |
import { expect } from "chai";
import { IModelConnection, SnapshotConnection } from "@itwin/core-frontend";
import { ContentSpecificationTypes, KeySet, Ruleset, RuleTypes } from "@itwin/presentation-common";
import { Presentation } from "@itwin/presentation-frontend";
import { initialize, terminate } from "../../../Int... | the_stack |
"use strict";
import { objCreateFn } from "@microsoft/applicationinsights-shims";
import dynamicProto from "@microsoft/dynamicproto-js";
import { IAppInsightsCore, ILoadedPlugin } from "../JavaScriptSDK.Interfaces/IAppInsightsCore"
import { IConfiguration } from "../JavaScriptSDK.Interfaces/IConfiguration";
import { I... | the_stack |
export declare var NewLine: string;
/**
* Describes a format provider context.
*/
export interface IFormatProviderContext {
/**
* The format expression.
*/
expression: string;
/**
* Gets if the expression has been handled or not.
*/
handled: boolean;
/**
* Ge... | the_stack |
import insertTextAtCursor from 'insert-text-at-cursor';
import { length } from 'stringz';
import { toASCII } from 'punycode';
import MkVisibilityChooser from '../views/components/visibility-chooser.vue';
import getFace from './get-face';
import { parse } from '../../../../mfm/parse';
import { host, url } from '../../co... | the_stack |
import { JsonConvert } from "../src/json2typescript/json-convert";
import { JsonObject, JsonProperty } from "../src/json2typescript/json-convert-decorators";
import { PropertyConvertingMode, ValueCheckingMode } from "../src/json2typescript/json-convert-enums";
describe("JsonConvert nullable type tests", () => {
/... | the_stack |
import StateMachine from '../src/app/app'
import LifecycleLogger from './helpers/lifecycle_logger'
test('basic transition from state to state', () => {
const fsm = new StateMachine({
init: 'A',
transitions: [
{ name: 'step1', from: 'A', to: 'B' },
{ name: 'step2', from: 'B', to: 'C' },
... | the_stack |
export const enum Enum {
A = "A",
B = "B",
}
export const encodeEnum: { [key: string]: number } = {
A: 0,
B: 1,
};
export const decodeEnum: { [key: number]: Enum } = {
0: Enum.A,
1: Enum.B,
};
export interface Nested {
x?: number;
y?: number;
}
export function encodeNested(message: Nested): Uint8Arr... | the_stack |
/// <reference path="../Primitives/DateTime.ts" />
/// <reference path="Format.ts" />
module Fayde.Localization {
RegisterFormattable(DateTime, (obj: any, format: string, provider?: any): string => {
if (!format)
return undefined;
if (obj == null)
return null;
... | the_stack |
/**
* @license Copyright © 2013 onwards, Andrew Whewell
* All rights reserved.
*
* Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyri... | the_stack |
import fs from 'fs';
import path from 'path';
import tachPkg from 'tachometer/lib/cli.js';
const {main: tachometer} = tachPkg;
import tablePkg from 'table';
const {table, getBorderCharacters} = tablePkg;
import rimraf from 'rimraf';
import cliArgs from 'command-line-args';
import {getOptions, OptionKey, OptionValues} ... | the_stack |
import {
Dispatch,
Store,
Reducer,
Middleware,
StoreEnhancer
} from 'redux';
import { History } from 'history';
export type Nullable<T> = T | null | undefined;
export type StateGetter<TState = any> = () => TState;
export type RouteString = string;
export type ConfirmLeave = (state: object, actio... | the_stack |
import app from '../../forum/app';
import Component, { ComponentAttrs } from '../../common/Component';
import LoadingIndicator from '../../common/components/LoadingIndicator';
import ItemList from '../../common/utils/ItemList';
import classList from '../../common/utils/classList';
import extractText from '../../common/... | the_stack |
import * as React from "react";
import { PlaybackSettings, TimelineComponent, TimelinePausePlayAction, TimelinePausePlayArgs } from "@itwin/imodel-components-react";
import {
ActionItemButton, CommandItemDef, ContentGroup, ContentLayoutDef, ContentLayoutManager, CoreTools, Frontstage, FrontstageDef, FrontstageManager... | the_stack |
import { getActiveOrgGraphObjects, getDeletedOrgGraphObjects } from "./db";
import * as graphKey from "./graph_key";
import { Graph, Rbac, Model, Api, Auth } from "@core/types";
import { env } from "./env";
import { verifySignedLicense } from "./auth";
import { getOrgBillingId } from "./billing";
import * as R from "ra... | the_stack |
import React from "react";
import { Room } from "matrix-js-sdk/src/models/room";
import { MatrixError } from "matrix-js-sdk/src/http-api";
import { EventType, RoomType } from "matrix-js-sdk/src/@types/event";
import { IJoinRuleEventContent, JoinRule } from "matrix-js-sdk/src/@types/partials";
import { RoomMember } from... | the_stack |
import substrings from '@udondan/common-substrings';
import RegexParser = require('regex-parser');
import { AccessLevel } from '../access-level';
import { AccessLevelList } from '../access-level';
import { PolicyStatementWithCondition } from './2-conditions';
export interface Action {
url: string;
description: st... | the_stack |
import { StudentExamDetailComponent } from 'app/exam/manage/student-exams/student-exam-detail.component';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { Course } from 'app/entities/course.model';
import { User } from 'app/core/user/user.model';
import { StudentExam } from 'app/entities/stud... | the_stack |
import * as zrUtil from 'zrender/src/core/util';
import SymbolDraw, { ListForSymbolDraw } from '../helper/SymbolDraw';
import LineDraw from '../helper/LineDraw';
import RoamController, { RoamControllerHost } from '../../component/helper/RoamController';
import * as roamHelper from '../../component/helper/roamHelper';
i... | the_stack |
import { Component, OnInit } from '@angular/core';
import { Location } from '@angular/common';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { CardConfig } from 'patternfly-ng/card/basic-card/card-config';
import { NotificationService } from 'patternfly-ng/notification/notification-servic... | the_stack |
import CLASS from './class'
import { ChartInternal } from './core'
import { isFunction } from './util'
ChartInternal.prototype.initBrush = function(scale) {
var $$ = this,
d3 = $$.d3
// TODO: dynamically change brushY/brushX according to axis_rotated.
$$.brush = ($$.config.axis_rotated ? d3.brushY() : d3.bru... | the_stack |
import * as Recorder from 'opus-recorder';
import encoderPath from 'opus-recorder/dist/encoderWorker.min.js';
import { MatrixClient } from "matrix-js-sdk/src/client";
import { SimpleObservable } from "matrix-widget-api";
import EventEmitter from "events";
import { IEncryptedFile } from "matrix-js-sdk/src/@types/event";... | the_stack |
import { PageCollection } from './Collection/PageCollection';
import { ImagePageCollection } from './Collection/ImagePageCollection';
import { HTMLPageCollection } from './Collection/HTMLPageCollection';
import { PageRect, Point } from './BasicTypes';
import { Flip, FlipCorner, FlippingState } from './Flip/Flip';
impor... | the_stack |
namespace ergometer.csafe {
//----------------------------- get the stoke state ------------------------------------
export interface ICommandStrokeState extends ICommandParamsBase {
onDataReceived: (state: StrokeState) => void;
}
export interface IBuffer {
getStrokeState(params: ICom... | the_stack |
import { AssertTrue as Assert, IsExact, AssertFalse } from "conditional-type-checks";
import {
assert,
Buildable,
DeepNonNullable,
DeepNullable,
DeepReadonly,
DeepRequired,
DeepWritable,
StrictExtract,
Dictionary,
DictionaryValues,
MarkOptional,
MarkRequired,
Merge,
MergeN,
NonEmptyObject... | the_stack |
import React, { useState, useEffect, useRef, Fragment } from 'react';
import { jsx, keyframes } from '@emotion/core';
import { BotIndexer } from '@bfc/indexers';
import { useRecoilValue } from 'recoil';
import { TextField } from 'office-ui-fabric-react/lib/TextField';
import { Dropdown, IDropdownOption } from 'office-u... | the_stack |
import * as _ from 'lodash';
import { Kubectl } from "../kubectl";
import { KUBERNETES_SCHEMA_ENUM_FILE, FALLBACK_SCHEMA_FILE, KUBERNETES_GROUP_VERSION_KIND } from "./yaml-constant";
import { formatComplex, formatOne, formatType } from '../schema-formatting';
import * as swagger from '../components/swagger/swagger';
i... | the_stack |
import { expect } from "chai";
import * as React from "react";
import * as sinon from "sinon";
import {
BadgeType, CommonToolbarItem, ConditionalBooleanValue, CustomButtonDefinition, StageUsage, ToolbarItemUtilities, ToolbarOrientation, ToolbarUsage,
UiItemsManager, UiItemsProvider,
} from "@itwin/appui-abstract";
... | the_stack |
import { defineConfig, notEqual } from '@agile-ts/utils';
import { logCodeManager } from '../logCodeManager';
import { Agile } from '../agile';
import {
SubscriptionContainer,
CallbackSubscriptionContainer,
ComponentSubscriptionContainer,
} from './subscription';
import { RuntimeJob } from './runtime.job';
expor... | the_stack |
import { assertEq } from '../test-helpers';
import { moment } from '../chain';
import { kaLocale } from '../../i18n/ka';
// localeModule('en');
describe('locale: ka', () => {
beforeAll(() => {
moment.locale('ka', kaLocale);
});
afterAll(() => {
moment.locale('en');
});
// localeModule('ka');
it(... | the_stack |
import * as React from "react";
import { createIntervalTree } from "./interval-tree";
/**
* This hook creates the grid cell positioner and cache required by `useMasonry()`. This is
* the meat of the grid's layout algorithm, determining which cells to render at a given scroll
* position, as well as where to place ne... | the_stack |
import Dictionary from '../../../util/Dictionary';
import GraphHierarchyNode from '../datatypes/GraphHierarchyNode';
import GraphHierarchyEdge from '../datatypes/GraphHierarchyEdge';
import Cell from '../../cell/Cell';
import CellArray from '../../cell/CellArray';
import HierarchicalLayout from '../HierarchicalLayout';... | the_stack |
import {
Mutable,
Class,
Proto,
Arrays,
HashCode,
Comparator,
Dictionary,
MutableDictionary,
FromAny,
Creatable,
InitType,
Initable,
ObserverType,
Observable,
ObserverMethods,
ObserverParameters,
} from "@swim/util";
import {FastenerContext} from "../fastener/FastenerContext";
import typ... | the_stack |
import { createContext } from 'react'
import {
deleteDeepProp,
setDeepProp,
typeCheck,
randomString,
generateArrayKeyReg,
generateReg,
} from '@jdfed/utils'
import addField from './addField'
import deleteField from './deleteField'
import { upgradeTips, toArray } from '@jdfed/utils'
import type { Action, Sta... | the_stack |
import {
AfterViewInit,
Component,
ElementRef,
Input,
OnDestroy,
OnInit,
ViewChild,
ViewEncapsulation,
EventEmitter,
Output
} from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import {
Pagination,
UserProcessInstanceFilterRepresentation,
... | the_stack |
import * as Objects from "./objects";
export interface AccountChangePasswordResponse {
/**
* New token
*/
token: string;
/**
* New secret
*/
secret?: string;
[key: string]: any;
}
export interface AccountGetActiveOffersResponse {
/**
* Total number
*/
count: n... | the_stack |
jest.mock('dgram')
import { Socket } from '../__mocks__/dgram'
import { AtemSocketChild, ConnectionState, PacketFlag } from '../atemSocketChild'
import { Util } from '../..'
import * as fakeTimers from '@sinonjs/fake-timers'
import { DEFAULT_PORT } from '../../atem'
const ADDRESS = '127.0.0.1'
function getSocket(chil... | the_stack |
import { Injectable } from '@angular/core';
import { select, Store } from '@ngrx/store';
import { combineLatest, iif, Observable } from 'rxjs';
import { filter, map, switchMap, tap, withLatestFrom } from 'rxjs/operators';
import { AuthService } from '../../auth/user-auth/facade/auth.service';
import {
AnonymousConsen... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace FormContract_Detail {
interface tab_general_Sections {
administration: DevKit.Controls.Section;
allotment_details: DevKit.Controls.Section;
contract_detail_information: DevKit.Controls.Section;
notes: DevKit.Controls.Se... | the_stack |
import { describe, it, run, expect } from 'https://deno.land/x/tincan@0.2.2/mod.ts'
import { InitAppAndTest, runServer } from '../util.ts'
import {
setHeader,
getResponseHeader,
setVaryHeader,
setContentType,
setLocationHeader
} from '../../extensions/res/headers.ts'
import { redirect } from '../../extensions... | the_stack |
import { Badge, Spacer, useTheme, useToasts } from "@geist-ui/react";
import PrimaryButton from "../common/PrimaryButton";
import React, { useCallback, useEffect, useMemo, useState } from "react";
import {
ClientGameLibrary,
Player,
MenuButton,
ClientParty,
ChatMessage,
} from "../../types/types";
i... | the_stack |
import { DelimiterMark } from 'src/compilation/delimiterMark';
import { TagDisposition } from 'src/compilation/tag';
import { TagParser } from 'src/compilation/tagParser';
import { Delimiters } from 'src/delimiters';
import { DocxParser } from 'src/office';
import { XmlParser, XmlTextNode } from 'src/xml';
import { par... | the_stack |
import {
ActionsUnion,
IComponentState,
IGatsbyState,
IQueryState,
} from "../types"
type QueryId = string // page query path or static query id
type ComponentPath = string
type NodeId = string
type ConnectionName = string
export const FLAG_DIRTY_NEW_PAGE = 0b0001
export const FLAG_DIRTY_TEXT = 0b0010
export ... | the_stack |
module es {
export class SpatialHash {
public gridBounds: Rectangle = new Rectangle();
public _raycastParser: RaycastResultParser;
/**
* 散列中每个单元格的大小
*/
public _cellSize: number;
/**
* 1除以单元格大小。缓存结果,因为它被大量使用。
*/
public _inverseCellS... | the_stack |
import { expect } from 'chai';
import { GeoPoint } from '../../../src/api/geo_point';
import { Timestamp } from '../../../src/api/timestamp';
import { serverTimestamp } from '../../../src/model/server_timestamps';
import {
canonicalId,
valueCompare,
valueEquals,
estimateByteSize,
refValue,
deepClone
} from... | 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 sdk, { MediaObject, Camera, ScryptedInterface } from "@scrypted/sdk";
import { EventEmitter } from "stream";
import { HikVisionCameraAPI } from "./hikvision-camera-api";
import { Destroyable, UrlMediaStreamOptions, RtspProvider, RtspSmartCamera } from "../../rtsp/src/rtsp";
import { HikVisionCameraEvent } from "... | the_stack |
* @packageDocumentation
* @module core/math
*/
import { CCClass } from '../data/class';
import { ValueType } from '../value-types/value-type';
import { Mat3 } from './mat3';
import { Quat } from './quat';
import { IMat4Like, IVec3Like } from './type-define';
import { EPSILON } from './utils';
import { Vec3 } from '.... | the_stack |
import 'es6-promise/auto'; // polyfill Promise on IE
import {
expect
} from 'chai';
import {
generate, simulate
} from 'simulate-event';
import {
MimeData
} from '@phosphor/coreutils';
import {
Drag, IDragEvent
} from '@phosphor/dragdrop';
import '@phosphor/dragdrop/style/index.css';
class DropTarget {
... | the_stack |
import { NavigationType } from './frame-common';
import { NavigationTransition, BackstackEntry } from '.';
// Types.
import { Transition } from '../transition';
import { FlipTransition } from '../transition/flip-transition';
import { _resolveAnimationCurve } from '../animation';
import lazy from '../../utils/lazy';
im... | 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 UsageName.
* The Usage Names.
*
*/
export interface UsageName {
/**
* @member {string... | the_stack |
import { BodyType } from "../Enumerations/BodyType";
import { Convert, StringHelper } from '../ExtensionMethods';
import { DateTime } from "../DateTime";
import { EwsServiceXmlWriter } from "../Core/EwsServiceXmlWriter";
import { EwsUtilities } from "../Core/EwsUtilities";
import { ExchangeService } from "../Core/Exch... | the_stack |
import Taro from '@tarojs/taro';
import { stringify } from 'qs';
import { BaseHttpService, HttpServiceBuilderWithMeta, PickPayload, PickResponse, HttpServiceBuilderWithMetas, PickData, PickMeta, IBaseRequestAction, BaseHttpServiceConfig, HttpTransform, METHOD, RequestSuccessAction, RequestPrepareAction, FetchHandle as ... | the_stack |
import 'core-js/es/reflect'; // tslint:disable-line:no-submodule-imports
import { WorkspaceSchema } from '@schematics/angular/utility/workspace-models'; // tslint:disable-line:no-submodule-imports ordered-imports
import chalk from 'chalk';
import { mkdir, readFile, writeFile } from 'fs';
import { dirname, join, sep } f... | the_stack |
'use strict';
declare function require(n:string):any
/*eslint-disable no-use-before-define*/
var common = require('./common');
var YAMLException = require('./exception');
var DEFAULT_FULL_SCHEMA = require('./schema/default_full');
var DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');
var _toS... | the_stack |
import { existsSync, mkdirSync } from 'fs';
import { join, relative } from 'path';
import test, { ExecutionContext } from 'ava';
import del from 'del';
import execa from 'execa';
import globby from 'globby';
import md5File from 'md5-file';
import meow from 'meow';
import { cloneRepo, Placeholders, Tasks } from '../ta... | the_stack |
import { SerializedEntityState } from './common'
import {
defined,
Entity,
JulianDate,
PerspectiveFrustum,
PerspectiveOffCenterFrustum,
PositionProperty,
ConstantPositionProperty,
OrientationProperty,
ConstantProperty,
Quaternion,
Cartesian3,
ReferenceFrame,
Matrix4,
... | the_stack |
import { generateSidebar } from ".";
import type {
PropSidebarItemCategory,
SidebarItemLink,
PropSidebarItem,
} from "../types";
// npx jest packages/docusaurus-plugin-openapi/src/sidebars/sidebars.test.ts --watch
function isCategory(item: PropSidebarItem): item is PropSidebarItemCategory {
return item.type =... | the_stack |
import { Component } from "./component";
import { Project } from "./project";
import { decamelizeKeysRecursively } from "./util";
import { YamlFile } from "./yaml";
/**
* Props for DockerCompose.
*/
export interface DockerComposeProps {
/**
* A name to add to the docker-compose.yml filename.
* @example 'myna... | the_stack |
import PF from 'pathfinding'
import U from './util'
import { IVisualization } from './index'
// FD.entities.pumpjack.output_fluid_box.pipe_connections[0].positions
// define this here so we don't have to import FD
const PUMPJACK_PLUGS = [
{ x: 1, y: -2 },
{ x: 2, y: -1 },
{ x: -1, y: 2 },
{ x: -2, y: 1... | the_stack |
import * as mockDataConfig from 'tests/data/simple-data.json';
import { createMockCellInfo, getContainer, sleep } from 'tests/util/helpers';
import { PivotSheet, SpreadSheet } from '@/sheet-type';
import type {
CellMeta,
InteractionOptions,
S2Options,
} from '@/common/interface';
import {
InteractionStateName,
... | the_stack |
import { FloatArray, ToLinearSpace, ToGammaSpace } from './types'
import { Color4 } from './Color4'
import { Scalar } from './Scalar'
/**
* Class used to hold a RBG color
* @public
*/
export class Color3 {
/**
* Creates a new Color3 object from red, green, blue values, all between 0 and 1
* @param r - def... | the_stack |
import _ from 'lodash'
import { GeoPackageDataType } from '../db/geoPackageDataType';
import { DBValue } from '../db/dbAdapter';
import { Constraint } from '../db/table/constraint';
import { RawConstraint } from '../db/table/rawConstraint';
import { ConstraintParser } from '../db/table/constraintParser';
import { Colum... | the_stack |
import fs from 'fs';
import isBoolean from 'lodash/isBoolean';
import path from 'path';
import pMap from 'p-map';
import pRetry from 'p-retry';
import pWaitFor from 'p-wait-for';
import pump from 'pump';
import querystring from 'querystring';
import { Readable, TransformOptions, PassThrough } from 'stream';
import { de... | the_stack |
import * as vscode from "vscode";
import { Repository, store, Tree, TreeItem } from ".";
import { getApi } from "../../store/actions";
import { byteArrayToString } from "../../utils";
import { RepoFileSystemProvider } from "../fileSystem";
import { storage } from "../store/storage";
import { promptForTour } from "../to... | the_stack |
declare global {
interface Window {
AudioContext: AudioContext;
webkitAudioContext: any;
VideoStreamMerger: VideoStreamMerger;
}
interface AudioContext {
createGainNode: any;
}
interface HTMLCanvasElement {
captureStream(frameRate?: number): MediaStream;
}
interface HTMLMediaElement ... | the_stack |
import { Trans, DateFormat } from "@lingui/macro";
import { i18nMark } from "@lingui/react";
import * as React from "react";
import { Table } from "reactjs-components";
import { findNestedPropertyInObject } from "#SRC/js/utils/Util";
import Units from "#SRC/js/utils/Units";
import DateUtil from "#SRC/js/utils/DateUtil... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace LuckyStar {
namespace FormWebApi {
interface Header extends DevKit.Controls.IHeader {
header_IFRAME_google: DevKit.Controls.IFrame;
header_WebResource_HelloWorld: DevKit.Controls.WebResource;
/** Unique identifier of the user who created the... | the_stack |
import BaseModel from './base';
import { EncodedSignedTransaction } from '../../../../types/transactions/encoded';
import BlockHeader from '../../../../types/blockHeader';
/**
* Account information at a given round.
* Definition:
* data/basics/userBalance.go : AccountData
*/
export declare class Account extends Bas... | the_stack |
// clang-format off
import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js';
import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {PromiseResolver} from 'chrome://resources/js/promise_resolver.m.js';
import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.j... | the_stack |
import { AfterViewInit, Component, Input, OnChanges } from '@angular/core';
import { ExerciseScoresChartService, ExerciseScoresDTO } from 'app/overview/visualizations/exercise-scores-chart.service';
import { AlertService } from 'app/core/util/alert.service';
import { onError } from 'app/shared/util/global.utils';
impor... | the_stack |
import { SearchableModelTransformer } from '@aws-amplify/graphql-searchable-transformer';
import { ModelTransformer } from '@aws-amplify/graphql-model-transformer';
import { ResourceConstants } from 'graphql-transformer-common';
import { AuthTransformer } from '@aws-amplify/graphql-auth-transformer';
import { GraphQLTr... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
/**
* Manages an Azure App Configuration Key.
*
* > **Note:** App Configuration Keys are provisioned using a Data Plane API which requires the role `App Configuration Data Owner` on either the App Configuration or a parent scope (s... | the_stack |
var utf8 = require('./utf8');
/**
* Current protocol version.
*/
export const protocol = 3;
const hasBinary = (packets) => {
for (const packet of packets) {
if (packet.data instanceof ArrayBuffer || ArrayBuffer.isView(packet.data)) {
return true;
}
}
return false;
}
/**
* Packet types.
*/
ex... | the_stack |
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
/**
* A Cell and its properties
*/
export interface CellOutput {
/**
* The arn for the Cell
*/
CellArn: string | undefined;
/**
* The name of the Cell
*/
CellName: string | undefined;
/**... | the_stack |
import RiotAPI from "../riot/api";
import { Server, User, LeagueAccount, UserRank, UserChampionStat, UserMasteryDelta } from "../database";
import config from "../config";
import debug = require("debug");
import elastic from "../elastic";
import scheduleUpdateLoop from "../util/update-loop";
import redis from "../redis... | the_stack |
import type * as I from '@apollo-elements/core/types';
import type * as S from './schema';
import type { ApolloMutationElement } from '@apollo-elements/core';
import { ApolloClient, ApolloError, InMemoryCache } from '@apollo/client/core';
import { SetupFunction } from './types';
import {
aTimeout,
expect,
defi... | the_stack |
import {
DocumentNode,
FragmentDefinitionNode,
GraphQLNamedType,
GraphQLSchema,
Kind,
SelectionNode,
SelectionSetNode,
TypeInfo,
getNamedType,
isAbstractType,
isInterfaceType,
visit,
visitWithTypeInfo,
InlineFragmentNode,
GraphQLOutputType,
isObjectType,
FieldNode,
} from 'graphql';
i... | the_stack |
import { useActionSheet } from "@expo/react-native-action-sheet"
import { StackScreenProps } from "@react-navigation/stack"
import { FancyModalHeader } from "lib/Components/FancyModal/FancyModalHeader"
import { GlobalStore } from "lib/store/GlobalStore"
import { showPhotoActionSheet } from "lib/utils/requestPhotos"
imp... | the_stack |
import {Direction} from '@angular/cdk/bidi';
import {ElementRef} from '@angular/core';
import {coerceElement} from '@angular/cdk/coercion';
import {DragDropRegistry} from '../drag-drop-registry';
import {moveItemInArray} from '../drag-utils';
import {combineTransforms} from '../dom/styling';
import {adjustClientRect, g... | the_stack |
import { HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';import { HttpOptions } from './types';
import * as models from './models';
export interface APIClientInterface {
/**
* Arguments object for method `getPetById`.
*/
getPetByIdParams?: {
/** ID of pet to retur... | the_stack |
import {fileURLToPath} from './url.js';
import {
InvalidModuleSpecifierError,
InvalidPackageConfigError,
InvalidPackageTargetError,
PackagePathNotExportedError,
} from './errors.js';
import type {
PackageExports,
PackageExportsPathOrConditionMap,
PackageExportsTarget,
PackageJsonWithExports,
} from '../... | the_stack |
import { isNote, shuffle, expandStr } from './utils';
import { chord } from 'harmonics';
const defaultSubdiv = '4n';
const defaultDur = '8n';
/**
* Get default params for a clip, such as root note, pattern etc
* @return {Object}
*/
const getDefaultParams = (): ClipParams => ({
notes: ['C4'],
pattern: 'x',
shu... | the_stack |
import { hexToBin, utf8ToBin } from '../../format/format';
import { bigIntToScriptNumber } from '../../vm/instruction-sets/instruction-sets';
import {
AnyCompilationEnvironment,
CompilationData,
CompilationEnvironment,
CompilerOperation,
CompilerOperationResult,
} from '../compiler-types';
import { Authentica... | the_stack |
import { IllegalStateError, DummyError, CompositeError } from "funfix-core"
import * as assert from "./asserts"
import {
Cancelable,
BoolCancelable,
AssignCancelable,
MultiAssignCancelable,
SingleAssignCancelable,
SerialCancelable,
StackedCancelable,
ChainedCancelable
} from "../../src/"
class TestCan... | the_stack |
import tape from 'tape'
import Common, { Chain, Hardfork } from '@ethereumjs/common'
import {
Transaction,
AccessListEIP2930Transaction,
FeeMarketEIP1559Transaction,
N_DIV_2,
Capability,
} from '../src'
import { TxsJsonEntry } from './types'
import { BaseTransaction } from '../src/baseTransaction'
import { pr... | the_stack |
import { Value } from '../lib/value'
import { Schema } from '../lib/schema'
import { AnyType } from '../lib/util';
import * as JoiLib from "../lib/joi";
import { AlternativesSchema } from './alternative';
import { AnySchema } from './any';
import { ArraySchema } from './array';
import { BinarySchema } from './binary';... | the_stack |
import * as React from 'react';
import { useTranslation } from 'react-i18next';
import { Label, CommandBar, ICommandBarItemProps, DetailsList, IColumn, SelectionMode, MessageBar, MessageBarType, Announced, Pivot, PivotItem, Link } from '@fluentui/react';
import { NavLink, useLocation, useRouteMatch } from 'react-router... | the_stack |
import {isFunction, Symbol, SymbolKind} from "../../compiler/core/symbol";
import {ByteArray, ByteArray_set32, ByteArray_setString} from "../../utils/bytearray";
import {CheckContext} from "../../compiler/analyzer/type-checker";
import {alignToNextMultipleOf, toHex} from "../../utils/utils";
import {isExpression, isUna... | the_stack |
import * as async from 'async';
import * as common from './common';
//
// ### function Provider (options)
// #### @options {Object} Options for this instance.
// Constructor function for the Provider object responsible
// for exposing the pluggable storage features of `nconf`.
//
export const Provider = function(this... | the_stack |
import * as cdk from '@aws-cdk/core';
import * as ssm from '@aws-cdk/aws-ssm';
import * as fs from 'fs';
import * as yaml from 'js-yaml';
import * as sfn from '@aws-cdk/aws-stepfunctions';
import * as events from '@aws-cdk/aws-events';
import {
Effect,
PolicyStatement,
ServicePrincipal,
Policy,
... | the_stack |
import {CallTreeProfileBuilder, Frame, FrameInfo, Profile, ProfileGroup} from '../lib/profile'
import {getOrElse, getOrInsert, KeyedSet} from '../lib/utils'
import {ByteFormatter, TimeFormatter} from '../lib/value-formatters'
class CallGraph {
private frameSet = new KeyedSet<Frame>()
private totalWeights = new Map... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.