text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { CoinTransfer, GraphBatchedTransferAppAction, GraphBatchedTransferAppActionEncoding, GraphBatchedTransferAppState, GraphBatchedTransferAppStateEncoding, singleAssetTwoPartyCoinTransferEncoding, GraphReceipt, GRAPH_BATCHED_SWAP_CONVERSION, } from "@connext/types"; import { getTestVerifyingContr...
the_stack
import React, { useEffect, useState } from 'react'; import { Button, Form, message, Modal, Select, Tag, Typography } from 'antd'; import styled from 'styled-components'; import { CorpUser, EntityType, OwnerEntityType, OwnershipType, SearchResult, } from '../../../../../../../types.generated'; impor...
the_stack
import test from 'ava'; import {JacksonError} from '../src/core/JacksonError'; import {JsonIdentityInfo, ObjectIdGenerator} from '../src/decorators/JsonIdentityInfo'; import {JsonManagedReference} from '../src/decorators/JsonManagedReference'; import {JsonBackReference} from '../src/decorators/JsonBackReference'; impor...
the_stack
export const geo: any = { "湖北": [115.65875349263533, 30.53695878561894], "武汉": [115.65875349263533, 30.53695878561894], "日本": [139.666002, 35.806528], "日本本土": [139.666002, 35.806528], "泰国": [100.486347, 13.756726], "越南": [105.705142, 20.984919], "韩国": [126.954566, 37.604327], "新加坡": [103...
the_stack
import { TimeEntity } from '../../utils/entity-utils'; import BaseTokenizer from './base'; import { makeToken } from './helpers'; // 我觉得这比英语好太多了 const NUMBERS : Record<string, number> = { 〇: 0, 零: 0, 一: 1, 二: 2, 两: 2, 三: 3, 四: 4, 五: 5, 六: 6, 七: 7, 八: 8, 九: 9, }; const ...
the_stack
import EventEmitter from "events"; import type { DeviceModel } from "@ledgerhq/devices"; import { TransportRaceCondition, TransportError, StatusCodes, getAltStatusMessage, TransportStatusError, } from "@ledgerhq/errors"; export { TransportError, TransportStatusError, StatusCodes, getAltStatusMessage, ...
the_stack
namespace pxt.esp { export interface Segment { addr: number isMapped: boolean isDROM: boolean data: Uint8Array } export interface Image { header: Uint8Array chipName: string segments: Segment[] } const r32 = pxt.HF2.read32 const r16 = pxt...
the_stack
import { createAutocomplete } from '@algolia/autocomplete-core'; import { autocomplete } from '@algolia/autocomplete-js'; import { Hit } from '@algolia/client-search'; import { fireEvent, waitFor, within } from '@testing-library/dom'; import userEvent from '@testing-library/user-event'; import { castToJestMock, cr...
the_stack
require('source-map-support').install(); import blaze = require('./blaze'); import expression = require('../src/expression'); import tv4 = require('tv4'); import fs = require('fs'); import Json = require('source-processor'); import error = require('source-processor'); import optimizer = require('../src/optimizer'); ...
the_stack
import * as singleLineString from "single-line-string"; import * as Web3 from "web3"; // Utils import { BigNumber } from "../../utils/bignumber"; import { generateTxOptions } from "../../utils/transaction_utils"; // Types import { TxData } from "../types"; // Invariants import { Assertions } from "../invariants"; /...
the_stack
import { describe, it } from "mocha"; import rewire from "rewire"; import sinon from "sinon"; import { assert } from "chai"; import { packedValue } from "../../src/custom_types"; const converters = rewire("../../src/converters"); function newArrayBuffer(bytes: number[]): ArrayBuffer { const ab = new ArrayBuffer(byt...
the_stack
import * as React from "react"; import { Dict, isFunction, objectKeys } from "@chakra-ui/utils"; import { createToastStore, DefaultToastOptions, TimerToast, useToastTimer, } from "../../index"; export interface Toast extends TimerToast { content?: Content; placement: ToastPlacement; } export type Rendera...
the_stack
import { expect } from 'chai'; import { simulate } from 'simulate-event'; import { CommandRegistry } from '@phosphor/commands'; import { Platform } from '@phosphor/domutils'; import { MessageLoop } from '@phosphor/messaging'; import { VirtualDOM, h } from '@phosphor/virtualdom'; import { CommandPale...
the_stack
import * as React from 'react'; import { View, Animated, Dimensions, TouchableWithoutFeedback, StyleSheet, ViewStyle, ImageStyle, } from 'react-native'; import { Navigation, Layout } from '../../react-native-navigation'; /* Utils - Project Utilities */ import { listen, dispatch } from './events'; enum Di...
the_stack
import { RuleTester } from 'eslint'; import { validFoundationsImportPath, validImportPath, } from './valid-import-path'; const ruleTester = new RuleTester({ parser: require.resolve('@typescript-eslint/parser'), parserOptions: { ecmaVersion: 2020, sourceType: 'module', }, }); const invalidFoundationsCases = [...
the_stack
import type { ImageStyle, TextStyle, ViewStyle, EasingFunction, } from 'react-native'; export interface Animation { timing100: number; timing200: number; timing300: number; timing400: number; timing500: number; timing600: number; timing700: number; timing800: number; timing900: number; timi...
the_stack
import { expect } from "chai"; import { ByteStream } from "@itwin/core-bentley"; import { Point3d } from "@itwin/core-geometry"; import { ColorIndex, FeatureIndex, FillFlags, MeshEdge, OctEncodedNormal, OctEncodedNormalPair, PolylineData, QPoint3dList } from "@itwin/core-common"; import { IModelApp } from "../../../IMo...
the_stack
import { FieldType, FunctionExp, GroupByClause, HavingClause, OrderByClause, Query, WhereClause, WithDataCategoryClause, FieldTypeOf, Subquery, FieldFunctionExpression, } from '../api/api-models'; import * as utils from '../utils'; import { FieldData, Formatter, FormatOptions } from '../formatter/...
the_stack
import { TypeAssertion, ValidationContext } from '../types'; import { validate, getType } from '../validator'; import { compile } from '../compiler'; import { serialize, deserialize } from '../serializer'; describe("compiler-5", function() { it("compiler-decor...
the_stack
import yoga from 'yoga-layout-prebuilt'; import { ReactTestRendererNode } from 'react-test-renderer'; import { ViewStyle, PlatformBridge } from '../types'; import { Context } from '../utils/Context'; import { createStringMeasurer } from '../utils/createStringMeasurer'; import { hasAnyDefined } from '../utils/hasAnyDefi...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { class OrganizationApi { /** * DynamicsCrm.DevKit OrganizationApi * @param entity The entity object */ constructor(entity?: any); /** * Get the value of alias * @param alias the alias value * @param isMultiOptionSet true if...
the_stack
import { RawHttpHeaders } from "@azure/core-rest-pipeline"; import { HttpResponse } from "@azure-rest/core-client"; import { ProductOutput, CloudErrorOutput, SkuOutput, SubProductOutput } from "./outputModels"; /** Long running put request, service returns a 200 to the initial request, with an entity that cont...
the_stack
import * as vscode from 'vscode'; import * as path from 'path'; import { angularCollectionName } from '../defaults'; import { FileSystem, Output, Terminals } from '../utils'; import { WorkspaceFolderConfig } from '../workspace'; import { Schematic } from '../workspace/schematics'; import { CliCommandOptions, formatCl...
the_stack
import Quaternion from './Quaternion'; import Vector3 from './Vector3'; /** * Matrix4 */ class Matrix4 { public _el: Float32Array = new Float32Array(16); get el() { return this._el; } constructor() { this.identity(); } public identity() { this._el[0] = 1; this._el[1] = 0; this._el[2...
the_stack
import { expect } from 'chai'; import { render, act, RenderResult } from '@testing-library/react'; import * as sinon from 'sinon'; import { ArcView } from '../../../src/ts/components/ArcBase'; import { MapBase, WebBase } from '../../../src/ts/components/ArcComposites'; function renderMapBase({ scriptUri = [...
the_stack
import { isPlatform, modalController, alertController, popoverController, actionSheetController, menuController, useBackButton } from '@ionic/vue'; import { App } from '@capacitor/app'; import { Clipboard } from '@capacitor/clipboard'; import { Toast } from '@capacitor/toast'; import { ScreenReader } from...
the_stack
import { binToHex, flattenBinArray, numberToBinUint16LE, numberToBinUint32LE, } from '../../format/format'; import { createCompilerCommonSynchronous } from '../../template/compiler'; import { AuthenticationProgramStateCommon } from '../vm-types'; import { AuthenticationErrorBCH, OpcodesBCH } from './bch/bch'; ...
the_stack
import { spawn } from 'child_process'; import { promises as fs } from 'fs'; import * as path from 'path'; import * as byline from 'byline'; import { rgPath } from '@vscode/ripgrep'; import * as Parser from 'tree-sitter'; import fetch from 'node-fetch'; const { typescript } = require('tree-sitter-typescript'); const pro...
the_stack
import * as parser from "jsonc-parser"; import * as vscode from "vscode"; import { DigitalTwinConstants } from "./digitalTwinConstants"; import { ClassNode, DigitalTwinGraph, PropertyNode, VersionNode } from "./digitalTwinGraph"; /** * Type of json node */ export enum JsonNodeType { Object = "object", Array = "a...
the_stack
import { UploadPartCommandInput, CompletedPart, S3Client, UploadPartCommand, CompleteMultipartUploadCommand, Part, AbortMultipartUploadCommand, ListPartsCommand, CreateMultipartUploadCommand, PutObjectCommandInput, ListObjectsV2Command, } from '@aws-sdk/client-s3'; import * as events from 'events'; import ax...
the_stack
import { SpecPage } from '@stencil/core/testing'; import { flushTransitions, asyncForEach } from './unit-test-utils'; import { rgb } from 'd3-color'; import Utils from '@visa/visa-charts-utils'; const { visaColors, propDefaultValues, getAccessibleStrokes } = Utils; const DEFAULTHOVEROPACITY = propDefaultValues.hover...
the_stack
import { HttpClientTestingModule } from '@angular/common/http/testing'; import { NO_ERRORS_SCHEMA } from '@angular/core'; import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing'; import { TopicCreationService } from 'components/entity-creation-services/topic-creation.service'; i...
the_stack
import { Agile, StatePersistent, Storage, Persistent, EnhancedState, Storages, assignSharedStorageManager, createStorageManager, } from '../../../src'; import { LogMock } from '../../helper/logMock'; import waitForExpect from 'wait-for-expect'; describe('StatePersistent Tests', () => { let dummyAgile...
the_stack
import {Oas20Document} from "../models/2.0/document.model"; import {Oas20Info} from "../models/2.0/info.model"; import {Oas20Contact} from "../models/2.0/contact.model"; import {Oas20License} from "../models/2.0/license.model"; import {OasExtensibleNode} from "../models/enode.model"; import {Oas20Tag} from "../models/2...
the_stack
import { IConfusionMatrixagglomeratedMetricStructure } from "./IConfusionMatrixagglomeratedMetricStructure"; import { IConfusionMatrixBaseMetrics } from "./IConfusionMatrixBaseMetrics"; import { IConfusionMatrixBaseMicroAverageMetrics } from "./IConfusionMatrixBaseMicroAverageMetrics"; import { IConfusionMatrixMeanDeri...
the_stack
import { CachingPoliciesProcessor } from '@src/cache/CachingPoliciesProcessor' import { CACHE_POINTER_PREFIX, IpcCacheOpCodes, IpcOpCodes, SerializeModes } from '@src/constants' import { CacheProvider, CacheStorageKey } from '@discordoo/providers' import { DiscordooError, resolveDiscordooShards } from '@src/utils' impo...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormOpportunityClose_Information { interface tab_resolution_Sections { information: DevKit.Controls.Section; } interface tab_resolution extends DevKit.Controls.ITab { Section: tab_resolution_Sections; } interface Tabs...
the_stack
export default class gLong { private low_ : number private high_ : number // A cache of the Long representations of small integer values. private static IntCache_: { [val: number]: gLong } = {} // Commonly used constant values. private static TWO_PWR_16_DBL_ = 1 << 16; private static TWO_PWR_24_DBL_ = 1 <...
the_stack
import React, { useRef, useState, useEffect, useLayoutEffect, MutableRefObject, useCallback, useMemo, } from "react"; import classnames from "classnames"; import { reaction, toJS } from "mobx"; import { ChartEventStore } from "@src/stores"; import * as _ from "lodash-es"; import { Button, ButtonGroup, Bad...
the_stack
const quickselect = require('quickselect'); export interface GNode<L extends boolean> { children:L extends true ? BBox[] : Node[]; height:number; leaf:L; minX:number; minY:number; minZ:number; maxX:number; maxY:number; maxZ:number; } export type LeafNode = GNode<true>; export type NonLeafNode = GNod...
the_stack
import * as result from './result' import { Result } from './result' type ParseResult<T,E> = Result<{ output: T, rest: string },E> type EvalResult<T,E> = Result<T,E> export type Pos = { /** How long is the input string at the start of parsing? */ startLen: number, /** How long is the input string at the e...
the_stack
import hypergeometric = require( './index' ); // TESTS // // The function returns a number... { hypergeometric( 10, 5, 7 ); // $ExpectType number hypergeometric( 5, 3, 2 ); // $ExpectType number } // The compiler throws an error if the function is provided values other than three numbers... { hypergeometric( tru...
the_stack
'use strict'; // tslint:disable no-unused-expression import * as vscode from 'vscode'; import * as fs from 'fs-extra'; import * as sinon from 'sinon'; import * as chai from 'chai'; import * as sinonChai from 'sinon-chai'; import { SampleGalleryView } from '../../extension/webview/SampleGalleryView'; import { View } fr...
the_stack
import {Component, OnDestroy, OnInit} from "@angular/core"; import {ActivatedRoute, Params} from "@angular/router"; import {ReportsService} from "./reports.service"; import {AppEvent, AppEventCode, AppService} from "../app.service"; import {ToastrService} from "../toastr.service"; import {TopNavService} from "../topnav...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utilities"; /** * Manages an EKS Node Group, which can provision and optionally update an Auto Scaling Group of Kubernetes worker nodes compatible with EKS. Additional documen...
the_stack
import { DisplayObject } from '@pixi/display'; import { isMobile, removeItems } from '@pixi/utils'; import { accessibleTarget } from './accessibleTarget'; import type { Rectangle } from '@pixi/math'; import type { Container } from '@pixi/display'; import type { Renderer, AbstractRenderer } from '@pixi/core'; import ty...
the_stack
import moment from 'moment-es6'; import { WidgetVisibilityModel } from '../../../models/widget-visibility.model'; import { ContainerColumnModel } from './container-column.model'; import { ErrorMessageModel } from './error-message.model'; import { FormFieldMetadata } from './form-field-metadata'; import { FormFieldOptio...
the_stack
import { Observable, ObservableInput } from '../Observable'; import { ArrayObservable } from '../observable/ArrayObservable'; import { isArray } from '../util/isArray'; import { Operator } from '../Operator'; import { PartialObserver } from '../Observer'; import { Subscriber } from '../Subscriber'; import { OuterSubscr...
the_stack
import joplin from 'api'; import { SettingItemType } from 'api/types'; import { ChangeEvent } from 'api/JoplinSettings'; /** * Advanced style setting default values. * Used when setting is set to 'default'. */ enum SettingDefaults { Default = 'default', FontFamily = 'var(--joplin-font-family)', FontSize = 'va...
the_stack
import { Component, OnInit, ViewChild, AfterViewInit, QueryList, ViewChildren } from '@angular/core'; import { FilteringExpressionsTree, FilteringLogic, IgxNumberSummaryOperand, IgxSummaryResult, IGridState, IgxGridStateDirective, IgxExpansionPanelComponent, IgxGridBaseDirective, IGridStateOptions, GridFeatures, ...
the_stack
import { INodeProperties, } from 'n8n-workflow'; export const postOperations: INodeProperties[] = [ { displayName: 'Operation', name: 'operation', type: 'options', displayOptions: { show: { source: [ 'contentApi', ], resource: [ 'post', ], }, }, options: [ { name: '...
the_stack
import { BBoxProperty } from '../boundingBoxes/GameBoundingBoxTypes'; import { GameCheckpoint } from '../chapter/GameChapterTypes'; import { GamePosition, ItemId } from '../commons/CommonTypes'; import GameMap from '../location/GameMap'; import { GameItemType, LocationId } from '../location/GameMapTypes'; import { Game...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement, Operator } from "../shared"; /** * Statement provider for service [codecommit](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awscodecommit.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/...
the_stack
import { Entity, RELATION_OWNED_BY, RELATION_PART_OF, } from '@backstage/catalog-model'; import { entityRouteRef } from '@backstage/plugin-catalog-react'; import { renderInTestApp } from '@backstage/test-utils'; import React from 'react'; import { AboutContent } from './AboutContent'; describe('<AboutContent />'...
the_stack
declare module 'vscode' { /** * Accessibility information which controls screen reader behavior. */ export interface AccessibilityInformation { /** * Label to be read out by a screen reader once the item has focus. */ label: string; /** * Role of the widget which defines how a scr...
the_stack
import { defineComponent, ref, PropType, computed } from 'vue'; import { TimeFilledIcon, CheckCircleFilledIcon, ErrorCircleFilledIcon, DeleteIcon, BrowseIcon, } from 'tdesign-icons-vue-next'; import TButton from '../button'; import TLoading from '../loading'; import { UploadFile } from './type'; import { Fl...
the_stack
'use strict' import { GraphcoolDefinition } from 'graphcool-json-schema' import { Output } from '../Output/index' import * as _ from 'lodash' import * as replaceall from 'replaceall' import * as BbPromise from 'bluebird' import { Args } from '../types/common' export default class Variables { json: any overwriteSy...
the_stack
import { ABIParameter, ABIReturn, common, ContractEventDescriptorClient, ContractGroup, ContractPermission, ContractPermissionDescriptor, SenderAddressABIDefault, WildcardContainer, } from '@neo-one/client-common'; import { NEO_ONE_METHOD_RESERVED_PARAM } from '@neo-one/client-core'; import { Contract...
the_stack
import { AfterViewInit, ChangeDetectorRef, Component, OnDestroy, OnInit, TemplateRef, ViewChild } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { ActivatedRoute } from '@angular/router'; import { IIncome, ComponentLayoutStyleEnum, IOrganization, IEmployee, IOrganizationContact, ...
the_stack
import assert from 'assert'; import AsyncTestUtil from 'async-test-util'; import BroadcastChannel from 'broadcast-channel'; import convertHrtime from 'convert-hrtime'; import * as schemas from './helper/schemas'; import * as schemaObjects from './helper/schema-objects'; import { mergeMap } from 'rxjs/operators'; // we...
the_stack
import { HttpMethods } from './../../shared/models/constants'; import { FunctionAppService } from 'app/shared/services/function-app.service'; import { Headers } from '@angular/http'; import { UUID } from 'angular2-uuid'; import { Observable } from 'rxjs/Observable'; import { BindingComponent } from '../../binding/bind...
the_stack
import { DI, ILifecycleHooks, ILogger, IRouteViewModel, lifecycleHooks, NavigationInstruction, Params, RouteNode, } from 'aurelia'; import { Article, ArticleListResponse, ArticleResponse, Comment, ErrorRecordResponse, IApiService, IJwtService, ArticleQueryParams, User, UserLogin, U...
the_stack
/// <reference types="angular" /> import * as angular from 'angular'; declare const moduleName: 'ui.bootstrap'; export = moduleName; declare module 'angular' { export namespace ui.bootstrap { interface IAccordionConfig { /** * Controls whether expanding an item will cause the ot...
the_stack
* @module Utilities */ // cSpell:ignore configurableui clientservices import { Store } from "redux"; import { GuidString, Logger, ProcessDetector } from "@itwin/core-bentley"; import { Localization, RpcActivity } from "@itwin/core-common"; import { IModelApp, IModelConnection, SnapMode, ViewState } from "@itwin/core...
the_stack
import { AVRInterruptConfig, CPU } from '../cpu/cpu'; import { u8 } from '../types'; export interface AVRExternalInterrupt { EICRA: u8; EICRB: u8; EIMSK: u8; EIFR: u8; index: u8; // 0..7 interrupt: u8; } export interface AVRPinChangeInterrupt { PCIE: u8; // bit index in PCICR/PCIFR PCICR: u8; PCIFR:...
the_stack
import { createHmac } from 'crypto' import { encode } from 'querystring' import { Context, camelize, Random, sanitize, Logger, Session, Dict } from 'koishi' import { CommonPayload, addListeners, defaultEvents, EventConfig } from './events' import { Config, GitHub, ReplyHandler, ReplySession, ReplyPayloads } from './ser...
the_stack
// These types are derived in large part from the Microsoft-supplied types for // ES2015 Promises. They have been tweaked to support RSVP's extensions to the // Promises A+ spec and the additional helper functions it supplies. declare namespace RSVP { // All the Promise methods essentially flatten existing promise...
the_stack
import * as Examples from './components/demos'; interface DemoInterface { /** ID for the demo, it will be used to help generate general ids to help with testing */ id: string; /** The name of the demo */ name: string; /** Demo component associated with the demo */ componentType: any; } /** Add the name of...
the_stack
import { MIRFieldKey, MIRGlobalKey, MIRInvokeKey, MIRResolvedTypeKey, MIRVirtualMethodKey } from "../../../compiler/mir_ops"; import { Argument, ICPPOp } from "./icpp_exp"; import * as assert from "assert"; import { BSQRegex } from "../../../ast/bsqregex"; type TranspilerOptions = { }; type SourceInfo = { line: ...
the_stack
import {ReactTestRenderer, act, create} from 'react-test-renderer'; import { Relationships, Store, createCheckpoints, createIndexes, createLocalPersister, createMetrics, createRelationships, createStore, } from '../../lib/debug/tinybase'; import { StoreListener, createStoreListener, expectChanges,...
the_stack
import { IExecuteFunctions, } from 'n8n-core'; import { IDataObject, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, } from 'n8n-workflow'; import { googleApiRequest, } from './GenericFunctions'; export class GoogleSlides implements INodeType { description: ...
the_stack
import expect from 'expect'; import { loadContract } from './utils'; import crypto from 'crypto'; import { publicKeyToHex } from '@solana/solidity'; describe('Deploy solang contract and test', () => { it('flipper', async function () { this.timeout(50000); let { contract } = await loadContract('fli...
the_stack
import {ClayCheckbox, ClayRadio} from '@clayui/form'; import { MouseSafeArea, TInternalStateOnChange, useInternalState, } from '@clayui/shared'; import React, {useContext, useRef, useState} from 'react'; import warning from 'warning'; import Caption from './Caption'; import Divider from './Divider'; import ClayDrop...
the_stack
import * as ts from 'typescript'; import * as fs from 'fs'; enum SyntaxKindMapped { Unknown, EndOfFileToken, SingleLineCommentTrivia, MultiLineCommentTrivia, NewLineTrivia, WhitespaceTrivia, // We detect and preserve #! on the first line ShebangTrivia, // We detect and provide bette...
the_stack
/* * --------------------------------------------------------- * Copyright(C) Microsoft Corporation. All rights reserved. * --------------------------------------------------------- * * --------------------------------------------------------- * Generated file, DO NOT EDIT * -----------------------------...
the_stack
class DisplayTemplateTokenSyntax { public static get TokenLogicCodeBegin(): string { return "<!--#_"; } public static get TokenLogicCodeEnd(): string { return "_#-->"; } public static get TokenRenderExpressionBegin(): string { return "_#="; } public static get TokenRenderExpressionEnd(): string { retur...
the_stack
import { DatabaseService, Repositories } from "@arkecosystem/core-database"; import { Container, Contracts, Enums, Providers, Types, Utils } from "@arkecosystem/core-kernel"; import { DatabaseInteraction } from "@arkecosystem/core-state"; import { Blocks, Crypto, Interfaces, Managers } from "@arkecosystem/crypto"; imp...
the_stack
import { produce, enablePatches, produceWithPatches, Patch, applyPatches, current, isDraft, } from 'immer' enablePatches() export declare type StateObject = Record<string | number | symbol, any> export declare type StateSelector<T extends StateObject, U> = (state: T) => U const syncedStat...
the_stack
import { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, HostBinding, HostListener, Input, NgZone, OnDestroy, OnInit, } from '@angular/core'; import { ArgumentHelper } from '../utils/argument.helper'; /** * Supported button types. */ export type SohoButtonType = 'btn' | 'primary' ...
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://www.googleapis.com/discovery/v1/apis/consumersurveys/v2/r...
the_stack
import { HttpClient } from '@angular/common/http'; import { ChangeDetectionStrategy, DebugElement, NO_ERRORS_SCHEMA } from '@angular/core'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { Store } from '@ngrx/store'; import { Trans...
the_stack
import { Body, Get, Put, Delete, Param, JsonController, UseBefore, NotFoundError, BadRequestError, Post, Authorized, CurrentUser, UploadedFile, Res, UploadedFiles, InternalServerError, ForbiddenError } from 'routing-controllers'; import passportJwtMiddleware from '../security/passportJwtMiddleware'; import {errorCo...
the_stack
import { Repositories } from "@arkecosystem/core-database"; import { Container, Contracts, Utils as AppUtils } from "@arkecosystem/core-kernel"; import { Enums, Interfaces, Managers, Transactions, Utils } from "@arkecosystem/crypto"; import assert from "assert"; import { ColdWalletError, InsufficientBalanceErr...
the_stack
import {CloudPrintInterfaceEventType, CloudPrintInterfaceImpl, CrButtonElement, Destination, DestinationStoreEventType, LocalDestinationInfo, makeRecentDestination, MeasurementSystemUnitType, NativeInitialSettings, NativeLayerImpl, PluginProxyImpl, PrintPreviewAppElement, ScalingType, State, whenReady} from 'chrome://p...
the_stack
import type { Route as _envoy_config_route_v3_Route, Route__Output as _envoy_config_route_v3_Route__Output } from '../../../../envoy/config/route/v3/Route'; import type { VirtualCluster as _envoy_config_route_v3_VirtualCluster, VirtualCluster__Output as _envoy_config_route_v3_VirtualCluster__Output } from '../../../../...
the_stack
import { pmBuild } from 'jest-prosemirror'; import { extensionValidityTest, renderEditor } from 'jest-remirror'; import { createCoreManager, ItalicExtension, MentionChangeHandler, MentionExtension, MentionOptions, } from 'remirror/extensions'; import { hideConsoleError } from 'testing'; import { htmlToProsemi...
the_stack
import { Component, OnDestroy, OnInit, Input, ViewChild, ElementRef } from '@angular/core'; import { ActionSheetButton, IonRefresher } from '@ionic/angular'; import { CoreEventObserver, CoreEvents } from '@singletons/events'; import { CoreSites } from '@services/sites'; import { CoreDomUtils } from '@services/utils/dom...
the_stack
import { Component, ViewEncapsulation } from '@angular/core'; import { ViewContainerRef } from '@angular/core'; import { OnInit } from '@angular/core'; import { Location } from '@angular/common'; import { MdSnackBar } from '@angular/mater...
the_stack
import type {Mutable} from "@swim/util"; import {AnyItem, Item} from "./Item"; import {Field} from "./Field"; import {Attr} from "./Attr"; import {AnyValue, Value} from "./Value"; import {Record} from "./Record"; import {RecordMap} from "./RecordMap"; import {AnyNum, Num} from "./"; // forward import /** @internal */ ...
the_stack
import { INodeProperties, } from 'n8n-workflow'; export const releaseOperations: INodeProperties[] = [ { displayName: 'Operation', name: 'operation', type: 'options', displayOptions: { show: { resource: [ 'release', ], }, }, options: [ { name: 'Create', value: 'create', ...
the_stack
import { Autowired } from '@opensumi/di'; import { IContextKeyService, ClientAppContribution, SlotLocation, SlotRendererContribution, SlotRendererRegistry, slotRendererRegistry, KeybindingRegistry, } from '@opensumi/ide-core-browser'; import { getIcon } from '@opensumi/ide-core-browser'; import { Compon...
the_stack
namespace SchemeDesigner { /** * Scheme * @author Nikitchenko Sergey <nikitchenko.sergey@yandex.ru> */ export class Scheme { /** * Frame animation */ protected requestFrameAnimation: any; /** * Cancel animation */ protected canc...
the_stack
import { detailedDiff, diff, } from 'deep-object-diff'; import { Client, Collection, Create, Expr, Get, Ref, Update, } from 'faunadb'; import { Subscription } from 'faunadb/src/types/Stream'; import isEqual from 'lodash.isequal'; import { setRecoilExternalState } from '../components/RecoilExternalStat...
the_stack
import {LocalActionBundle} from 'app/common/ActionBundle'; import {ActionGroup, MinimalActionGroup} from 'app/common/ActionGroup'; import {createEmptyActionSummary} from 'app/common/ActionSummary'; import {getSelectionDesc, UserAction} from 'app/common/DocActions'; import {DocState} from 'app/common/UserAPI'; import to...
the_stack
import path from 'path'; import * as constants from '../constants'; import { SchemaReference } from '../generate'; import { SchemaPostProcessor, ScopeType } from '../models'; import { saveAutoGeneratedSchemaRefs } from '../generate'; import { safeMkdir, writeJsonFile } from '../utils'; export const postProcessor: Sche...
the_stack
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class IoTTwinMak...
the_stack
import * as express from 'express'; import { RosaeContext, RenderedBundle, RenderOptionsOutput, RosaeContextsManager, S3RosaeContextsManager, S3Conf, DiskRosaeContextsManager, RosaeContextsManagerParams, MemoryRosaeContextsManager, } from 'rosaenlg-server-toolkit'; import { RosaeNlgFeature...
the_stack
namespace ts { export function transformTypeScriptPlus(context: TransformationContext) { const compilerOptions = context.getCompilerOptions(); const compilerDefines = getCompilerDefines(compilerOptions.defines!); const typeChecker = compilerOptions.emitReflection || compilerDefines ? c...
the_stack
"use strict"; import { Classic } from "./classic"; import { ClassicPlayer } from "./classicPlayer"; import { Player } from "../../core/player"; import { Colors } from "../../core/utils"; export enum Alignment { town = "town", mafia = "mafia", neutral = "neutral", undefined = "undefined", } export enum Passive...
the_stack
import { ServiceClientOptions, RequestOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest'; import * as models from '../models'; /** * @class * EndpointKeys * __NOTE__: An instance of this class is automatically created for an * instance of the QnAMakerClient. */ export interface EndpointKeys { ...
the_stack