text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { CycleResolutionInputChrono } from "../../src/chrono/CycleResolver.js" import { ProposedArgumentsOf, ProposedOrPrevious, ProposedValueOf } from "../../src/chrono/Effect.js" import { Identifier } from "../../src/chrono/Identifier.js" import { Quark } from "../../src/chrono/Quark.js" import { SyncEffectHandler, T...
the_stack
'use strict'; import { existsSync, readFileSync } from 'fs'; import * as path from 'path'; import { PriorityQueue, Stack } from 'typescript-collections'; import { Range, TextEditor } from 'vscode'; import * as yamlMetadata from '../helper/yaml-metadata'; import * as common from './common'; import * as utilityHelper fr...
the_stack
import { allHtmlAttribs } from "html-all-known-attributes"; import { isAttrNameChar } from "is-char-suitable-for-html-attr-name"; import { left, right } from "string-left-right"; import { matchRight } from "string-match-left-right"; import { ensureXIsNotPresentBeforeOneOfY, xBeforeYOnTheRight, plausibleAttrStarts...
the_stack
import { Component, Input, Inject, HostListener, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { WebSite } from './site'; import { OrderBy, SortPipe } from 'common/sort.pipe'; import { Range } from 'common/virtual-list.component'; import { Status } from 'common/status'; import { resolv...
the_stack
import { expect } from 'chai'; import 'mocha'; export default function test(tldts: any): void { describe('from https://github.com/rushmorem/publicsuffix/blob/master/src/tests.rs', () => { // Copyright (c) 2016 Rushmore Mushambi it('should allow parsing IDN email addresses', () => { expect(tldts.parse('...
the_stack
import "jest"; import React from "react"; import ReactDOM from "react-dom"; import { act } from "react-dom/test-utils"; import { inMemory } from "@hickory/in-memory"; import { createRouter, prepareRoutes } from "@curi/router"; import { createRouterComponent, useNavigationFocus, useResponse } from "@curi/react-do...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace Formmsdyn_liveconversation_Information { interface Tabs { } interface Body { /** Subject associated with the conversation record */ msdyn_subject: DevKit.Controls.String; /** Unique identifier of the user or team who o...
the_stack
export type GLTFId = number; /** * Indices of those attributes that deviate from their initialization value. */ export interface AccessorSparseIndices { /** * The index of the bufferView with sparse indices. Referenced bufferView can't have ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER target. */ bufferView: GLTFId...
the_stack
import { h, render, getCurrentInstance, nodeOps, createApp, shallowReadonly } from '@vue/runtime-test' import { ComponentInternalInstance, ComponentOptions } from '../src/component' describe('component: proxy', () => { test('data', () => { let instance: ComponentInternalInstance let instanceProxy...
the_stack
import http from "http"; import { URL } from "url"; import { sha256 } from "js-sha256"; import express from "express"; import bodyParser from "body-parser"; import { Report, Trace } from "apollo-engine-reporting-protobuf"; import { GraphQLSchema, GraphQLObjectType, GraphQLString, GraphQLError, ValidationConte...
the_stack
import * as lsp from 'vscode-languageserver/node'; import tsp from 'typescript/lib/protocol'; import { URI } from 'vscode-uri'; import { LspDocuments } from './document'; const RE_PATHSEP_WINDOWS = /\\/g; export function uriToPath(stringUri: string): string | undefined { const uri = URI.parse(stringUri); if (...
the_stack
import { Component, ElementRef, EventEmitter, Input, OnDestroy, Output } from '@angular/core'; import { Title, Meta } from '@angular/platform-browser'; import { asapScheduler, Observable, of, timer } from 'rxjs'; import { catchError, observeOn, switchMap, takeUntil, tap } from 'rxjs/operators'; import { EMPTY_HTML, un...
the_stack
import * as ec2 from '@aws-cdk/aws-ec2'; import * as iam from '@aws-cdk/aws-iam'; import * as kms from '@aws-cdk/aws-kms'; import { ArnFormat, ConcreteDependable, IDependable, IResource, RemovalPolicy, Resource, Size, Stack, Tags } from '@aws-cdk/core'; // keep this import separate from other imports to reduce chance f...
the_stack
import { KeyboardEventHandler, MouseEventHandler, FocusEventHandler, Ref, RefCallback, TouchEventHandler, useCallback, useEffect, useRef, useState, } from "react"; import { applyRef, useDir, useIsomorphicLayoutEffect } from "@react-md/utils"; import { DEFAULT_SLIDER_ANIMATION_TIME } from "./constan...
the_stack
import { User } from '../auth/user'; import { SnapshotVersion } from '../core/snapshot_version'; import { OnlineState, TargetId } from '../core/types'; import { LocalStore } from '../local/local_store'; import { localStoreGetLastRemoteSnapshotVersion, localStoreGetNextMutationBatch } from '../local/local_store_impl...
the_stack
* @module Toolbar */ import * as React from "react"; import { Logger } from "@itwin/core-bentley"; import { ActionButton, CommonToolbarItem, ConditionalBooleanValue, GroupButton, ToolbarItemsManager, ToolbarItemUtilities, ToolbarOrientation, ToolbarUsage, } from "@itwin/appui-abstract"; import { Orientation } from ...
the_stack
import {connect} from 'react-redux'; import {ActionCreatorsMapObject, bindActionCreators, Dispatch} from 'redux'; import {GlobalState} from 'types/store/index.js'; import {Post} from 'mattermost-redux/types/posts.js'; import {FileInfo} from 'mattermost-redux/types/files.js'; import {ActionResult, GenericAction} fro...
the_stack
import type { JsonSQLite, JsonTable, JsonColumn, JsonIndex, JsonTrigger, JsonView, } from '../../../../src/definitions'; import { UtilsSQLite } from '../utilsSQLite'; import { UtilsJson } from './utilsJson'; export class ExportToJson { private _uSQLite: UtilsSQLite = new UtilsSQLite(); private _uJson:...
the_stack
import {Client4} from '@client/rest'; import {getUser} from '@components/autocomplete/slash_suggestion/app_command_parser/app_command_parser_dependencies'; import {ChannelCategoryTypes, ChannelTypes} from '@mm-redux/action_types'; import {General} from '@mm-redux/constants'; import {CategoryTypes} from '@mm-redux/const...
the_stack
* @module Topology */ import { ConvexClipPlaneSet } from "../clipping/ConvexClipPlaneSet"; import { LineSegment3d } from "../curve/LineSegment3d"; import { LineString3d } from "../curve/LineString3d"; import { Geometry, PlaneAltitudeEvaluator } from "../Geometry"; import { GrowableXYZArray } from "../geometry3d/Growa...
the_stack
import React from 'react'; import TabBar from './TabBar' import ColorPicker from './ColorPicker' import '../css/GameModder.css'; import '../css/icons.css'; import '../css/SpriteEditor.css'; import { imageLiteralToBitmap, Bitmap } from '../sprite-editor/bitmap'; import { textToBitmap, createPngImg, updatePngImg, bitmap...
the_stack
'use strict'; import { Chart, ChartData, Types, G2Dependents } from "./types"; import { customFormatter, customFormatterConfig, merge } from './common'; import themes from '../themes'; import { pxToNumber } from './common'; import { warn } from './log'; // import { legendHtmlContainer, legendHtmlList, legendHtmlListIt...
the_stack
declare global { const device: Detox.Device; const detox: Detox.Detox; const element: Detox.Element; const waitFor: Detox.WaitFor; const expect: Detox.Expect<Detox.Expect<Promise<void>>>; const by: Detox.Matchers; namespace Detox { interface Detox { /** * Th...
the_stack
import * as cdk from '@aws-cdk/core'; import * as cfn_parse from '@aws-cdk/core/lib/cfn-parse'; /** * Properties for defining a `AWS::SQS::Queue`. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html * @external */ export interface CfnQueueProps { /** * `AW...
the_stack
import React from "react"; import { pubkeyToString } from "utils"; import { PublicKey, Connection, StakeActivationData } from "@solana/web3.js"; import { useCluster, Cluster } from "../cluster"; import { HistoryProvider } from "./history"; import { TokensProvider } from "./tokens"; import { create } from "superstruct";...
the_stack
import { ReactPeg } from "react-peg"; import { _, Text } from "../common"; import { String, IBasicType, BasicType, ITypeReference, TypeReference, IIdentifier, Identifier, IArrayType, ArrayType, ITupleType, TupleType, RestType, Source } from "../basic"; import { ITypeForInStatement, ITypeIfStatement, TypeForInStateme...
the_stack
import * as msal from '@azure/msal-node'; import * as MicrosoftGraph from '@microsoft/microsoft-graph-types'; import fetch, { Response } from 'node-fetch'; import qs from 'qs'; import { MicrosoftGraphProviderConfig } from './config'; /** * OData (Open Data Protocol) Query * * {@link https://docs.microsoft.com/en-us...
the_stack
/// <reference types="activex-shdocvw" /> declare namespace Shell32 { // tslint:disable-next-line no-const-enum const enum BrowseInfoFlags { /** * Allow folder junctions such as a library or a compressed file with a .zip file name extension to be browsed. * * _Windows 7 and l...
the_stack
* @fileoverview * @suppress {globalThis,undefinedVars} */ /** * Extend the Error with additional fields for rewritten stack frames */ interface Error { /** * Stack trace where extra frames have been removed and zone names added. */ zoneAwareStack?: string; /** * Original stack trace with no modific...
the_stack
import * as fs from "fs"; import * as path from "path"; import * as vscode from "vscode"; import { CancellationToken, Command, CompletionItem, CompletionItemKind, CompletionItemProvider, Disposable, ExtensionContext, FileSystemWatcher, Position, TextDocument, TextEdit, Uri, WorkspaceConfigurat...
the_stack
import ava, {TestInterface} from 'ava'; import {DialogflowConversation} from '../conv'; import * as Api from '../api/v2'; import * as ActionsApi from '../../actionssdk/api/v2'; import {ContextValues} from '../context'; import {Incoming} from '../incoming'; import {clone} from '../../../common'; import {Permission, Simp...
the_stack
import * as ts from 'typescript'; /** * The options for rewriting the file. */ export interface RewriteOptions { /** * Optional module names that should result in replacing to something different than just 'aws-cdk-lib'. */ readonly customModules?: { [moduleName: string]: string }; /** * When true, t...
the_stack
import Node from './node'; import { Key, Value } from './types'; export type Comparator<Key> = (a:Key, b:Key) => number; export type Visitor<Key, Value> = (node:Node<Key, Value>) => void; export type NodePrinter<Key, Value> = (node:Node<Key, Value>) => string; /* follows "An implementation of top-down splaying" * ...
the_stack
import '@aws-cdk/assert-internal/jest'; import { SynthUtils } from '@aws-cdk/assert-internal'; import { CfnResource, Stack } from '@aws-cdk/core'; import { Cluster, KubernetesManifest, KubernetesVersion, HelmChart } from '../lib'; import { testFixtureNoVpc, testFixtureCluster } from './util'; /* eslint-disable max-len...
the_stack
'use strict' // **Github:** https://github.com/fidm/quic // // **License:** MIT import { suite, it } from 'tman' import { ok, strictEqual, deepEqual, throws } from 'assert' import { bufferFromBytes } from '../common' import { BufferVisitor, toBuffer } from '../../src/internal/common' import { PacketNumber } from '.....
the_stack
function chart_examples() { const chart = c3.generate({ data: {}, bindto: '#myContainer', size: { width: 640, height: 480, }, padding: { top: 20, right: 20, bottom: 20, left: 20, }, color:...
the_stack
import { remote, webContents } from 'electron'; import { initialAppState } from './initialAppState'; import { TYPES } from '$Actions/tabs_actions'; import { makeValidAddressBarUrl } from '$Utils/urlHelpers'; import { isRunningUnpacked } from '$Constants'; import { logger } from '$Logger'; const initialState = initia...
the_stack
import { Injectable } from '@angular/core'; import { SafeResourceUrl } from '@angular/platform-browser'; import { downgradeInjectable } from '@angular/upgrade/static'; import { AppConstants } from 'app.constants'; import { Exploration } from 'domain/exploration/ExplorationObjectFactory'; import { ExtractImageFilenames...
the_stack
import * as iam from '@aws-cdk/aws-iam'; import * as kms from '@aws-cdk/aws-kms'; import * as s3 from '@aws-cdk/aws-s3'; import { ArnFormat, Fn, IResource, Names, Resource, Stack } from '@aws-cdk/core'; import * as cr from '@aws-cdk/custom-resources'; import { AwsCustomResource } from '@aws-cdk/custom-resources'; impor...
the_stack
import * as express from "express"; import * as _ from "lodash"; import { Document, model, Schema, Types } from "mongoose"; import * as mongoose from "mongoose"; import * as PodcastRSS from "podcast"; import * as remote from "remote-file-size"; import * as slug from "slug"; import * as urlencode from "urlencode"; impor...
the_stack
import { Prim, Expr, IntLiteral } from "./micheline"; import { Tuple, NoArgs, ReqArgs, MichelsonError } from "./utils"; import { MichelsonCode, MichelsonType, MichelsonData, MichelsonContract, MichelsonNoArgInstruction, MichelsonInstruction, InstructionList, MichelsonTypeID, MichelsonSimpleComparableTypeID } from...
the_stack
* Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails oncall+relay * @flow * @format */ // flowlint ambiguous-object-type:error 'use strict'; let mockGetPromise = false; const...
the_stack
* Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { ActionTypes, Activity, ActivityTypes, CardFactory, Channels, CoreAppCredentials, InputHints, MessageFactory, OAuthCard, OAuthLoginTimeoutKey, StatusCodes, TokenExch...
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 Athena extends ...
the_stack
import type { APIGatewayEvent, Context } from 'aws-lambda' import { AuthenticationError } from '../../errors' import { getCurrentUser } from './fixtures/auth' type RedwoodUser = Record<string, unknown> & { roles?: string[] } export const mockedAuthenticationEvent = ({ headers = {}, }): APIGatewayEvent => { retu...
the_stack
import {Mutable, Proto, Identifiers} from "@swim/util"; import {Affinity} from "./Affinity"; import {FastenerContextClass, FastenerContext} from "./FastenerContext"; /** @internal */ export type MemberFasteners<O, F extends Fastener<any> = Fastener<any>> = {[K in keyof O as O[K] extends F ? K : never]: O[K]}; /** @...
the_stack
// Directly import @sentry/electron main process code. // See: https://docs.sentry.io/platforms/javascript/guides/electron/#webpack-configuration import * as sentry from '@sentry/electron/dist/main'; import {app, BrowserWindow, ipcMain, Menu, MenuItemConstructorOptions, nativeImage, shell, Tray} from 'electron'; import...
the_stack
import { Match, Template } from '@aws-cdk/assertions'; import { AccountRootPrincipal, Role, } from '@aws-cdk/aws-iam'; import * as kms from '@aws-cdk/aws-kms'; import { testFutureBehavior, testLegacyBehavior } from '@aws-cdk/cdk-build-tools/lib/feature-flag'; import * as cdk from '@aws-cdk/core'; import * as cxapi ...
the_stack
import * as fs from 'fs-extra'; import * as os from 'os'; import * as path from 'path'; import * as plist from 'plist'; import compareVersion from 'compare-version'; import { debugLog, debugWarn, getAppContentsPath, execFileAsync, validateOptsApp, validateOptsPlatform, walkAsync } from './util'; import {...
the_stack
export interface CreateVocabLibResponse { /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * 人员检索统计结果 */ export interface FaceIdentifyStatistic { /** * 持续时间 */ Duration?: number; /** * 结束时间 */ EndTs?: number; /** * 人员唯一...
the_stack
import { EarningsTree } from "../../lib/earningsTree"; import { utils } from "ethers"; let earningsSnapshot; if (process.env.NEXT_PUBLIC_NETWORK === "mainnet") { earningsSnapshot = require("../../data/earningsTree"); } else if (process.env.NEXT_PUBLIC_NETWORK === "rinkeby") { earningsSnapshot = require("../../data...
the_stack
// Type definitions for libsodium-wrappers 0.7 // Project: https://github.com/jedisct1/libsodium.js // Definitions by: Florian Keller <https://github.com/ffflorian> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 // Copyright 2020-present the denosaurs team. All rights res...
the_stack
* @file Support for defining user-selectable tools. */ import './tool.css'; import debounce from 'lodash/debounce'; import {MouseSelectionState, UserLayer, UserLayerConstructor} from 'neuroglancer/layer'; import {StatusMessage} from 'neuroglancer/status'; import {TrackableValueInterface} from 'neuroglancer/trackable...
the_stack
export interface paths { "/": { get: { responses: { /** OK */ 200: unknown; }; }; }; "/auth_key": { get: { parameters: { query: { id?: parameters["rowFilter.auth_key.id"]; name?: parameters["rowFilter.auth_key.name"]; secret?: par...
the_stack
import resolveInternalRoute from './internalRouteMapReader'; import InternalRoute from '../server/InternalRoute'; import URLBar from './URLBar'; import BrowserBar from './BrowserBar'; import Viewport from './Viewport'; import StatusIndicator from './StatusIndicator'; import ResponseRendererFactory from './ResponseRende...
the_stack
import { ScatterplotLayer, LineLayer, ArcLayer } from '@deck.gl/layers'; import { LayerProps, CompositeLayer } from '@deck.gl/core'; import { SimpleMeshLayer, ScenegraphLayer } from '@deck.gl/mesh-layers'; import { CubeGeometry } from '@luma.gl/engine' import CubeGraphLayer from '../cubegraph-layer'; import { onHoverCl...
the_stack
import { Component, OnDestroy, ChangeDetectorRef, NgZone } from '@angular/core'; import { BsModalService } from 'ngx-bootstrap/modal'; import { WidgetService } from '../../../widget.service'; import { NotificationService, Base64Service, Principal, WidgetEventBusService } from '../../../../../shared'; import { JhiEv...
the_stack
import {debounceTime, map} from "rxjs/operators"; import {Subject, Subscription} from "rxjs"; import {EventEmitter} from "@angular/core"; import {HttpClient} from "@angular/common/http"; import { ComponentDataHelper, DataFilterInfo, DataReviser, DataSortInfo, HttpClientOptions, IAjaxComponentDa...
the_stack
import React, { FunctionComponent, useEffect, useRef } from "react"; import { Text, View } from "react-native"; import { BIP44HDPath, ExportKeyRingData, KeyRingStatus, } from "@keplr-wallet/background"; import { DrawerActions, NavigationContainer, NavigationContainerRef, useNavigation, } from "@react-navi...
the_stack
import BaseStore from "#SRC/js/stores/BaseStore"; import * as ActionTypes from "../constants/ActionTypes"; import * as EventTypes from "../constants/EventTypes"; import ACLServiceAccountActions from "../actions/ACLServiceAccountActions"; import ServiceAccount from "../structs/ServiceAccount"; import ServiceAccountLis...
the_stack
import classNames from "classnames"; import * as React from "react"; import { isDivinaFn, isPdfFn } from "readium-desktop/common/isManifestType"; import { I18nTyped, Translator } from "readium-desktop/common/services/translator"; import { TPublication } from "readium-desktop/common/type/publication.type"; import { form...
the_stack
import { Injectable } from '@angular/core'; import * as d3 from 'd3'; import { LogService } from '../log.service'; import { FnService } from '../util/fn.service'; import { LionService } from './lion.service'; import { NavService } from '../nav/nav.service'; export interface KeyHandler { globalKeys: Object; mas...
the_stack
import { ValueMapV2 } from "../ValueMapV2"; import HtmlToOperationLogMapping from "../helperFunctions/HtmlToOperationLogMapping"; import { ExecContext } from "../helperFunctions/ExecContext"; import { consoleLog, consoleError, consoleWarn } from "../helperFunctions/logging"; import { regExpContainsNestedGroup, ...
the_stack
import Adapt, { AdaptMountedElement, AdaptMountedPrimitiveElement, ChangeType, Group, PluginOptions, PrimitiveComponent, Waiting, } from "@adpt/core"; import should from "should"; import { createMockLogger, k8sutils, MockLogger } from "@adpt/testutils"; import { sleep } from "@adpt/utils"; ...
the_stack
import type vscode from 'vscode'; import { Injectable, Optional, Autowired } from '@opensumi/di'; import { IRPCProtocol } from '@opensumi/ide-connection'; import { ILogger, Disposable, PreferenceService, IDisposable } from '@opensumi/ide-core-browser'; import { ITerminalApiService, ITerminalGroupViewService, ITe...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { AutoscaleSettings } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { MonitorClient } from "../monitorClien...
the_stack
import { Component, Host, h } from '@stencil/core'; import { newSpecPage } from '@stencil/core/testing'; describe('hydrate, shadow parent', () => { it('slot depth 1, text w/out vdom', async () => { @Component({ tag: 'cmp-a', shadow: true, }) class CmpA { render() { return ( ...
the_stack
import React, { useEffect, useCallback, useRef, useState, forwardRef, ReactNode, FC, ComponentProps, MutableRefObject, } from 'react'; import { styled, css } from '@storybook/theming'; import { color, typography, spacing } from './shared/styles'; import { jiggle } from './shared/animation'; import { I...
the_stack
import {Color} from '../../math/color'; import {Mat4} from '../../math/mat4' import {Vec3} from '../../math/vec3'; import {DirectionalLight} from '../directionallight'; import {Material} from '../material'; let MAX_BONES_PER_MESH = 60; export class AnimatedEntityVertex { constructor ( public pos: Vec3, ...
the_stack
import { mXparserConstants } from '../mXparserConstants'; import { MathFunctions } from './MathFunctions'; import { BinaryRelations } from './BinaryRelations'; import { javaemul } from 'j4ts/j4ts'; /** * BooleanAlgebra - class for boolean operators. * * @author <b>Mariusz Gromada</b><br> * <a href="mailto...
the_stack
import { LoggerManager, Math2D } from "@here/harp-utils"; import * as THREE from "three"; import { debugContext } from "./DebugContext"; declare const require: any; const RBush = require("rbush"); const logger = LoggerManager.instance.create("ScreenCollissions"); export interface IBox { minX: number; minY:...
the_stack
import React, { useContext, useRef, useEffect, useState, useCallback, } from "react"; import { SharedInterpolationContext, TransitionItem, TransitionItemContextType, SharedInterpolationType, SharedInterpolationStatus, OnAnimationFunction, StateContextType, SharedInterpolationInfo, Style, } f...
the_stack
import * as assert from 'assert'; import { IReportIssueDataCollectionResult } from 'microsoft.aspnetcore.razor.vscode/dist/Diagnostics/IReportIssueDataCollectionResult'; import { ReportIssueCreator } from 'microsoft.aspnetcore.razor.vscode/dist/Diagnostics/ReportIssueCreator'; import { IRazorDocument } from 'microsoft....
the_stack
const testLogLevel = "info"; const sutLogLevel = "info"; const containerImageName = "ghcr.io/hyperledger/cactus-quorum-multi-party-all-in-one"; const containerImageVersion = "2022-04-06-fd10e27"; import "jest-extended"; import lodash from "lodash"; import { v4 as uuidv4 } from "uuid"; import Web3 from "web3"; impor...
the_stack
import * as d3 from "d3"; import { MetaData, MetaDataType } from "./meta_data"; import { Node } from "./node"; import { LinkPosition } from "./position_cache"; import { classify } from "./util"; export type Constructor = (data: LinkDataType, id: number, metaKeys: string[], linkWidth: (object) => number) => void; exp...
the_stack
import { createEventDispatcher } from 'svelte' import type { Readable, Writable } from 'svelte/store' import type { AudioListener, Camera, Clock, Color, ColorRepresentation, Euler, Event, Intersection, Loader, Material, Matrix4, Mesh, Object3D, Raycaster, Scene, Vector2, Vector3, Web...
the_stack
* Migrations */ /* Upgrade event handler */ const handleUpgrade = () => { getAttrs(["character_sheet"], v => { if (!v.character_sheet || v.character_sheet.indexOf(sheetName) !== 0) upgradeFrom162(); else if (v.character_sheet.slice(32) !== sheetVersion) upgradeSheet(v.charac...
the_stack
namespace MakerJs.model { /** * @private */ function getNonZeroSegments(pathToSegment: IPath, breakPoint: IPoint): IPath[] { var segment1 = cloneObject(pathToSegment); if (!segment1) return null; var segment2 = path.breakAtPoint(segment1, breakPoint); if (segment2)...
the_stack
"use strict" import Rect = require("./rect"); import Css = require("./css"); import BlokUserSettings = require("./blok-user-settings"); import BlokContainer = require("./blok-container"); import BlokAdapter = require("./blok-adapter"); import Utils = require("./utils"); /** * Wraps an Illustrator pageItem to add the...
the_stack
import { RocketCrab, Party, Player, ServerGame, ClientParty, FinderState, FINDER_ACTIVE_MS, MAX_CHATS_OVERALL, MAX_CHATS_FROM_SINGLE_PLAYER, } from "../types/types"; import { PartyStatus, GameStatus, SocketEvent, RocketcrabMode, } from "../types/enums"; import { getSe...
the_stack
module TDev.RT { export interface IProxyResponse { response: WebResponse; statusCode: number; } //? An HTTP web request //@ stem("request") ctx(general,gckey) export class WebRequest extends RTValue { private _method: string = undefined; private _url: string ...
the_stack
import { TestBed, waitForAsync } from "@angular/core/testing"; import { By } from "@angular/platform-browser"; import { Component, OnInit } from "@angular/core"; import { MdlRadioComponent, MdlRadioGroupRegisty } from "./mdl-radio.component"; import { FormBuilder, FormControl, FormGroup, FormsModule, Reactive...
the_stack
import { Tone } from "../Tone"; import { isDefined } from "./TypeCheck"; import { assert } from "./Debug"; /** * An IntervalTimeline event must have a time and duration */ export interface IntervalTimelineEvent { time: number; duration: number; [propName: string]: any; } type IteratorCallback = (event: IntervalT...
the_stack
declare module "gl-matrix" { interface glMatrix { EPSILON: number; ARRAY_TYPE: number[]; RANDOM: () => number; setMatrixArrayType<T>(type: T): void; toRadian(a: number): number; } export var glMatrix: glMatrix; export interface vec2 { create(): number[...
the_stack
import { AvNodeTransform, EndpointAddr, InitialInterfaceLock, MinimalPose, minimalPoseFromTransform } from '@aardvarkxr/aardvark-shared'; import bind from 'bind-decorator'; import * as React from 'react'; import { EntityComponent } from './aardvark_composed_entity'; import { AvEntityChild } from './aardvark_entity_chil...
the_stack
import _ from 'lodash' import config from 'config' import got, { Got } from 'got' import { nanoid } from 'nanoid' import { EntityManager, getManager, getRepository, In } from 'typeorm' import { User } from '../core/user' import { UserEntity } from '../entities/user' import { InvalidArgumentError, UnauthorizedError } f...
the_stack
import { cleanup, screen } from "solid-testing-library"; import { IconCheckCircleSolid } from "../../icons/IconCheckCircleSolid"; import { renderWithHopeProvider } from "../../test-utils"; import { inputElementStyles, InputElementVariants } from "../input.styles"; import { InputElement, InputLeftElement, InputRightEle...
the_stack
import * as Delir from '@delirvfx/core' import classnames from 'classnames' import _ from 'lodash' import React from 'react' import { SpreadType } from '../../utils/Spread' import TimePixelConversion from '../../utils/TimePixelConversion' import * as EditorOps from '../../domain/Editor/operations' import { ContextPro...
the_stack
import Base from '~/src/command/fetch/base' import TypeTaskConfig from '~/src/type/namespace/task_config' import PathConfig from '~/src/config/path' import fs from 'fs' import _ from 'lodash' import json5 from 'json5' import moment from 'moment' import ApiWeibo from '~/src/api/weibo' import MMblog from '~/src/model/mb...
the_stack
'use strict'; import { ResultWithHttpResponse } from './results'; /** * Defines type describing callback with two results. * * @template TResult1 - Type of the first result value, possibly Error. * @template TResult2 - Type of the second result value, possibly Error. */ export type DoubleValueCallback<TResult1, ...
the_stack
import { ATN } from 'antlr4ts/atn/ATN' import { ATNDeserializer } from 'antlr4ts/atn/ATNDeserializer' import { FailedPredicateException } from 'antlr4ts/FailedPredicateException' import { NoViableAltException } from 'antlr4ts/NoViableAltException' import { Parser } from 'antlr4ts/Parser' import { ParserRuleContext } fr...
the_stack
import { JSToken, stringToTokens, tokenToKeywordMap } from "../../javascript"; import { TokenReader, IRenderSettings, makeRenderSettings, IRenderable, defaultRenderSettings } from "../../../helpers"; import { ValueTypes, Value, Type, nullValue } from "./value"; import { ArgumentList } from "../constructs/function"; imp...
the_stack
import type { AccountLike, Account, Currency, CryptoCurrency, TokenCurrency, } from "../../types"; import type { CounterValuesState } from "../../countervalues/types"; import { calculate, calculateMany } from "../../countervalues/logic"; import { flattenAccounts, getAccountCurrency, getAccountHistoryBal...
the_stack
import * as os from 'os'; import * as util from 'util'; import * as path from 'path'; // Thirdparty import { UX } from '@salesforce/command'; import { Messages, fs } from '@salesforce/core'; import { has } from 'lodash'; import { get, getObject, getString } from '@salesforce/ts-types'; import { set, isEmpty } from '@...
the_stack
import React, { useState, useEffect } from 'react'; import * as actions from '../../actions'; import { connect } from "react-redux"; import { Dispatch } from 'redux'; import classNames from 'classnames'; import { Modal, Steps, Form, Button, Spin } from 'antd'; import { FormComponentProps } from 'antd/lib/form'; import ...
the_stack
function id(d: any[]): any { return d[0]; } const opExpr = (operator) => { return d => ({ operator: operator, left: d[0], right: d[2] }); } const notOp = (d) => { return { operator: 'NOT', operand: d[1] }; } const unquotedValue = (d, location, reject) => { let query = d.join(''); if ...
the_stack
import { derived, get, Readable, writable } from 'svelte/store' import { persistent } from '../helpers' import { networkStatus } from '../networkStatus' import { NodePlugin } from '../typings/node' import { MILLISECONDS_PER_SECOND, SECONDS_PER_MILESTONE } from '../time' import { wallet } from '../wallet' import type {...
the_stack
import {CustomMarginsOrientation, Margins, MarginsSetting, MarginsType, MeasurementSystem, MeasurementSystemUnitType, PrintPreviewMarginControlContainerElement, PrintPreviewMarginControlElement, PrintPreviewModelElement, Size, State} from 'chrome://print/print_preview.js'; import {assert, assertNotReached} from 'chrome...
the_stack
import { EventHandler, Value } from "@atomist/automation-client/lib/decorators"; import { automationClientInstance } from "@atomist/automation-client/lib/globals"; import { subscription } from "@atomist/automation-client/lib/graph/graphQL"; import { EventFired, HandleEvent } from "@atomist/automation-client/lib/HandleE...
the_stack
import {Inject, Injectable} from '@angular/core'; import {APP_CONFIG, AppConfig} from '../../app.config'; import {HttpClient, HttpHeaders, HttpParams} from '@angular/common/http'; import {isArray, isNullOrUndefined} from '../../common/util'; import {Observable} from 'rxjs'; import {map} from 'rxjs/operators'; import {B...
the_stack