text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import * as _ from 'underscore'; import { BasicSelectionModel, TextRenderer } from '@lumino/datagrid'; import { CellRenderer } from '@lumino/datagrid'; import { JSONExt } from '@lumino/coreutils'; import { MessageLoop } from '@lumino/messaging'; import { Widget } from '@lumino/widgets'; import { DOMWidgetModel,...
the_stack
import { AfterViewInit, ChangeDetectorRef, Component, EventEmitter, Output } from '@angular/core'; import { List } from '../../list/model/list'; import { PricingService } from '../pricing.service'; import { getItemSource, ListRow } from '../../list/model/list-row'; import { MediaObserver } from '@angular/flex-layout'; ...
the_stack
import { AbortOptions, IPFSPath } from '../utils' import CID, { CIDVersion } from 'cids' import { CodecName } from 'multicodec' import { HashName } from 'multihashes' import { Mtime, MtimeLike } from 'ipfs-unixfs' import type { AddProgressFn } from '../root' export interface API<OptionExtension = {}> { /** * Chan...
the_stack
import { EventEmitter } from 'events'; import contractsMap from '@metamask/contract-metadata'; import { abiERC721 } from '@metamask/metamask-eth-abis'; import { v1 as random } from 'uuid'; import { Mutex } from 'async-mutex'; import { ethers } from 'ethers'; import { BaseController, BaseConfig, BaseState } from '../Bas...
the_stack
import { RTreeIndex } from '../rtree/rtreeIndex'; import { BaseExtension } from '../baseExtension'; import { GeoPackage } from '../../geoPackage'; import { Extension } from '../extension'; import { TableIndex } from './tableIndex'; import { FeatureDao } from '../../features/user/featureDao'; import { GeometryIndexDao }...
the_stack
* @module Editing */ import { BeDuration, BeEvent, BentleyError } from "@itwin/core-bentley"; import { Cartographic, ColorDef, EcefLocation, EcefLocationProps } from "@itwin/core-common"; import { BeButton, BeButtonEvent, BriefcaseConnection, CoreTools, DecorateContext, EditManipulator, EventHandled, GraphicType, H...
the_stack
import {assert} from 'chrome://resources/js/assert.m.js'; import {Action} from 'chrome://resources/js/cr/ui/store.js'; import {FilePath} from 'chrome://resources/mojo/mojo/public/mojom/base/file_path.mojom-webui.js'; import {Url} from 'chrome://resources/mojo/url/mojom/url.mojom-webui.js'; import {CurrentWallpaper, Wa...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Topics } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { EventGridManagementClient } from "../eventGridMa...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Provides an AWS EBS Volume Attachment as a top level resource, to attach and * detach volumes from AWS Instances. * * > **NOTE on EBS block devices:** If you use `ebsBlockDevice` on an `aws.ec2.Instance`, this provider will ...
the_stack
/// <reference path="../core/UIComponent.ts" /> namespace eui { let UIImpl = sys.UIComponentImpl; /** * BitmapLabel is one line or multiline uneditable BitmapText * @version Egret 2.5.3 * @version eui 1.0 * @platform Web,Native * @language en_US */ /** * BitmapLabel 组件是一行或...
the_stack
import snowflake, { Column, Connection, Statement } from 'snowflake-sdk'; import { BaseDriver, DownloadTableCSVData, DriverInterface, GenericDataBaseType, StreamTableData, UnloadOptions, } from '@cubejs-backend/query-orchestrator'; import * as crypto from 'crypto'; import { formatToTimeZone } from 'date-fns-t...
the_stack
import { TranslationSectionDefinition } from "@/types"; const SECTIONS: TranslationSectionDefinition[] = [{ title: "Common - Ranked Tiers", description: "The names of the 10 different ranked tiers, used in various places.", // <editor-fold defaultstate="collapsed" desc="Common - Ranked Tiers"> keyGroup...
the_stack
import color from '@heroku-cli/color' import {APIClient} from '@heroku-cli/command' import {IOptions} from '@heroku-cli/command/lib/api-client' import {Notification, notify} from '@heroku-cli/notifications' import {Dyno as APIDyno} from '@heroku-cli/schema' import {spawn} from 'child_process' import cli from 'cli-ux' i...
the_stack
* Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use t...
the_stack
import { Choice, PromptConfig } from "../types/core" import { EditorConfig } from "../types/app" import { Observable, merge, NEVER, of } from "rxjs" import { filter, map, share, switchMap, take, takeUntil, tap, } from "rxjs/operators" import stripAnsi from "strip-ansi" import { Mode, Channel, UI } from ...
the_stack
import { Chain } from '../classes/Chain' import Pose, { BoneTransform } from '../classes/Pose' import { Quaternion, Vector3, Matrix4 } from 'three' import { Axis } from '../classes/Axis' import { cosSSS } from './IKFunctions' import { IKRigComponentType } from '../components/IKRigComponent' import { CameraIKComponentTy...
the_stack
import {LocationManager} from '../../../../../src/backend/model/database/LocationManager'; import {SearchManager} from '../../../../../src/backend/model/database/sql/SearchManager'; import {SearchResultDTO} from '../../../../../src/common/entities/SearchResultDTO'; import {Utils} from '../../../../../src/common/Utils';...
the_stack
import { OrganizationRequest, RequestParams, Role, Roles, UpdateMembersRequest, UserPayload, } from '@compito/api-interfaces'; import { ConflictException, ForbiddenException, HttpException, Injectable, InternalServerErrorException, NotFoundException, } from '@nestjs/common'; import { Prisma } fr...
the_stack
namespace Harness.SourceMapRecorder { interface SourceMapSpanWithDecodeErrors { sourceMapSpan: ts.Mapping; decodeErrors: string[] | undefined; } namespace SourceMapDecoder { let sourceMapMappings: string; let decodingIndex: number; let mappings: ts.Mapping...
the_stack
import { Injectable } from '@nestjs/common'; import * as os from 'os'; import * as path from 'path'; import * as fs from 'fs-extra'; import * as crypto from 'crypto'; import * as semver from 'semver'; import * as _ from 'lodash'; export interface HomebridgeConfig { bridge: { username: string; pin: string; ...
the_stack
import React from 'react'; import Page from '../Page'; import useToolkit from '../toolkit/useToolkit'; import selectableTextConfig from './cards/selectableTextConfig'; export default function PageFAQ() { const { Acronym, Admonition, Bold, Header, Paragraph, Chapter, SourceDisplay, Ref...
the_stack
import * as cfnspec from '@aws-cdk/cfnspec'; import * as colors from 'colors/safe'; import { PropertyChange, PropertyMap, ResourceChange } from '../diff/types'; import { DiffableCollection } from '../diffable'; import { renderIntrinsics } from '../render-intrinsics'; import { deepRemoveUndefined, dropIfEmpty, flatMap, ...
the_stack
import { AbstractControl, AbstractControlOptions, AsyncValidatorFn, FormArray, FormControl, FormGroup, ValidationErrors, ValidatorFn } from '@angular/forms'; import { ClassType, isFunction } from '@deepkit/core'; import { ReflectionClass, ReflectionKind, Type, ValidationErrorItem } from '@deepkit/type'; import { Subscr...
the_stack
* @module Tiles */ import { assert, BeDuration, BeTimePoint, ByteStream, Id64String, JsonUtils, utf8ToString } from "@itwin/core-bentley"; import { Point2d, Point3d, Range1d, Vector3d } from "@itwin/core-geometry"; import { nextPoint3d64FromByteStream, OctEncodedNormal, QParams3d, QPoint2d } from "@itwin/core-common";...
the_stack
import { WriteStream } from "fs"; import { GraphQLArgument, GraphQLField, GraphQLFieldMap, GraphQLInterfaceType, GraphQLList, GraphQLNamedType, GraphQLNonNull, GraphQLObjectType, GraphQLType, GraphQLUnionType } from "graphql"; import { targetTypeOf, instancePrefix } from "./Utils"; import { GeneratorConfig } from "./Ge...
the_stack
import { getRandStr, sleep } from '@cromwell/core'; import { serverMessages } from '@cromwell/core-backend/dist/helpers/constants'; import { getLogger } from '@cromwell/core-backend/dist/helpers/logger'; import { getServerBuildPath } from '@cromwell/core-backend/dist/helpers/paths'; import { ChildProcess, fork } from '...
the_stack
import { Grid } from '../../../src/grid/base/grid'; import { Column } from '../../../src/grid/models'; import { createElement, remove, EmitType } from '@syncfusion/ej2-base'; import { data, employeeData } from '../base/datasource.spec'; import { Freeze } from '../../../src/grid/actions/freeze'; import { Aggregate } fro...
the_stack
import { browser, by } from 'protractor'; import { AddFile } from '../component/add-file'; import { Editor } from '../component/editor'; import { EditorFile } from '../component/editor-file'; import { ErrorAlert } from '../component/error-alert'; import { Import } from '../component/import'; import { OperationsHelper }...
the_stack
import _ = require('lodash'); import net = require('net'); import tls = require('tls'); import http = require('http'); import http2 = require('http2'); import * as streams from 'stream'; import httpolyglot = require('@httptoolkit/httpolyglot'); import now = require("performance-now"); import { TlsRequest } from '../ty...
the_stack
import { PathExt, nbformat } from "@jupyterlab/coreutils"; import { ILayoutRestorer, JupyterFrontEndPlugin, JupyterFrontEnd } from '@jupyterlab/application'; import { //ICommandPalette, WidgetTracker, Clipboard, Dialog, showDialog, showErrorMessage } from '@jupyterlab/apputils'; import { ABCWidge...
the_stack
import {MessageData} from './ThreadData'; import {assert} from './utils'; const RE_FLAG_PATTERN = /^\/(.*)\/([gimuys]*)$/; enum ConditionType { AND, OR, NOT, SUBJECT, FROM, TO, CC, BCC, LIST, SENDER, RECEIVER, BODY, } /** * S expression represents condition in rule. * * Syntax: * CONDITION_EXP := (OPERATOR C...
the_stack
import { Validators as NativeValidators, AbstractControl } from '@angular/forms'; import { ValidatorFn, ValidationErrors, AsyncValidatorFn } from './types'; import { FormControl } from './form-control'; // Next flag used because of this https://github.com/ng-packagr/ng-packagr/issues/696#issuecomment-373487183 // @dy...
the_stack
import {aclColumnList} from 'app/client/aclui/ACLColumnList'; import {aclFormulaEditor} from 'app/client/aclui/ACLFormulaEditor'; import {aclSelect} from 'app/client/aclui/ACLSelect'; import {ACLUsersPopup} from 'app/client/aclui/ACLUsers'; import {PermissionKey, permissionsWidget} from 'app/client/aclui/PermissionsWid...
the_stack
module Fayde { export class UINode extends DONode { XObject: UIElement; LayoutUpdater: minerva.core.Updater; IsMouseOver: boolean = false; constructor(xobj: UIElement) { super(xobj); var upd = this.LayoutUpdater = xobj.CreateLayoutUpdater(); ...
the_stack
* This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; import { MediaCrossOriginOption, MediaPreloadOption } from "./components/providers/file/MediaFilePro...
the_stack
import { ActionButton } from '@libs/neumorphism-ui/components/ActionButton'; import { Dialog } from '@libs/neumorphism-ui/components/Dialog'; import { HorizontalGraphBar } from '@libs/neumorphism-ui/components/HorizontalGraphBar'; import { HorizontalRuler } from '@libs/neumorphism-ui/components/HorizontalRuler'; import...
the_stack
declare var global: any; import { TypedHash } from "../collections/collections"; import { RuntimeConfig } from "../configuration/pnplibconfig"; export function extractWebUrl(candidateUrl: string) { if (candidateUrl === null) { return ""; } const index = candidateUrl.indexOf("_api/"); if (ind...
the_stack
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config'; interface Blob {} declare class DynamoDBStreams...
the_stack
import { h, ref, Suspense, ComponentOptions, render, nodeOps, serializeInner, nextTick, onMounted, watch, watchEffect, onUnmounted, onErrorCaptured, shallowRef } from '@vue/runtime-test' import { createApp } from 'vue' describe('Suspense', () => { const deps: Promise<any>[] = [] before...
the_stack
/*! * Copyright (c) 2020 Ron Buckton (rbuckton@chronicles.org) * * This file is licensed to you under the terms of the MIT License, found in the LICENSE file * in the root of this repository or package. */ import { createHash } from "crypto"; import { Cancelable } from "@esfx/cancelable"; import { Cance...
the_stack
import * as fs from "fs/promises"; import * as path from "path"; import * as plist from "plist"; import * as vscode from "vscode"; import configuration from "../configuration"; import { SwiftOutputChannel } from "../ui/SwiftOutputChannel"; import { execFile, execSwift, pathExists } from "../utilities/utilities"; import...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { SyncMember, SyncMembersListBySyncGroupOptionalParams, SyncFullSchemaProperties, SyncMembersListMemberSchemasOptionalParams, SyncMembersGetOptionalParams, SyncMembersGet...
the_stack
import { TypeData, TypeElement } from '@idraw/types'; import util from '@idraw/util'; import { LoaderEvent, TypeLoadData, TypeLoaderEventArgMap } from './loader-event'; import { filterScript } from './../util/filter'; const { loadImage, loadSVG, loadHTML } = util.loader; const { deepClone } = util.data; type Options ...
the_stack
import App from "../app"; import uuid from "uuid"; import {pubsub} from "../helpers/subscriptionManager"; import * as Classes from "../classes"; const sendUpdate = sys => { if (!sys) return; if (sys.type === "Engine") pubsub.publish("engineUpdate", sys); if (sys.type === "Transporters") pubsub.publish("transport...
the_stack
import { logger, PrefixedLogger } from '../../logger'; import * as utils from "../../utils"; import { CryptoStore, IDeviceData, IProblem, ISession, ISessionInfo, IWithheld, Mode, OutgoingRoomKeyRequest, } from "./base"; import { IRoomKeyRequestBody } from "../index"; import { ICrossSigni...
the_stack
module VORLON { declare var Modernizr; export class ModernizrReportClient extends ClientPlugin { public supportedFeatures: FeatureSupported[] = []; constructor() { super("modernizrReport"); this._ready = true; this._id = "MODERNIZR"; //this.deb...
the_stack
import {afterAll, beforeAll, describe, expect, it} from "@jest/globals"; import {Helper} from "./helper"; import {ElementHandle} from "puppeteer"; describe("crawl some blog with smartphone", () => { let c: Helper; let captcha_key: string = "1234"; const start_url = "/testblog2/"; beforeAll(async () => { c...
the_stack
import { getSnapshot, types, Instance } from "mobx-state-tree"; import { Field, Form, converters } from "../src"; test("FormState can be saved", async () => { const M = types.model("M", { foo: types.string, }); const o = M.create({ foo: "FOO" }); const form = new Form(M, { foo: new Field(converters.s...
the_stack
import { TestBed, fakeAsync, ComponentFixture, tick, flush } from '@angular/core/testing'; import { Component, Type } from '@angular/core'; import { MdcRadioInputDirective, MdcRadioDirective } from './mdc.radio.directive'; import { hasRipple } from '../../testutils/page.test'; import { By } from '@angular/platform-brow...
the_stack
import { useModel } from '@@/plugin-model/useModel' import { Box, Button, ButtonGroup, Checkbox, HStack, IconButton, Input, InputGroup, InputLeftElement, Spacer, Spinner, useColorMode, VStack, } from '@chakra-ui/react' import ItemIcon from '@renderer/components/ItemIcon' import { actions, agen...
the_stack
import Long from "long"; import { grpc } from "@improbable-eng/grpc-web"; import _m0 from "protobufjs/minimal"; import { BrowserHeaders } from "browser-headers"; export const protobufPackage = "kubeappsapis.core.plugins.v1alpha1"; /** * GetConfiguredPluginsRequest * * Request for GetConfiguredPlugins */ export in...
the_stack
export interface FxError extends Error { /** * Custom error details. */ innerError?: any; /** * Source name of error. (plugin name, eg: tab-scaffhold-plugin) */ source: string; /** * Time of error. */ timestamp: Date; userData?: any; } export interface ErrorOptionBase { source?: strin...
the_stack
import { AssertionKind, BlockStatement, ClassDeclaration, CommonFlags, FieldDeclaration, MethodDeclaration, NodeKind, ParameterKind, Range, Statement, Token, TypeNode, } from "./assemblyscript"; import { createGenericTypeParameter } from "./createGenericTypeParameter"; import { djb2Hash } from "...
the_stack
import { AgModule, IconComponent } from 'agnostic-angular'; import { moduleMetadata, componentWrapperDecorator, Meta, } from '@storybook/angular'; export default { title: 'AG—Angular (Beta)/Icon', component: IconComponent, decorators: [ // Cannot get preview.js or global decorator solutions to work. ...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { FirewallRules } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { DataLakeAnalyticsAccountManagementClient ...
the_stack
import * as Immutable from "immutable"; import * as _ from "lodash"; import { Base } from "./base"; import { Event } from "./event"; import { GroupedCollection, GroupingFunction } from "./groupedcollection"; import { Index, index } from "./index"; import { Key } from "./key"; import { SortedCollection } from "./sorted...
the_stack
import {h, Component} from 'preact' import {css} from 'aphrodite' import {Flamechart} from '../lib/flamechart' import {Rect, Vec2, AffineTransform, clamp} from '../lib/math' import {FlamechartRenderer} from '../gl/flamechart-renderer' import {getFlamechartStyle} from './flamechart-style' import {FontFamily, FontSize, S...
the_stack
import * as path from 'path'; import * as fs from 'fs'; import { KVStore } from '../src/kv_store'; import { NotFoundError } from '../src/errors'; interface KeyValuePair { key: string; value: Buffer; } describe('KVStore', () => { let db: KVStore; beforeAll(async () => { const parentPath = path.join(__dirname, '....
the_stack
import { HTTPCodes, HTTPMethod, HTTPRequestContext } from '../WebDAVRequest' import { XML, XMLElementBuilder, XMLElement } from 'xml-js-builder' import { ResourceType } from '../../../manager/v2/fileSystem/CommonTypes' import { STATUS_CODES } from 'http' import { startsWith } from '../../../helper/JSCompatibility' impo...
the_stack
import { Component, Complex, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base'; import { isNullOrUndefined, Browser, ModuleDeclaration } from '@syncfusion/ej2-base'; import { createElement, remove, Event, EmitType, EventHandler } from '@syncfusion/ej2-base'; import { createSvg, RectO...
the_stack
import '@polymer/polymer/polymer-legacy'; import '@polymer/app-layout/app-drawer/app-drawer'; import '@polymer/app-layout/app-drawer-layout/app-drawer-layout'; import '@polymer/app-layout/app-toolbar/app-toolbar'; import '@polymer/iron-icon/iron-icon'; import '@polymer/iron-icons/iron-icons'; import '@polymer/iron-page...
the_stack
import expect = require('expect.js'); import { loadGapi } from '../../lib/gapi'; import { DocumentRegistry } from '@jupyterlab/docregistry'; import { Contents } from '@jupyterlab/services'; import { JSONExt, UUID } from '@lumino/coreutils'; import { GoogleDrive } from '../../lib/contents'; import { authorizeGapiT...
the_stack
import { PointerComponent } from './pointer' import { renderAll } from '../render' import { getTime, isSnapshot, toTimeStamp, base64ToFloat32Array, delay, AnimationFrame, nodeStore, encodeWAV } from '@timecat/utils' import { ProgressComponent } from './progress' import { ContainerCompone...
the_stack
import BigNumber from "bignumber.js"; import { decimalStr, MAX_UINT256, mweiStr } from '../utils/Converter'; import { logGas } from '../utils/Log'; import { ProxyContext, getProxyContext } from '../utils/ProxyContextV2'; import { assert } from 'chai'; import * as contracts from '../utils/Contracts'; import { Contract }...
the_stack
import { Optional, Autowired, Injectable, Injector, INJECTOR_TOKEN } from '@opensumi/di'; import { IContextKey, Event, IContextKeyService, ContextKeyChangeEvent, getDebugLogger, Emitter, IScopedContextKeyService, PreferenceService, PreferenceChanges, PreferenceScope, PreferenceSchemaProvider, cr...
the_stack
import S3 from "aws-sdk/clients/s3"; import { SecretsManager, SharedIniFileCredentials } from "aws-sdk"; import { parameterStoreDeploymentKey, Region } from "./stack-constants"; import IAM from "aws-sdk/clients/iam"; import Route53Domains from "aws-sdk/clients/route53domains"; import ACM from "aws-sdk/clients/acm"; imp...
the_stack
module BABYLON { /** * Class for the ObservableStringDictionary.onDictionaryChanged observable */ export class DictionaryChanged<T> { /** * Contain the action that were made on the dictionary, it's one of the DictionaryChanged.xxxAction members. * Note the action's value ca...
the_stack
import * as assert from "@esfx/internal-assert"; import { HashMap } from "@esfx/collections-hashmap"; import { Equaler } from "@esfx/equatable"; import { identity } from '@esfx/fn'; import { Grouping, HierarchyGrouping } from "@esfx/iter-grouping"; import { HierarchyIterable } from '@esfx/iter-hierarchy'; import ...
the_stack
import * as Address from "../../../generated/joynr/system/RoutingTypes/Address"; import * as DiscoveryEntry from "../../../generated/joynr/types/DiscoveryEntry"; import * as DiscoveryEntryWithMetaInfo from "../../../generated/joynr/types/DiscoveryEntryWithMetaInfo"; /** * The <code>CapabilityDiscovery</code> is a joyn...
the_stack
import type { RouteMatch as _envoy_config_route_v3_RouteMatch, RouteMatch__Output as _envoy_config_route_v3_RouteMatch__Output } from '../../../../envoy/config/route/v3/RouteMatch'; import type { RouteAction as _envoy_config_route_v3_RouteAction, RouteAction__Output as _envoy_config_route_v3_RouteAction__Output } from ...
the_stack
import React, { useState, useMemo, useRef, useEffect } from 'react'; import { ICommandBarItemProps, Stack, CommandBar, getTheme, Breadcrumb, Pivot, PivotItem, MessageBar, Separator, mergeStyleSets, ContextualMenuItemType, } from '@fluentui/react'; import { useDispatch, useSelector } from 'react-re...
the_stack
import express from 'express'; import { Access, AccessField, Account, Transaction } from '../models'; import accountManager, { getUserSession, UserActionOrValue } from '../lib/accounts-manager'; import { fullPoll } from '../lib/poller'; import { bankVendorByUuid } from '../lib/bank-vendors'; import { registerStartup...
the_stack
import React, { useEffect, useState } from 'react'; import { createStyles, FormControl, Grid, Input, InputLabel, makeStyles, MenuItem, Select, TextField, Theme, IconButton, Fab, Button, Chip, Tooltip} from '@material-ui/core'; import AddCircleIcon from '@material-ui/icons/AddCircle'; import ClearIcon from '@material-ui...
the_stack
import { Position2D } from '../utilities/position2d'; import { DisplayImage } from './display-image'; import { StageImageProperties } from './stage-image-properties'; import { UserInputManager } from './user-input-manager'; /** handel the display / output of game, gui, ... */ export class Stage { private stageCav...
the_stack
import * as crypto from "crypto"; import * as debug from "debug"; import * as fs from "fs"; import * as http from "http"; import * as path from "path"; import * as stream from "stream"; import { URL } from "url"; import { MindConnectAgent } from "../../.."; import { TokenRotation } from "../../mindconnect-base"; import...
the_stack
import Shader from "./Shader"; import BindGroupLayout from "./BindGroupLayout.js"; import Uniform from "./Uniform.js"; import Struct from "./Struct.js"; import { formatLowerFirst, formatUpperFirst } from "../utils.js"; import { AccessMode, BindingType, StorageClass, GPUShaderStage, GPUTextureSampleType, } fr...
the_stack
import * as defs from "./types/jsonx/index"; declare global { interface window { [index: string]: any; } namespace NodeJS { interface Global { document: Document; window: Window; navigator: Navigator; } } } export declare const STRIP_COMMENTS: ...
the_stack
import { getEle } from "../../../utility/dom/getEle"; import { convertPairToCSSText } from "../../../utility/dom/convertPairToCSSText"; import { getAllEle } from "../../../utility/dom/getAllEle"; import { setCss } from "../../../utility/dom/setCss"; import { addClass } from "../../../utility/dom/addClass"; import ...
the_stack
import { EJSON } from "bson"; import { promises } from "fs"; import { anything, capture, instance, mock, when } from "ts-mockito"; import { EventStream, Response, StitchRequestClient, Transport} from "../../../src"; import { BasicRequest } from "../../../src/internal/net/BasicRequest"; import ContentTypes from "../../....
the_stack
import { FilterConditionType, FilterRelationType } from 'app/constants'; import { FilterSqlOperator } from 'globalConstants'; import ChartFilterCondition, { ConditionBuilder, } from '../ChartFilterCondition'; describe('ChartFilterCondition Tests', () => { let initCondition; beforeEach(() => { initCondition =...
the_stack
import { camelcaseKeysDeep } from 'messaging-api-common'; import { Event } from '../context/Event'; import { EventAccountLinking, EventAppRoles, EventBrandedCamera, EventCheckoutUpdate, EventDelivery, EventGamePlay, EventMessage, EventMessageAttachment, EventMessageQuickReply, EventOptin, EventP...
the_stack
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Components, registerComponent, mergeWithComponents } from '../../lib/vulcan-lib'; import get from 'lodash/get'; import isEqual from 'lodash/isEqual'; import SimpleSchema from 'simpl-schema'; import { isEmptyValue, getNullValue } from...
the_stack
import { dirname, join, basename } from "path"; import { readJSON, pathExists, pathExistsSync } from "fs-extra"; import { Nullable } from "../../../shared/types"; import { Texture, SceneLoader, Light, Node, Material, ShadowGenerator, CascadedShadowGenerator, Camera, SerializationHelper, Mesh, MultiMaterial, T...
the_stack
import { configListeners, getHasConfigured, setConfig } from './conf' import { THEME_CLASSNAME_PREFIX } from './constants/constants' import { isWeb } from './constants/platform' import { Variable, createVariable, isVariable } from './createVariable' import { createVariables } from './createVariables' import { createTam...
the_stack
import { Components, registerComponent } from '../../lib/vulcan-lib'; import React from 'react'; import { Link } from '../../lib/reactRouterWrapper'; import { postGetPageUrl, postGetLastCommentedAt, postGetLastCommentPromotedAt, postGetCommentCount } from "../../lib/collections/posts/helpers"; import { sequenceGetPageU...
the_stack
import { window } from 'vscode'; import { Resolver } from './variable-resolver'; describe('substituteFoamVariables', () => { test('Does nothing if no Foam-specific variables are used', async () => { const input = ` # \${AnotherVariable} <-- Unrelated to foam # \${AnotherVariable:default_value} <-- Un...
the_stack
import { EventEmitter } from 'eventemitter3' import FD from './factorioData' import U from './generators/util' import { Blueprint } from './Blueprint' import { WireConnectionMap } from './WireConnectionMap' const MAX_POLE_CONNECTION_COUNT = 5 export interface IConnection { color: string entityNumber1: number ...
the_stack
import { Inject, Injectable, Optional } from '@angular/core'; import { Location } from '@angular/common'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { ignoreElements } from 'rxjs/operators'; import { StorageService } from './storage.service'; import { defaultMultiWindowConfig, NGXMW_CONFIG } f...
the_stack
import * as collabs from "@collabs/collabs"; import { CRDTContainer } from "@collabs/container"; import seedrandom from "seedrandom"; // Minesweeper Collab interface GameSettings { readonly width: number; readonly height: number; readonly fractionMines: number; } enum FlagStatus { NONE, FLAG, QUESTION_FL...
the_stack
import {JsonArray, JsonObject, JsonValue} from 'type-fest'; export enum WebSocketOpCode { /** * The initial message sent by obs-websocket to newly connected clients. * * Initial OBS Version: 5.0.0 */ Hello = 0, /** * The message sent by a newly connected client to obs-websocket in response to a `Hello`. * ...
the_stack
/// <reference types="node" /> type I2CDeviceId = { manufacturer: number; product: number; name: string }; type BytesWritten = { bytesWritten: number; buffer: Buffer }; type BytesRead = { bytesRead: number; buffer: Buffer }; type CompletionCallback = (error: any) => any; type BufferCallback = (error: any, bytesRea...
the_stack
import assert from 'assert'; import { readFile } from 'fs-extra'; import { decode } from 'iconv-lite'; import { Aff } from './aff'; import type { AffInfo, Fx, Rep, SubstitutionSet } from './affDef'; import { cleanObject, isDefined } from './util'; const fixRegex = { SFX: { m: /$/, r: '$' }, PFX: { m: /^/, r: '...
the_stack
import * as fs from 'fs'; import * as Handlebars from 'handlebars'; import * as _ from 'lodash'; import * as path from 'path'; import { APIProcessor } from './APIProcessor'; import { ConfigProcessor } from './ConfigProcessor'; import * as consts from './const'; import { ExampleProcessor } from './ExampleProcessor'; imp...
the_stack
import * as _ from 'lodash' import { Anchor } from './anchor' import * as Stage from './stage' import { SentenceArray } from './sentence-array' import { errorUnderlineClass, theme } from '../peacoq/theme' import { ProofTreeStack } from '../prooftree/stack' import * as Command from '../sertop/command' import * as Contr...
the_stack
import { Container, Enums } from "@packages/core-kernel"; import { RoundState } from "@packages/core-state/src/round-state"; import { Sandbox } from "@packages/core-test-framework"; import { Blocks, Identities, Utils } from "@packages/crypto"; import block1760000 from "./__fixtures__/block1760000"; let sandbox: Sandb...
the_stack
import identity = require('lodash.identity') const plain = true import { IJSONBlock } from '../models/Block' import { ITransaction, } from '../ourbit/types' import { IPersistInterface } from '../stores' import { toBN } from '../utils' export const makeSequelizeModels = ( Sequelize: any, sequelize: any, ) => { ...
the_stack
* @fileoverview Implements the SVGWrapper class * * @author dpvc@mathjax.org (Davide Cervone) */ import {OptionList} from '../../util/Options.js'; import {BBox} from '../../util/BBox.js'; import {CommonWrapper, AnyWrapperClass, Constructor} from '../common/Wrapper.js'; import {SVG, XLINKNS} from '../svg.js'; impor...
the_stack
import { FavoriteBodyCreate } from '../model/favoriteBodyCreate'; import { FavoriteEntry } from '../model/favoriteEntry'; import { FavoritePaging } from '../model/favoritePaging'; import { FavoriteSiteBodyCreate } from '../model/favoriteSiteBodyCreate'; import { FavoriteSiteEntry } from '../model/favoriteSiteEntry'; im...
the_stack
import { expect } from 'chai'; import * as sinon from 'sinon'; import { ElementFactory } from '../../../utils'; import { global, noop } from '../../../../src/facade/lang'; import { Component, Directive, HostBinding, HostListener, ViewChild, ContentChild } from '../../../../src/core/directives/decorators'; ...
the_stack
import { mXparserConstants } from '../mXparserConstants'; /** * Parser symbols - mXparserConstants tokens definition. * * @author <b>Mariusz Gromada</b><br> * <a href="mailto:mariuszgromada.org@gmail.com">mariuszgromada.org@gmail.com</a><br> * <a href="http://github.com/mariuszgromada/MathParser.org-mXpa...
the_stack