text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import * as sinon from "sinon" import * as nock from "nock" import { Probot } from 'probot' const ArgocdBot = require("..") // test fixtures const payloadPr1 = require("./fixtures/issue_comment.created.pr1.json") const payloadPr1Closed = require("./fixtures/pull_request.closed.pr1.json") const payloadPr1UnlockComment...
the_stack
import * as funcs from './funcs'; import { Vec4, Point, CoorList, RegionPoint, Rect, Edge } from './types'; /** * Create a LineSegmentDetector object. * Specifying scale, number of subdivisions for the image, * should the lines be refined and other constants as follows: * * @param refine How should the line...
the_stack
import {Switch} from '@material/mwc-switch/mwc-switch'; import {html} from 'lit'; import {customElement} from 'lit/decorators.js'; import {ifDefined} from 'lit/directives/if-defined.js'; import {fixture, simulateFormDataEvent, TestFixture} from '../../../test/src/util/helpers'; @customElement('mwc-test-switch') class...
the_stack
describe('list - Tab', () => { test('can sink list item at everywhere', async () => { // at head await page.evaluate(() => { editor.setHTML('<ul><li>123</li></ul>'); editor.setSelection({ index: 2 }); }); await page.keyboard.press('Tab'); const html = await page.evaluate(() => editor.g...
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 { formatTitle } from '../title' const fragmentSplitFactor = 12 const dashExtensions = ['.mp4', '.m4a'] export interface BatchExtractorConfig { itemFilter: (item: BatchItem) => boolean api?: (aid: number | string, cid: number | string, quality?: number | string) => string } export interface BatchTitleParame...
the_stack
import {reactive} from '@lume/element' import {getInheritedDescriptor} from 'lowclass' import {stringToArray} from './utils.js' export type XYZValuesArray<T> = [T, T, T] export type XYZPartialValuesArray<T> = [T] | [T, T] | [T, T, T] // Is there a better way to make a tuplet from 1 to 3 items? export type XYZValuesObj...
the_stack
namespace ts { export const enum ImportKind { Named, Default, Namespace, CommonJS, } export const enum ExportKind { Named, Default, ExportEquals, UMD, } export interface SymbolExportInfo { readonly symbol: Symb...
the_stack
import { config } from "./config.ts"; import { encoding } from "./deps/encoding_japanese.ts"; import { JpNum } from "./deps/japanese_numeral.ts"; import { zip } from "./deps/std/collections.ts"; import { iter } from "./deps/std/io.ts"; import { Encode } from "./types.ts"; import type { Encoding, SkkServerOptions } from...
the_stack
import Eventful from './Eventful'; import env from './env'; import { ZRRawEvent } from './types'; import {isCanvasEl, transformCoordWithViewport} from './dom'; const isDomLevel2 = (typeof window !== 'undefined') && !!window.addEventListener; const MOUSE_EVENT_REG = /^(?:mouse|pointer|contextmenu|drag|drop)|click/; co...
the_stack
import PnAnyDeclarative from '../../../src/extensions/payment-network/declarative'; import Utils from '@requestnetwork/utils'; import { ExtensionTypes } from '@requestnetwork/types'; import * as TestDataDeclarative from '../../utils/payment-network/any/generator-data-create'; import * as TestData from '../../utils/te...
the_stack
import Vue from 'vue' import EventEmitter from 'eventemitter3' import { BaseClient, BaseEvents } from './base' import { Member } from './types' import { EVENT } from './events' import { accessor } from '~/store' import { DisconnectPayload, SignalProvidePayload, MemberListPayload, MemberDisconnectPayload, Mem...
the_stack
import chai from 'chai'; import Chance from 'chance'; import { Datastore } from '@google-cloud/datastore'; import { Gstore, Entity, EntityKey } from '../../src'; type GenericObject = { [key: string]: any }; const gstore = new Gstore(); const gstoreWithCache = new Gstore({ cache: { config: { ttl: { queries: 600 } } }...
the_stack
import * as cp from "child_process"; import * as fse from "fs-extra"; import * as _ from "lodash"; import * as os from "os"; import * as path from "path"; const expandHomeDir = require("expand-home-dir"); const WinReg = require("winreg-utf8"); const isWindows: boolean = process.platform.indexOf("win") === 0; const isMa...
the_stack
/** * @license Copyright © 2014 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 React, { PureComponent, ReactElement, ReactNode } from 'react'; import classNames from 'classnames'; import Animate from 'react-smooth'; import _ from 'lodash'; import { Sector, Props as SectorProps } from '../shape/Sector'; import { Layer } from '../container/Layer'; import { findAllByType } from '../util/React...
the_stack
module VORLON { export class _Core { _clientPlugins = new Array<ClientPlugin>(); _dashboardPlugins = new Array<DashboardPlugin>(); _messenger: ClientMessenger; _sessionID: string; _listenClientId: string; _side: RuntimeSide; _errorNotifier: any; _mess...
the_stack
import { IExecuteFunctions, } from 'n8n-core'; import { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, } from 'n8n-workflow'; import { adjustMetadata, setFields, setMetadata, toSnakeCase, woocommerceApiRequest, woocommerceApiRequestAllItems, }...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Creates a Microsoft AD domain * * To get more information about Domain, see: * * * [API documentation](https://cloud.google.com/managed-microsoft-ad/reference/rest/v1/projects.locations.global.domains) * * How-to Guides *...
the_stack
import { createSpan } from "../tracing"; import { KqlScriptOperations } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as coreTracing from "@azure/core-tracing"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { Artifac...
the_stack
namespace typestate { /** * Transition grouping to faciliate fluent api */ export class Transitions<T> { constructor(public fsm: FiniteStateMachine<T>) { } public fromStates: T[]; public toStates: T[]; /** * Specify the end state(s) of a transition function */ ...
the_stack
import { ConsoleLogger as Logger } from '@aws-amplify/core'; import SQLiteDatabase from './SQLiteDatabase'; import { generateSchemaStatements, queryByIdStatement, modelUpdateStatement, modelInsertStatement, queryAllStatement, queryOneStatement, deleteByIdStatement, deleteByPredicateStatement, ParameterizedStat...
the_stack
import * as fsExtra from 'fs-extra'; import * as webdriver from 'selenium-webdriver'; import ProgressBar = require('progress'); import ansi = require('ansi-escape-sequences'); import {jsonOutput, legacyJsonOutput} from './json-output'; import {browserSignature, makeDriver, openAndSwitchToNewTab} from './browser'; imp...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as arn from "../arn"; import * as iam from "../iam"; import * as utils from "../utils"; import { Function as LambdaFunction, FunctionArgs } from "./function"; import * as permission from "./permission"; import { Runtime } from "."; /** * Context is the shape of the...
the_stack
import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { HttpClient, HttpHeaders, HttpParams, HttpErrorResponse } from '@angular/common/http'; import { CognitoUtil } from './cognito.service'; import { Device } from '../model/device'; import { DeviceType } from '../model/deviceT...
the_stack
import * as sinon from "sinon"; import {MockPdfDocument} from "../contentCapture/mockPdfDocument"; import {Constants} from "../../scripts/constants"; import {Clipper} from "../../scripts/clipperUI/frontEndGlobals"; import {StubSessionLogger} from "../../scripts/logging/stubSessionLogger"; import {SaveToOneNote} fr...
the_stack
'use strict' import { ethers } from 'ethers' import { encodeParams as encodeParamsHelper, encodeFunctionId, makeFullTypeDefinition } from './txHelper' import { eachOfSeries } from 'async' import { linkBytecode as linkBytecodeSolc } from 'solc/linker' import { isValidAddress, addHexPrefix } from 'ethereumjs-util' /** ...
the_stack
import * as pathlib from 'path'; import { promisify } from 'util'; import * as vscode from 'vscode'; import { AbstractRunnable } from './AbstractRunnable'; import * as c2fs from './util/FSWrapper'; import { getAbsolutePath, findURIs } from './Util'; import { resolveOSEnvironmentVariables, createPythonIndexerForPat...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/galleryImagesMappers"; import * as Parameters from "../models/parameters"; import { ManagedLabsClientContext } from "../managedLabsClientContext"; /** Class representing a GalleryImages. */ export clas...
the_stack
export class PathRegionPrototype { CHUNK = 1000; path: string; start?: number; stop?: number; authorized?: boolean; // There is no rule whether stop is greater than start. constructor( path: string, start?: number, stop?: number, authorized: boolean = true ) { this.path = path; ...
the_stack
import * as React from "react"; import { WebPartContext } from "@microsoft/sp-webpart-base"; import commonServices from "../Common/CommonServices"; import * as stringsConstants from "../constants/strings"; import styles from "../scss/TOTCreateTournament.module.scss"; //React Boot Strap import Row from "react-bootstrap...
the_stack
import * as gt from 'gosling-theme'; import { assign } from 'lodash-es'; import { CHANNEL_DEFAULTS } from '../channel'; /* ----------------------------- THEME ----------------------------- */ export type Theme = ThemeType | ThemeDeep; export type ThemeType = keyof typeof gt.Themes; export enum Themes { light = 'li...
the_stack
{ // Validator test program.(socket.io client) const io = require("socket.io-client"); const config = require("config"); // Specify the server (Validator) of the communication destination const validatorUrl = config.validatorUrl; console.log("validatorUrl: " + validatorUrl); const options = { rejectU...
the_stack
import * as React from 'react'; import * as Handlebars from "handlebars"; import * as strings from 'contentQueryStrings'; import { Spinner } from 'office-ui-fabric-react'; import { isEmpty } ...
the_stack
import * as Common from '../../core/common/common.js'; import * as Root from '../../core/root/root.js'; import * as SDK from '../../core/sdk/sdk.js'; import * as Workspace from '../../models/workspace/workspace.js'; import * as NetworkForward from '../../panels/network/forward/forward.js'; import * as UI from '../../ui...
the_stack
import { expect } from "chai"; import React from "react"; import { PropertyRecord } from "@itwin/appui-abstract"; import { Orientation } from "@itwin/core-react"; import { render } from "@testing-library/react"; import { HighlightingComponentProps } from "../../../components-react/common/HighlightingComponentProps"; im...
the_stack
// NOTE: This file is only partially ported and is a work in progress /* eslint-disable */ export default class Tile3DStyle { constructor(styleJson = {}) { this._style = {}; this._ready = false; this._show = undefined; this._color = undefined; this._pointSize = undefined; this._pointOutlineC...
the_stack
import * as vscode from 'vscode'; import * as fs from 'fs'; import Interpreter from './interpreter'; import JsImport from './jsImport'; import { kebab2camel, base2camel } from './help'; import { WorkspaceFolder, RelativePattern } from 'vscode'; const path = require('path'); export interface ImportObj { path: strin...
the_stack
module fng.services { /*@ngInject*/ export function formMarkupHelper(cssFrameworkService, inputSizeHelper, addAllService, $filter) { function generateNgShow(showWhen, model) { function evaluateSide(side) { var result = side; if (typeof side === 'string') { if (side.s...
the_stack
import React, { Component } from 'react'; import { View, Animated, Easing, StyleSheet, PanResponder, PanResponderInstance, NativeModules, } from 'react-native'; import { Utils } from 'tuya-panel-utils'; import { FRICTION_LEVEL, DECELERATION } from './constant'; import { Center, StyledTab, StyledTabB...
the_stack
import { hooks } from 'botframework-webchat-api'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import React, { MutableRefObject, useCallback, useEffect, useRef } from 'react'; import { ie11 } from '../Utils/detectBrowser'; import AccessibleInputText from '../Utils/AccessibleInputText'; impo...
the_stack
declare module '@opentrons/app/src/logger' { export type LogLevel = | 'error' | 'warn' | 'info' | 'http' | 'verbose' | 'debug' | 'silly' export type Log = (message: string, meta?: Record<string, unknown>) => void export type Logger = Record<LogLevel, Log> } declare module '@opentron...
the_stack
var __reflect = (this && this.__reflect) || function (p, c, t) { p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t; }; var __extends = this && this.__extends || function __extends(t, e) { function r() { this.constructor = t; } for (var i in e) e.hasO...
the_stack
import { EventEmitter } from "events"; import { CharStreams, CommonTokenStream, CommonToken, ParserRuleContext, Token } from "antlr4ts"; import { ParseTree, ErrorNode, TerminalNode } from "antlr4ts/tree"; import { ScopedSymbol, VariableSymbol } from "antlr4-c3"; import { InterpreterData } from "./InterpreterDataReade...
the_stack
import { createComposer, DefineLocaleMessage } from './composer' import { I18nWarnCodes, getWarnMessage } from './warnings' import { createI18nError, I18nErrorCodes } from './errors' import { EnableEmitter, DisableEmitter, __VUE_I18N_BRIDGE__ } from './symbols' import { DEFAULT_LOCALE } from '@intlify/core-base' import...
the_stack
import { ConditionalTransferCreatedPayload, ConditionalTransferResolvedPayload, EngineEvents, FullTransferState, WithdrawalResolvedPayload, } from '@connext/vector-types' import { Address, formatGRT, Logger, Metrics, NetworkContracts, timer, toAddress, } from '@graphprotocol/common-ts' import { ...
the_stack
import { AfterViewInit, ApplicationRef, ChangeDetectorRef, Component, Directive, ElementRef, EventEmitter, HostBinding, HostListener, Injector, Input, OnChanges, OnDestroy, OnInit, Optional, Output, SkipSelf } from '@angular/core'; import { WindowCompo...
the_stack
declare var NFCErrorDomain: string; declare const enum NFCFeliCaEncryptionId { NFCFeliCaEncryptionIdAES = 79, NFCFeliCaEncryptionIdAES_DES = 65, EncryptionIdAES = 79, EncryptionIdAES_DES = 65 } declare const enum NFCFeliCaPollingRequestCode { NFCFeliCaPollingRequestCodeNoRequest = 0, NFCFeliCaPollingReque...
the_stack
import { Client, Crypto, Model, Trust } from "@core/types"; import { verifyJson, encryptJson, decryptJson, signJson, verifyPublicKeySignature, } from "@core/lib/crypto/proxy"; import { dispatch } from "../../handler"; import * as R from "ramda"; import { getActiveGeneratedEnvkeysByKeyableParentId, getKeya...
the_stack
import Web3 from 'web3'; import { TransactionConfig } from 'web3-eth'; import { DelegateTransactionUnsigned, TransferTransactionUnsigned, UndelegateTransactionUnsigned, RedelegateTransactionUnsigned, VoteTransactionUnsigned, NFTTransferUnsigned, WithdrawStakingRewardUnsigned, NFTDenomIssueUnsigned, NF...
the_stack
import {Paths} from 'chrome://personalization/trusted/personalization_router_element.js'; import {emptyState} from 'chrome://personalization/trusted/personalization_state.js'; import {WallpaperActionName} from 'chrome://personalization/trusted/wallpaper/wallpaper_actions.js'; import {mockTimeoutForTesting, WallpaperSel...
the_stack
import { Component, QueryList, ViewChild, ViewChildren } from '@angular/core'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { CommonModule } from '@angular/common'; import { CardModule } from '@fundamental-ngx/core/card'; import { ListModule } from '@fundamental-ngx/core/list...
the_stack
import * as estree from "estree"; import * as sourceMap from "source-map"; /** * JS2Coffee API. * * @param source JavaScript code to compile. In order to compile JSON as CSON, you must wrap the string in * parentheses like so: `(...)`. * @param [options] JS2Coffee compiler options. * @param [options.bare=false] ...
the_stack
import './index'; import { expect } from 'chai'; import { CommandsSk, } from './commands-sk'; import { setUpElementUnderTest, eventPromise } from '../../../infra-sk/modules/test_util'; import { SkpJsonCommandList } from '../debugger'; import { testData } from './test-data'; import { MoveCommandPositionEventDetail...
the_stack
import React from 'react'; import PropTypes from 'prop-types'; import Component from '../../react-class'; import { Flex } from '../../Flex'; import assign from '../../../common/assign'; import join from '../../../common/join'; import toMoment from './toMoment'; import joinFunctions from './joinFunctions'; import Footer...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Entry Metadata. A Data Catalog Entry resource represents another resource in Google Cloud Platform * (such as a BigQuery dataset or a Pub/Sub topic) or outside of ...
the_stack
import { assert } from 'chai'; import { addStage, Konva, createCanvas, compareLayerAndCanvas, compareLayers, } from './test-utils'; describe('Line', function () { // ====================================================== it('add line', function () { var stage = addStage(); var layer = new Konva....
the_stack
import { IElementAppliable } from "./tags"; export declare class CssProp implements IElementAppliable { readonly key: string; readonly value: string | 0; readonly name: string; constructor(key: string, value: string | 0); /** * Set the attribute value on an HTMLElement * @param elem - the ...
the_stack
import * as React from 'react'; import styles from './KanbanComponent.module.scss'; import bucketstyles from './KanbanBucket.module.scss'; import * as strings from 'KanbanBoardStrings'; import { IKanbanTask, KanbanTaskMamagedPropertyType } from './IKanbanTask'; import { IKanbanBoardTaskSettings } from './IKanbanBoardT...
the_stack
import { DBAdapter, DBValue } from './dbAdapter'; /** * This adapter uses sql.js to execute queries against the GeoPackage database * @module db/sqljsAdapter * @see {@link http://kripken.github.io/sql.js/documentation/|sqljs} */ // @ts-ignore import sqljs from 'rtree-sql.js/dist/sql-asm-memory-growth.js'; // var sq...
the_stack
// The MIT License (MIT) // // vs-deploy (https://github.com/mkloubert/vs-deploy) // Copyright (c) Marcel Joachim Kloubert <marcel.kloubert@gmx.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // ...
the_stack
// https://github.com/derselbst/N64SoundTools/blob/master/N64MidiTool/N64MidiLibrary/MidiParse.cpp#L296 import { copyRange } from "../utils/arrays"; import { assert } from "../utils/debug"; /* eslint-disable */ const LENGTH_HEADER = 0x44; const MIDI_HEADER_MAGIC = 0x4D546864; // MThd const MIDI_TRACK_MAGIC = 0x4D547...
the_stack
export enum PromoState { PENDING = "PENDING", ACTIVE = "ACTIVE", INACTIVE = "INACTIVE", REJECTED = "REJECTED" } export enum NotificationType { FOLLOW = "FOLLOW", REACTION = "REACTION", COMMENT = "COMMENT", FLARE = "FLARE" } export enum SponsoringType { ONE_TIME = "ONE_TIME", MO...
the_stack
export interface Size { // Docs: https://electronjs.org/docs/api/structures/size height: number width: number } export interface Point { // Docs: https://electronjs.org/docs/api/structures/point x: number y: number } export interface Rectangle { // Docs: https://electronjs.org/docs/api/structures/rect...
the_stack
import { aTimeout } from '@open-wc/testing/index-no-side-effects'; import { assert } from 'chai'; import * as sinon from 'sinon'; import { setAuthStateCache } from '../auth_state_cache'; import { PrpcClientExt } from '../libs/prpc_client_ext'; import { BUILD_FIELD_MASK, BuildsService } from '../services/buildbucket'; ...
the_stack
import { entries, groupBy, pickBy } from 'lodash'; import { Browser } from 'tests/end-to-end/common/browser'; import { launchBrowser } from 'tests/end-to-end/common/browser-factory'; import { NestedIframeTargetPage, NestedIframeWindowMessageRecord, sortMessages, } from 'tests/end-to-end/common/page-controll...
the_stack
* @packageDocumentation * @module std.internal */ //================================================================ import { XTreeNode } from "./XTreeNode"; import { Color } from "./Color"; import { Comparator } from "../functional/Comparator"; /** * Red-Black Tree * * @reference https://en.wikipedia.org/w/i...
the_stack
import { Vector3, Quaternion, EventDispatcher, PerspectiveCamera, OrthographicCamera, Vector2, MOUSE } from 'three' const STATE = { NONE: -1, ROTATE: 0, ZOOM: 1, PAN: 2, TOUCH_ROTATE: 3, TOUCH_ZOOM_PAN: 4 } const CHANGE_EVENT = { type: 'change' } const START_EVENT = { type: 'start' } const END_EVENT = { type: 'end' } ...
the_stack
import stringify = require('json-stringify'); import { ConsoleUtils } from './consoleUtils'; import "reflect-metadata"; import "es6-shim"; import { plainToClass } from "class-transformer"; import { ForceOrgListResult, ForceOrgListCommandResponse, ForceOrgDisplayResult } from './helper_classes'; import { IOrgConnectionD...
the_stack
import 'jasmine'; import {ConformancePatternRule, ErrorCode, PatternKind} from '../rules/conformance_pattern_rule'; import {compileAndCheck, customMatchers} from './testing/test_support'; describe('AbsoluteMatcher', () => { beforeEach(() => { jasmine.addMatchers(customMatchers); }); it('requires a matcher s...
the_stack
import { FloatArray, Epsilon } from './types' import { Matrix } from './Matrix' import { Scalar } from './Scalar' import { Vector3 } from './Vector3' /** @public */ export type ReadOnlyVector4 = { readonly y: number readonly x: number readonly z: number readonly w: number } /** * Vector4 class created for Eu...
the_stack
import { IPdfPrimitive } from './../../interfaces/i-pdf-primitives'; import { IPdfWriter } from './../../interfaces/i-pdf-writer'; import { ObjectStatus } from './../input-output/enum'; import { PdfCrossTable } from './../input-output/pdf-cross-table'; /** * `PdfString` class is used to perform string related primitiv...
the_stack
import { getImage } from "./images"; export class spaces { static drawUnknown(ctx: CanvasRenderingContext2D, x: number, y: number) { ctx.save(); ctx.beginPath(); ctx.arc(x, y, 8, 0, 2 * Math.PI); ctx.fillStyle = "orange"; ctx.lineWidth = 2; ctx.stroke(); ctx.fill(); ctx.restore(); }...
the_stack
import { Buffer, Sockets, Network, PageHub } from '../../src/index' import { PageHubServer } from '../../src/hub/page' import { expect } from 'chai' import * as support from '../support' async function use(func: (sockets: Sockets) => void) { const hubServer = new PageHubServer({}) hubServer.listen(0) const hub =...
the_stack
import resolveParentPathBy = require( './index' ); /** * Callback to invoke after processing a path. * * @param error - error object or null * @param result - test result */ type Callback = ( error: Error | null, result: boolean ) => void; /** * Checks whether a path passes a test. * * @param path - resolved path * @...
the_stack
import {testResultsCache} from "../../clientTestResultsCache"; import * as events from "../../../common/events"; import * as utils from "../../../common/utils"; import * as types from "../../../common/types"; import * as json from "../../../common/json"; import * as typestyle from "typestyle"; import * as styles from "...
the_stack
import React, { useEffect, useImperativeHandle, useRef } from "react"; import { DARK_GREY, GREEN } from "../../playground/lesson1/colours"; import Zdog from "zdog"; import Zfont from "zfont"; import { useSelector } from "react-redux"; Zfont.init(Zdog); const DOSIS = new Zdog.Font({ src: "/open-sans-lat_cyr-600.ttf" ...
the_stack
'use strict'; import { parseToMillisecond } from 'chord/base/common/time'; import { IListOption } from 'chord/music/api/listOption'; import { IAudio } from 'chord/music/api/audio'; import { IEpisode } from 'chord/sound/api/episode'; import { IPodcast } from 'chord/sound/api/podcast'; import { IRadio } from "chord/so...
the_stack
import { Spreadsheet, locale, dialog, mouseDown, renderFilterCell, initiateFilterUI, FilterInfoArgs, getStartEvent, duplicateSheetOption } from '../index'; import { reapplyFilter, filterCellKeyDown, DialogBeforeOpenEventArgs } from '../index'; import { getFilteredColumn, cMenuBeforeOpen, filterByCellValue, clearFilter,...
the_stack
import UndoPlugin from '../../lib/corePlugins/UndoPlugin'; import { itChromeOnly } from '../TestHelper'; import { Position } from 'roosterjs-editor-dom'; import { IEditor, Keys, PluginEventType, SelectionRangeTypes, UndoPluginState, } from 'roosterjs-editor-types'; describe('UndoPlugin',...
the_stack
import { HtmlTag } from "../src/html-tag"; describe( "Autolinker.HtmlTag", function() { it( "should be able to be instantiated with no arguments", function() { expect( function() { let tag = new HtmlTag(); } ).not.toThrow(); } ); it( "should be able to be configured via the config options", function() { ...
the_stack
import type {ReactElement, ReactNode} from 'react'; import type {ScaleContinuousNumeric} from 'd3-scale'; import type {SymbolType} from 'd3-shape'; import type {ColorScale, GraphicProps, Point, Series, Style} from './types'; import React from 'react'; import { symbol, symbolCircle, symbolCross, symbolDiamond, ...
the_stack
import * as React from 'react' import { useSelector } from 'react-redux' import { Flex, Box, Icon, Text, SecondaryBtn, Tooltip, useHoverTooltip, COLOR_ERROR, SIZE_2, SIZE_3, SPACING_1, SPACING_2, SPACING_3, ALIGN_CENTER, DIRECTION_COLUMN, JUSTIFY_START, JUSTIFY_CENTER, FONT_SIZE_BODY...
the_stack
import * as React from "react"; import { nanoid } from "nanoid"; import { isConfigured, config, Configuration } from "./config"; import { InitialFlagState, MissingConfigurationError, Flags, Input, Outcome, FlagUser, Traits, FlagBag, EvaluationResponseBody, SuccessOutcome, ErrorOutcome, Revalidat...
the_stack
import { ChildProcess, spawn } from "child_process"; import * as path from "path"; import * as WebSocket from "ws"; import * as pty from "node-pty"; import { IPty } from "node-pty"; import PQueue from "p-queue"; import * as rpc from "vscode-jsonrpc"; import { v4 as getUUID } from "uuid"; import { LangConfig, langs } ...
the_stack
import assert = require('assert'); import Path = require('path'); import underscore = require('underscore'); import { atob, btoa } from './base/stringutil'; import agile_keychain_crypto = require('./agile_keychain_crypto'); import asyncutil = require('./base/asyncutil'); import agile_keychain_entries = require('./agil...
the_stack
import 'mocha'; import sinon from 'sinon'; import { assert } from 'chai'; import { IncomingMessage, ServerResponse } from 'http'; import { createHmac } from 'crypto'; import { ReceiverMultipleAckError, HTTPReceiverDeferredRequestError, AuthorizationError, } from '../errors'; import { HTTPModuleFunctions as func ...
the_stack
import R from 'ramda'; import Dependency from './dependency'; import { RelativePath } from './dependency'; import { BitId, BitIds } from '../../../bit-id'; import Scope from '../../../scope/scope'; import { isValidPath } from '../../../utils'; import ValidationError from '../../../error/validation-error'; import valida...
the_stack
import { GlobalProps } from 'ojs/ojvcomponent'; import { ComponentChildren } from 'preact'; import CommonTypes = require('../ojcommontypes'); import { KeySet } from '../ojkeyset'; import { DataProvider, ItemMetadata, Item } from '../ojdataprovider'; import { baseComponent, baseComponentEventMap, baseComponentSettablePr...
the_stack
import { CommandUtils } from "./CommandUtils"; import { ObjectLiteral } from "../common/ObjectLiteral"; import * as path from "path"; import * as yargs from "yargs"; import chalk from "chalk"; import { exec } from "child_process"; import { TypeORMError } from "../error/TypeORMError"; /** * Generates a new project wit...
the_stack
import {Equals} from "@swim/util"; import {Output, Debug, Format} from "@swim/codec"; import {AnyLength, Length, AnyAngle, Angle, AnyR2Point, R2Point, R2Box} from "@swim/math"; import type {GraphicsRenderer} from "../graphics/GraphicsRenderer"; import type {Graphics} from "../graphics/Graphics"; import type {DrawingCon...
the_stack
import { Codicon } from 'vs/base/common/codicons'; import { KeyCode, KeyMod } from 'vs/base/common/keyCodes'; import { ILanguageService } from 'vs/editor/common/languages/language'; import { localize } from 'vs/nls'; import { IAction2Options, MenuId, MenuRegistry, registerAction2 } from 'vs/platform/actions/common/acti...
the_stack
import * as chalk from "chalk"; import { assert } from "node-opcua-assert"; import { AttributeIds, QualifiedNameLike } from "node-opcua-data-model"; import { DiagnosticInfo, NodeClass } from "node-opcua-data-model"; import { DataValue, DataValueLike } from "node-opcua-data-value"; import { make_debugLog, make_errorLog...
the_stack
import { Posts } from './collections/posts/collection'; import { forumTypeSetting, PublicInstanceSetting, hasEventsSetting, taggingNamePluralSetting, taggingNameIsSet, taggingNamePluralCapitalSetting, taggingNameCapitalSetting } from './instanceSettings'; import { legacyRouteAcronymSetting } from './publicSettings'; im...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { LoadBalancerBackendAddressPools } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { NetworkManagementClient...
the_stack
* @module Tools */ import { DialogItem, DialogItemValue, DialogProperty, DialogPropertySyncItem } from "@itwin/appui-abstract"; import { assert } from "@itwin/core-bentley"; import { GeometryStreamProps, IModelError } from "@itwin/core-common"; import { Point2d, Point3d, PolygonOps, XAndY } from "@itwin/core-ge...
the_stack
import * as aws from "@pulumi/aws"; import * as pulumi from "@pulumi/pulumi"; export type EsDomain = aws.elasticsearch.Domain | pulumi.Output<aws.elasticsearch.GetDomainResult>; class Policies { private readonly awsRegion: string; private readonly callerIdentityOutput: pulumi.Output<aws.GetCallerIdentityResul...
the_stack
import { BaseHandler, clearArray, Disposable, EditString, IDisposable, ImmediateDisposable, MoveArrayValue, NoUpdate, ObjectStateHandler, OptionalStateView, setValue, StateHandler, StateView, UpdatePartial, UpdateResult, } from "."; import {ClientResult, Compi...
the_stack
import app, { Component } from '../src/apprun'; app.on('hi', _ => { }) app.on('debug', _ => { }); class TestComponent extends Component { state = 'x'; view = (state) => state update = { 'hi': (state, value) => value, '#hi': (state, value) => value, 'hiNull': (state, value) => null, 'hiAsync': ...
the_stack
import * as coreClient from "@azure/core-client"; import * as coreAuth from "@azure/core-auth"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; import { LroImpl } from "./lroImpl"; import { ServersImpl, ReplicasImpl, FirewallRulesImpl, VirtualNetworkRulesImpl, DatabasesImpl, Con...
the_stack