text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { Observable, of } from 'rxjs'; import { RestApiConnectorService } from '../services/connectors/rest-api/rest-api-connector.service'; import { Serializable, ValidationData } from './serializable'; import { VersionNumber } from './version-number'; import { logger } from "../util/logger"; // https://github.com/ce...
the_stack
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { fakeAsync, TestBed, tick } from '@angular/core/testing'; import { AccountService } from 'app/core/auth/account.service'; import { JhiWebsocketService } from 'app/core/websocket/websocket.service'; import { UserSettin...
the_stack
import {Trs80File} from "trs80-base"; import {PageTab} from "./PageTab"; import { defer, formatDate, makeIcon, makeIconButton, makeTagCapsule, makeTextButton, TagCapsuleOptions, TRASH_TAG } from "./Utils"; import {LibraryModifyEvent, LibraryRemoveEvent} from "./Library"; import {clearEle...
the_stack
import { TORUS_BUILD_ENV_TYPE, VerifierArgs } from '@toruslabs/torus-embed'; import React from 'react'; import { encrypt, recoverTypedMessage } from 'eth-sig-util'; import { ethers } from 'ethers'; import { keccak256 } from 'ethers/lib/utils'; import { getV3TypedData, getV4TypedData, whiteLabelData } from './data'; imp...
the_stack
import type { APIContext, AstroComponentMetadata, AstroGlobalPartial, EndpointHandler, Params, SSRElement, SSRLoadedRenderer, SSRResult, } from '../../@types/astro'; import { escapeHTML, HTMLString, markHTMLString } from './escape.js'; import { extractDirectives, generateHydrateScript, serializeProps } from './...
the_stack
declare var beforeAll: jest.Lifecycle; declare var beforeEach: jest.Lifecycle; declare var afterAll: jest.Lifecycle; declare var afterEach: jest.Lifecycle; declare var describe: jest.Describe; declare var fdescribe: jest.Describe; declare var xdescribe: jest.Describe; declare var it: jest.It; declare var fit: jest.It; ...
the_stack
import { render, RenderOptions, RenderResult, screen, waitFor, } from "@testing-library/react" import userEvent from "@testing-library/user-event" import fetchMock from "fetch-mock" import { SnackbarProvider } from "notistack" import React, { PropsWithChildren } from "react" import { MemoryRouter } from "reac...
the_stack
import * as fs from 'fs'; import * as path from 'path'; import * as pkgUp from 'pkg-up'; // import * as util from 'util'; import { toMachine } from '../src/scxml'; import { StateNode } from '../src/StateNode'; import { interpret } from '../src/interpreter'; import { SimulatedClock } from '../src/SimulatedClock'; impor...
the_stack
import type { Town } from '@lib' import { encounters } from './encounters' import { getEncounter, getEventDescription } from './events' export interface Location { summary: string available: BiomeName[] function?(town: Town, biome: BiomeName): string } export type BiomeName = | 'mountain' | 'desert' | 'fo...
the_stack
import { Inject, Injectable, Optional } from '@angular/core'; import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http'; import { CustomHttpParameterCodec } from '../encoder'; import { Observable }...
the_stack
import { ClaimsIdentity } from 'botframework-connector'; import { STATUS_CODES } from 'http'; import { StatusCodeError } from './statusCodeError'; import { Activity, AttachmentData, ChannelAccount, ConversationParameters, ConversationResourceResponse, ConversationsResult, PagedMembersResult...
the_stack
import { Observable, forkJoin, from, OperatorFunction, of } from 'rxjs'; import { RequestApiHelper, RequestApiHelperOptions } from './request-api.helper'; import { map, concatMap, flatMap } from 'rxjs/operators'; import { ModelApiInterface } from '../../api/generalmodel-api.interface'; import { Model, MinimalModelSumma...
the_stack
import { getDefaultComponentOptions, getProjectFromWorkspace } from '@angular/cdk/schematics'; import { strings, template as interpolateTemplate } from '@angular-devkit/core'; import { ProjectDefinition } from '@angular-devkit/core/src/workspace'; import { apply, applyTemplates, branchAndMerge, chain, filte...
the_stack
import 'core-js/stable'; import 'regenerator-runtime/runtime'; import fs from 'fs'; import { createHash } from 'crypto'; import path from 'path'; import child_process from 'child_process'; // @ts-ignore import { Promise } from 'bluebird'; import progress from 'progress-stream'; import Service, { Message } from 'webos...
the_stack
import { h, createApp, defineComponent, reactive, FunctionalComponent, ComponentPublicInstance, ComponentOptionsWithObjectProps, ComponentOptionsWithArrayProps, ComponentOptionsWithoutProps, ExtractPropTypes, AppConfig, VNodeProps, ComponentOptionsMixin, DefineComponent, MethodOptions, A...
the_stack
import { ForceConfigGet, ForceOrgDisplay } from '@salesforce/salesforcedx-utils-vscode/out/src/cli'; import { extractJsonObject } from '@salesforce/salesforcedx-utils-vscode/out/src/helpers'; import { RequestService } from '@salesforce/salesforcedx-utils-vscode/out/src/requestService'; import { SFDX_CONFIG_ISV_DE...
the_stack
import { ProtocolService, UiEventService } from '@airgap/angular-core' import { AirGapCoinWallet, AirGapMarketWallet, IACMessageType, IAirGapTransaction, ICoinProtocol, MainProtocolSymbols, SerializedAirGapWallet, TezosProtocol } from '@airgap/coinlib-core' import { TezosProtocolNetwork, TezosProtocolOp...
the_stack
import { ESCAPE } from '@angular/cdk/keycodes'; import { OverlayContainer } from '@angular/cdk/overlay'; import { ComponentFixture, fakeAsync, flush, inject, } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { wrappedErrorMessage, typeInElement, dispatchKeyboardEvent, ...
the_stack
{ assert(Date.UTC(1970, 0, 1) == 0); assert(Date.UTC(1970, 0, 1, 0, 0, 0, 0) == 0); assert(Date.UTC(70) == 0); assert(Date.UTC(90) == 631152000000); assert(Date.UTC(-90) == -65007360000000); assert(Date.UTC(2018, 10, 10, 11, 0, 0, 1) == 1541847600001); assert(Date.UTC(275760, 8, 13, 0, 0, 0, 0) == 8640000...
the_stack
import Integer, { int, isInt } from '../integer' import { newError } from '../error' import { assertNumberOrInteger } from './util' import { NumberOrInteger } from '../graph-types' /* Code in this util should be compatible with code in the database that uses JSR-310 java.time APIs. It is based on a library called...
the_stack
import { HeadQueueEntry, LiveAtlasMarkerSet, LiveAtlasPlayer, LiveAtlasServerDefinition, LiveAtlasWorldDefinition } from "@/index"; import ChatError from "@/errors/ChatError"; import {MutationTypes} from "@/store/mutation-types"; import MapProvider from "@/providers/MapProvider"; import {ActionTypes} from "@/store...
the_stack
import { Injectable } from '@angular/core'; import { ActivatedRoute, NavigationEnd, Router } from '@angular/router'; import { BehaviorSubject } from 'rxjs'; import { filter } from 'rxjs/operators'; import { Breadcrumb } from './types/breadcrumb'; import { BreadcrumbObject, BreadcrumbFunction, } from './types/breadc...
the_stack
import { LrosaDs } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { LROClient } from "../lROClient"; import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; im...
the_stack
import { extensionValidityTest, renderEditor } from 'jest-remirror'; import type { AnnotationOptions } from '../'; import { Annotation, AnnotationExtension } from '../'; extensionValidityTest(AnnotationExtension); function create(options?: AnnotationOptions) { return renderEditor([new AnnotationExtension(options)]...
the_stack
import table from "text-table"; import { fetchCommandFromWAPM } from "./query"; import { extractContents } from "../wasmfs/tar"; import { lowerI64Imports } from "@wasmer/wasm-transformer"; import WasmTerminal from "@runno/terminal"; import { WasmFs } from "../wasmfs"; var COMPILED_MODULES: { [name: string]: WebAssembl...
the_stack
import type { ExecutionResult, GraphQLError } from 'graphql'; import { CacheInstance, createCache } from '../Cache'; import { GQtyError } from '../Error'; import { doRetry } from '../Error/retry'; import { createQueryBuilder } from '../QueryBuilder'; import { createSelectionManager, SelectionManager, separateSele...
the_stack
import { File, Project, Directory, FileType, Problem, isBinaryFileType, fileTypeFromFileName, IStatusProvider } from "./models"; import { padLeft, padRight, isBranch, toAddress, decodeRestrictedBase64ToBytes, base64EncodeBytes } from "./util"; import { assert } from "./util"; import { gaEvent } from "./utils/ga"; impor...
the_stack
import { deref, isDeref } from "@thi.ng/api/deref"; import { implementsFunction } from "@thi.ng/checks/implements-function"; import { isArray } from "@thi.ng/checks/is-array"; import { isFunction } from "@thi.ng/checks/is-function"; import { isNotStringAndIterable } from "@thi.ng/checks/is-not-string-iterable"; import ...
the_stack
import testMobx from './mobx'; import { Collection, Model, View, Attribute } from '../src'; import { updateModelId } from '../src/helpers/model/fields'; import { ViewAttribute } from '../src/Attribute'; import { mobx } from '@datx/utils'; // @ts-ignore testMobx.configure({ enforceActions: 'observed' }); describe('Vi...
the_stack
import { Buffer } from 'buffer'; import { DOMWidgetModel, DOMWidgetView, WidgetModel, ISerializers, Dict, unpack_models } from '@jupyter-widgets/base'; import { RoughCanvas } from 'roughjs/bin/canvas'; import { MODULE_NAME, MODULE_VERSION } from './version'; import { getArg, toBytes, fromBytes, getTypedArra...
the_stack
import * as program from 'commander'; /* tslint:disable */ import request = require('request'); import * as fs from 'fs'; import { logger } from './logger'; import { AlfrescoApi } from '@alfresco/js-api'; const ACTIVITI_CLOUD_APPS = require('./resources').ACTIVITI_CLOUD_APPS; /* tslint:enable */ let alfrescoJsApiMode...
the_stack
import { Event } from 'vs/base/common/event'; import { IHostService } from 'vs/workbench/services/host/browser/host'; import { registerSingleton } from 'vs/platform/instantiation/common/extensions'; import { ILayoutService } from 'vs/platform/layout/browser/layoutService'; import { IEditorService } from 'vs/workbench/s...
the_stack
import { Constants, PersistentCacheKeys, StringUtils, CommonAuthorizationCodeRequest, ICrypto, AccountEntity, IdTokenEntity, AccessTokenEntity, RefreshTokenEntity, AppMetadataEntity, CacheManager, ServerTelemetryEntity, ThrottlingEntity, ProtocolUtils, Logger, AuthorityMetadataEntity, DEFAULT_CRYPTO_IMPLEMENTATION, Acc...
the_stack
import { ID, GraphSelection, SyrupOperation, copyWithTypeCondition } from "../GraphApi" import { CurrencyCode, WeightUnit, OrderDisplayFulfillmentStatus, FulfillmentDisplayStatus, FulfillmentEventStatus, } from "../Enums" export namespace TestQuery7QueryData { export interface Variables { first?: numbe...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Allows you to manage an Azure SQL Elastic Pool via the `v3.0` API which allows for `vCore` and `DTU` based configurations. * * ## Example Usage * * ```typescrip...
the_stack
import type { AnyObject, PropsOfType, StringKeyof, Dictionary, ExactlyExtends, NoInfer, } from './utils'; export interface WithId { id: number; } export interface PineDeferred { __id: number; } /** * When not selected-out holds a deferred. * When expanded hold an array with a single element. */ export typ...
the_stack
import React from 'react'; import { Link } from 'react-router-dom'; import { Button, Tooltip } from 'antd'; import { ReloadOutlined } from '@ant-design/icons'; import { connect } from 'react-redux'; import routes from '../constants/routes.json'; import styles from './Home.css'; import { Layout, Header, Footer, Main, Si...
the_stack
import { TestInstantiationService } from 'vs/platform/instantiation/test/common/instantiationServiceMock'; import { ITerminalConfiguration, ITerminalBackend, ITerminalProfileService } from 'vs/workbench/contrib/terminal/common/terminal'; import { TestConfigurationService } from 'vs/platform/configuration/test/common/te...
the_stack
import { Debug, Log, ParserRegistry } from '../globals' import { ensureBuffer } from '../utils' import TrajectoryParser from './trajectory-parser' import { NumberArray } from '../types'; const MagicInts = new Uint32Array([ 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 10, 12, 16, 20, 25, 32, 40, 50, 64, 80, 101, 128, 161, 203, 25...
the_stack
import Keychain, { privateToPublic } from '../../../src/models/keys/keychain' // https://en.bitcoin.it/wiki/BIP_0032_TestVectors describe('BIP32 Keychain tests', () => { const shortSeed = Buffer.from('000102030405060708090a0b0c0d0e0f', 'hex') const longSeed = Buffer.from( 'fffcf9f6f3f0edeae7e4e1dedbd8d5d2cfccc...
the_stack
import * as ng1 from 'angular'; import { IScope } from 'angular'; import { DataResult, DefaultGetData } from './data'; import { PageButton } from './paging'; import { InternalTableParams, NgTableParams } from './ngTableParams'; /** * Alias for the types that can be used to filter events */ export type EventSelector...
the_stack
import { TREE_VIEW_ROBOCORP_CLOUD_TREE, TREE_VIEW_ROBOCORP_LOCATORS_TREE, TREE_VIEW_ROBOCORP_ROBOT_CONTENT_TREE, TREE_VIEW_ROBOCORP_ROBOTS_TREE, TREE_VIEW_ROBOCORP_WORK_ITEMS_TREE, } from "./robocorpViews"; import * as vscode from "vscode"; import { ExtensionContext } from "vscode"; import * as robo...
the_stack
'use strict'; // The module 'vscode' contains the VS Code extensibility API // Import the module and reference it with the alias vscode in your code below import { window, workspace, ExtensionContext, TextEditor, TextDocument, TextEditorSelectionChangeEvent, Selection, Range, StatusBarAlignment, Sta...
the_stack
import { ActorQueryOperation, Bindings } from '@comunica/bus-query-operation'; import { KeysInitSparql } from '@comunica/context-entries'; import { Bus } from '@comunica/core'; import type { IActorQueryOperationOutputBindings } from '@comunica/types'; import { ArrayIterator } from 'asynciterator'; import { Map } from '...
the_stack
import * as _ from 'lodash'; import {Component, ElementRef, EventEmitter, Injector, OnDestroy, OnInit, Output, ViewChild} from '@angular/core'; import {Alert} from '@common/util/alert.util'; import {StringUtil} from '@common/util/string.util'; import {SelectComponent} from '@common/component/select/select.component'; ...
the_stack
import moment from "moment"; import { BasicClient } from "../BasicClient"; import { Candle } from "../Candle"; import { CandlePeriod } from "../CandlePeriod"; import { ClientOptions } from "../ClientOptions"; import { CancelableFn } from "../flowcontrol/Fn"; import { throttle } from "../flowcontrol/Throttle"; import { ...
the_stack
import { ApiResponse, RequestOptions } from '../core'; import { V1CreateRefundRequest, v1CreateRefundRequestSchema, } from '../models/v1CreateRefundRequest'; import { V1Order, v1OrderSchema } from '../models/v1Order'; import { V1Payment, v1PaymentSchema } from '../models/v1Payment'; import { V1Refund, v1RefundSchem...
the_stack
namespace LogDog { /** Sentinel error: not authenticated. */ let NOT_AUTHENTICATED = new Error('Not Authenticated'); /** * Resolves an arbitrary error into special sentinels where appropriate. * * Currently supports resolving gRPC "unauthenticated" error into the * NOT_AUTHENTICATED sentinel. */ ...
the_stack
import { Application, Container, Contracts } from "@packages/core-kernel"; import { Peer } from "@packages/core-p2p/src/peer"; import { PeerVerificationResult, PeerVerifier } from "@packages/core-p2p/src/peer-verifier"; import { Blocks } from "@packages/crypto"; describe("PeerVerifier", () => { let app: Applicatio...
the_stack
import { ensureDir, readFile, writeFile } from '@ionic/utils-fs'; import Debug from 'debug'; import et from 'elementtree'; import pathlib from 'path'; import util from 'util'; import { Platform } from '../platform'; import type { ResolvedColorSource, ResolvedSource, ResourceConfig, ResourceValue, UnknownReso...
the_stack
import * as assert from "assert"; import * as rhea from "../"; describe('sasl plain', function() { this.slow(200); var container: rhea.Container, listener: any; function authenticate(username: string, password: string) { return username.split("").reverse().join("") === password; } beforeE...
the_stack
import {Action, AnyAction, combineReducers, Reducer} from 'redux'; import {randomBytes} from 'crypto'; import {DriveUser} from '../util/googleDriveUtils'; import {DeviceLayoutReducerType} from './deviceLayoutReducer'; import {AppVersion} from '../util/appVersion'; import {NetworkedAction} from '../util/types'; import ...
the_stack
import BitSource from '../../common/BitSource'; import CharacterSetECI from '../../common/CharacterSetECI'; import DecoderResult from '../../common/DecoderResult'; import StringUtils from '../../common/StringUtils'; import DecodeHintType from '../../DecodeHintType'; import FormatException from '../../FormatException'; ...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type ArtworkFullQueryVariables = { artworkID: string; }; export type ArtworkFullQueryResponse = { readonly artwork: { readonly additional_information: string | null; readonly description: string...
the_stack
import { Response } from 'express'; import crypto from 'crypto'; import githubUsernameRegex from 'github-username-regex'; import { AxiosError } from 'axios'; import { DateTime } from 'luxon'; import { GitHubRepositoryPermission } from './entities/repositoryMetadata/repositoryMetadata'; import appPackage from './packa...
the_stack
import { AWSError, CodeCommit } from 'aws-sdk'; import { commonAws, HandlerArgs } from 'aws-resource-providers-common'; import { Action, BaseResource, exceptions, handlerEvent, Logger } from 'cfn-rpdk'; import { ResourceModel, TemplateContent } from './models'; class Resource extends BaseResource<ResourceModel> { ...
the_stack
import * as React from "react"; import { ISpace, getCurrentBoard } from "./boards"; import { Space, SpaceSubtype, BoardType } from "./types"; import { updateRightClickMenu } from "./renderer"; import { $setting, get } from "./views/settings"; import basic3Image from "./img/toolbar/basic3.png"; import minigameduel3Imag...
the_stack
import React from "react" import makeStyles from "@material-ui/core/styles/makeStyles" import Typography from "@material-ui/core/Typography" import TextField from "@material-ui/core/TextField" import IconButton from "@material-ui/core/IconButton" import Tooltip from "@material-ui/core/Tooltip" import Autocomplete from...
the_stack
import { Component, Input, OnInit, OnChanges, OnDestroy, SimpleChange, ViewChildren, QueryList, Type, ElementRef, } from '@angular/core'; import { CoreDomUtils } from '@services/utils/dom'; import { CoreDynamicComponent } from '@components/dynamic-component/dynamic-component'; im...
the_stack
import * as React from 'react' import { Dialog, DialogContent, DialogFooter } from '../dialog' import { Row } from '../lib/row' import { OkCancelButtonGroup } from '../dialog/ok-cancel-button-group' import { PullRequest } from '../../models/pull-request' import { Dispatcher } from '../dispatcher' import { CICheckRunLis...
the_stack
'use strict'; import * as vscode from 'vscode'; import * as sinon from 'sinon'; import * as path from 'path'; import * as fs from 'fs-extra'; import * as chai from 'chai'; import * as sinonChai from 'sinon-chai'; import * as chaiAsPromised from 'chai-as-promised'; import { UserInputUtilHelper } from './userInputUtilHel...
the_stack
import * as ts from 'typescript' import { ContainerType, FieldDefinition, FunctionType, InterfaceWithFields, ListType, MapType, SetType, SyntaxType, } from '@creditkarma/thrift-parser' import { COMMON_IDENTIFIERS, THRIFT_IDENTIFIERS } from '../identifiers' import { WRITE_METHODS, Writ...
the_stack
import { Spreadsheet, DialogBeforeOpenEventArgs, getUpdateUsingRaf } from '../index'; import { applyProtect, protectSheet, protectCellFormat, editAlert, enableFormulaInput, protectWorkbook, keyUp, unProtectSheetPassword, completeAction, setProtectWorkbook, removeWorkbookProtection } from '../common/event'; import { unP...
the_stack
import * as React from "react"; import * as PropTypes from "prop-types"; import IS_NODE_ENV from "../utils/nodeJS/IS_NODE_ENV"; import Slider from "../Slider"; import * as tinycolor from "tinycolor2"; export interface DataProps { /** * init ColorPicker Default color. */ defaultColor?: string; /** * ini...
the_stack
import { IdentityTypes, RequestLogicTypes, SignatureTypes } from '@requestnetwork/types'; import Utils from '@requestnetwork/utils'; import ReduceExpectedAmountAction from '../../../src/actions/reduceExpectedAmount'; import Version from '../../../src/version'; const CURRENT_VERSION = Version.currentVersion; import * ...
the_stack
// clang-format off import 'chrome://settings/lazy_load.js'; import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js'; import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js'; import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js'; import {CrInputElement, Setting...
the_stack
import { assert } from "chai"; import { AddWinsCSet, CRDTApp, FalseWinsCBoolean, TrueWinsCBoolean, LWWCMap, CNumber, TestingCRDTAppGenerator, DeletingMutCSet, ResettableCCounter, OptionalLWWCVariable, } from "../../src"; import { CMapDeleteEvent, CMapSetEvent, InitToken, Pre, Optional, L...
the_stack
import * as React from 'react'; import { useState, useReducer, useEffect } from 'react'; import { sp } from '@pnp/sp'; import "@pnp/sp/webs"; import "@pnp/sp/folders"; import { HttpRequestError } from "@pnp/odata"; import { IFolder } from '@pnp/sp/folders'; import { ListViewCommandSetContext } from '@microsoft/sp-listv...
the_stack
import { act, cleanup, render, waitFor } from '@testing-library/react' import useEtherSWR, { etherJsFetcher } from '../src/' import { EventEmitterMock, sleep, mockFetcher, mockMultipleFetch, mockUseWeb3React, mockContract } from './util/utils' import * as React from 'react' import { useWeb3React } from '@w...
the_stack
* @packageDocumentation * @module gfx */ declare const gfx: any; declare type RecursivePartial<T> = { [P in keyof T]?: T[P] extends Array<infer U> ? Array<RecursivePartial<U>> : T[P] extends ReadonlyArray<infer V> ? ReadonlyArray<RecursivePartial<V>> : RecursivePartial<T[P]>; }; import { BlendFact...
the_stack
import { getNetAddress } from "@homebridge/ciao/lib/util/domain-formatter"; import assert from "assert"; import createDebug from 'debug'; import { EventEmitter } from "events"; import { SrpServer } from "fast-srp-hap"; import http, { IncomingMessage, ServerResponse } from 'http'; import net, { AddressInfo, Socket } fro...
the_stack
import * as assert from 'assert'; import * as vscode from 'vscode'; import * as path from 'path'; import { PLSQLDefinitionProvider } from '../src/provider/plsqlDefinition.provider'; interface ICase { curTextLine: string; curText: string; curChar: number; expTextLine: string; expChar: number; ...
the_stack
import { delay } from "./common"; import { Point } from "./structs/point"; import { BooleanArray2D } from "./structs/typedarrays"; import { FacetResult, PathPoint, OrientationEnum, Facet } from "./facetmanagement"; export class FacetBorderTracer { /** * Traces the border path of the facet from the facet...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace Formmsdyn_scheduleboardsetting_Information { interface Tabs { } interface Body { msdyn_BookBasedOn: DevKit.Controls.Boolean; msdyn_CustomTabName: DevKit.Controls.String; msdyn_CustomTabWebResource: DevKit.Controls.Stri...
the_stack
import m from "mithril" import Stream from "mithril/stream" import AuthService from "_/AuthService" import type { User } from "_/AuthService" import { GIST_API_PREFIX, storageUrl } from "_/Env" import ModalManager from "_/ModalManager" import Button from "_/Button" const STORAGE_URL_BASE = storageUrl() export type So...
the_stack
import QlogConnection from '@/data/Connection'; import * as d3 from 'd3'; import * as qlog from '@/data/QlogSchema'; export default class SequenceDiagramCanvasRenderer { public containerID:string; public rendering:boolean = false; constructor(containerID:string){ this.containerID = containerID; ...
the_stack
import type * as BalenaSdk from '..'; import type { InferAssociatedResourceType } from '../typings/pinejs-client-core'; import type { AnyObject } from '../typings/utils'; import { Equals, EqualsTrue } from './utils'; // This file is in .prettierignore, since otherwise // the @ts-expect-error comments would move to the...
the_stack
import { EventInput } from "@fullcalendar/react"; import { appState, dispatch, store } from "./AppRedux"; import { AppState } from "./AppState"; import { Constants as C } from "./Constants"; import { ChangePasswordDlg } from "./dlg/ChangePasswordDlg"; import { ConfirmDlg } from "./dlg/ConfirmDlg"; import { EditNodeDlg ...
the_stack
import { getAnimationFunction, ChartLocation, pathAnimation, getElement } from '../../common/utils/helper'; import { PathOption, Rect } from '@syncfusion/ej2-svg-base'; import { VisibleRangeModel, Axis } from '../axis/axis'; import { Series, Points } from './chart-series'; import { Chart } from '../chart'; import { Ani...
the_stack
import { DrawingElement } from '../core/elements/drawing-element'; import { PathElement } from '../core/elements/path-element'; import { TextElement } from '../core/elements/text-element'; import { Container } from '../core/containers/container'; import { wordBreakToString, whiteSpaceToString, textAlignToString } from ...
the_stack
import { Injectable } from '@angular/core'; import { CoreCourseActivityPrefetchHandlerBase } from '@features/course/classes/activity-prefetch-handler'; import { AddonModForum, AddonModForumData, AddonModForumPost, AddonModForumProvider } from '../forum'; import { CoreSitesReadingStrategy } from '@services/sites'; impor...
the_stack
import {SourceMapGenerator} from 'source-map'; import * as ts from 'typescript'; import {getDecoratorDeclarations} from './decorators'; import {getIdentifierText, Rewriter} from './rewriter'; import {SourceMapper} from './source_map_utils'; import {TypeTranslator} from './type-translator'; import {toArray} from './uti...
the_stack
import {CSS_PREFIX} from "./Utils.js"; import {Background, BasicLevel, CGChip, Config, ModelType, Phosphor, RamSize, ScanLines} from "trs80-emulator"; import {Trs80} from "trs80-emulator"; import {AUTHENTIC_BACKGROUND, BLACK_BACKGROUND, phosphorToRgb} from "./CanvasScreen.js"; const gCssPrefix = CSS_PREFIX + "-setting...
the_stack
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * Creator resource properties */ export interface CreatorProperties { /** * The state of the resource provisioning, terminal state...
the_stack
import * as R from 'ramda'; import {Size, RGBColor} from '@compiler/core/types'; import {VGA} from './VGA'; import {VGAFontPack} from './VGAConstants'; /** * @see {@link https://files.osdev.org/mirrors/geezer/osd/graphics/modes.c} */ /** * Due to function size it is here * * @export * @param {VGA} vga * @para...
the_stack
import React, {CSSProperties, PointerEventHandler} from "react"; import {DockContext, DockContextType, DockMode, PanelData, TabData, TabGroup} from "./DockData"; import {DockTabs} from "./DockTabs"; import {AbstractPointerEvent, DragDropDiv} from "./dragdrop/DragDropDiv"; import {DragState} from "./dragdrop/DragManager...
the_stack
import * as coreClient from "@azure/core-client"; /** Result of the request to list REST API operations. It contains a list of operations. */ export interface OperationList { /** List of operations supported by the resource provider. */ value?: Operation[]; /** * The URL the client should use to fetch the nex...
the_stack
import { expect } from 'chai'; import * as sinon from 'sinon'; import { StatusCodeError, UpdatesLockedError } from '../src/lib/errors'; import * as dockerUtils from '../src/lib/docker-utils'; import * as config from '../src/config'; import * as imageManager from '../src/compose/images'; import { ConfigTxt } from '../s...
the_stack
import 'chrome://profile-picker/profile_picker.js'; import {loadTimeData, ManageProfilesBrowserProxyImpl, NavigationMixin, ProfileCardElement, ProfilePickerMainViewElement, ProfileState, Routes} from 'chrome://profile-picker/profile_picker.js'; import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js'; impor...
the_stack
import {ua} from 'griffith-utils' import FragmentFetch from '../fetch' import MP4Parse from '../mp4/mp4Parse' import MP4Probe from '../mp4/mp4Probe' import FMP4 from '../fmp4/fmp4Generator' import {concatTypedArray} from '../fmp4/utils' import {abortPolyfill} from './polyfill' import {Mp4BoxTree} from '../mp4/types' c...
the_stack
export type MatchRange = [number, number]; /** * Match encapsulates information about a match between a certain * user input and a string. */ export interface Match { /** Subject to match. */ readonly subject: string; /** Character ranges inside subject that triggered the match. */ readonly matchRanges: Rea...
the_stack
import { ParserRuleContext } from "antlr4ts"; import { SymbolTable, Symbol, ScopedSymbol, SymbolTableOptions } from "antlr4-c3"; import { SymbolKind, SymbolGroupKind, SymbolInfo, CodeActionType } from "../backend/facade"; import { SourceContext } from "./SourceContext"; import { ParseTree } from "antlr4ts/tree"; expo...
the_stack
import { ipcRenderer } from "electron"; import { writeJson } from "fs-extra"; import { extname, basename } from "path"; import { Nullable, IStringDictionary, Undefinable } from "../../../shared/types"; import * as React from "react"; import { Button, Divider, ButtonGroup, Popover, Position, Menu, MenuItem, Men...
the_stack
import ArrayHelper from './ArrayHelper'; import Atom from './Atom'; import Drawer from './Drawer'; import Line from './Line'; import SvgWrapper from './SvgWrapper'; import ThemeManager from './ThemeManager'; import Vector2 from './Vector2'; import { arraysCompare, arrayDelElement} from '../../../utils'; class...
the_stack
import { expect } from 'chai'; import * as childProcess from 'child_process'; // tslint:disable-next-line:no-require-imports import deepEqual = require('deep-equal'); import * as fs from 'fs'; import * as fsExtra from 'fs-extra'; import * as path from 'path'; import { DryCommandConfig } from './dry-command-config'; imp...
the_stack
import { CSSStyles, CSSPseudoStyles, CSSStylesItem, CSSInlineStyles } from "./cssTypes"; import { applyDynamicStyle, ColorlessSprite, destroyDynamicStyle, IBobrilCacheChildren, IBobrilCacheNode, IBobrilCacheNodeUnsafe, IBobrilChildren, IBobrilNode, IBobrilStyleDef, IBobrilStyles,...
the_stack
import React, { useState, forwardRef, useEffect, useCallback } from 'react'; import find from 'lodash/find'; import classNames from 'classnames'; import warning from 'warning'; import canUseDOM from '../../utils/can-use-dom'; import useLazyLoad from './use-lazy-load'; import styles from './index.module.scss'; // -----...
the_stack
* @group unit/requestforattestation */ /* eslint-disable dot-notation */ /* eslint-disable @typescript-eslint/ban-ts-comment */ import type { IClaim, IClaimContents, CompressedCredential, ICType, CompressedRequestForAttestation, IRequestForAttestation, DidSignature, } from '@kiltprotocol/types' import ...
the_stack
import { User, ProgressObj, SavedLevel, SavedLevelMetadata, storeModule, } from '@/store/storeInterfaces' import router from '@/router' function importFirebase() { return import(/* webpackChunkName: 'chunk-firebase' */ '@/config/firebase') } interface UserState { user: User progressArr: ProgressObj[] ...
the_stack
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; export namespace OpenAPI { export interface Contact { /** * The identifying name of the contact person/organization. */ name?: string; /** * The URL pointing to the contact information. MUST be in the format of a URL. */ ...
the_stack