text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
// ------------------------------------------------------------------------ // Copyright (c) 2018 Alexandre Bento Freire. All rights reserved. // Licensed under the MIT License+uuid License. See License.txt for details // ------------------------------------------------------------------------ // This file was gene...
the_stack
import { h, createApp, defineAsyncComponent, nextTick, ref, defineComponent, } from '../../../src' const resolveComponent = { render() { return h('p', 'resolved') }, } const loadingComponent = { render() { return h('p', 'loading') }, } const errorComponent = defineComponent({ render() {...
the_stack
import Ambrosia = require("ambrosia-node"); import IC = Ambrosia.IC; import Utils = Ambrosia.Utils; const _knownDestinations: string[] = []; // All previously used destination instances (the 'PI' Ambrosia app/service can be running on multiple instances, potentially simultaneously); used by the postResultDispatcher (i...
the_stack
import React from 'react'; import { fireEvent, waitFor } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { $Listutil } from '../index.d'; import { EasyField } from '../src'; import { renderForm } from './helper'; describe('native browser field', () => { test('input*', asy...
the_stack
import { AbstractControl, AbstractControlOptions, AsyncValidatorFn, FormArray, FormBuilder, FormControl, FormGroup, ValidatorFn, } from '@angular/forms'; import { classToPlain, ClassTransformOptions, plainToClass } from 'class-transformer'; import { ClassConstructor } from 'class-transformer'; import { ...
the_stack
declare global { interface NexusGen extends NexusGenTypes {} } export interface NexusGenInputs {} export interface NexusGenEnums {} export interface NexusGenScalars { String: string Int: number Float: number Boolean: boolean ID: string } export interface NexusGenObjects { ALXAXBKq: { // root type ...
the_stack
import { Requester, Validator } from '@chainlink/ea-bootstrap' import { ExecuteWithConfig, Execute, AdapterContext } from '@chainlink/types' import { Config } from '../config' import { ethers, BigNumber } from 'ethers' import { OracleRequester } from '../contracts' import { AddressRewards, getDataForCID, getDataF...
the_stack
import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; export const SystemData: msRest.CompositeMapper = { serializedName: "systemData", type: { nam...
the_stack
/** * A simple IDictionary<string, string> */ export interface StringKeyValuePair { [key: string]: string } /** * A duplex key-value pair for an element, by GUID or its DOM object reference. */ interface ElementUID { node: Element, uid: string; } /** * Parameters passed into validation providers fro...
the_stack
import React = require("react"); import { Button } from "azure-devops-ui/Button"; import { ButtonGroup } from "azure-devops-ui/ButtonGroup"; import { CustomDialog } from "azure-devops-ui/Dialog"; import { EditableDropdown } from "azure-devops-ui/EditableDropdown"; import { TitleSize } from "azure-devops-ui/Heade...
the_stack
import {dispatchMouseEvent} from '@angular/cdk/testing'; import {Component, DebugElement, QueryList, ViewChild, ViewChildren} from '@angular/core'; import {ComponentFixture, fakeAsync, flush, TestBed, tick} from '@angular/core/testing'; import {FormControl, FormsModule, NgModel, ReactiveFormsModule} from '@angular/form...
the_stack
import { ChannelType } from "@kie-tooling-core/editor/dist/api"; import { EmbeddedEditor, useDirtyState, useEditorRef } from "@kie-tooling-core/editor/dist/embedded"; import { Alert, AlertActionCloseButton, AlertActionLink } from "@patternfly/react-core/dist/js/components/Alert"; import { Button } from "@patternfly/rea...
the_stack
import { loadConfig } from "../"; import * as path from "path"; import * as fs from "fs"; import { DefaultClientConfig, DefaultServiceConfig, DefaultEngineConfig, } from "../config"; import { Debug } from "../../utilities"; const makeNestedDir = (dir) => { if (fs.existsSync(dir)) return; try { fs.mkdirS...
the_stack
import { createDescendantContext } from "@chakra-ui/descendant" import { useControllableState, useIds, useUnmountEffect, } from "@chakra-ui/hooks" import { createContext, EventKeyMap, mergeRefs, PropGetter, } from "@chakra-ui/react-utils" import { addItem, callAllHandlers, focus, isArray, isUnde...
the_stack
import { ExcelExportService } from '@slickgrid-universal/excel-export'; import { TextExportService } from '@slickgrid-universal/text-export'; import { autoinject } from 'aurelia-framework'; import { Aggregators, AureliaGridInstance, Column, DelimiterType, FieldType, FileType, Filters, Formatters, Grid...
the_stack
import { defineComponent, PropType, nextTick, computed, ref, reactive, watch, onMounted, onBeforeUnmount, Transition, withModifiers, TeleportProps, Teleport } from 'vue' import './assets/svg/iconfont' import { SvgIcon } from './components/svg-icon' import { Toolbar } from './components/toolba...
the_stack
import { coalesce } from 'vs/base/common/arrays'; import { Disposable } from 'vs/base/common/lifecycle'; import { ICommandTracker } from 'vs/workbench/contrib/terminal/browser/terminal'; import { ICommandDetectionCapability, IPartialCommandDetectionCapability, ITerminalCapabilityStore, TerminalCapability } from 'vs/pla...
the_stack
import { CatalogClient } from '@backstage/catalog-client'; import { Entity, EntityName } from '@backstage/catalog-model'; import { ConfigReader } from '@backstage/config'; import { DefaultJenkinsInfoProvider, JenkinsConfig, JenkinsInfo, } from './jenkinsInfoProvider'; describe('JenkinsConfig', () => { it('Read...
the_stack
module android.view { import ViewParent = android.view.ViewParent; import View = android.view.View; import Resources = android.content.res.Resources; import Rect = android.graphics.Rect; import Point = android.graphics.Point; import Canvas = android.graphics.Canvas; import Handler = android....
the_stack
import { Component, AfterViewInit, HostListener, ViewChild } from '@angular/core'; import { trigger, state, style, animate, transition } from '@angular/animations'; import { Svg, SvgItem, Point, SvgPoint, SvgControlPoint, formatNumber } from './svg'; import { MatIconRegistry } from '@angular/material/icon'; import { Do...
the_stack
import * as React from 'react' import * as ReactDOM from 'react-dom' import { Grid, AutoSizer } from 'react-virtualized' import { shallowEquals } from '../../../lib/equality' import { ListRow } from './list-row' import { createUniqueId, releaseUniqueId } from '../../lib/id-pool' /** * Describe the first argument give...
the_stack
import Vue from 'vue'; import Vuex from 'vuex'; import loggerFactory from '@/ts/instances/loggerFactory'; import { ChannelModel, ChannelsDictModel, ChannelsDictUIModel, ChannelUIModel, CurrentUserInfoModel, CurrentUserInfoWoImage, CurrentUserSettingsModel, EditingMessage, GrowlModel, GrowlType, I...
the_stack
import * as ReactPropTypes from 'prop-types' /** * React Native's layout system is based on Flexbox and is powered both * on iOS and Android by an open source project called `Yoga`: * https://github.com/facebook/yoga * * The implementation in Yoga is slightly different from what the * Flexbox spec defines - for ...
the_stack
import React, { useState, useEffect, useRef, useCallback, useImperativeHandle } from 'react'; import clsx from 'clsx'; import { CarouselItem } from './Item'; import { setTransform, setTransition } from '../../utils/style'; import canUse from '../../utils/canUse'; export interface CarouselProps { children: React.Reac...
the_stack
import { RuleTester } from "eslint" import rule from "../../../lib/rules/no-unused-capturing-group" const tester = new RuleTester({ parserOptions: { ecmaVersion: 2020, sourceType: "module", }, }) tester.run("no-unused-capturing-group", rule as any, { valid: [ ` const comput...
the_stack
import * as assert from 'assert'; import { ISingleEditOperation } from 'vs/editor/common/core/editOperation'; import { Range } from 'vs/editor/common/core/range'; import { EndOfLinePreference, EndOfLineSequence } from 'vs/editor/common/model'; import { MirrorTextModel } from 'vs/editor/common/model/mirrorTextModel'; im...
the_stack
import { IExecuteFunctions, } from 'n8n-core'; import { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, } from 'n8n-workflow'; import { keysToSnakeCase, pagerDutyApiRequest, pagerDutyApiRequestAllItems, } from './GenericFunctions'; import { in...
the_stack
import fetch from "isomorphic-fetch"; import { User, Role, Permission, OrgUnit } from "./model"; import { Maybe } from "tsmonad"; import lodash from "lodash"; import buildJwt from "../session/buildJwt"; import GenericError from "./GenericError"; import addTrailingSlash from "../addTrailingSlash"; import urijs from "uri...
the_stack
import { PredictionsOptions, TranslateTextInput } from '../src/types'; import { PredictionsClass } from '../src/Predictions'; import { default as AWSConvertPredictionsProvider } from '../src/Providers/AmazonAIConvertPredictionsProvider'; import { default as AWSIdentifyPredictionsProvider } from '../src/Providers/Amazon...
the_stack
import { action, makeObservable, observable, reaction } from "mobx"; import { ItemStore } from "../../../common/item.store"; import type { StorageLayer } from "../../utils"; import { autoBind, disposer } from "../../utils"; import type { ForwardedPort } from "../port-forward-item"; import { PortForwardItem } from "../p...
the_stack
export namespace IBitcoinApi { export interface MempoolInfo { loaded: boolean; // (boolean) True if the mempool is fully loaded size: number; // (numeric) Current tx count bytes: number; // (numeric) Sum of all virtual transaction sizes as defined in...
the_stack
import LongTimer from "./LongTimer"; import util from "util"; /* istanbul ignore file */ function extendInternal<T, U>(to: any, from: U, deep: boolean): T & U { if (from) { for (const key in from) { if (Object.prototype.hasOwnProperty.call(from, key)) { if (deep && typeof from[...
the_stack
import * as http from 'http'; import { IncomingMessage } from 'http'; import * as https from 'https'; import * as url from 'url'; import * as fs from 'fs'; import * as Path from 'path'; import { Server as WebSocketServer } from 'ws'; import { AddressInfo, Socket } from 'net'; import { createGzip } from 'zlib'; import L...
the_stack
import { DataProvider } from '../ojdataprovider'; import { dvtBaseComponent, dvtBaseComponentEventMap, dvtBaseComponentSettableProperties } from '../ojdvt-base'; import { JetElement, JetSettableProperties, JetElementCustomEvent, JetSetPropertyType } from '..'; export interface ojPictoChart<K, D> extends dvtBaseComponen...
the_stack
namespace egret.web { /** * @private */ export class WebPlayer extends egret.HashObject implements egret.sys.Screen { public constructor(container: HTMLDivElement, options: runEgretOptions) { super(); this.init(container, options); this.initOrientation(); ...
the_stack
import fs from 'fs' import assert from 'assert' import net from 'net' import sinon from 'sinon' import config from '../../src/config' import Orderer from '../../src/service/orderer' import { NetworkCreateOrdererOrgType } from '../../src/model/type/network.type' import MinimumNetwork from '../util/minimumNetwork' descr...
the_stack
import Dialog from '../Dialog'; import Client from '../../Client'; import Page from '../DialogPage'; import Section from '../DialogSection'; import Navigation from '../DialogNavigation'; import List from '../DialogList'; import ListItem from '../DialogListItem'; import AvatarSet from '../AvatarSet'; import Log from '.....
the_stack
import { Document } from "../../Document"; import { Helper, RTFJSError } from "../../Helper"; import { GlobalState } from "../Containers"; import { DestinationBase, DestinationFormattedTextBase, DestinationTextBase, findParentDestination, } from "./DestinationBase"; import { PictDestination } from "./Pi...
the_stack
* @module KeyboardShortcut */ import { ConditionalBooleanValue, FunctionKey, SpecialKey, UiError } from "@itwin/appui-abstract"; import { CursorInformation } from "../cursor/CursorInformation"; import { ActionButtonItemDef } from "../shared/ActionButtonItemDef"; import { ItemDefBase } from "../shared/ItemDefBase"; im...
the_stack
import { FragmentRefs } from 'relay-runtime'; import { TypedFragment } from 'graphql-ts-client-relay'; import type { AcceptableVariables, UnresolvedVariables, FieldOptions, DirectiveArgs } from 'graphql-ts-client-api'; import { ObjectFetcher, createFetcher, createFetchableType } from 'graphql-ts-client-api'; import {De...
the_stack
namespace ts.projectSystem { export import TI = server.typingsInstaller; export import protocol = server.protocol; export import CommandNames = server.CommandNames; export import TestServerHost = TestFSWithWatch.TestServerHost; export type File = TestFSWithWatch.File; export type SymLink...
the_stack
import React, { Fragment, useEffect, useState } from "react"; import { Modal, Tabs, Table, Tag, Tooltip, Form, Row, Col, DatePicker, Button } from "antd"; import { RuleInstanceItem } from "@/pages/rule-engine/instance/data"; import { PaginationConfig, SorterResult } from 'antd/es/table'; import encodeQueryParam from '@...
the_stack
import {ClassData, ReferenceClassData, ArrayClassData, PrimitiveClassData} from './ClassData'; import {JVMThread} from './threading'; import ClassLock from './ClassLock'; import {IClasspathItem, ClasspathFactory} from './classpath'; import {TriState} from './enums'; import {get_component_type, is_array_type, is_primiti...
the_stack
import React from "react"; import { useRecoilState, useRecoilValue } from "recoil"; import { isRunningInElectron } from "../../../utils/electron"; import { deleteProjectInDb, deleteTaskInDb, getProjects, renameProjectInDb, reorderTasksInDb, saveProjectInDb, saveTaskInDb, updateProjectInDb, updateRunn...
the_stack
import * as grpc from '@grpc/grpc-js'; import { ChannelOptions } from '@grpc/grpc-js/build/src/channel-options'; import { loadSync } from '@grpc/proto-loader'; import { ConsecutiveBreaker, IDefaultPolicyContext, IPolicy, isBrokenCircuitError, Policy, } from 'cockatiel'; import { castGrpcError, ClientClose...
the_stack
"use strict"; // uuid: da361f3a-5280-4386-9ffa-2753fb2be3f8 // ------------------------------------------------------------------------ // Copyright (c) 2018 Alexandre Bento Freire. All rights reserved. // Licensed under the MIT License+uuid License. See License.txt for details // -------------------------------------...
the_stack
import { EventEmitter } from 'events'; import type { IncomingMessage, ClientRequest } from 'http'; import RequestHandlerHelper from '../client-mixins/request-handler.helper'; import { TRequestFullStreamData } from '../client-mixins/request-maker.mixin'; import { ETwitterStreamEvent } from '../types'; import TweetStream...
the_stack
import {Field, Form as FormikForm, Formik, FormikBag, FormikErrors, FormikProps, withFormik} from "formik"; import * as React from "react"; import * as Yup from "yup"; import {Organization} from "../../store/organization/types"; import { Button, Divider, Label, Radio, Form, Grid, Message, ...
the_stack
import { fireSingleRecordValidations } from './single-record-dispatcher'; import { RecordValidatorArgs, RecordValidationFunctionAsync, InternalRecordValidation, } from '../model'; describe('single-record-dispatcher', () => { describe('fireSingleRecordValidations', () => { it(` Spec #1 When ...
the_stack
import chai from 'chai'; import 'mocha'; import { Game } from '../src/Game'; import { fail } from 'assert'; import { Resource } from '../src/Resource'; import { MatchWarn } from 'dimensions-ai'; const expect = chai.expect; describe('Test Game', () => { it('should initialize game map properly', () => { const game...
the_stack
import { tracker, gotEmitter, version, HttpMethod, HttpProtocol, buildEcommerceTransaction, buildEcommerceTransactionItem, buildPageView, buildScreenView, buildSelfDescribingEvent, buildStructEvent, Payload, } from '../src/index'; import test, { ExecutionContext } from 'ava'; import nock from 'n...
the_stack
import * as types from "../../../../common/types"; import * as cp from "child_process"; import * as utils from "../../../../common/utils"; import * as fsu from "../../../utils/fsu"; import * as json from "../../../../common/json"; import { makeStack, readAndDeleteDataFile, makeTestLogPositionFromMochaError } from "./in...
the_stack
/* eslint-disable @typescript-eslint/class-name-casing */ /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-empty-interface */ /* eslint-disable @typescript-eslint/no-namespace */ /* eslint-disable no-irregular-whitespace */ import { OAuth2Client, JWT, Compute, User...
the_stack
"use strict"; import { MessageRoom, Game, Server, User, Utils, Colors, Stopwatch, Player, } from "../../core/core"; class OneDayPlayer extends Player { public actionRole: Roles; public initialRole: Roles; public role: Roles; public voteCount = 0; public hanged = false; public vote = ""; co...
the_stack
import * as argparse from 'argparse'; import * as fs from 'fs'; import { Ast, Type } from 'thingtalk'; import type * as Tp from 'thingpedia'; import * as StreamUtils from '../../../lib/utils/stream-utils'; import genBaseCanonical from '../lib/base-canonical-generator'; import { clean } from '../../../lib/utils/misc-ut...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/supportTicketsMappers"; import * as Parameters from "../models/parameters"; import { MicrosoftSupportContext } from "../microsoftSupportContext"; ...
the_stack
import { Inject, Injectable, Optional } from '@angular/core'; import { Http, Headers, URLSearchParams } from '@angular/http'; import { RequestMethod, RequestOptions, RequestOptionsArgs } from '@angular/http'; import { Response, ResponseContentType } from '@ang...
the_stack
import { ensureIsArray } from '../helpers/array-utils'; import { BpmnMxGraph } from '../mxgraph/BpmnMxGraph'; import { computeBpmnBaseClassName } from '../mxgraph/style-helper'; import { CssRegistry } from './css-registry'; import MxGraphCellUpdater, { newMxGraphCellUpdater } from '../mxgraph/MxGraphCellUpdater'; impor...
the_stack
import React from 'react' import AppTheme from './layout/AppTheme' import Dashboard from './dashboard/Dashboard' import Grid from '@material-ui/core/Grid' import Typography from '@material-ui/core/Typography' import Paper from '@material-ui/core/Paper' import LinearProgress from '@material-ui/core/LinearProgress' impor...
the_stack
import { TelegramTypes } from 'messaging-api-telegram'; import { Event } from '../context/Event'; import { TelegramRawEvent } from './TelegramTypes'; export default class TelegramEvent implements Event<TelegramRawEvent> { _rawEvent: TelegramRawEvent; _timestamp: number; constructor(rawEvent: TelegramRawEvent...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [ssm-contacts](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awssystemsmanagerincidentmanagercontacts.html). * * @param sid [SID](https://docs.aws.ama...
the_stack
module VORLON { declare var $: any; export class DOMExplorerClient extends ClientPlugin { private _internalId = 0; private _lastElementSelectedClientSide; private _globalloadactive = false; private _overlay: HTMLElement; private _observerMutationObserver; priva...
the_stack
import aceEvent, { AceEvent } from "@wowts/ace_event-3.0"; import aceTimer, { AceTimer } from "@wowts/ace_timer-3.0"; import { LuaArray, ipairs, pairs, unpack } from "@wowts/lua"; import { concat, insert, sort } from "@wowts/table"; import { AceModule } from "@wowts/tsaddon"; import { C_Soulbinds, GetSpellInfo,...
the_stack
import * as tf from '@tensorflow/tfjs-core'; import {TensorContainerObject} from '@tensorflow/tfjs-core'; import {array, DatasetContainer} from './dataset'; import * as tfd from './index'; import {iteratorFromItems, LazyIterator} from './iterators/lazy_iterator'; import {describeAllEnvs} from './util/test_utils'; clas...
the_stack
import { graphql } from 'graphql' import { applyMiddleware } from 'graphql-middleware' import { makeExecutableSchema } from 'graphql-tools' import { shield, rule } from '../src/index' import { IHashFunction } from '../src/types' describe('caching:', () => { test('Strict cache - Rule is called multiple times, based o...
the_stack
import EventEmitter from 'eventemitter3' import PromiseQueue from 'promise-queue' import {ResCode} from './PTPDatacode' import {PTPDataView} from './PTPDataView' import {usb} from './usb' import {toHexString} from './util' enum PTPType { Command = 0x1, Data = 0x2, Response = 0x3, Event = 0x4, } const PTPCommandM...
the_stack
// IMPORTANT // This file was generated by https://github.com/Bolisov/google-api-typings-generator. Please do not edit it manually. // In case of any problems please post issue to https://github.com/Bolisov/google-api-typings-generator // Generated from: https://cloudfunctions.googleapis.com/$discovery/rest?version=v1 ...
the_stack
import { Component, OnInit, OnDestroy, ViewChild, ElementRef, NgZone, TemplateRef } from "@angular/core"; import { Subscription, BehaviorSubject, fromEvent } from "rxjs"; import { PanelExtendService } from "./panel-extend.service"; import { TransformMatrixModel, TrackModel, SelectionRectModel, PanelInfoModel, ScopeEnch...
the_stack
import { FeatureComponent } from 'app/shared/components/feature-component'; import { OnDestroy, Component, Injector, Input, ViewChild, ElementRef } from '@angular/core'; import { Subject, Observable } from 'rxjs'; import { CredentialsData } from '../../Models/deployment-data'; import { SiteService } from 'app/shared/se...
the_stack
* ModifySubnetDHCPRelay返回参数结构体 */ export interface ModifySubnetDHCPRelayResponse { /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string } /** * DescribeNatSubnets返回参数结构体 */ export interface DescribeNatSubnetsResponse { /** * NAT子网信息 */ NatSubnetInfoSet?: Array<NatSubnetInfo> ...
the_stack
import { v4 } from "https://deno.land/std/uuid/mod.ts"; import Service, { ServiceResult } from './Service.ts'; import User, { PASSWORD_PATTERN } from '../models/User.ts'; import Cookie from '../lib/Cookie.ts'; import Logger from '../lib/Logger.ts'; import Session from '../models/Session.ts'; import HttpError from '../...
the_stack
import {ComboKey, Key, Modifier, Binding} from '../../utils/dom-util'; export enum SPECIAL_SHORTCUT { DOC_ONLY = 'DOC_ONLY', GO_KEY = 'GO_KEY', V_KEY = 'V_KEY', } /** * Enum for all shortcut sections, where that shortcut should be applied to. */ export enum ShortcutSection { ACTIONS = 'Actions', DIFFS = '...
the_stack
import type { TextObject } from "kittik-shape-text"; import { Text } from "kittik-shape-text"; import type { AnimationDeclaration } from "../src/animation/AnimationDeclaration"; import { Canvas } from "terminal-canvas"; import type { OrderDeclaration } from "../src/slide/OrderDeclaration"; import { Print } from "kittik...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type ConversationsTestsQueryVariables = {}; export type ConversationsTestsQueryResponse = { readonly me: { readonly " $fragmentRefs": FragmentRefs<"Conversations_me">; } | null; }; export type Conversat...
the_stack
import classnames from 'classnames'; import { isUndefined } from 'lodash'; import { useEffect, useLayoutEffect, useRef, useState } from 'react'; import { VscListTree } from 'react-icons/vsc'; import { useHistory } from 'react-router-dom'; import SyntaxHighlighter from 'react-syntax-highlighter'; import { tomorrowNight ...
the_stack
import { NetflixService } from '@/netflix/NetflixService'; import { ServiceApi, ServiceApiSession } from '@apis/ServiceApi'; import { Errors } from '@common/Errors'; import { Requests } from '@common/Requests'; import { ScriptInjector } from '@common/ScriptInjector'; import { Utils } from '@common/Utils'; import { Item...
the_stack
import {TriState} from './enums'; import assert from './assert'; import * as fs from 'fs'; import * as BrowserFS from 'browserfs'; const bfsPath = BrowserFS.BFSRequire('path'); import * as nodePath from 'path'; import {asyncForEach} from './util'; // Type information only. import TBFSFS from 'browserfs/dist/node/core/F...
the_stack
import { Util } from '../util'; import { crossReferenceStreamObject_string, simpleListObject_1, encode } from './Data2' test('readNextWord', () => { let res = Util.readNextWord(crossReferenceStreamObject_string, 0) expect(Util.convertAsciiToString(res.result)).toBe("625") res = Util.readNextWord(crossRefe...
the_stack
declare namespace RageEnums.Natives { const enum App { /** * @returns {Void} Void */ APP_CLEAR_BLOCK = "0x5FE1DF3342DB7DBA", /** * @returns {Void} Void */ APP_CLOSE_APP = "0xE41C65E07A5F05FC", /** * @returns {Void} Void */ APP_CLOSE_BLOCK = "0xE8E3FCF72EAC0EF8", /** * @returns {Bool} Bool ...
the_stack
import Utils from "./utils"; import { Player, PlayerState, TrackInfo, SpotifyUtils } from "./spotify-apis"; import Resources from "./resources"; import config from "./config"; import { PathTemplate, TemplatedSearchTree } from "./path-template"; import { Connection, MessageType } from "./connection"; export default cla...
the_stack
import 'chrome://webui-test/mojo_webui_test_support.js'; import {MostVisitedBrowserProxy} from 'chrome://resources/cr_components/most_visited/browser_proxy.js'; import {MostVisitedElement} from 'chrome://resources/cr_components/most_visited/most_visited.js'; import {MostVisitedPageCallbackRouter, MostVisitedPageHandle...
the_stack
import bundleAsync, { cleanUnusedLockfiles } from './bundleAsync'; jest.setTimeout(100000); // This integration test needs to validate if the packages are being bundled properly. // To validate `bundle.js` from `<package>@<version`, we need to use the bundle size. // It's an indicator of the bundled content, e.g. whe...
the_stack
module android.content.res { import DisplayMetrics = android.util.DisplayMetrics; import Color = android.graphics.Color; import TypedValue = android.util.TypedValue; import Drawable = android.graphics.drawable.Drawable; import ColorDrawable = android.graphics.drawable.ColorDrawable; import Attr...
the_stack
import * as assert from 'assert'; import * as path from 'path'; import rewire = require('rewire'); import * as sinon from 'sinon'; import uuid = require('uuid'); import { CancellationToken, MessageItem, MessageOptions, Progress, ProgressOptions, QuickPickItem, QuickPickOptions, window, } from 'vscode'; ...
the_stack
import { getLiteralType, getObjectType, getArrayType } from '../utils' import { Rule, Schema, DateType, EnumType, FileType, SchemaRef, ArrayType, StringType, ObjectType, NumberType, EnumSetType, BooleanType, TypedSchema, ParsedSchemaTree, } from '@ioc:Adonis/Core/Validator' /** * String s...
the_stack
import { ArrayUtils } from './array.utils'; import { TypeChecker } from './type.checker'; import { IObjectEntry } from './utils.interfaces'; export class ObjectUtils { /** * Recursively removes all unused attributes of an object * @param inp */ public static deepReduction(inp: Record<string, any>) { Object...
the_stack
import { IKRigComponentType, PointData } from '../components/IKRigComponent' import { Object3D, Quaternion, Vector3, Matrix4 } from 'three' import { IKPoseComponent, IKPoseComponentType, IKPoseLimbData, IKPoseLookTwist, IKPoseSpineData } from '../components/IKPoseComponent' import { BACK, DOWN, UP, FORWARD, L...
the_stack
import EditorUI = require("../ui/EditorUI"); /** * Interface around a project template */ export interface ProjectTemplateDefinition { name: string; desc: string; screenshot: string; folder: string; languages: string[]; appDelegateClass: string; namespace: string; } // Supported project l...
the_stack
import {Debugger} from '../common/debugger'; import * as DomUtil from '../common/dom_util'; import {Engine} from '../common/engine'; import {SemanticAttr, SemanticRole, SemanticType} from '../semantic_tree/semantic_attr'; import {SemanticHeuristics} from '../semantic_tree/semantic_heuristics'; import {SemanticNode} fro...
the_stack
import { Inject, Injectable } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { LoggerService } from '../abstract/logger.service'; import { LoggerInstance } from '../logger/loggerInstance'; // mqtt import {Chat21Service} from './chat-service'; // models import { MessageModel } from '../../models...
the_stack
import {Constants} from "../../../scripts/constants"; import {ClipMode} from "../../../scripts/clipperUI/clipMode"; import {ClipperState} from "../../../scripts/clipperUI/clipperState"; import {Status} from "../../../scripts/clipperUI/status"; import {OptionsPanel, OptionsPanelProp} from "../../../scripts/clipperUI/p...
the_stack
import {HttpErrorResponse} from '@angular/common/http'; import {discardPeriodicTasks, fakeAsync, TestBed, tick} from '@angular/core/testing'; import {ConfigService} from '@app/components/config/config'; import {ApiClient, ApiClientApproval, ApiFlow, ApiFlowState, ApiScheduledFlow, ApproverSuggestion} from '@app/lib/api...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/runbookOperationsMappers"; import * as Parameters from "../models/parameters"; import { AutomationClientContext } from "../automationClientContext...
the_stack
import { DesignToken } from "@microsoft/fast-foundation"; import { accentBaseColor, accentFillRest, accentForegroundRest, accentStrokeControlRest, baseLayerLuminance, bodyFont, controlCornerRadius, fillColor, focusStrokeInner, focusStrokeOuter, focusStrokeWidth, foregroun...
the_stack
import rule from "./no-unsafe-subscript"; import { RuleTester } from "@typescript-eslint/experimental-utils/dist/ts-eslint"; import { AST_NODE_TYPES } from "@typescript-eslint/experimental-utils/dist/ts-estree"; const ruleTester = new RuleTester({ parserOptions: { sourceType: "module", project: "./tsconfig.t...
the_stack
import { RootConnection, SessionConnection } from 'chrome-debugging-client'; import { TestServerApi } from './test-server-api'; import Protocol from 'devtools-protocol'; import { FrameStore } from './models/frame'; import { ServiceWorkerState } from './models/service-worker-state'; import { addTimeout } from './timeo...
the_stack
import * as Web3 from "web3"; // Utils import { BigNumber } from "../../../utils/bignumber"; import * as TransactionUtils from "../../../utils/transaction_utils"; import * as Units from "../../../utils/units"; import { Web3Utils } from "../../../utils/web3_utils"; // Adapters import { SimpleInterestLoanAdapter } from...
the_stack
import { Nullable } from "../../../../shared/types"; import * as React from "react"; import { DirectionalLight, SpotLight, PointLight, ShadowGenerator, CascadedShadowGenerator, } from "babylonjs"; import { Inspector, IObjectInspectorProps } from "../../components/inspector"; import { InspectorList } from "../.....
the_stack
import { PivotFieldList } from '../../src/pivotfieldlist/base/field-list'; import { createElement, remove, closest } from '@syncfusion/ej2-base'; import { pivot_dataset } from '../base/datasource.spec'; import { IDataSet } from '../../src/base/engine'; import { PivotCommon } from '../../src/common/base/pivot-common'; i...
the_stack
import * as React from 'react'; import { Link } from '@fluentui/react/lib/Link'; import { DetailsList, Selection, IColumn, buildColumns, IColumnReorderOptions, IDragDropEvents, IDragDropContext, ColumnActionsMode, IDetailsList, } from '@fluentui/react/lib/DetailsList'; import { MarqueeSelection } from...
the_stack