text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { createSlice, PayloadAction } from '@reduxjs/toolkit';
import { ILayoutSettings } from 'app-shared/types';
import * as FormLayoutTypes from '../formDesignerTypes';
import { actions, moduleName } from './formLayoutActions';
import { getLayoutSettingsSchemaUrl } from '../../../utils/urlHelper';
import { sortArray... | the_stack |
import * as child_process from 'child_process';
import { stream as fgStream } from 'fast-glob';
import fsModule, { promises as fs } from 'fs';
import gitUrlParse from 'git-url-parse';
import { homedir, tmpdir } from 'os';
import * as path from 'path';
import git from 'isomorphic-git';
import { mkdirP } from '@actions/i... | the_stack |
import * as fs from "fs";
import * as path from "path";
import * as osLib from "os";
import * as cp from "child_process";
import * as events from "events";
import { expect } from "chai";
import * as Sinon from "sinon";
import * as Nock from "nock";
import * as pfs from "../../../src/util/misc/promisfied-fs";
import Cod... | the_stack |
import { createStore } from "@frontity/connect";
import clone from "clone-deep";
import wpSource from "../";
import merge from "deepmerge";
describe("state.source.get", () => {
const initStore = (data = {}) => {
const config = clone(wpSource());
// replace data by the one passed as argument
config.state.... | the_stack |
import { ITelemetryBaseLogger } from '@fluidframework/common-definitions';
import Denque from 'denque';
import { assert, fail, noop } from './Common';
import { EditLog, SequencedOrderedEditId } from './EditLog';
import { Snapshot } from './Snapshot';
import { Edit, EditStatus, EditingResult, GenericTransaction } from '... | the_stack |
import { createProgram, Program, createModuleResolutionCache, TypeChecker, getOriginalNode, Declaration, isIdentifier, isToken } from 'typescript';
import { Type, Expression, WrappedNodeExpr, ExternalExpr } from '@angular/compiler';
import { readConfiguration } from '@angular/compiler-cli';
import { NgCompilerHost } fr... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type MakeOfferModalQueryVariables = {
artworkID: string;
};
export type MakeOfferModalQueryResponse = {
readonly artwork: {
readonly " $fragmentRefs": FragmentRefs<"MakeOfferModal_artwork">;
} | nul... | the_stack |
import * as S from '@apollo-elements/test/schema';
import * as C from '@apollo/client/core';
import { aTimeout, fixture, expect, nextFrame } from '@open-wc/testing';
import { spy, useFakeTimers, SinonFakeTimers, SinonSpy } from 'sinon';
import { html } from 'lit/static-html.js';
import { setupClient, teardownClien... | the_stack |
import { compareDates, getItem, mergeStringArrays, resetData } from "./Util";
import fs = require("fs");
import { getMostRecentLogObject, checkIfOnStreak, getLogsSummary, createLog } from "./LogsUtil";
import { getLanguages } from "./LanguageUtil";
import { Summary } from "../models/Summary";
import { Log } from "../mo... | the_stack |
import { isEqual } from 'lodash';
import { Engine } from '@kb-abstracts';
import { PullRequestService, RepoService, UserService } from '@kb-api';
import {
IGithubPullRequest,
IGithubPullRequestEvent,
IGithubRepo,
IGithubReview,
IGithubReviewComment,
IGithubUser
} from '@kb-interfaces';
import { IReviewComm... | the_stack |
import type { Percent } from "./Percent";
import type { IPointerEvent } from "../render/backend/Renderer";
import * as $type from "./Type";
import * as $array from "./Array";
import * as $object from "./Object";
import type { IBounds } from "./IBounds";
import { Disposer, IDisposer } from "./Disposer";
/**
* ======... | the_stack |
import { PageConfig, URLExt } from '@jupyterlab/coreutils';
import log from 'electron-log';
const extensions: any = {
'./electron-extension': require('./electron-extension'),
'./desktop-extension': require('./desktop-extension'),
// turn off menu customization for now
// './utils-extension': require('./utils-e... | the_stack |
import toArray from 'lodash.toarray'
import { Editor, Node, Element, Path, Point, Range, Ancestor, Text } from 'slate'
import type { IDomEditor } from './interface'
import { Key } from '../utils/key'
import TextArea from '../text-area/TextArea'
import Toolbar from '../menus/bar/Toolbar'
import HoverBar from '../menus/b... | the_stack |
import {Injectable, NgZone} from '@angular/core';
import {BehaviorSubject} from 'rxjs/BehaviorSubject';
import {Observable} from 'rxjs/Observable';
import {Observer} from 'rxjs/Observer';
import {fromByteArray} from 'base64-js';
export function doAsync<T>(fn: (T) => Observable<any>): any {
return (obs: Observable<T>... | the_stack |
import { TextEncoder, TextDecoder } from 'util';
import TCPSocket from './TCPSocket';
/**
* A packet class with utilities for reading and writing from a stream.
* @class
*/
class Packet {
/** The buffered data in the packet. */
public buffer: Buffer = Buffer.alloc(0);
private encoder: TextEncoder = new TextEncod... | the_stack |
import DataSet from '@antv/data-set';
import { Chart } from '../../../src';
import { createDiv } from '../../util/dom';
describe('Test charts animate', () => {
it('Column Chart', () => {
const div = createDiv();
div.style.display = 'inline-block';
const chart = new Chart({
container: div,
wid... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { ProductApi } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { ApiManagementClient } from "../apiManagement... | the_stack |
import test from 'japa'
import { ApplicationContract } from '@ioc:Adonis/Core/Application'
import { setupApplication, fs, setupDb, cleanDb, clearDb } from '../test-helpers'
let app: ApplicationContract
test.group('Slugify Decorator', (group) => {
group.beforeEach(async () => {
app = await setupApplication(['../... | the_stack |
import * as debug from 'debug'
import {
fromJS as ImmutableFromJS,
List as ImmutableList,
Map as ImmutableMap,
} from 'immutable'
import { BranchId, StateHash, StateId } from './interfaces'
const log = debug('redux-dag-history:DagGraph')
/**
* A convenient wrapper around the ImmutableJS-based Dag-History data st... | the_stack |
import React, { useContext } from 'react'
import { AnimatePresence } from 'framer-motion'
import { useRouter } from 'next/router'
import {
Accordion,
AccordionItem,
Box,
Button,
Select,
Tag,
Text,
Tooltip,
} from '@island.is/island-ui/core'
import {
BlueBox,
CaseFileList,
CourtRecordAccordionItem,... | the_stack |
'use strict';
var assert = require('proclaim');
var rawCookie = require('@segment/cookie');
var sinon = require('sinon');
var analytics = require('../build');
var Analytics = require('../build').constructor;
var cookie = Analytics.cookie;
var store = Analytics.store;
var memory = Analytics.memory;
var user = analytic... | the_stack |
import { XStore, XType, XString } from '../pastore';
import { delay } from './helpers';
interface SimpleState extends XType {
name: string,
age: number,
isMale: boolean,
pets: Array<{
name: string,
age: number,
isDog: boolean
}>,
address: {
province: string,
... | the_stack |
import UnitBezier from '@mapbox/unitbezier';
import Point from './point';
import type {Callback} from '../types/callback';
/**
* @module util
* @private
*/
/**
* Given a value `t` that varies between 0 and 1, return
* an interpolation function that eases between 0 and 1 in a pleasing
* cubic in-out fashion.
... | the_stack |
import defaults from "lodash-es/defaults";
import pick from "lodash-es/pick";
import Stats from "stats.js";
import AnalyserAdapter from "./analyser/AnalyserAdapter";
import builtinResourcePack from "./builtinResourcePack";
import Component from "./Component";
import ComponentRegistry from "./ComponentRegistry";
import ... | the_stack |
import * as DeleteYankChangeAction from "../action/DeleteYankChangeAction";
import * as DeleteYankChangeHighlightedLineAction from "../action/DeleteYankChangeHighlightedLineAction";
import * as DeleteYankChangeHighlightedTextAction from "../action/DeleteYankChangeHighlightedTextAction";
import * as InsertTextAction fro... | the_stack |
import config from '../../../../lib/config';
import { getBreakpoint as getBreakpoint_ } from '../../../../lib/detect';
import { isUserLoggedIn as isUserLoggedIn_ } from '../identity/api';
import userPrefs from '../user-prefs';
import { commercialFeatures } from './commercial-features';
import type { CommercialFeaturesC... | the_stack |
import { createElmNodeData, createUniqueNamespace } from "./DataCacheHelper";
import { getDocument, getWindow } from "./EnvUtils";
import { arrForEach, arrIndexOf, isArray, objForEachKey, objKeys } from "./HelperFuncs";
// Added to help with minfication
const strOnPrefix = "on";
const strAttachEvent = "attachEvent";
c... | the_stack |
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest';
import * as models from '../models';
/**
* @class
* WorkspaceCollections
* __NOTE__: An instance of this class is automatically created for an
* instance of the PowerBIEmbeddedManagementClient.
*/
export inter... | the_stack |
import * as React from 'react';
import * as moment from 'moment';
import { cloneDeep, isEmpty } from '@microsoft/sp-lodash-subset';
imp... | the_stack |
import { isObject, isFunction, isPropertyKey, isNumber, isDefined } from '@esfx/internal-guards';
import { AccessorPropertyDescriptor, MethodPropertyDescriptor } from '@esfx/type-model';
import { DecoratorSignature, MappedDecoratorSignature, MappedDecoratorFactorySignature, MappedDecoratorOrDecoratorFactorySignature ... | the_stack |
import { useSelector } from "react-redux";
import { AppState } from "../AppState";
import { Constants as C } from "../Constants";
import { UserProfileDlg } from "../dlg/UserProfileDlg";
import { NodeActionType } from "../enums/NodeActionType";
import { TypeHandlerIntf } from "../intf/TypeHandlerIntf";
import * as J fro... | the_stack |
import { ServiceType } from "@protobuf-ts/runtime-rpc";
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import { WireType } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader }... | the_stack |
import WebSocket from 'ws'
import fs from 'fs'
import elliptic from 'elliptic'
import {
keyGen,
getKeyPath,
getPass,
IClientNewKey,
KeyData,
ECCurveType } from './util'
import { KEYUTIL } from 'jsrsasign'
import {
Logger,
Checks,
LogLevelDesc,
LoggerProvider
} from '@hyperledger/cactus-common'... | the_stack |
// Copyright (c) 2014 Henric Trotzig
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, ... | the_stack |
import {
HTMLAnchorElementAttrs, HTMLElementAttrs, HTMLAreaElementAttrs, HTMLAudioElementAttrs,
HTMLBaseElementAttrs, HTMLBodyElementAttrs, HTMLBRElementAttrs, HTMLButtonElementAttrs,
HTMLCanvasElementAttrs, HTMLQuoteElementAttrs, HTMLTableCaptionElementAttrs, HTMLTableColElementAttrs,
HTMLModElementAttrs, HTML... | the_stack |
import {HttpClient} from "@angular/common/http";
import {Component, EventEmitter, Inject, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, ViewChild, ViewContainerRef} from "@angular/core";
import {FormControl, FormGroup} from "@angular/forms";
import {MatDialogConfig} from "@angular/material/dialog";
import... | the_stack |
import { showMsg } from '@/common/js/util';
import Monaco from '@/components/monaco';
import { BKHttpResponse } from '@/common/js/BKHttpResponse';
import { bkCascade } from 'bk-magic-vue';
import { Component, Inject, Prop, Vue, Watch } from 'vue-property-decorator';
import { getFieldTypeConfig, getMasterTableInfo, sqlF... | the_stack |
jest.mock('../helpers');
import { createPublishBitbucketCloudAction } from './bitbucketCloud';
import { rest } from 'msw';
import { setupServer } from 'msw/node';
import { setupRequestMockHandlers } from '@backstage/backend-test-utils';
import { ScmIntegrations } from '@backstage/integration';
import { ConfigReader } ... | the_stack |
import log from 'electron-log';
import { delay, eventChannel, SagaIterator } from 'redux-saga';
import { all, call, put, select } from 'redux-saga/effects';
import {
askEnableNotifications,
disableNotifications,
enableNotifications,
navigateToApplicationTabAutomatically,
} from '../../app/applications/duck';
im... | the_stack |
import React, { Component, createRef } from 'react';
import { Animated, LayoutChangeEvent, View, ViewProps } from 'react-native';
import Thumb, { NullableThumb, ThumbGestureCallback } from '../internal/Thumb';
import { getTheme } from '../theme';
import { NumRange } from '../types';
// The max scale of the thumb
cons... | the_stack |
import { ProposedOrPrevious } from "../../src/chrono/Effect.js"
import { Base } from "../../src/class/Base.js"
import { CalculationIterator } from "../../src/primitives/Calculation.js"
import { calculate, Entity, field } from "../../src/replica/Entity.js"
import { Replica } from "../../src/replica/Replica.js"
import { ... | the_stack |
import { GaxiosPromise } from 'gaxios';
import { Compute, JWT, OAuth2Client, UserRefreshClient } from 'google-auth-library';
import { APIRequestContext, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions } from 'googleapis-common';
export declare namespace groupssettings_v1 {
interface Options e... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
import {ARN} from "..";
/**
* Manages an EC2 Transit Gateway.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = new aws.ec2transitgat... | the_stack |
import {
Component,
OnInit,
Input,
ViewChild,
HostBinding,
Renderer2,
ElementRef,
ChangeDetectionStrategy,
OnDestroy,
ChangeDetectorRef,
NgZone,
Injector,
forwardRef,
OnChanges,
SimpleChanges,
AfterViewChecked,
DoCheck
} from '@angular/core';
import { ... | the_stack |
import {
AfterViewChecked,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ElementRef,
Inject,
NgZone,
OnInit,
ViewChild,
} from '@angular/core';
import { Clipboard } from '@angular/cdk/clipboard';
import {
FormBuilder,
FormControl,
FormGroup,
ValidatorFn,
Validators,
} from '@angular... | the_stack |
import { AppInstanceJson, SolidityValueType } from "@counterfactual/types";
import { BigNumber, bigNumberify } from "ethers/utils";
import { xkeyKthAddress } from "../engine/xkeys";
import {
flip,
flipTokenIndexedBalances
} from "../ethereum/utils/free-balance-app";
import { Store } from "../store";
import { prett... | the_stack |
* deeplearn.js backend.
*/
import * as tfc from '@tensorflow/tfjs-core';
import {onesLike as coreOnesLike, scalar, Tensor, Tensor1D, tensor1d, Tensor2D, Tensor3D, Tensor4D, tidy, where, zerosLike as coreZerosLike} from '@tensorflow/tfjs-core';
import {checkDataFormat} from '../common';
import {NotImplementedError, Va... | the_stack |
namespace fgui {
export class ScrollPane extends PIXI.utils.EventEmitter {
private static $easeTypeFunc:Function = (t:number, d:number):number => { return (t = t / d - 1) * t * t + 1; }; //cubic out
private $owner: GComponent;
private $maskContainer: UIContainer;
private $container... | the_stack |
import * as A from "../Collections/Immutable/Array"
import * as E from "../Either"
import type { Trace } from "../Fiber"
import type { FiberID } from "../Fiber/id"
import { identity, pipe } from "../Function"
import * as S from "../IO"
import * as O from "../Option"
import { Stack } from "../Stack"
import type { Both, ... | the_stack |
import {
prefix, getLineStyle, getDirection, getAbsolutePosesByState,
triggerEvent, fillParams, fillEndParams,
} from "../utils";
import {
convertDimension, invert, multiply,
calculate,
createIdentityMatrix,
ignoreDimension,
minus,
createWarpMatrix,
plus,
} from "@scena/matrix";
impo... | the_stack |
import { IRGB, IHSL } from './color.types';
import { rgb2hsl, hsl2rgb } from './color.hsl';
import { cssColor, rgbToString } from './color';
/**
* This file contains a set of color/contrast utilities
* It turns out colors are hard! These utilities will hopefully come in handy
*
* Some optimizations and approximati... | the_stack |
import Component from '@glimmer/component';
import { getOwner } from '@ember/application';
import {
IWorkflowMessage,
Milestone,
NetworkAwareWorkflowCard,
NetworkAwareWorkflowMessage,
PostableCollection,
Workflow,
WorkflowCard,
WorkflowMessage,
WorkflowName,
WorkflowPostable,
conditionalCancelatio... | the_stack |
import { AdapterBase } from "./AdapterBase";
import { IBoard, ISpace, getConnections, addEventByIndex, addEventToSpaceInternal } from "../boards";
import { Space, BoardType, SpaceSubtype, EventExecutionType, EditorEventActivationType, getEventActivationTypeFromEditorType } from "../types";
import { $$log } from "../uti... | the_stack |
import * as coreHttp from "@azure/core-http";
export interface FileSystemList {
filesystems?: FileSystem[];
}
export interface FileSystem {
name?: string;
lastModified?: Date;
etag?: string;
}
export interface StorageError {
/** The service error response object. */
error?: StorageErrorError;
code?: st... | the_stack |
import * as path from 'path';
import { Project, ts, PropertyDeclaration, SyntaxKind, VariableDeclaration } from 'ts-morph';
import FileEngine from '../app/engines/file.engine';
const ast = new Project();
export class ImportsUtil {
private static instance: ImportsUtil;
private constructor() {}
public stat... | the_stack |
declare module Http {
export const enum Verb {
GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, PATCH
}
export interface Response {
statusCode: number;
body?: string;
}
export interface Requester {
request(verb: Verb, url: string, callback: Callback<Response>)... | the_stack |
import xs, {Stream, Listener} from 'xstream';
import {DevToolEnabledSource} from '@cycle/run';
import debounce from 'xstream/extra/debounce';
import * as dagre from 'dagre';
import * as CircularJSON from 'circular-json';
import {ZapSpeed} from './panel/model';
import timeSpread from './utils/timeSpread';
import {Sessio... | the_stack |
import * as express from 'express';
import fetch, {Response as FetchResponse, RequestInit} from 'node-fetch';
import {ApiError} from 'app/common/ApiError';
import {getSlugIfNeeded, parseSubdomainStrictly} from 'app/common/gristUrls';
import {removeTrailingSlash} from 'app/common/gutil';
import {LocalPlugin} from "app/... | the_stack |
import { DatabaseAdapter, DatabaseSession, DeleteResult, Formatter, GenericQueryResolver, OrmEntity, PatchResult } from '@deepkit/orm';
import { Changes, getPartialSerializeFunction, ReflectionClass, ReflectionKind, ReflectionVisibility, resolveForeignReflectionClass, serializer, typeOf } from '@deepkit/type';
import {... | the_stack |
import type { LensRendererExtension } from "../../../extensions/lens-renderer-extension";
import rendererExtensionsInjectable from "../../../extensions/renderer-extensions.injectable";
import currentlyInClusterFrameInjectable from "../../routes/currently-in-cluster-frame.injectable";
import { extensionRegistratorInject... | the_stack |
import * as cdk from '@aws-cdk/core';
import { CustomResource, Duration } from '@aws-cdk/core';
import * as cr from '@aws-cdk/custom-resources';
import { CloudFrontWebDistribution, OriginAccessIdentity, PriceClass, HttpVersion } from '@aws-cdk/aws-cloudfront';
import {
CfnUserPoolUser,
UserPoolClient,
UserPool,
... | the_stack |
import {
BooleanFilterConditions,
DateFilterConditions,
FilterVerbs,
IntFilterConditions,
SelectFilterConditions,
StringFilterConditions,
getDefaultFilterCondition,
} from "..";
import { Button, FormControl, Input, Select, Tooltip } from "@chakra-ui/react";
import { CalendarIcon } from "@heroicons/react/o... | the_stack |
import "../AsyncSupport";
import "../XMLDomInit";
import xmldom from "xmldom";
import test from "ava";
import sinon from "sinon";
import GrimoireInterface from "../../src/Interface/GrimoireInterface";
import Constants from "../../src/Base/Constants";
import Component from "../../src/Node/Component";
import GomlParser f... | the_stack |
import ServiceCheck, {
formatHumanReadable,
formatMarkdown,
formatTimePeriod,
} from "../check";
import checkSchemaResult from "../../../../__fixtures__/check-schema-result";
import { ChangeSeverity } from "apollo-language-server/lib/graphqlTypes";
import chalk from "chalk";
import { stdout } from "stdout-stderr"... | the_stack |
import * as THREE from "three";
import DeadzoneChecker from "~/controls/ar/common/DeadzoneChecker";
import * as TOUCH from "~/consts/touch";
describe("DeadzoneChecker", () => {
describe("Initial properties", () => {
it("should have default size of 0.1", () => {
expect(new DeadzoneChecker().size).to.equal(0... | the_stack |
import "reflect-metadata";
import {Post} from "./entity/Post";
import {Connection} from "../../../../../src/connection/Connection";
import {closeTestingConnections, createTestingConnections, reloadTestingDatabases} from "../../../../utils/test-utils";
import {PostWithOptions} from "./entity/PostWithOptions";
import {Po... | the_stack |
import { CommerceTypes } from '@brandingbrand/fscommerce';
import React, { Component } from 'react';
import { get } from 'lodash-es';
import pluralize from 'pluralize';
import { UnwrappedProductIndexProps as ProductIndexPropType } from './ProductIndex';
import { WithProductIndexProps } from './ProductIndexProvider';
i... | the_stack |
namespace eui {
let scrollerThrowEvent:ScrollerThrowEvent;
/**
* @private
*/
const enum Keys {
scrollPolicyV,
scrollPolicyH,
autoHideTimer,
touchStartX,
touchStartY,
touchMoved,
horizontalCanScroll,
verticalCanScroll,
touchS... | the_stack |
import { GoogleAnalytics, PackageManager, ProjectConfig, Util } from "@igniteui/cli-core";
import * as path from "path";
import { default as newCmd } from "../../packages/cli/lib/commands/new";
import { PromptSession } from "../../packages/cli/lib/PromptSession";
import { resetSpy } from "../helpers/utils";
describe("... | the_stack |
import { _getProvider, FirebaseApp, getApp } from '@firebase/app';
import {
ref as refInternal,
FirebaseStorageImpl,
connectStorageEmulator as connectEmulatorInternal
} from './service';
import { Provider } from '@firebase/component';
import {
StorageReference,
FirebaseStorage,
UploadResult,
ListOptions... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { DataCollectionRuleAssociations } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { MonitorClient } from "..... | the_stack |
import { snowflakeIdv1Option } from "./snowflakeIdv1Option"
/**
*
*/
export class snowflakeIdv1 {
/**
* 雪花计算方法,(1-漂移算法|2-传统算法),默认 1
*/
private Method
/**
* 基础时间(ms 单位),不能超过当前系统时间
*/
private BaseTime
/**
* 机器码,必须由外部设定,最大值 2^WorkerIdBitLength-1
*/
private Worke... | the_stack |
import { test as it, expect } from './pageTest';
import { attachFrame } from '../config/utils';
import path from 'path';
import fs from 'fs';
import formidable from 'formidable';
it('should upload the file', async ({ page, server, asset }) => {
await page.goto(server.PREFIX + '/input/fileupload.html');
const file... | the_stack |
import Prando from "prando";
import { BigNumber } from "bignumber.js";
import type { Account, Operation, OperationType } from "../../types";
import type {
CosmosResources,
CosmosDelegation,
CosmosUnbonding,
CosmosRedelegation,
} from "./types";
import preloadedData from "./preloadedData.mock";
import { genHex, ... | the_stack |
import * as assert from 'assert';
// You can import and use all API from the 'vscode' module
// as well as import your extension to test it
import * as text from '../src/util/AnnotatedText';
// Defines a Mocha test suite to group tests of similar kind together
describe("AnnotatedText", () => {
it("textToString", (... | the_stack |
import path from 'path';
import {
CodeAction,
CodeActionParams,
ColorInformation,
ColorPresentation,
ColorPresentationParams,
CompletionItem,
CompletionList,
CompletionParams,
CompletionTriggerKind,
Definition,
Diagnostic,
DocumentColorParams,
DocumentFormattingParams,
DocumentHighlight,
D... | the_stack |
import * as CS from "../Cause"
import type * as CL from "../Clock"
import * as HS from "../Collections/Immutable/HashSet"
import * as Tp from "../Collections/Immutable/Tuple"
import * as T from "../Effect"
import * as Ex from "../Exit"
import * as F from "../Fiber"
import { pipe } from "../Function"
import * as M from ... | the_stack |
// IMPORTANT
// This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually.
// In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator
// Generated from: https://www.googleapis.com/discovery/v1/apis/siteVerification/v1/... | the_stack |
import { Workbook, CellModel, getCell } from '../base/index';
import { executeTaskAsync } from '../common/worker';
import { pdfLayoutSettings, SaveOptions, checkIsFormula, workbookFormulaOperation } from '../common/index';
import * as events from '../common/event';
import { SaveWorker } from '../workers/save-worker';
i... | the_stack |
import { Disposable } from "event-kit";
import { File } from "pathwatcher";
declare global {
namespace TextBuffer {
/**
* The event objects that are passed into the callbacks which the user provides to
* specific API calls.
*/
namespace Events {
interface Bu... | the_stack |
declare module "constants" {
/** @deprecated since v6.3.0 - use `os.constants.errno.E2BIG` instead. */
const E2BIG: number;
/** @deprecated since v6.3.0 - use `os.constants.errno.EACCES` instead. */
const EACCES: number;
/** @deprecated since v6.3.0 - use `os.constants.errno.EADDRINUSE` instead. */
... | the_stack |
import { apply, chain, mergeWith, move, Rule, Tree, url, MergeStrategy, SchematicContext, Source } from '@angular-devkit/schematics';
import {
applyAndLog, addOrReplaceScriptInPackageJson, addOpenCollective, updateGitIgnore, addDependencyInjection,
createOrOverwriteFile, addEntryToEnvironment, getMethodBody, up... | the_stack |
import * as vscode from 'vscode';
import * as fs from 'fs';
import * as os from 'os';
import * as path from 'path';
import * as Git from './git';
import * as WebRequest from 'web-request';
import * as semver from 'semver';
import * as archiver from 'archiver';
import { jar } from 'request';
import { spawn } fr... | the_stack |
declare var _debug_: Debug;
import { Debug } from './debug/debug';
import LlRbTree from 'flo-ll-rb-tree';
import { ContactPoint, compareCps } from './contact-point';
import { removeCpNode } from './cp-node/remove';
import { getCurveToNext } from './get-curve-to-next';
/**
* The primary class of the library.
*
*... | the_stack |
import {
buildForm,
buildDescriptionField,
buildMultiField,
buildRepeater,
buildSection,
buildSubSection,
buildTextField,
CustomField,
buildCustomField,
} from '@island.is/application/core'
import {
convertFormToScreens,
findCurrentScreen,
getNavigableSectionsInForm,
screenHasBeenAnswered,
... | the_stack |
import Group from "./cachehandler/group";
import LimitGroup from "./cachehandler/limitGroup";
import SuperSet from "./cachehandler/superSet";
import {Client, ShardingManager} from "discord.js";
declare module "aoi.js" {
import {EventEmitter} from "events";
type ErrorMsg = string | Record<string, string | bo... | the_stack |
import { Expect, throwExpect } from './Assert';
import { Action } from './Action';
import { Contract } from './Contract';
import { Record } from 'immutable';
import { Printer } from './Printer';
import { Invariant } from './Invariant';
import { SuccessInvariant } from './Invariant/SuccessInvariant';
import { RemainsInv... | the_stack |
import React from 'react';
import {
Image,
ImageProps,
TouchableOpacity,
} from 'react-native';
import {
fireEvent,
render,
RenderAPI,
waitForElement,
} from 'react-native-testing-library';
import {
light,
mapping,
} from '@eva-design/eva';
import { Text } from '../text/text.component';
import { Index... | the_stack |
import {
Ast,
SlotAst,
jsonAst,
CallAst,
ListAst,
walkAst,
astSlotNames,
RuleAst,
StatementAst,
} from "../ast/Ast";
import SqrlAst from "../ast/SqrlAst";
import SqrlAstTransformer from "../ast/SqrlAstTransformer";
import {
SqrlSlot,
SqrlConstantSlot,
SqrlStatementSlot,
SqrlFixedSlot,
SqrlIt... | the_stack |
import { inject, injectable } from 'inversify';
import * as apid from '../../../../../../api';
import GenreUtil from '../../../..//util/GenreUtil';
import { AudioComponentType, AudioSamplingRate, VideoComponentType } from '../../../../lib/event';
import DateUtil from '../../../../util/DateUtil';
import IReservesApiMode... | the_stack |
import type { ChildExecutorDecision } from "@effect/core/stream/Channel/ChildExecutorDecision"
import type { Channel } from "@effect/core/stream/Channel/definition/base"
import { ChannelBase } from "@effect/core/stream/Channel/definition/base"
import {
_Env,
_InDone,
_InElem,
_InErr,
_OutDone,
_OutDone2,
... | the_stack |
import { TestBed } from '@angular/core/testing';
import {
provideConfigFactory,
provideDefaultConfigFactory,
} from '@spartacus/core';
import { getEpdVisualizationDefaultConfig } from '@spartacus/epd-visualization/root';
import { Observable, of } from 'rxjs';
import { getTestConfig } from '../../../root/testing/epd... | the_stack |
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest';
import * as models from '../models';
/**
* @class
* Workspaces
* __NOTE__: An instance of this class is automatically created for an
* instance of the DatabricksClient.
*/
export interface Workspaces {
/... | the_stack |
import * as asn1js from "asn1js";
import { bufferToHexCodes, stringToArrayBuffer } from "pvutils";
import { getAlgorithmParameters, getCrypto } from "pkijs/src/common";
import Certificate from "pkijs/src/Certificate";
import CertificateRevocationList from "pkijs/src/CertificateRevocationList";
import AttributeTypeAndVa... | the_stack |
import {
tz,
} from 'moment-timezone';
import {
INodeProperties,
} from 'n8n-workflow';
export const appointmentOperations: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
displayOptions: {
show: {
resource: [
'appointment',
],
},
},
options: [
... | the_stack |
import test from 'tape';
import {
addressLabels,
assertCombinedVault,
assertDeactivatedVault,
getAccount,
initVault,
killStuckProcess,
logDebug,
spokSameBignum,
verifyTokenBalance,
} from './utils';
import { Connection, Keypair, PublicKey, Transaction } from '@solana/web3.js';
import {
assertConfir... | the_stack |
import * as storage from 'localforage'
import _ from 'lodash'
import { EmoteSets } from 'twitch-js'
import RequestMethod from 'constants/requestMethod'
import { getRandomString } from 'utils/crypto'
import { subDays, subMonths } from 'utils/date'
/**
* Twitch various APIs.
*/
enum TwitchApi {
Auth = 'https://id.t... | the_stack |
/// <reference path="../metricsPlugin.ts"/>
module HawkularMetrics {
export interface IMultiDataPoint {
key: string;
color: string;
values: IChartDataPoint[];
}
class JVMMetricsTabType {
private _key: string;
private _metricName: string;
private _color: IColor;
private _statisticsK... | the_stack |
import {
logger,
Logger,
InitializedEvent,
Response,
Event,
TerminatedEvent,
BreakpointEvent,
Thread,
ThreadEvent,
CapabilitiesEvent,
OutputEvent,
DebugSession as SessionImpl,
ProgressStartEvent,
ProgressEndEvent
} from "vscode-debugadapter";
import { DebugProtocol as P } from "./protocol";... | the_stack |
namespace fgui {
type PackageDependency = { id: string, name: string };
export class UIPackage {
private _id: string;
private _name: string;
private _path: string;
private _items: Array<PackageItem>;
private _itemsById: { [index: string]: PackageItem };
private _... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.