text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import Vue from 'vue' import { VNode, VNodeDirective } from 'vue/types' import { VuetifyIcon } from 'vuetify/types/services/icons' import { DataTableCompareFunction, SelectItemKey, ItemGroup } from 'vuetify/types' export function createSimpleFunctional ( c: string, el = 'div', name?: string ) { return Vue.exte...
the_stack
import { RetornoProcessamentoNF, Empresa, Endereco, NFCeDocumento, NFeDocumento, DocumentoFiscal, Destinatario, Transporte, Pagamento, Produto, Total, InfoAdicional, DetalhesProduto, Imposto, Icms, Cofins, Pis, IcmsTot, IssqnTot, DetalhePagamento, DetalhePgtoCartao, RetornoContingenciaOffline, ResponsavelTecnico, S...
the_stack
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; /** * <p>Specifies the EBS volume upgrade information. The broker identifier must be set to the keyword ALL. This means the changes apply to all the brokers in the cluster.</p> */ export interface BrokerEBSVolum...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { FailoverGroups } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { SqlManagementClient } from "../sqlManage...
the_stack
var path = require('path') import * as tl from 'azure-pipelines-task-lib/task'; import * as engine from 'artifact-engine/Engine'; import * as providers from 'artifact-engine/Providers'; import * as httpc from 'typed-rest-client/HttpClient'; var packagejson = require('./package.json'); tl.setResourcePath(path.join(__...
the_stack
import Snackbar from '@material-ui/core/Snackbar'; import Typography from '@material-ui/core/Typography'; import MuiAlert, { AlertProps } from '@material-ui/lab/Alert'; import { ButtonFilled, ButtonOutlined } from 'litmus-ui'; import React, { useEffect, useRef } from 'react'; import { useTranslation } from 'react-i18ne...
the_stack
import {TestOptions, Test, Spec, Report} from "@swim/unit"; import {Slot, Value, Record, Num, Selector} from "@swim/structure"; import {ReconExam} from "../ReconExam"; export class ReconOperatorParserSpec extends Spec { override createExam(report: Report, name: string, options: TestOptions): ReconExam { return n...
the_stack
import { Vector3, Object3D, Euler } from "three"; import MeshVolume from "./MeshVolume"; import RayMarchedAtlasVolume from "./RayMarchedAtlasVolume"; import PathTracedVolume from "./PathTracedVolume"; import { LUT_ARRAY_LENGTH } from "./Histogram"; import Volume from "./Volume"; import { VolumeDisplayOptions, VolumeCh...
the_stack
import { commands, events, ExtensionContext, FloatFactory, LanguageClient, LanguageClientOptions, RevealOutputChannelOn, StatusBarItem, workspace, WorkspaceConfiguration, } from "coc.nvim"; import { checkDottyIde, fetchMetals, getJavaConfig, getJavaHome, getServerOptions, JavaConfig, r...
the_stack
import assert from "assert"; import AccountManager = require("../script/management-sdk"); import adapterTypes = require("../utils/adapter/adapter-types"); var request = require("superagent"); var manager: AccountManager; const testUser: adapterTypes.UserProfile = { id: "testId", avatar_url: "testAvatarUrl",...
the_stack
import { inject, onBeforeMount, onMounted, onUnmounted, InjectionKey, getCurrentInstance, isRef } from 'vue' import { isEmptyObject, isBoolean, warn, makeSymbol, createEmitter, assign } from '@intlify/shared' import { createComposer } from './composer' import { createVueI18n } from './legacy' ...
the_stack
import {TypedActions} from '../../actions/typed-actions-gen' import {TypedState as _TypedState} from '../../constants/reducer' export type Action = TypedActions export type AnyAction = TypedActions export type TypedState = _TypedState /** * An *action* is a plain object that represents an intention to change the * s...
the_stack
import { uniqueId } from "../util/uniqueId"; import { loge } from "../util/log"; import "reflect-metadata" /** * ``` TypeScript * // load script in global scope * Reflect.apply( * function(doric,context,Entry,require){ * //Script content * REG() * },doric.jsObtainContext(id),[ * undefined, * doric.jsObtainC...
the_stack
* This file was automatically 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 **/ gapi.load('client', () => { /** now we can use gapi.client */ gapi.client...
the_stack
import { Component, OnInit, HostListener, ElementRef } from '@angular/core'; import { DataService } from '../data/data.service'; import { CsvService } from '../data/csv.service'; import { SettingsService } from '../settings/settings.service'; import { MatDialog } from '@angular/material/dialog'; import { SettingsCompon...
the_stack
import { Builder } from '@builder.io/react'; import Search from '@material-ui/icons/Search'; import Router from 'next/router'; import useEventListener from 'use-typed-event-listener'; import InputAdornment from '@material-ui/core/InputAdornment'; import Paper from '@material-ui/core/Paper'; import ListItemText from '@m...
the_stack
import { expect, mkAddress, getChainData, ChainData, txReceiptMock, createRequestContext, mkBytes32, } from "@connext/nxtp-utils"; import { BigNumber, utils } from "ethers"; import { SinonStub, stub } from "sinon"; import * as metrics from "../../../src/lib/helpers/metrics"; import * as entities from "../...
the_stack
import url from 'url'; import request from "browser-request"; import { SERVICE_TYPES } from "matrix-js-sdk/src/service-types"; import { Room } from "matrix-js-sdk/src/models/room"; import { logger } from "matrix-js-sdk/src/logger"; import SettingsStore from "./settings/SettingsStore"; import { Service, startTermsFlow,...
the_stack
import basem = require('./ClientApiBases'); import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces'); import TaskAgentInterfaces = require("./interfaces/TaskAgentInterfaces"); import VSSInterfaces = require("./interfaces/common/VSSInterfaces"); export interface ITaskApi extends basem.ClientApiBase { ...
the_stack
'use strict'; import { GenericOAuth2Router } from '../common/generic-router'; import { IdpOptions, ExpressHandler, EmailMissingHandler, TwitterIdpConfig, IdentityProvider, AuthRequest, EndpointDefinition, CheckRefreshDecision, AuthResponse, ErrorLink } from '../common/types'; import { OidcProfile, Callback, WickedApi ...
the_stack
import { UIDLUtils } from '@teleporthq/teleport-shared' import { ProjectUIDL, UIDLElement, ComponentUIDL, UIDLNode, UIDLStyleSetDefinition, UIDLStaticValue, UIDLExternalDependency, UIDLElementNodeProjectReferencedStyle, UIDLStyleValue, UIDLElementNodeInlineReferencedStyle, UIDLReferencedStyles, ...
the_stack
import { css, html, LitElement, nothing } from 'lit'; import { property, query, state } from 'lit/decorators.js'; import { classMap } from 'lit/directives/class-map.js'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore import { copy } from './copy-to-clipboard.js'; interface ServerInfo { v...
the_stack
import ByteBuffer from "bytebuffer"; import { TransactionType, TransactionTypeGroup } from "../enums"; import { TransactionVersionError } from "../errors"; import { Address } from "../identities"; import { ISerializeOptions } from "../interfaces"; import { ITransaction, ITransactionData } from "../interfaces"; import ...
the_stack
import { expect } from "chai"; import { NodeKey, StandardNodeTypes } from "../../presentation-common/hierarchy/Key"; import { createTestECInstanceKey } from "../_helpers/EC"; import { createTestNodeKey } from "../_helpers/Hierarchy"; import { createRandomBaseNodeKey, createRandomECClassGroupingNodeKey, createRandomEC...
the_stack
import * as CodeMirror from 'codemirror' import { Addon, FlipFlop, debounce, TokenSeeker, suggestedEditorConfig, normalVisualConfig } from '../core' import { Position, Token } from 'codemirror' import { cm_t } from '../core/type' import { rangesIntersect, orderedRange } from '../core/cm_utils'; const DEBUG = false co...
the_stack
import { observable } from '@tko/observable' import { computed } from '@tko/computed' import components from '../dist' describe('Components: Loader registry', function () { var testAsyncDelay = 20, testComponentName = 'test-component', testComponentConfig = {}, testComponentDefinition = { templ...
the_stack
import avro from "avsc"; import _ from "lodash"; import dynamic from "next/dynamic"; import numbro from "numbro"; const Moment = dynamic(import("react-moment"), { ssr: false }); type TimeagoType = "timeago"; export type InputType = "text" | "hex" | "integer" | "float" | "datetime" | "boolean" | "numeric" | "uuid"; e...
the_stack
import 'react-datepicker/dist/react-datepicker.css' import classNames from 'classnames' import { sortBy } from 'lodash' import { useState, useRef, ChangeEvent } from 'react' import DatePicker from 'react-datepicker' import { Helmet } from 'react-helmet' import Recaptcha from 'react-recaptcha' import Select from 'react...
the_stack
interface AqlError extends Error { new(message: string): Error; name: string; } interface Operation extends Expression { new(): Expression; } interface BinaryOperation extends Operation { new(operator: string, value1: any, value2: any): Operation; toAQL(): string; _operator: string; } interface ...
the_stack
import { expect } from "chai"; import { mount, shallow } from "enzyme"; import { fireEvent, render, waitFor } from "@testing-library/react"; import sinon from "sinon"; import * as React from "react"; import { BasePropertyEditorParams, PropertyEditorParamTypes, SliderEditorParams, SpecialKey, StandardEditorNames, } fr...
the_stack
import { RemindersController } from "controller"; import { PluginDataIO } from "data"; import type { ReadOnlyReference } from "model/ref"; import { Reminder, Reminders } from "model/reminder"; import { DATE_TIME_FORMATTER } from "model/time"; import { App, Platform, Plugin, PluginManifest, Workspace...
the_stack
//todo: ix this - import Xml = require("System.Xml"); import {XmlNamespace} from "../Enumerations/XmlNamespace"; import {EwsUtilities} from "./EwsUtilities"; import {EwsLogging} from "./EwsLogging"; import {StringHelper, DOMParser, xml2JsObject} from "../ExtensionMethods"; /** @internal */ export class EwsXmlReader {...
the_stack
import Big, { BigSource } from "big.js" import * as crypto from "../crypto" import LedgerApp, { PublicKey, SignedSignature } from "../ledger/ledger-app" import Transaction from "../tx" import { AminoPrefix, Coin, ListMiniMsg } from "../types/" import HttpRequest from "../utils/request" import { checkNumber } from "../...
the_stack
import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type ShowTestsQueryVariables = { showID: string; }; export type ShowTestsQueryResponse = { readonly show: { readonly " $fragmentRefs": FragmentRefs<"Show_show">; } | null; }; export type ShowTestsQu...
the_stack
import './VDataTable.sass' // Types import { VNode, VNodeChildrenArrayContents, VNodeChildren } from 'vue' import { PropValidator } from 'vue/types/options' import { DataTableHeader, DataTableFilterFunction, DataScopeProps, DataOptions, DataPagination, DataTableCompareFunction, DataItemsPerPageOption, ...
the_stack
import { addListeners } from '../../../../client/addListener' import { ANIMATION_T_MS, linearTransition, } from '../../../../client/animation/animation' import { ANIMATION_T_S } from '../../../../client/animation/ANIMATION_T_S' import { Component } from '../../../../client/component' import mergeStyle from '../../....
the_stack
import {expect} from '@loopback/testlab'; import { AsyncProxy, Context, createProxyWithInterceptors, inject, intercept, Interceptor, ResolutionSession, ValueOrPromise, } from '../..'; import {BindingScope} from '../../binding'; import {Provider} from '../../provider'; describe('Interception proxy', () ...
the_stack
const copy = require('clipboard-copy'); // eslint-disable-next-line @typescript-eslint/no-var-requires,import/order const JsDiff = require('diff/dist/diff.min.js'); import '@gravitee/ui-components/wc/gv-policy-studio'; import '@gravitee/ui-components/wc/gv-switch'; import '@gravitee/ui-components/wc/gv-popover'; impor...
the_stack
import d3 from "d3"; import isEqual from "lodash.isequal"; import * as React from "react"; import ReactDOM from "react-dom"; import AnimationCircle from "./AnimationCircle"; import ChartStripes from "./ChartStripes"; import Maths from "../../utils/Maths"; import TimeSeriesArea from "./TimeSeriesArea"; import TimeSerie...
the_stack
import { I, err, genSource, queryTypes, resultTypes, version as versionLib, bitHas, bitSet, makeSubGroup, } from '@statecraft/core' import { TransactionOptionCode, Database, // StreamingMode, keySelector } from 'foundationdb' import msgpack from 'msgpack-lite' import assert from 'assert' // ...
the_stack
import * as chai from "chai"; import "url-search-params-polyfill"; import { MindSphereSdk } from "../src"; import { DeviceConfigurationModels } from "../src/api/sdk/open-edge/open-edge-models"; import { decrypt, loadAuth } from "../src/api/utils"; import { setupDeviceTestStructure, tearDownDeviceTestStructure } from "....
the_stack
import { Directive, ElementRef, Renderer2, Input, Output, EventEmitter, NgZone, OnChanges, AfterViewInit, OnDestroy, Inject, PLATFORM_ID, SimpleChanges } from '@angular/core'; import { ResizeObserver as ResizeObserverPonyfill } from '@juggle/resize-observer'; import { take } from 'rxjs/operato...
the_stack
import type vscode from 'vscode'; import { SymbolInformation } from 'vscode-languageserver-types'; import { Uri as URI, IRange, IDisposable, UriComponents, SymbolTag, CancellationToken, Event, IMarkdownString, } from '@opensumi/ide-core-common'; import { ISingleEditOperation } from '@opensumi/ide-edito...
the_stack
import { RouterOSAPI, RosException } from "node-routeros"; import { flatten, reduce } from "lodash"; import * as utils from "./utils"; import * as Types from "./Types"; export abstract class RouterOSAPICrud { protected rosApi: RouterOSAPI; protected pathVal: string; protected proplistVal: string; ...
the_stack
import { GlobalProps } from 'ojs/ojvcomponent'; import { ComponentChildren } from 'preact'; import { DvtTimeComponentScale } from '../ojdvttimecomponentscale'; import { ojTimeAxis } from '../ojtimeaxis'; import Converter = require('../ojconverter'); import { KeySet } from '../ojkeyset'; import { DataProvider } from '.....
the_stack
import { ToneWithContext, ToneWithContextOptions } from "../context/ToneWithContext"; import { Seconds, Ticks, Time } from "../type/Units"; import { optionsFromArguments } from "../util/Defaults"; import { readOnly } from "../util/Interface"; import { PlaybackState, StateTimeline, StateTimelineEvent } from "../util/Sta...
the_stack
import { writeFileSync } from 'fs'; import { join, relative, resolve } from 'path'; import { Feed } from 'feed'; import type { BuildArgs, CreateNodeArgs, CreatePagesArgs, CreateResolversArgs, Node, } from 'gatsby'; // Note: we need to use relative paths here because app-module-path causes WebPack 5 to throw...
the_stack
'use strict' // **Github:** https://github.com/fidm/quic // // **License:** MIT import { inspect } from 'util' import { QuicError } from './error' import { BufferVisitor } from './common' import { parseFrame, Frame } from './frame' import { getVersions, isSupportedVersion, ConnectionID, PacketNumber, Socket...
the_stack
import * as d3 from 'd3' import Util from '../base/utils' import { randomColor, getColorStrFromCanvas } from '../base/color-util' class OrgChart { d3: any width: number height: number padding: number nodeWidth: number nodeHeight: number unitPadding: number unitWidth: number unitHeight: number durat...
the_stack
import { AfterViewInit, Attribute, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, Input, NgZone, OnChanges, OnDestroy, Output, SimpleChanges, ViewChild, ViewEncapsulation } from '@angular/core'; import {NG_VALUE_ACCESSOR, ControlValueAccessor...
the_stack
import * as path from "path"; import * as expressHandlebars from "../lib/index"; import type { TemplateDelegateObject, EngineOptions, } from "../types"; function fixturePath (filePath = "") { return path.resolve(__dirname, "./fixtures", filePath); } // allow access to private functions for testing // https://githu...
the_stack
import WatchJS from 'melanke-watchjs'; import { Common } from '../common'; import { Constants } from '../constants'; import { Capivara } from '../index'; import { ScopeProxy } from '../scope/scope.proxy'; import { ComponentConfig } from './component.config'; import { Controller } from './controller'; import { Magic } f...
the_stack
import { BasicClient } from "../BasicClient"; import { Candle } from "../Candle"; import { CandlePeriod } from "../CandlePeriod"; import { batch } from "../flowcontrol/Batch"; import { CancelableFn } from "../flowcontrol/Fn"; import { throttle } from "../flowcontrol/Throttle"; import { Level2Point } from "../Level2Poin...
the_stack
import { ChildProcess } from 'child_process'; import * as events from 'events'; import { inject, injectable } from 'inversify'; import * as path from 'path'; import * as apid from '../../../../api'; import FileUtil from '../../../util/FileUtil'; import ProcessUtil from '../../../util/ProcessUtil'; import Util from '../...
the_stack
import {defaultTypeResolver, Deserializer} from './deserializer'; import {logError, logWarning, nameof, parseToJSObject} from './helpers'; import {createArrayType} from './json-array-member'; import { CustomDeserializerParams, CustomSerializerParams, JsonObjectMetadata, TypeHintEmitter, TypeResolver...
the_stack
import _ from 'lodash' import { EntryPoint, EntryPointInterceptor } from '../src/API' import { interceptEntryPoints, interceptEntryPointsMap } from '../src/interceptEntryPoints' import { createAppHost } from '../testKit' type LogSpy = jest.Mock<void, string[]> function takeLog(spy: LogSpy): string[] { return _.fl...
the_stack
import { Application, TextView, Color, View, Frame, GridLayout, LaunchEventData, ApplicationEventData, profile, profilingUptime, Page, LayoutBase } from '@nativescript/core'; // import './dom-adapter'; // import 'nativescript-intl'; import { Type, Injector, CompilerOptions, PlatformRef, NgModuleFactory, NgModuleRef, E...
the_stack
import {Number2, Number3} from '../../../../../types/GlobalTypes'; import {EventContext} from '../../../../scene/utils/events/_BaseEventsController'; import {RaycastEventNode, TargetType, TARGET_TYPES} from '../../Raycast'; import {Object3D} from 'three/src/core/Object3D'; import {Vector2} from 'three/src/math/Vector2'...
the_stack
import React from 'react'; import {create, ReactTestInstance} from 'react-test-renderer'; import {generateRandomSeries} from './helpers'; import {graphicsComponent, testSelector} from './specs'; import {Chart} from './Chart'; import {Bars} from './Bars'; import {Transform} from './Transform'; const seriesObjects3x5 ...
the_stack
import { css } from '@emotion/react'; import { ArticleDisplay } from '@guardian/libs'; import { breakpoints } from '@guardian/source-foundations'; /* * Working on this file? Checkout out 027-pictures.md for background information & context! */ type Props = { imageSources: ImageSource[]; role: RoleType; format: ...
the_stack
import * as t from './sdk_types' export abstract class Sdk { abstract getAccountInfoSync(): t.AccountInfo; abstract getBatteryInfoSync(): t.GetBatteryInfoSyncResult; abstract getExtConfigSync(): t.ExtInfo; abstract getLaunchOptionsSync(): t.LaunchOptionsApp; abstract getMenuButtonBoundingClientRect(...
the_stack
* @packageDocumentation * @module std */ //================================================================ import { MultiMap } from "../base/container/MultiMap"; import { IHashMap } from "../base/container/IHashMap"; import { IHashContainer } from "../internal/container/associative/IHashContainer"; import { MapEl...
the_stack
import {OpCode} from './enums'; import * as opcodes from './opcodes'; import {Method} from './methods'; import {FieldReference, ClassReference} from './ConstantPool'; export interface JitInfo { pops: number, // If negative, then it is treated a request rather than a demand pushes: number, hasBra...
the_stack
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client"; import { FactoryRepoUpdate as FactoryRepoUpdateMapper, Factory as FactoryMapper, FactoryUpdateParameters as FactoryUpdateParametersMapper, GitHubAccessTokenRequest as GitHubAccessTokenRequestMapper, ...
the_stack
* @fileoverview Type definitions for Blockly Messages. * @author samelh@google.com (Sam El-Husseini) */ declare namespace Blockly.Msg { let ADD_COMMENT : string ; let CANNOT_DELETE_VARIABLE_PROCEDURE : string ; let CHANGE_VALUE_TITLE : string ; let CLEAN_UP : string ; let COLLAPSED_WARNINGS_WARN...
the_stack
'use strict'; import * as vscode from 'vscode'; interface DuplicateDefinitionDiagnostic extends vscode.Diagnostic { firstsym: vscode.DocumentSymbol newsym: vscode.DocumentSymbol } export async function validateLocale(document: vscode.Uri|vscode.TextDocument): Promise<vscode.Diagnostic[]> { if (document in...
the_stack
import "jest-environment-puppeteer"; import Flash from "../helpers/flash"; import { IFlash, IMarket, Outcome } from "../types/types"; import { UnlockedAccounts } from "../constants/accounts"; import { toDisputing } from "../helpers/navigation-helper"; import { createYesNoMarket, createCategoricalMarket, createSca...
the_stack
declare namespace adone { namespace I { namespace datetime { type RelativeTimeKey = "s" | "m" | "mm" | "h" | "hh" | "d" | "dd" | "M" | "MM" | "y" | "yy"; type CalendarKey = "sameDay" | "nextDay" | "lastDay" | "nextWeek" | "lastWeek" | "sameElse"; type LongDateFormatKey = ...
the_stack
import { ccf } from "./global.js"; // This should eventually cover all JSON-compatible values. // There are attempts at https://github.com/microsoft/TypeScript/issues/1897 // to create such a type but it needs further refinement. export type JsonCompatible<T> = any; export interface DataConverter<T> { encode(val: T...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/recordSetsMappers"; import * as Parameters from "../models/parameters"; import { DnsManagementClientContext } from "../dnsManagementClientContext"; /** Class representing a RecordSets. */ export class ...
the_stack
import { Production } from '../production'; import { WorldInterface } from './worldInterface'; import { Unit } from '../units/unit'; import { GameModel } from '../gameModel'; import { BuyAction, BuyAndUnlockAction, Research, TimeWarp, UpAction, UpHire, UpSpecial, Resupply } from '../units/action'; import { Base } from ...
the_stack
import Player from './player' import validateTarget from 'validate-target' import { checkSupportFullScreen, getCSSTransitionDuration } from 'shared/utils/utils' import LoaderTemplate from '../../components/loader/assets/scripts/loader' import BigPlayTemplate from '../../components/big-play/assets/scripts/big-play' impo...
the_stack
import React from 'react'; import 'jest-styled-components'; import 'regenerator-runtime/runtime'; import { fireEvent, render, waitFor } from '@testing-library/react'; import { getByText, screen } from '@testing-library/dom'; import { axe } from 'jest-axe'; import 'jest-axe/extend-expect'; import { Search } from 'gromme...
the_stack
import { IntervalSet, Interval } from "antlr4ts/misc"; // This structure contains all currently defined Unicode blocks (according to https://unicode-table.com/en/blocks/) // together with a weight value that determines the probability to select a given block in the random block selection. const UnicodeBlocks: Array<[I...
the_stack
import _ from 'lodash'; import { address, BigNumberable, } from '../src/lib/types'; import initializePerpetual from './helpers/initializePerpetual'; import { ITestContext, perpetualDescribe } from './helpers/perpetualDescribe'; import { expect, expectBN, expectThrow } from './helpers/Expect'; import { expectMargin...
the_stack
import {buildColFilter} from 'app/common/ColumnFilterFunc'; import {RowRecord} from 'app/common/DocActions'; import {DocData} from 'app/common/DocData'; import * as gristTypes from 'app/common/gristTypes'; import * as gutil from 'app/common/gutil'; import {buildRowFilter} from 'app/common/RowFilterFunc'; import {Schema...
the_stack
import {DictValue} from './units'; import {ClearCacheOptions, DispatchOptions} from './operations'; /** * The common events that every fundamental ActiveJS construct (Units, Systems, Action and Cluster) emits. * @event * @category Common */ export type BaseEvents<T> = EventReplay<T>; /** * The common events that...
the_stack
* @fileoverview Logic for laying out items in a grid. */ import * as SortingModule from './sorting'; export type Key = SortingModule.Key; // Unicode characters for separating string fields. const UNIT_SEPARATOR = '\u001F'; const RECORD_SEPARATOR = '\u001E'; /** * A Grid works by arranging a collection of Items. Th...
the_stack
declare namespace adone { /** * File system stuff */ namespace fs { namespace I { type URL = nodestd.url.URL; type Stats = nodestd.fs.Stats; type Flag = "r" | "r+" | "rs+" | "w" | "wx" | "w+" | "wx+" | "a" | "ax" | "a+" | "ax+"; type Encoding = "...
the_stack
import {SerializableMemoryObject} from "./serializable-memory-object"; /* Helper Types */ type StructMemberType = "uint8" | "uint16" | "uint32" | "uint8array" | "uint8array-reversed" | "struct"; type StructBuildOmitKeys = "member" | "method" | "padding" | "build" | "default"; type StructChild = { offset:number, struct...
the_stack
// Type definitions for es2015-i18n-tag // Project: i18n Tagged Template Literals // Definitions by: Steffen Kolmer <https://github.com/skolmer/es2015-i18n-tag> declare module 'es2015-i18n-tag' { type NumberConfig = { /** * The locale matching algorithm to use. The default is "best fit". ...
the_stack
import { createStubInstance, expect, sinon, StubbedInstanceWithSinonAccessor, } from '@loopback/testlab'; import {OriginatorController} from '../../controllers'; import {IdArrays, Message, StatusMarker} from '../../models'; import { AttachmentRepository, GroupRepository, MessageRepository, ThreadReposit...
the_stack
namespace game { /** * Ask the player for a number value. * @param message The message to display on the text-entry screen * @param answerLength The maximum number of digits the user can enter (1 - 10) */ //% group="Gameplay" //% weight=10 help=game/ask-for-number //% blockId=gameas...
the_stack
import Client from '@bugsnag/core/client' import plugin from '../src/koa' import { EventPayload } from '@bugsnag/core' import Event from '@bugsnag/core/event' const noop = () => {} const id = <T>(a: T) => a const logger = () => ({ debug: jest.fn(), info: jest.fn(), warn: jest.fn(), error: jest.fn() }) describ...
the_stack
import * as React from 'react'; import { mount, unmount } from '@cypress/react'; import { CLASSES } from '../src/Types'; import { App, twoTabs, threeTabs, withBorders } from './App'; import { AppEx, layoutEx2, layoutEx1 } from './AppEx'; enum Location { TOP, BOTTOM,LEFT,RIGHT,CENTER, LEFTEDGE } /* Key el...
the_stack
import * as coreClient from "@azure/core-client"; export type NodeBaseUnion = | NodeBase | SourceNodeBaseUnion | ProcessorNodeBaseUnion | SinkNodeBaseUnion; export type AuthenticationBaseUnion = AuthenticationBase | JwtAuthentication; export type EndpointBaseUnion = EndpointBase | UnsecuredEndpoint | TlsEndpoi...
the_stack
import { HttpClient, HttpResponse, HttpEvent } from '@angular/common/http'; import { Inject, Injectable, Optional } from '@angular/core'; import { UserAPIClientInterface } from './user-api-client.interface'; import { Observable } from 'rxjs'; import { tap } from 'rxjs/operators'; import { USE_DOMAIN, USE_HTTP_OPTIONS, ...
the_stack
import * as xmldom from '@xmldom/xmldom'; import fsExtra from 'fs-extra'; import * as pathLib from 'path'; import type {Config} from '../types/config.js'; import type {XliffConfig} from '../types/formatters.js'; import type {Locale} from '../types/locale.js'; import {Formatter} from './index.js'; import {KnownError, un...
the_stack
import { BigNumber, ApiClient } from '../.' /** * icxorderbook RPCs for DeFi Blockchain */ export class ICXOrderBook { private readonly client: ApiClient constructor (client: ApiClient) { this.client = client } /** * Create and submits an ICX order creation transaction. * * @param {ICXOrder} o...
the_stack
import * as t from '@aws-accelerator/common-types'; /** * Translation definition that is used as base for all other translations. */ export interface FieldTranslations { title?: string; description?: string; url?: string; } // eslint-disable-next-line @typescript-eslint/no-explicit-any export type InterfaceFi...
the_stack
import { bottom, collides, compact, moveElement, sortLayoutItemsByRowCol, validateLayout } from '../react-grid-layout.utils'; import objectContaining = jasmine.objectContaining; /** * IMPORTANT: * This tests are taken from the project: https://github.com/STRML/react-grid-layout. * The code should be as less modifie...
the_stack
import BaseController from '~/src/controller/api/base' import { Request } from 'express' import { JsonController, Req, Get, Post, UseBefore } from 'routing-controllers' import LoginMiddleware from '~/src/middleware/login' import MPageRecord, { TypePageRecord } from '~/src/model/page/record' import MPagePublishHistory f...
the_stack
declare var PolyBool:any; module labelling_tool { /* Polygonal label model */ interface PolygonalLabelModel extends AbstractLabelModel { regions: Vector2[][]; } export function new_PolygonalLabelModel(label_class: string, source: string): PolygonalLabelModel { return {label_ty...
the_stack
import { createThemedStyles, Theme } from '../../themes'; import type { TagOverrides } from './types'; import { TAG_KIND, TAG_VARIANT, TAG_SIZE } from './constants'; export const stylesCreator = createThemedStyles<TagOverrides>( ( theme, kind: TAG_KIND, variant: TAG_VARIANT, size: TAG_SIZE, disab...
the_stack
import Link from '@docusaurus/Link'; // import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import { Button } from '@mui/material'; import WhatshotIcon from '@mui/icons-material/Whatshot'; import Layout from '@theme/Layout'; import React from 'react'; import { CoverFlowImages } from '../components/Cov...
the_stack
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Manages an Azure IoT Time Series Insights EventHub Event Source. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const exampleResourceGrou...
the_stack
import * as assert from 'assert'; import * as fs from 'fs'; import * as path from 'path'; import * as ps from 'ps-node'; // You can import and use all API from the 'vscode' module // as well as import your extension to test it import * as vscode from 'vscode'; import * as myExtension from '../../extension'; import * a...
the_stack
module android.view { import Rect = android.graphics.Rect; import ViewConfiguration = android.view.ViewConfiguration; const tempBound = new Rect(); interface TouchEvent { touches: TouchList; changedTouches: TouchList; type: string; //targetTouches: TouchList; /...
the_stack
import should from "should"; import { ExpectT, IsSameT } from "type-ops"; import Adapt, { BuiltinProps, callFirstInstanceWithMethod, callInstanceMethod, callNextInstanceWithMethod, Group, handle, Handle, Style, useImperativeMethods, useMethod, } from "../../src"; import { notRepl...
the_stack
import gql from 'graphql-tag'; import { itAsync } from '../../../testing'; import { InMemoryCache } from '../inMemoryCache'; import { visit, FragmentDefinitionNode } from 'graphql'; import { hasOwn } from '../helpers'; describe('fragment matching', () => { it('can match exact types with or without possibleTypes', (...
the_stack