text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { parseDOM } from 'htmlparser2'; import cheerio from '.'; import * as utils from './utils'; import { fruits, food, noscript } from './__fixtures__/fixtures'; import { Cheerio } from './cheerio'; import type { Element } from 'domhandler'; import type { CheerioOptions } from './options'; declare module '.' { in...
the_stack
const SYMBOLS = { /* 0x00: 'GOWARM', 0x03: 'GOSTROUT', 0x0A: 'USR', 0x0D: 'CHARAC', 0x0E: 'ENDCHR', 0x0F: 'TKN.CNTR', 0x0F: 'EOL.PNTR', 0x0F: 'NUMDIM', 0x10: 'DIMFLG', 0x11: 'VALTYP', 0x13: 'DATAFLG', 0x13: 'GARFLG', 0x14: 'SUBFLG', 0x15: 'INPUTFLG', 0x16: 'CP...
the_stack
import {Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild} from '@angular/core'; import {ActivatedRoute} from '@angular/router'; import {ProviderService} from '../../../services/provider.service'; import moment from 'moment'; import { filter } from 'lodash'; import { BotDetectionServic...
the_stack
import { aws_events, aws_events_targets, Stack } from "aws-cdk-lib"; import { Construct } from "constructs"; import { ASL } from "../asl"; import { CallExpr, Expr, Identifier, ObjectLiteralExpr, PropAssignExpr, StringLiteralExpr, } from "../expression"; import { Function, NativePreWarmContext, PrewarmClient...
the_stack
import { BarcodeGenerator } from "../../../src/barcode/barcode"; import { createElement } from "@syncfusion/ej2-base"; let barcode: BarcodeGenerator; let ele: HTMLElement; describe('Code128 - Barcode', () => { describe('checking Code128 barcode rendering all lines check', () => { //let barcode: BarcodeGene...
the_stack
import { expect } from 'chai'; import debug from 'debug'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore: No types available import TCP from 'libp2p-tcp'; import { makeLogFileName, NimWaku, NOISE_KEY_1, NOISE_KEY_2, } from '../../test_utils'; import { delay } from '../delay'; impor...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import { Transforms, RunTestcaseOptions, InlineLists, BrowserOptions, Browser, emptyOpts } from '../types'; import * as Visit from './visit'; import * as Transform from '../transform'; import { compileToStringSync } from 'node-elm-compiler'; import * as Post from ...
the_stack
import { each, IIterable, IIterator, iterItems, map, StringExt, toArray, toObject } from '@phosphor/algorithm'; import { BPlusTree, LinkedList } from '@phosphor/collections'; import { DisposableDelegate, IDisposable } from '@phosphor/disposable'; import { IMessageHandler, Message, MessageLoop, ConflatableMes...
the_stack
import test from 'tape-promise/tape'; import {webgl1TestDevice, webgl2TestDevice, getTestDevices} from '@luma.gl/test-utils'; import {Device, Texture, TextureFormat, cast} from '@luma.gl/api'; import GL from '@luma.gl/constants'; import {Buffer, getKey, isWebGL2, readPixelsToArray} from '@luma.gl/gltools'; import {TE...
the_stack
import { Address, Algorithm, isBlockInfoPending, PubkeyBundle, PubkeyBytes, TokenTicker } from "@iov/bcp"; import { ActionKind, bnsCodec, BnsConnection, VoteOption } from "@iov/bns"; import { Random } from "@iov/crypto"; import { Bech32, toHex } from "@iov/encoding"; import { Ed25519HdWallet, HdPaths, UserProfile } fro...
the_stack
import {CdkDragDrop} from '@angular/cdk/drag-drop'; import {ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing'; import {FormsModule} from '@angular/forms'; import {MatFormFieldModule} from '@angular/material/form-field'; import {MatIconModule} from '@angular/material/icon'; import {MatInputModule}...
the_stack
import { builderContentToJsxLiteComponent, componentToBuilder, componentToJsxLite, parseJsx, } from "@jsx-lite/core"; import * as vscode from "vscode"; import { BuilderJSXLiteEditorProvider } from "./builder-jsx-lite-editor"; import { useBeta, useDev } from "./config"; export function activate(context: vscode....
the_stack
import { eventChannel } from 'redux-saga' import { all, takeEvery, call, put, take, select } from 'redux-saga/effects' import { ActionType, getType } from 'typesafe-actions' import RNPushNotification from 'react-native-push-notification' import Textile, { EventSubscription, FeedItemType } from '@textile/react-nativ...
the_stack
import { PivotFieldList } from '../../src/pivotfieldlist/base/field-list'; import { createElement, remove, EmitType, closest, getInstance } from '@syncfusion/ej2-base'; import { pivot_dataset } from '../base/datasource.spec'; import { IDataSet } from '../../src/base/engine'; import { MaskedTextBox } from '@syncfusion/e...
the_stack
import { sha256 } from "js-sha256"; import { serialize, deserialize } from "serializer.ts/Serializer"; import BigNumber from "bignumber.js"; import * as fs from "fs"; import * as path from "path"; import deepEqual = require("deep-equal"); import * as uuidv4 from "uuid/v4"; import * as express from "express"; import *...
the_stack
import {ATN} from "antlr4ts/atn/ATN"; import {ATNDeserializer} from "antlr4ts/atn/ATNDeserializer"; import {FailedPredicateException} from "antlr4ts/FailedPredicateException"; import {NotNull, Override} from "antlr4ts/Decorators"; import {NoViableAltException} from "antlr4ts/NoViableAltException"; import {Parser} from ...
the_stack
import { AppSync } from 'aws-sdk'; import * as setup from './hotswap-test-setup'; let hotswapMockSdkProvider: setup.HotswapMockSdkProvider; let mockUpdateResolver: (params: AppSync.UpdateResolverRequest) => AppSync.UpdateResolverResponse; let mockUpdateFunction: (params: AppSync.UpdateFunctionRequest) => AppSync.Updat...
the_stack
import { EventEmitter } from 'events'; import * as fs from 'fs'; import * as path from 'path'; import * as sshConfig from 'ssh-config'; import app from '../app'; import logger from '../logger'; import { getUserSetting } from '../host'; import { replaceHomePath, resolvePath } from '../helper'; import { SETTING_KEY_REMOT...
the_stack
import huffman from "n-ary-huffman"; import iconsChecksum from "../icons/checksum"; import { elementKey, ElementRender, ElementReport, ElementTypes, ElementWithHint, ExtendedElementReport, HintMeasurements, HintUpdate, } from "../shared/hints"; import { HintsMode, KeyboardAction, KeyboardMapping,...
the_stack
import { extname } from '../../../common/path'; import Sequence from '../../../parsers/mdlx/sequence'; import Texture from '../../../parsers/mdlx/texture'; import Material from '../../../parsers/mdlx/material'; import Layer, { FilterMode as LayerFilterMode } from '../../../parsers/mdlx/layer'; import Geoset from '../.....
the_stack
import { BrowserWindow, Event as ElectronEvent, IpcMainEvent, MessagePortMain } from 'electron'; import { validatedIpcMain } from 'vs/base/parts/ipc/electron-main/ipcMain'; import { Barrier } from 'vs/base/common/async'; import { Emitter, Event } from 'vs/base/common/event'; import { Disposable, DisposableStore } from ...
the_stack
import { AST_NODE_TYPES, AST_TOKEN_TYPES, STORAGE_CLASS, } from '../ast/glsl-ast-node-types'; import { ArrayExpression, AssignmentExpression, BaseNode, BinaryExpression, BlockStatement, CallExpression, ConditionalExpression, DataType, DoWhileStatement, Expression, ExpressionStatement, ForS...
the_stack
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'lodash'; import { lucidClassNames } from '../../util/style-helpers'; import { findTypes, getFirst, StandardProps } from '../../util/component-types'; import { buildModernHybridComponent } from '../../util/state-management'; import * as reduce...
the_stack
import { Endpoints } from "@octokit/types"; export interface PaginatingEndpoints { /** * @see https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app */ "GET /app/installations": { parameters: Endpoints["GET /app/installations"]["parameters"]; response: Endpo...
the_stack
import { Query } from '../../src/query'; import { Source } from '../../src/source'; import { RequestOptions } from '../../src/request'; import { ResponseHints } from '../../src/response'; import { queryable, isQueryable, Queryable } from '../../src/source-interfaces/queryable'; import { Record, FindRecords, ...
the_stack
import * as assert from 'assert'; import { DisposableStore } from 'vs/base/common/lifecycle'; import { IDialogService } from 'vs/platform/dialogs/common/dialogs'; import { TestDialogService } from 'vs/platform/dialogs/test/common/testDialogService'; import { TestInstantiationService } from 'vs/platform/instantiation/te...
the_stack
import React from "react"; import styled from "styled-components"; import { Heading, Text, FontWeight, Span, Link, FontStyle } from "styled-typography"; import NextLink from "next/link"; import { Stylable } from "../types/component.types"; import { Code } from "../components/atoms/code.component"; import { Callou...
the_stack
import { anyObject } from "jest-mock-extended"; import { merge } from "lodash"; import mockFs from "mock-fs"; import logger from "../../main/logger"; import { AppPaths } from "../app-paths"; import type { CatalogEntity, CatalogEntityData, CatalogEntityKindData } from "../catalog"; import { ClusterStore } from "../clust...
the_stack
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { CreateOrderCommand, CreateOrderCommandInput, CreateOrderCommandOutput } from "./commands/CreateOrderCommand"; import { CreateOutpostCommand, CreateOutpostCommandInput, CreateOutpostCommandOutput, } from "./commands/CreateOutpos...
the_stack
import * as Common from '../../core/common/common.js'; import * as i18n from '../../core/i18n/i18n.js'; import * as Platform from '../../core/platform/platform.js'; import * as Root from '../../core/root/root.js'; import * as SDK from '../../core/sdk/sdk.js'; import type * as Protocol from '../../generated/protocol.js'...
the_stack
import { Priority, Task, Timer } from "@clarity-types/core"; import { Code, Event, Metric, Severity } from "@clarity-types/data"; import { Constant, MutationHistory, MutationQueue, Setting, Source } from "@clarity-types/layout"; import { bind } from "@src/core/event"; import measure from "@src/core/measure"; import * a...
the_stack
import { InternalSchema, ModelAttributeAuthAllow, ModelAttributeAuthProperty, ModelAttributeAuthProvider, ModelOperation, } from '../src/types'; import { NAMESPACES } from '../src/util'; import { GRAPHQL_AUTH_MODE } from '@aws-amplify/auth'; describe('Auth Strategies', () => { describe('multiAuthStrategy', () =>...
the_stack
import { TextDocument, Position, CompletionList, CompletionItem, SnippetString, MarkdownString, CompletionItemKind, Range } from "vscode"; import { createTopicDocumentation, SelectedClusterProvider, TopicProvider } from "../kafkaFileLanguageService"; import { consumerModel, fakerjsAPIModel, Model, ModelDefinition, pr...
the_stack
import * as chai from "chai"; import * as crypto from "crypto"; import Arweave from "../../web"; import { bufferToString, stringToBuffer } from "../../src/common/lib/utils"; const expect = chai.expect; let globals = <any>global; // globals.window = { Arweave: {} }; //@ts-ignore const arweave: Arweave = window.Arwea...
the_stack
import { Resolver, schemaComposer, ObjectTypeComposer } from 'graphql-compose'; import { GraphQLNonNull } from 'graphql-compose/lib/graphql'; import { UserModel, IUser } from '../../__mocks__/userModel'; import { updateById } from '../updateById'; import GraphQLMongoID from '../../types/MongoID'; import { convertModelT...
the_stack
import { composite } from 'seemly' import type { GlobalThemeOverrides } from 'naive-ui' import { commonDark } from 'naive-ui' import vars from './vars' function createHoverColor (color: string, overlayAlpha: number = 0.15): string { return composite(color, [255, 255, 255, overlayAlpha]) } function createPressedColo...
the_stack
import { Component } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { FormGroup, FormArray, FormBuilder, FormControl } from '@angular/forms'; import { Select2OptionData } from 'ng2-select2'; import { ContainerService, GroupService, LogService } from './../../../../services'; impo...
the_stack
declare module com { export module google { export module android { export module gms { export module auth { export module api { export module signin { export class GoogleSignInAccount { public static class: java.lang.Class<com.google.android.gms.auth.api.signin.GoogleSignInAccount>;...
the_stack
import {ByRoleMatcher, Matcher, MatcherOptions} from './matches' import {SelectorMatcherOptions} from './query-helpers' import {waitForOptions} from './wait-for' export type QueryByBoundAttribute<T extends HTMLElement = HTMLElement> = ( container: HTMLElement, id: Matcher, options?: MatcherOptions, ) => T | null...
the_stack
import { stringify } from './util'; import { Type, FactoryProvider, StaticClassProvider, ValueProvider, ExistingProvider, ConstructorProvider, isValueProvider, StaticProvider, isExistingProvider, isStaticClassProvider, isFactoryProvider, InjectFlags, OptionFlags } from './type' import { InjectionToken }...
the_stack
import { Representation } from "../../../manifest"; import selectOptimalRepresentation from "../select_optimal_representation"; describe("ABR - selectOptimalRepresentation", () => { const fakeReps = [ { bitrate : 100 }, { bitrate : 1000 }, { bitrate : 10000 }, { bitrate : 100000 }, ]; // eslint-...
the_stack
import { LogEntry } from '../../../definitions'; export type BranchGrapProps = { hideGraph: boolean; logEntries: LogEntry[]; itemHeight?: number; updateTick?: number; }; let branches: { hash: string; path: any; x?: number; wasFictional: boolean }[] = []; let branchColor = 0; const COLORS = [ '#ffa...
the_stack
import _ from "lodash" import path from "path" import * as semver from "semver" import * as stringSimilarity from "string-similarity" import { version as gatsbyVersion } from "gatsby/package.json" import reporter from "gatsby-cli/lib/reporter" import { validateOptionsSchema, Joi } from "gatsby-plugin-utils" import { IP...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [kendra](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonkendra.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/refer...
the_stack
import React, { useState } from 'react'; import FormControlLabel from '@material-ui/core/FormControlLabel'; import { ParentSize } from '@visx/responsive'; import { MemoryRouter as Router, Route, NavLink, Switch, } from 'react-router-dom'; import { Component } from 'react'; import { render } from 'react-dom'; im...
the_stack
namespace fgui { export const enum TransitionActionType { XY = 0, Size = 1, Scale = 2, Pivot = 3, Alpha = 4, Rotation = 5, Color = 6, Animation = 7, Visible = 8, Sound = 9, Transition = 10, Shake = 11, ColorFilt...
the_stack
import { convertPoint, getOffset, getScrollOrigin, setOpacity, setPrefixedStyle, } from '../../util/Utils'; import InternalEvent from '../event/InternalEvent'; import Point from '../geometry/Point'; import InternalMouseEvent from '../event/InternalMouseEvent'; import mxClient from '../../mxClient'; import Rec...
the_stack
import { TLPageState, Utils, TLBoundsWithCenter, TLSnapLine, TLBounds } from '@tldraw/core' import { Vec } from '@tldraw/vec' import { TDShape, TDBinding, TldrawCommand, TDStatus, ArrowShape, Patch, GroupShape, SessionType, ArrowBinding, TldrawPatch, TDShapeType, } from '~types' import { SLOW_SPEE...
the_stack
import { Meteor } from 'meteor/meteor' import { BulkWriteOperation, BulkWriteOpResultObject } from 'mongodb' import _ from 'underscore' import { DBObj, waitForPromise, normalizeArrayToMap, ProtectedString, makePromise, sleep, deleteAllUndefinedProperties, } from '../../lib/lib' import { TransformedCollection, ...
the_stack
declare module 'react-native-onesignal' { /* O P T I O N T Y P E V A L U E S */ // 0 = None, 1 = Fatal, 2 = Errors, 3 = Warnings, 4 = Info, 5 = Debug, 6 = Verbose export type LogLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6; // 0 = NotDetermined, 1 = Denied, 2 = Authorized, 3 = Provisional, 4 = Ephemeral e...
the_stack
import 'chrome://resources/cr_components/managed_dialog/managed_dialog.js'; import 'chrome://resources/cr_elements/cr_button/cr_button.m.js'; import 'chrome://resources/cr_elements/cr_link_row/cr_link_row.js'; import 'chrome://resources/cr_elements/shared_style_css.m.js'; import 'chrome://resources/cr_elements/md_selec...
the_stack
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { CloudDirectoryClient } from "./CloudDirectoryClient"; import { AddFacetToObjectCommand, AddFacetToObjectCommandInput, AddFacetToObjectCommandOutput, } from "./commands/AddFacetToObjectCommand"; import { ApplySchemaCommand, Appl...
the_stack
import {Context as BaseContext, Api} from 'grammy' import {Message} from '@grammyjs/types' import {Body, TextBody, MediaBody, LocationBody, isMediaBody, isLocationBody, isTextBody, getBodyText, isVenueBody, VenueBody, isInvoiceBody} from './body' import {ensurePathMenu} from './path' import {InlineKeyboard} from './ke...
the_stack
import {AST, BindingPipe, LiteralPrimitive, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstBoundAttribute, TmplAstBoundEvent, TmplAstNode, TmplAstReference, TmplAstTextAttribute, TmplAstVariable} from '@angular/compiler'; import {NgCompiler} from '@angular/compiler-cli/src/ngtsc/core'; import {absoluteFrom} from...
the_stack
import createEditor from '../../../helpers/create-editor' import mockCmdFn from '../../../helpers/command-mock' import mockFile from '../../../helpers/mock-file' import mockXHR from '../../../helpers/mock-xhr' import UploadImg from '../../../../src/menus/img/upload-img' let id = 1 const imgUrl = 'http://www.wangedito...
the_stack
import { inspect } from 'util'; import type { AnyEntity, Constructor, Dictionary, EntityMetadata, EntityProperty, IPrimaryKey } from './typings'; export class ValidationError<T extends AnyEntity = AnyEntity> extends Error { constructor(message: string, private readonly entity?: T) { super(message); Error.ca...
the_stack
import * as coreClient from "@azure/core-client"; /** Result of the request to list Microsoft.Features operations. It contains a list of operations and a URL link to get the next set of results. */ export interface OperationListResult { /** List of Microsoft.Features operations. */ value?: Operation[]; /** URL t...
the_stack
import React, { MemoExoticComponent } from 'react' import Post from 'src/pages/Post' import Settings from 'src/pages/Settings/index' import SettingsAppearance from 'src/pages/Settings/Appearance' import SettingsBlacklist from 'src/pages/Settings/Blacklist' import SettingsNewTheme from 'src/pages/Settings/NewTheme'...
the_stack
import {IViewSerialization} from "../datasetView"; import { allContentsKind, BasicColStats, CountWithConfidence, kindIsString, NextKList, RecordOrder, RemoteObjectId, } from "../javaBridge"; import {SchemaClass} from "../schemaClass"; import {IDataView} from "../ui/dataview"; import {Dialog,...
the_stack
import type { Adapter } from "../adapters" import type { Provider, CredentialInput, ProviderType, OAuthConfig, EmailConfig, CredentialsConfig, } from "../providers" import type { TokenSetParameters } from "openid-client" import type { JWT, JWTOptions } from "../jwt" import type { LoggerInstance } from "../u...
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 RelayManagementClient. */ export interface Operations { ...
the_stack
declare var Velocity: jquery.velocity.VelocityStatic; import {SmartValue} from "../communicator/smartValue"; import {Constants} from "../constants"; import {Localization} from "../localization/localization"; import * as Log from "../logging/log"; import {AnimationHelper} from "./animations/animationHelper"; import {An...
the_stack
import { Registry } from 'vs/platform/registry/common/platform'; import { Extensions as WorkbenchExtensions, IWorkbenchContributionsRegistry, IWorkbenchContribution } from 'vs/workbench/common/contributions'; import { LifecyclePhase, ILifecycleService, StartupKind } from 'vs/workbench/services/lifecycle/common/lifecycl...
the_stack
import { Scope } from '../entities/alert'; import AlertService from '../services/alert.service'; import ConsoleSettingsService from '../services/consoleSettings.service'; import EntrypointService from '../services/entrypoint.service'; import EnvironmentService from '../services/environment.service'; import FlowService ...
the_stack
import { TypedEmitter } from 'tiny-typed-emitter' import { IPC as RawIpc } from 'node-ipc' import { IpcClientOptions, IpcClientSendOptions, IpcPacket, ShardingInstance } from '@src/sharding' import { Collection } from '@discordoo/collection' import { IpcEvents, IpcOpCodes, RAW_IPC_EVENT, SerializeModes } from '@src/con...
the_stack
import { Options, Sequelize, SyncOptions as SequelizeSyncOptions, } from 'sequelize'; import glob from 'glob'; import Table, { MergeOptions, TableOptions } from './table'; import { Model, ModelCtor } from './model'; import { requireModule } from './utils'; import _ from 'lodash'; import { EventEmitter } from 'eve...
the_stack
import { NetFieldsReverse } from '../types/net_fields'; export type LogDefinition = { type: string; name: string; // Parsed ACT log line type. messageType: string; // include all of these lines in any split globalInclude?: boolean; // include the last line of this type in any split lastInclud...
the_stack
module dragonBones { /** * @class dragonBones.FastArmature * @classdesc * FastArmature 是 DragonBones 高效率的骨骼动画系统。他能缓存动画数据,大大减少动画播放的计算 * 不支持动态添加Bone和Slot,换装请通过更换Slot的dispaly或子骨架childArmature来实现 * @extends dragonBones.EventDispatcher * @see dragonBones.ArmatureData * * @example <pre...
the_stack
import { ExtensionContext, window, WorkspaceConfiguration, workspace, RelativePattern, Uri, commands, QuickPickItem, WorkspaceFolder } from "vscode"; import { ServerOptions, TransportKind, LanguageClientOptions, LanguageClient, Disposable } from "vscode-languageclient"; import { join, sep, basename, dirname, normalize ...
the_stack
import { mount, VueWrapper } from '@vue/test-utils'; import { ComponentPublicInstance, ref } from 'vue'; import DSplitter from '../src/splitter'; import DSplitterPane from '../src/components/splitter-pane'; // 因为 jest 不支持 ResizeObserver,需要 mock 实现 window.ResizeObserver = window.ResizeObserver || jest.fn().mock...
the_stack
import {supportsCssVariables} from '../../mdc-ripple/util'; import {emitEvent} from '../../../testing/dom/events'; import {createMockFoundation} from '../../../testing/helpers/foundation'; import {setUpMdcTestEnvironment} from '../../../testing/helpers/setup'; import {strings, numbers} from '../constants'; import {MDCD...
the_stack
import { EventEmitter } from '@angular/core'; import { TestBed } from '@angular/core/testing'; import { NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap'; import { QuestionSummary } from 'domain/question/question-summary-object.model'; import { QuestionObjectFactory } from 'domain/question/QuestionObjectFactory...
the_stack
import * as core from '@serverless-devs/core'; import promiseRetry from 'promise-retry'; import _ from 'lodash'; import path from 'path'; import fse from 'fs-extra'; import { MOCK_PROJECT_YAML_PATH, MOCK_PROJECT_PATH, DEFAULT_CLIENT_TIMEOUT, INPUTS, REGION, ACCESS, SERVICE_CONFIG, SERVICE_NAME, FUNCTI...
the_stack
import * as ts from 'typescript'; import * as Lint from 'tslint'; import { isTypeParameter, getVariableDeclarationKind, VariableDeclarationKind, getPropertyName, isTypeFlagSet, isExpressionValueUsed, isUnionType, isThisParameter, isTypePredicateNode, isValidNumericLiteral, is...
the_stack
import { IdentityTypes, RequestLogicTypes, SignatureTypes } from '@requestnetwork/types'; import Utils from '@requestnetwork/utils'; import AcceptAction from '../../../src/actions/accept'; import Version from '../../../src/version'; const CURRENT_VERSION = Version.currentVersion; import * as TestData from '../utils/t...
the_stack
import Util from './util' export default class Curve25519 { gf0: Int32Array gf1: Int32Array D: Int32Array D2: Int32Array I: Int32Array _9: Uint8Array _121665: Int32Array constructor() { this.gf0 = this.gf() this.gf1 = this.gf([1]) this._9 = new Uint8Array(32) this._9[0] = 9 this._121665 = this.gf([...
the_stack
import {TestbedHarnessEnvironment} from '@angular/cdk/testing/testbed'; import {Component, Input, ViewChild} from '@angular/core'; import {ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing'; import {MatAutocompleteHarness} from '@angular/material/autocomplete/testing'; import {MatCheckboxHarness} ...
the_stack
import { NULL_ADDRESS } from '@celo/base/lib/address' import { BigNumber } from 'bignumber.js' import { keccak } from 'ethereumjs-util' import { EIP712Object, EIP712ObjectValue, EIP712Optional, EIP712Types, encodeData, encodeType, structHash, typeHash, zeroValue, } from './sign-typed-data-utils' // C...
the_stack
import { visit, DocumentNode, ObjectTypeDefinitionNode, ObjectTypeExtensionNode, Kind, TypeDefinitionNode, TypeExtensionNode, EnumTypeDefinitionNode, EnumTypeExtensionNode, InputObjectTypeDefinitionNode, InputObjectTypeExtensionNode, GraphQLSchema, isScalarType, InterfaceTypeDefinitionNode, ...
the_stack
import { IAgentContext, IAgentPlugin, IResolver, IDIDManager, IKeyManager, IPluginMethodMap, VerifiableCredential, VerifiablePresentation, IDataStore, IKey, IIdentifier, } from '@veramo/core' import { createVerifiableCredentialJwt, createVerifiablePresentationJwt, CredentialPayload, norma...
the_stack
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. /// <reference path="../../Core.d.ts" /> import _BaseCoreUtils = require('../../Core/_BaseCoreUtils'); import _BaseUtils = require("../../Core/_BaseUtils"); import...
the_stack
* This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; import { VitamixId } from "@vtmn/icons/dist/vitamix/font/vitamix"; export namespace Components { ...
the_stack
import React from 'react'; import { Surface } from 'recharts'; import { findAllByType, findChildByType, getPresentationAttributes, isChildrenEqual, validateWidthHeight, } from 'recharts/lib/util/ReactUtils'; import { intersectionArea, intersectionAreaPath, normalizeSolution, scaleSolution, venn, } f...
the_stack
import { relative } from 'path' import traverse, { NodePath, Visitor } from '@babel/traverse' import * as t from '@babel/types' import { PseudoStyles, StaticConfigParsed, TamaguiInternalConfig, getSplitStyles, mediaQueryConfig, normalizeStyleObject, proxyThemeVariables, pseudos, rnw, stylePropsTran...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormPrice_Level { interface Header extends DevKit.Controls.IHeader { /** Reason for the status of the price list. */ StatusCode: DevKit.Controls.OptionSet; } interface tab_CategoryTab_Sections { CategorySection: DevKit...
the_stack
// clang-format off import 'chrome://settings/settings.js'; import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js'; import {keyEventOn} from 'chrome://resources/polymer/v3_0/iron-test-helpers/mock-interactions.js'; import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; impor...
the_stack
/*global Observer: false*/ /*global TurbulenzEngine: false*/ "use strict"; class TextureInstance { static version = 1; name : string; texture : Texture; reference : Reference; textureChangedObserver : Observer; // // setTexture // set...
the_stack
// This file contains common part of defintions for rx.d.ts and rx.lite.d.ts // Do not include the file separately. declare namespace __LiteMolRx { export module internals { function isEqual(left: any, right: any): boolean; function addRef<T>(xs: Observable<T>, r: { getDisposable(): IDisposable; })...
the_stack
import { pascalCase } from 'pascal-case'; import * as cdk from '@aws-cdk/core'; import * as ec2 from '@aws-cdk/aws-ec2'; import * as c from '@aws-accelerator/common-config/src'; import { StackOutput } from '@aws-accelerator/common-outputs/src/stack-output'; import { TransitGatewayOutputFinder, TransitGatewayOutput } fr...
the_stack
import { nbtStringifier } from '@variables/nbt/NBTs' import { rangeParser } from '@variables/parsers' import { ComponentClass } from './abstractClasses' import type { ENTITY_TYPES, GAMEMODES, Range, RootNBT, TextComponentObject, } from '@arguments' import type { CommandsRoot } from '@commands' import type { Predica...
the_stack
interface Window { Viva? : any } module org.mwg.plugin.visualizer.taskRegistry { import Actions = org.mwg.task.Actions; import TaskContext = org.mwg.task.TaskContext; import Task = org.mwg.task.Task; import TaskResult = org.mwg.task.TaskResult; export const timeVar : string = "time"; exp...
the_stack
export interface CarbonPictogramProps extends Omit<React.SVGProps<SVGElement>, 'tabIndex'> { tabIndex?: string; } export type CarbonPictogram = (props: CarbonPictogramProps) => React.FunctionComponentElement<CarbonPictogramProps>; export const ActiveServer: CarbonPictogram; export const Advocate: CarbonPictogram;...
the_stack
declare namespace Mocha { class SuiteRunnable { private _beforeEach; private _beforeAll; private _afterEach; private _afterAll; private _timeout; private _enableTimeouts; private _slow; private _bail; private _retries; private _onlyTests; private _onlySuites; construct...
the_stack
import { binaryBigIntAnnotation, BinaryBigIntType, buildFunction, callExtractedFunctionIfAvailable, collapsePath, ContainerAccessor, createTypeGuardFunction, embeddedAnnotation, EmbeddedOptions, excludedAnnotation, executeTemplates, extendTemplateLiteral, extractState...
the_stack
import assert = require('assert'); import path = require('path'); import sinon = require('sinon'); import { TextDocument, TestItem, TestItemCollection, TextDocumentChangeEvent, workspace, Uri } from 'vscode'; import { GoTestExplorer } from '../../src/goTest/explore'; import { MockTestController, MockTestWorkspace } fro...
the_stack
import * as path from 'path' import { Emitter, Disposable, CompositeDisposable, Grammar, Range } from 'atom' import { debounce } from 'lodash' import * as fs from 'fs' import { remote } from 'electron' import * as renderer from '../renderer' import { MarkdownItWorker } from '../markdown-it-helper' import { handlePromi...
the_stack
import * as vscode from 'vscode'; import * as fs from 'fs'; import * as path from 'path'; import crypto from 'crypto'; import { IBucket, IObject, IResumableUploadRange, DataRetentionPolicy } from 'forge-server-utils'; import { IContext, promptBucket, promptObject, showErrorMessage } from '../common'; const Retenti...
the_stack
import { DataFrame } from '../core/frame'; import { Tensor } from '@tensorflow/tfjs-node'; import Series from '../core/series'; import { BaseUserConfig, TableUserConfig } from "table"; import Str from '../core/strings'; import Dt from '../core/datetime'; import { ParseConfig } from 'papaparse'; import { GroupBy } from ...
the_stack
import { mochaLocalRegistry, mochaTmpdir, Package, repoVersions, writePackage, } from "@adpt/testutils"; import { Constructor, repoDirs, yarn, } from "@adpt/utils"; import execa from "execa"; import * as fs from "fs-extra"; import * as os from "os"; import * as path from "path"; import s...
the_stack
import * as _ from 'lodash'; /* tslint:disable:indent quotemark max-line-length */ // The following line is important to keep in that format so it can be rendered into the page export const config: IDashboardConfig = /*return*/ { id: 'human_handoff', name: 'Hand-off to human', icon: 'question_answer', url: 'hu...
the_stack