text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import * as request from 'request'; import { Buffer } from 'buffer'; import { merge, Observable, of, throwError } from 'rxjs'; import { filter, flatMap, map, tap } from 'rxjs/operators'; import { Cookie, RxCookieJar } from './rx-cookie-jar'; import RequestAPI = request.RequestAPI; import Request = request.Request; i...
the_stack
import { minifyJSON } from './helpers/json.util'; import { minifyCSS } from './helpers/css.util'; const postcss = require('postcss'); const fs = require('fs-extra'); const THEMIFY = 'themify'; const JSToSass = require('./helpers/js-sass'); export interface ThemifyOptions { /** * Whether we would like to generate...
the_stack
import fetch from "node-fetch"; import TasitAction from "@tasit/action"; const { ConfigLoader, ERC20, ERC721, Marketplace: MarketplaceContracts, ProviderFactory } = TasitAction; const { Mana } = ERC20; const { Estate, Land } = ERC721; const { Decentraland } = MarketplaceContracts; import TasitContracts fr...
the_stack
import { getTests, Test } from "./tests" import colors from 'colors/safe' import util from 'util' import fs from 'fs' import os from 'os' import temp from 'temp' import defaultPrint from './print' import Streams from 'memory-streams' import { compare as compareAsync, compareSync as compareSync, Statistics, Result } fro...
the_stack
interface ServiceWorkerEvent extends Event { waitUntil<U>(promise: Promise<U>): void; respondWith(response: Promise<Response>): void; request: Request; } interface ServiceWorkerScope { clients: ServiceWorkerClients; } interface ServiceWorkerClients { matchAll(): Promise<ServiceWorkerClient[]>; ...
the_stack
import { Parameters } from "./parameters"; interface URIObject { scheme: string; user: string | undefined; host: string; port: number | undefined; } /** * URI. * @public */ export class URI extends Parameters { public headers: {[name: string]: Array<string>} = {}; private normal: URIObject; private r...
the_stack
import * as path from 'path'; import * as util from 'util'; import * as os from 'os'; import * as crypto from 'crypto'; import * as BBPromise from 'bluebird'; import * as _ from 'lodash'; // Local // New messages (move to this) import { LoggerLevel, Messages, SfdxError } from '@salesforce/core'; BBPromise.promisifyAll(...
the_stack
import { click as untrackedClick, fillIn } from '@ember/test-helpers'; import { setupMirage } from 'ember-cli-mirage/test-support'; import { percySnapshot } from 'ember-percy'; import { module, test } from 'qunit'; import Collection from 'ember-osf-web/models/collection'; import CollectionProvider from 'ember-osf-web/...
the_stack
| Copyright (c) 2014-2017, PhosphorJS Contributors | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |----------------------------------------------------------------------------*/ import { ArrayExt } from '@lumino/algorithm'; im...
the_stack
import path from 'path' import { Plugin } from '../plugin' import { ViteDevServer } from '../server' import { OutputAsset, OutputBundle, OutputChunk } from 'rollup' import { cleanUrl, generateCodeFrame, isDataUrl, isExternalUrl, normalizePath, processSrcSet, slash } from '../utils' import { ResolvedConfig...
the_stack
import Displayable, { DisplayableProps, CommonStyleProps, DEFAULT_COMMON_STYLE, DisplayableStatePropNames, DEFAULT_COMMON_ANIMATION_PROPS } from './Displayable'; import Element, { ElementAnimateConfig } from '../Element'; import PathProxy from '../core/PathProxy'; import * as pathContain from '../contai...
the_stack
import {HttpClientModule} from '@angular/common/http'; import {HttpClientTestingModule} from '@angular/common/http/testing'; import {Component} from '@angular/core'; import {ComponentFixture, fakeAsync, flushMicrotasks, TestBed, tick} from '@angular/core/testing'; import {DomSanitizer} from '@angular/platform-browser';...
the_stack
import Debug from 'debug'; import events from 'events'; import SerialPort from 'serialport'; import Writer from './writer'; import Parser from './parser'; import Frame from './frame'; import PARAM from './constants'; import * as Events from '../../events'; import SerialPortUtils from '../../serialPortUtils'; import Soc...
the_stack
import { INodeProperties, } from 'n8n-workflow'; export const taskOperations: INodeProperties[] = [ { displayName: 'Operation', name: 'operation', type: 'options', displayOptions: { show: { resource: [ 'task', ], }, }, options: [ { name: 'Create', value: 'create', descri...
the_stack
import * as svgCaptcha from 'svg-captcha' import { User, Notification, Logger, Organization, Repository } from '../models' import router from './router' import { Model } from 'sequelize-typescript' import Pagination from './utils/pagination' import { QueryInclude } from '../models' import { Op } from 'sequelize' import...
the_stack
"use strict"; /* * Copyright (C) 1998-2018 by Northwoods Software Corporation. All Rights Reserved. */ import * as go from "../release/go"; export class ExtendedBrush extends go.Brush { private _UNITS: Array<string>; constructor(type: string) { super(); if (arguments.length === 0) go.Brush.call(this); el...
the_stack
import 'chrome://resources/cr_elements/shared_vars_css.m.js'; import 'chrome://resources/polymer/v3_0/iron-list/iron-list.js'; import './shared_style.js'; import './strings.m.js'; import './item.js'; import {CrA11yAnnouncerElement} from 'chrome://resources/cr_elements/cr_a11y_announcer/cr_a11y_announcer.js'; import {a...
the_stack
import { XMLBuilderCreateOptions, ExpandObject, XMLBuilder, WriterOptions, XMLBuilderOptions, DefaultBuilderOptions, DocumentWithSettings, XMLBuilderOptionKeys, XMLWriterOptions, JSONWriterOptions, ObjectWriterOptions, XMLSerializedAsObject, XMLSerializedAsObjectArray, MapWriterOptions, XMLSerializedAsMap, XM...
the_stack
import { CodeListing } from "code_listing/code_listing"; let codeListing; beforeEach(() => { // Mock MathJax window.MathJax = {} as MathJaxObject; // Mock typeset function of MathJax window.MathJax.typeset = () => ""; document.body.innerHTML = ` <a href="#" data-bs-toggle="tab">Code <span cla...
the_stack
declare namespace samsam{ // samsam.isArguments.!0 /** * */ interface IsArguments0 { } } declare namespace samsam{ // samsam.keys.!ret type KeysRet = Array<any>; } declare namespace formatio{ // formatio.configure.!0 /** * */ interface Configure0 { /** * */ quoteStrings : boolean;...
the_stack
import type { InjectedOptionsParam, InjectedDependenciesParam, PineTypedResult, } from '..'; import type { Device } from '../types/models'; import { isNotFoundResponse, treatAsMissingDevice, withSupervisorLockedError, } from '../util'; import { ensureVersionCompatibility } from '../util/device-os-version'; imp...
the_stack
import { Directive, NgModule, Input, QueryList, Output, EventEmitter, AfterContentInit, ContentChildren, OnDestroy, HostBinding } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { IgxRadioComponent, RadioLabelPosition, IChang...
the_stack
import { Component, h, RenderableProps } from 'preact'; import * as accountApi from '../../api/account'; import { Input } from '../../components/forms'; import { translate, TranslateProps } from '../../decorators/translate'; import A from '../anchor/anchor'; import { Dialog } from '../dialog/dialog'; import { CopyableI...
the_stack
import { GM_addStyle, GM_xmlhttpRequest } from '../@types/tm_f' const W = typeof unsafeWindow === 'undefined' ? window : unsafeWindow let gInputUSDCNY: HTMLInputElement let gDivLastChecked: HTMLDivElement let gInputAddCent: HTMLInputElement let gSpanQuickSurplus: HTMLSpanElement let gSpanQuickError: HTMLSpanElement co...
the_stack
import { b64string, generichash, ready as cryptoReady, utils } from '@tanker/crypto'; import { InvalidArgument } from '@tanker/errors'; import { expect } from '@tanker/test-utils'; import { obfuscateUserId, createIdentity, createProvisionalIdentity, getPublicIdentity, } from '@tanker/identity'; import { _deseria...
the_stack
import { createMemoryHistory } from 'history'; import type { CreateRouterOptions, RoutesConfig, State } from '../../types'; import { createRouter } from '../createRouter'; import { locationsMatch } from '../locationsMatch'; import { matchRoutes } from '../matchRoutes'; import { prepareMatch } from '../prepareMatch'; im...
the_stack
import path from 'path' import { createLambda, BuildOptions, download, File, FileBlob, FileFsRef, glob, getNodeVersion, getSpawnOptions, Lambda, runNpmInstall, runPackageJsonScript } from '@vercel/build-utils' import type { Route } from '@vercel/routing-utils' import consola from 'consola' import fs from 'fs-extra' im...
the_stack
import { define } from 'elements-sk/define'; import { html } from 'lit-html'; import { errorMessage } from 'elements-sk/errorMessage'; import 'elements-sk/tabs-sk'; import 'elements-sk/tabs-panel-sk'; import { TabsSk } from 'elements-sk/tabs-sk/tabs-sk'; import 'elements-sk/checkbox-sk'; import { CheckOrRadio } from 'e...
the_stack
import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core'; import { debounceTime, filter, tap } from 'rxjs/operators'; import { Ng2SmartTableComponent } from 'ng2-smart-table'; import { NbDialogService } from '@nebular/theme'; import { IProposal, ComponentLayoutStyleEnum, IOrganization, IProposalViewM...
the_stack
declare namespace Box2D.Common { /** * Color for debug drawing. Each value has the range [0, 1]. **/ export class b2Color { /** * Red **/ public r: number; /** * Green **/ public g: number; /** * Blue **/ ...
the_stack
import * as functions from "firebase-functions"; import * as admin from "firebase-admin"; admin.initializeApp(); import Stripe from "stripe"; const stripe = process.env.FUNCTIONS_EMULATOR ? (null as any) : new Stripe(functions.config().stripe.secret, { apiVersion: "2020-08-27", }); import { generateDeck...
the_stack
import SearchBar from "./core/search/SearchBar"; import BootstrapDatepicker from "./libs/datepicker/BootstrapDatepicker"; import Scrollbar from "./libs/scrollbar/Scrollbar"; import WindowEvents from "./core/ui/WindowEvents"; import DocumentEvents ...
the_stack
import ProfileInstallerProvider from '../../../providers/ror2/installing/ProfileInstallerProvider'; import ManifestV2 from '../../../model/ManifestV2'; import FileTree from '../../../model/file/FileTree'; import R2Error from '../../../model/errors/R2Error'; import Profile from '../../../model/Profile'; import ModLoader...
the_stack
import { axisTop } from 'd3-axis'; import { scaleTime, ScaleTime } from 'd3-scale'; import { select, Selection } from 'd3-selection'; import { timeDay, timeHour, timeMonday, timeMonth, timeWeek, timeYear, TimeInterval } from 'd3-time'; import { timeFormat } from 'd3-time-format'; import { zoom, D3ZoomEvent, ZoomBehavio...
the_stack
import { assert } from "chai"; import { AbstractMeasurer, Measurer, SingleLineWrapper, SvgContext, Wrapper, } from "../src"; import { d3Selection, generateSVG } from "./utils"; describe("Wrapper Test Suite", () => { let wrapper: Wrapper; let measurer: AbstractMeasurer; let svg: d3Selection<any>; be...
the_stack
import * as coreClient from "@azure/core-client"; export interface AdapterInformationListDataResult { code?: number; status?: string; /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly data?: AdapterInformation[]; location?: string; } export interface...
the_stack
import { BlockDocunment, BlockGraphDocunment, BlockGraphVariable } from "../Define/BlockDocunment"; import { BlockPortRegData, BlockRegData } from "../Define/BlockDef"; import { BlockEditor } from "../Editor/BlockEditor"; import BlockServiceInstance from "../../sevices/BlockService"; import StringUtils from "../../util...
the_stack
import * as Host from '../../core/host/host.js'; import * as i18n from '../../core/i18n/i18n.js'; import type * as Platform from '../../core/platform/platform.js'; import * as ARIAUtils from './ARIAUtils.js'; import {AnchorBehavior, GlassPane, MarginBehavior, PointerEventsBehavior, SizeBehavior} from './GlassPane.js';...
the_stack
import { ForceIgnore } from '@salesforce/source-deploy-retrieve/lib/src/metadata-registry/forceIgnore'; import { AsyncCreatable } from '@salesforce/kit'; import { Logger, SfdxProject } from '@salesforce/core'; import MetadataRegistry = require('./metadataRegistry'); import { WorkspaceFileState } from './workspaceFileSt...
the_stack
import XEUtils from 'xe-utils' import { simpleDebounce } from '/@/utils/common/compUtils' import { JVxeDataProps, JVxeRefs, JVxeTableProps, JVxeTypes } from '../types' import { getEnhanced } from '../utils/enhancedUtils' import { VxeTableInstance, VxeTablePrivateMethods } from 'vxe-table' import { cloneDeep } from 'lod...
the_stack
module dragonBones { /** *@class dragonBones.DataParser * @classdesc * 老版本数据解析 */ export class Data3Parser{ private static tempDragonBonesData:DragonBonesData; public static parseDragonBonesData(rawDataToParse:any):DragonBonesData{ if(!rawDataToParse){ throw new Error(); } var version:s...
the_stack
import { addMinutes } from 'date-fns'; import { RevisionInfo, RevisionInfoProps, } from '@/shared/models/revision-info.model'; import { FeedPage, FeedPageProps } from '@/shared/models/feed-page.model'; import { MwActionApiClient, MwPageInfo } from '@/shared/mwapi'; import { feedRevisionEngineLogger } from '../comm...
the_stack
import * as assert from 'assert'; import * as Azure from 'azure-storage'; import { execFile } from 'child_process'; import find from 'find-process'; import { BlobServiceClient, newPipeline as blobNewPipeline, StorageSharedKeyCredential as blobStorageSharedKeyCredential } from '@azure/storage-blob'; import { ...
the_stack
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
the_stack
import { AxiosRequestConfig, AxiosResponse } from 'axios'; import { Accounts } from './api/Accounts'; import { Events } from './api/Events'; import { Transactions } from './api/Transactions'; import { HttpClient, RequestParams } from './api/http-client'; import { HexString, MaybeHexString } from './hex_string'; import ...
the_stack
import { Platform, PropertyExt, Utility } from "@hpcc-js/common"; import { Modal, Surface } from "@hpcc-js/layout"; import { Persist } from "@hpcc-js/other"; import { map as d3Map } from "d3-collection"; import { select as d3Select } from "d3-selection"; import { FlyoutButton } from "./FlyoutButton"; import * as HipieD...
the_stack
import { $Children } from '../component/Children' import { Moment } from '../debug/Moment' import { UnitMoment } from '../debug/UnitMoment' import { $Component } from '../interface/async/$Component' import { $Graph } from '../interface/async/$Graph' import { NOOP } from '../NOOP' import { Pod } from '../pod' import { e...
the_stack
import { AppUserConfigs } from '@logseq/libs/dist/LSPlugin.user'; import { ISchedule } from 'tui-calendar' import { flattenDeep, get, has } from 'lodash' import { endOfDay, formatISO, parse } from 'date-fns' import dayjs, { Dayjs } from 'dayjs' import { getInitalSettings } from './baseInfo' import { ICategory, IQueryWi...
the_stack
import {browser, element, by, protractor, ElementArrayFinder} from 'protractor'; import * as moment from 'moment/moment'; import { waitForElementVisibility, waitForElementPresence, waitForElementInVisibility, waitForText, waitForCssClass, waitForCssClassNotToBePresent, waitForTextChange, waitForStalenessOf, reduc...
the_stack
import * as fs from 'fs'; import * as nodePath from 'path'; import * as fastGlob from 'fast-glob'; import { ts } from 'ts-morph'; import { TextDocument } from 'vscode-languageserver-textdocument'; import { Logger } from '../common/logging/logger'; import { UriUtils } from '../common/view/uri-utils'; import { Docume...
the_stack
import { AST_TOKEN_TYPES, createEntity, DataType, GLSLContext, IComputeModel, STORAGE_CLASS, } from '@antv/g-webgpu-core'; import { isTypedArray } from 'lodash'; import regl from 'regl'; import quadVert from './shaders/quad.vert.glsl'; interface DataTextureDescriptor { id: number; data: | number ...
the_stack
import { $, append, createStyleSheet, EventHelper, EventLike, getElementsByTagName } from 'vs/base/browser/dom'; import { DomEmitter } from 'vs/base/browser/event'; import { EventType, Gesture, GestureEvent } from 'vs/base/browser/touch'; import { Delayer } from 'vs/base/common/async'; import { memoize } from 'vs/base/...
the_stack
import { ArgumentNode, ASTNode, DefinitionNode, DirectiveNode, DocumentNode, FieldNode, FragmentDefinitionNode, FragmentSpreadNode, GraphQLError, InlineFragmentNode, Kind, OperationDefinitionNode, parse, SelectionNode, SelectionSetNode } from "graphql"; import { baseType, Directive, ...
the_stack
import React from 'react'; import { Components, registerComponent } from '../../lib/vulcan-lib'; import { Link } from '../../lib/reactRouterWrapper'; import { useCurrentUser } from '../common/withUser' import {AnalyticsContext} from "../../lib/analyticsEvents"; import type { RecommendationsAlgorithm } from '../../lib/c...
the_stack
import { JsPsych, JsPsychPlugin, ParameterType, TrialType } from "jspsych"; const info = <const>{ name: "image-button-response", parameters: { /** The image to be displayed */ stimulus: { type: ParameterType.IMAGE, pretty_name: "Stimulus", default: undefined, }, /** Set the image ...
the_stack
import { ISPHttpClientOptions, MSGraphClient, SPHttpClient, SPHttpClientResponse } from "@microsoft/sp-http"; import "@pnp/sp/lists"; import { sp } from "@pnp/sp/presets/all"; import "@pnp/sp/views"; import { Web } from "@pnp/sp/webs"; import { initializeIcons } from "@uifabric/icons"; import "bootstrap/dist/css/bo...
the_stack
import * as ts from 'typescript'; import * as fs from 'fs-extra'; import { spawn } from 'cross-spawn'; import { Emitter } from './emitter'; import { Helpers } from './helpers'; export enum ForegroundColorEscapeSequences { Grey = '\u001b[90m', Red = '\u001b[91m', Green = '\u001b[92m', Yellow =...
the_stack
import { format, isNullOrUndefined } from "util"; import * as moment from "moment"; import * as chalk from "chalk"; /** * Class to contain writing log messages * @export * @class Logger */ export class Logger { /** * Supported levels of logging * @static * @memberof Logger */ public st...
the_stack
// <copyright file="configure-preference" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> import * as React from 'react'; import * as microsoftTeams from "@microsoft/teams-js"; import { Flex, Text, Dropdown, RadioGroup, Loader, Button } from "@fluentui/react-northstar"; import { ...
the_stack
import * as mongoose from 'mongoose' import { TransactionModel, Operation, Status } from './mongooseTransactions.collection' /** Class representing a transaction. */ export default class Transaction { /** Index used for retrieve the executed transaction in the run */ private rollbackIndex = 0 ...
the_stack
import { assert, expect } from "chai"; import { classModifierToString, containerTypeToString, CustomAttributeContainerType, ECClassModifier, parseClassModifier, parseCustomAttributeContainerType, parsePrimitiveType, parseRelationshipEnd, parseSchemaItemType, parseStrength, parseStrengthDirection, PrimitiveType, pri...
the_stack
import { throttle } from 'lodash'; import { ClientReadableStream, Status, Error as GRPCError } from 'grpc-web'; import { GetEventsRequest, GetEventsResponse, EventType, EventFilter, ServiceState, ServiceLinkState, K8sNamespaceState, Flows as PBFlows, } from '~backend/proto/ui/ui_pb'; import { Notifica...
the_stack
describe('Liquid', () => { const baseModule = Cypress.env("BASE_MODULE"); const basePath = ''; beforeEach(() => { cy.intercept('/liquid/api/block/**').as('block'); cy.intercept('/liquid/api/blocks/').as('blocks'); cy.intercept('/liquid/api/tx/**/outspends').as('outspends'); cy.intercept('/liquid/...
the_stack
import { Rect, equalRect } from "../../frontend/src/board/geometry" import { AppEvent, Board, Id, Item, getItem, findItem, findItemIdsRecursively, isBoardHistoryEntry, PersistableBoardItemEvent, isTextItem, TextItem, Connection, isContainedBy, MoveItem, Connec...
the_stack
export declare class TerminatablePromise<T> extends Promise<T> { terminate(value: T): void } export declare interface ChainableFunction { (...params: any[]) : TerminatablePromise<any> join(promise: TerminatablePromise<unknown>) : TerminatablePromise<unknown> } export declare function forEach(collection: a...
the_stack
import React, { useState, useMemo, useEffect, useRef, useCallback, } from 'react'; import { useLocation, useParams } from 'react-router-dom'; import some from 'lodash/some'; import uniq from 'lodash/uniq'; import max from 'lodash/max'; import useMediaQuery from '@material-ui/core/useMediaQuery'; import { useT...
the_stack
import objectPath from 'object-path'; import util from 'util'; import type { GraphQLFieldConfigArgumentMap, GraphQLArgumentConfig, GraphQLOutputType, GraphQLFieldConfig, GraphQLInputType, GraphQLResolveInfo, GraphQLFieldResolver, } from './graphql'; import { ObjectTypeComposer } from './ObjectTypeComposer...
the_stack
import { RolloutStrategy, RolloutStrategyAttribute, RolloutStrategyAttributeConditional, RolloutStrategyFieldType } from './models'; import compareSemver from 'semver-compare'; import { Netmask } from 'netmask'; // this library is not node specific import { v3 as murmur3 } from 'murmurhash'; import { ClientC...
the_stack
import * as template from "../../src/template"; import {Contest, Task} from "../../src/project"; import {AtCoder} from "../../src/atcoder"; import {getConfigDirectory} from "../../src/config"; import {importFsExtra} from "../../src/imports"; import {resolve} from "path"; import {promisify} from "util"; import {readFile...
the_stack
import Web3 from 'web3'; import RewardPoolABI from '../../contracts/abi/v0.8.7/reward-pool'; import { Contract, ContractOptions } from 'web3-eth-contract'; import { getAddress } from '../../contracts/addresses'; import { AbiItem, fromWei, toWei } from 'web3-utils'; import { signRewardSafe, signSafeTx, createEIP1271Veri...
the_stack
import { ArgumentNullError, ConnectionMessage, ConnectionOpenResponse, ConnectionState, CreateNoDashGuid, Deferred, Events, IAudioSource, IAudioStreamNode, IConnection, IDetachable, IEventSource, IStreamChunk, MessageType, PlatformEvent, Promise, Promi...
the_stack
import { crypto } from "bitcoinjs-lib"; import { pointCompress, pointAddScalar } from "tiny-secp256k1"; import semver from "semver"; import { getXpubComponents, hardenedPathOf, pathArrayToString, pathStringToArray, pubkeyFromXpub, } from "./bip32"; import { BufferReader, BufferWriter } from "./buffertools"; i...
the_stack
import { bind, cloneDeep, defaults, each, keys, uniqueId } from 'lodash'; import { AsyncSubject, BehaviorSubject, Observable, Subject, Subscription } from 'rxjs'; import { CompositeDisposable, IDisposable } from 'ts-disposables'; import { QueueProcessor } from '../helpers/QueueProcessor'; import { CommandContext } fro...
the_stack
import * as vscode from 'vscode'; import {CoqLanguageServer} from './CoqLanguageServer'; interface TriggerSnippet { label:string, insertText: string, completion?: vscode.CompletionItem[], detail?: string, } type Snippet = string | {label: string, insertText: string, documentation?: string}; function snippe...
the_stack
import BoxClient from '../box-client'; import urlPath from '../util/url-path'; // ----------------------------------------------------------------------------- // Typedefs // ----------------------------------------------------------------------------- type CollaborationRole = any /* FIXME */; type ItemType = 'folder...
the_stack
import bowser from 'bowser'; import { isClient, isServer } from '../../executionEnvironment'; import { userHasCkCollaboration } from "../../betas"; import { forumTypeSetting } from "../../instanceSettings"; import { getSiteUrl } from '../../vulcan-lib/utils'; import { mongoFind, mongoAggregate } from '../../mongoQuerie...
the_stack
import { types } from "@algo-builder/runtime"; import { ERRORS, tx as webTx, types as wtypes } from "@algo-builder/web"; import algosdk, { decodeSignedTransaction, encodeAddress, makeAssetCreateTxn, Transaction } from "algosdk"; import { assert } from "chai"; import { isArray } from "lodash"; import sinon from 'sinon';...
the_stack
module Kiwi.Time { /** * The Clock class offers a way of tracking time within a game. * When creating a new Clock you should NOT directly instantiate this class * but instead use the addClock method on a ClockManager. * - The MasterClock is a property of the Kiwi.Time.Manager class and tracks * real world time...
the_stack
import { OrderErrorCode, OrderEventsEmailsEnum, OrderEventsEnum, FulfillmentStatus, PaymentChargeStatusEnum, OrderStatus, OrderAction, JobStatusEnum } from "./../../types/globalTypes"; // ==================================================== // GraphQL mutation operation: OrderLineDiscountDelete // ====================...
the_stack
import { CFB$Container, CFB$Entry } from 'cfb'; import { WorkBook, WorkSheet, Range, CellObject } from '../'; import type { utils } from "../"; declare var encode_cell: typeof utils.encode_cell; declare var encode_range: typeof utils.encode_range; declare var book_new: typeof utils.book_new; declare var book_append_sh...
the_stack
import { isNullOrUndefined, _InternalMessageId, hasDocument, hasOwnProperty, arrForEach } from "@microsoft/applicationinsights-core-js"; import { IClickAnalyticsConfiguration } from "../Interfaces/Datamodel"; const Prototype = "prototype"; const DEFAULT_DONOT_TRACK_TAG = "ai-dnt"; const DEFAULT_AI_BLOB_ATTRIBUTE_...
the_stack
import { FilterOptions, RunWorkflowOptions, SourceOptions, StepOptions, WorkflowOptions, } from "./interface.ts"; import { hasPermissionSlient } from "./permission.ts"; import { Context, StepType } from "./internal-interface.ts"; import { parseWorkflow } from "./parse-workflow.ts"; import { getContent } from ...
the_stack
import * as Yup from "yup"; import { addMethod, ArraySchema, mixed, number, object, Schema, string, ValidationError } from "yup"; addMethod(object, "unique", function (propertyName, message) { //@ts-ignore return this.test("unique", message, function (value) { if (!value || !value[propertyName]) { return...
the_stack
import 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.js'; import 'chrome://resources/cr_elements/cr_button/cr_button.m.js'; import 'chrome://resources/cr_elements/cr_dialog/cr_dialog.m.js'; import 'chrome://resources/cr_elements/cr_icon_button/cr_icon_button.m.js'; import 'chrome://resources/cr_elements...
the_stack
import express from "express"; import { Maybe } from "tsmonad"; import Database from "./Database"; import { PublicUser } from "magda-typescript-common/src/authorization-api/model"; import { getUserIdHandling } from "magda-typescript-common/src/session/GetUserId"; import GenericError from "magda-typescript-common/src/a...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type CollectionTestsQueryVariables = {}; export type CollectionTestsQueryResponse = { readonly marketingCollection: { readonly " $fragmentRefs": FragmentRefs<"Collection_collection">; } | null; }; expor...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormProperty { interface tab_dynamic_property_properties_Sections { dynamic_property_properties_2: DevKit.Controls.Section; dynamic_property_properties_3: DevKit.Controls.Section; dynamic_property_properties_41: DevKit.Con...
the_stack
import { find, head } from 'ramda'; import { commands, Disposable, TextEditor, window, Selection, Position, } from 'vscode'; import { AreaIndexFinder } from './area-index-finder'; import { Config } from './config/config'; import { asyncDebounce } from './debounce'; import { InlineInput } from './inline-inpu...
the_stack
import {UserPrefRepo} from './UserPrefRepo'; import {IssueEntity} from '../Library/Type/IssueEntity'; import {RemoteIssueEntity} from '../Library/Type/RemoteGitHubV3/RemoteIssueEntity'; import {GitHubUtil} from '../Library/Util/GitHubUtil'; import {StreamIssueRepo} from './StreamIssueRepo'; import {DateUtil} from '../L...
the_stack
import { App, DropdownComponent, PluginSettingTab, Setting } from 'obsidian'; import type MemosPlugin from './index'; import memoService from './services/memoService'; import { t } from './translations/helper'; import { getDailyNotePath } from './helpers/utils'; export interface MemosSettings { StartDate: string; ...
the_stack
* Interface implemented by TypeScript objects that have an HTML rendering. * This returns the root of the HTML rendering. */ export interface IHtmlElement { getHTMLRepresentation(): HTMLElement; } export interface IAppendChild { appendChild(elem: HTMLElement): void; } export interface ErrorReporter { re...
the_stack
import { ATN } from "antlr4ts/atn/ATN"; import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer"; import { FailedPredicateException } from "antlr4ts/FailedPredicateException"; import { NotNull } from "antlr4ts/Decorators"; import { NoViableAltException } from "antlr4ts/NoViableAltException"; import { Override } f...
the_stack
import Cell from '../cell/Cell'; import CellArray from '../cell/CellArray'; import Rectangle from '../geometry/Rectangle'; import Dictionary from '../../util/Dictionary'; import RootChange from '../undoable_changes/RootChange'; import ChildChange from '../undoable_changes/ChildChange'; import { Graph } from '../Graph';...
the_stack
import 'chrome://resources/cr_elements/cr_lazy_render/cr_lazy_render.m.js'; import 'chrome://resources/cr_elements/hidden_style_css.m.js'; import 'chrome://resources/cr_elements/shared_vars_css.m.js'; // <if expr="not chromeos and not lacros"> import './destination_dialog.js'; // </if> // <if expr="chromeos_ash or chro...
the_stack
import axios from "axios"; import { autobind, throttle } from "core-decorators"; import * as _ from "lodash"; import { action, computed, observable } from "mobx"; import { IPodcastContactFields } from "../components/admin/forms/PodcastContactForm"; import { IPodcastDesignFields } from "../components/admin/forms/Podcast...
the_stack
import { EditorState, TextSelection, Transaction, Plugin, } from "prosemirror-state"; import { createMenuPlugin, makeMenuIcon, makeMenuLinkEntry, makeMenuSpacerEntry, addIf, MenuCommand, } from "../shared/menu"; import { EditorView } from "prosemirror-view"; import { imageUpl...
the_stack
export function polyfill(w: Window = window, d = document) { // return if scroll behavior is supported and polyfill is not forced if ( 'scrollBehavior' in d.documentElement.style && w.__forceSmoothScrollPolyfill__ !== true ) { return; } // globals var Element = w.HTMLElement || w.Element; var...
the_stack
import { CommonOffset } from "@akashic/pdi-types"; /** * 変換行列を表すインターフェース。 * 通常ゲーム開発者が本インターフェースを直接利用する事はない。 */ export interface Matrix { /** * 変更フラグ。 * 本フラグが立っていても特に何も処理はされない。 * 本フラグの操作、本フラグを参照して値を再計算することは、いずれも利用する側で適切に処理をする必要がある。 * @private */ _modified: boolean; /** * 変換本体。 * CanvasRenderingConte...
the_stack
export default { sum__num: [ { group: ['Christopher'], values: [ { x: -157766400000.0, y: null, }, { x: -126230400000.0, y: null, }, { x: -94694400000.0, y: null, }, { x: -6315...
the_stack
import { ActionSummary, TableDelta } from 'app/common/ActionSummary'; import { delay } from 'app/common/delay'; import { fromTableDataAction, RowRecord, TableColValues, TableDataAction } from 'app/common/DocActions'; import { StringUnion } from 'app/common/StringUnion'; import { MetaRowRecord } from 'app/common/TableDa...
the_stack