text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import type { MetricData } from "./metrics.api"; import { metricsApi } from "./metrics.api"; import type { DerivedKubeApiOptions, IgnoredKubeApiOptions, ResourceDescriptor } from "../kube-api"; import { KubeApi } from "../kube-api"; import type { RequireExactlyOne } from "type-fest"; import type { KubeObjectMetadata, L...
the_stack
import React from 'react'; import userEvent from '@testing-library/user-event'; import { render, fireEvent } from 'garden-test-utils'; import { KEY_CODES } from '@zendeskgarden/container-utilities'; import { default as Pagination, IPaginationProps, PAGE_TYPE } from './Pagination'; describe('Pagination', () => { it('...
the_stack
import { IExecuteFunctions, ILoadOptionsFunctions, } from 'n8n-core'; import { IDataObject, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription, NodeApiError, } from 'n8n-workflow'; import { extractID, googleApiRequest, googleApiRequestAllItems, hasKeys, upperFirst, } from './Generi...
the_stack
import { Component, Input, Output, forwardRef, DoCheck, ViewChild, ViewChildren, QueryList, OnInit, HostListener, ElementRef, Optional, Inject, Directive, TemplateRef, ViewContainerRef, ContentChild, ChangeDetectionStrategy, ChangeDetectorRef, AfterViewInit, OnDestroy, HostBi...
the_stack
import composeRefs from '@seznam/compose-react-refs'; import { Dispatch, ReactNode, Ref, SetStateAction } from 'react'; import { AnyExtension, ErrorConstant, Framework, FrameworkOptions, FrameworkProps, GetSchema, invariant, isArray, object, shouldUseDomEnvironment, STATE_OVERRIDE, UpdateStatePr...
the_stack
import { InputController, KeyMappings } from "./input_controller"; import { Nes } from "./nes"; declare var rivets, $, NoSleep, toastr, compiler, Diff, saveAs; export class Rom { name: string = ''; url: string = ''; } //this is a good technique //so i don't need to keep casting from window.app v...
the_stack
import { WebGLRenderTarget, Vector2, Shader, ShaderMaterial, WebGLRenderer, PerspectiveCamera, DepthTexture } from 'three'; import { FullScreenQuad } from 'three/examples/jsm/postprocessing/Pass'; import { BlendShader } from 'three/examples/jsm/shaders/BlendShader'; import { GaussianBlurShader, GaussianBlurDirection } ...
the_stack
import path from 'path'; import { Dirent, promises as fsPromises } from 'fs'; import { File, MutationRange } from '@stryker-mutator/api/core'; import { SourceFile } from '@stryker-mutator/api/report'; import { assertions, factory, testInjector, tick } from '@stryker-mutator/test-helpers'; import { Task } from '@stryke...
the_stack
import { MonacoEditorTSLibrariesMetaMods } from '../../../monaco-editor/monaco-editor'; import { Polymer } from '../../../../../../../tools/definitions/polymer'; import { PaperDropdownBehavior } from '../../../../inputs/paper-dropdown-behavior/paper-dropdown-behavior'; import { I18NKeys } from '../../../../../../_local...
the_stack
declare module '@ailhc/enet-pbws' { /** * <p> <code>Byte</code> 类提供用于优化读取、写入以及处理二进制数据的方法和属性。</p> * <p> <code>Byte</code> 类适用于需要在字节层访问数据的高级开发人员。</p> */ export class Byte { /** * <p>主机字节序,是 CPU 存放数据的两种不同顺序,包括小端字节序和大端字节序。通过 <code>getSystemEndian</code> 可以获取当前系统的字节序。</p> * <p> <code>BIG_END...
the_stack
import * as React from "react"; import { GridCell, GridCellKind, GridSelection, Rectangle } from "../data-grid/data-grid-types"; import ScrollingDataGrid, { ScrollingDataGridProps } from "../scrolling-data-grid/scrolling-data-grid"; import { SearchWrapper } from "./data-grid-search-style"; import { assert } from "../co...
the_stack
import { ComponentFactoryResolver, ComponentRef, ElementRef, EventEmitter, Injectable, OnDestroy, Type, ViewContainerRef, } from '@angular/core'; import {Subject} from 'rxjs'; import {SmartFormConfiguration} from '../classes/modal-smart-form'; import {ModalOptions} from '../interfaces/modal-options'; im...
the_stack
import * as moment from 'moment/moment'; // import * as moment from 'moment-timezone'; import 'moment/locale/it.js'; import { FIREBASESTORAGE_BASE_URL_IMAGE, STORAGE_PREFIX, TYPE_GROUP } from './constants'; import { environment } from '../../environments/environment'; // ????? import { HttpClient } from '@angular/comm...
the_stack
/// <reference path="../../Scripts/Typings/jquery/jquery.d.ts"/> /// <reference path="../../Scripts/Typings/autosize/autosize.d.ts"/> /// <reference path="jquery.chatjs.adapter.ts"/> /// <reference path="jquery.chatjs.pmwindow.ts"/> /// <reference path="jquery.chatjs.friendswindow.ts"/> // Documentation: http://www.c...
the_stack
* @packageDocumentation * @hidden */ import { Mesh } from '../../3d/assets/mesh'; import { AttributeName, BufferUsageBit, FormatInfos, MemoryUsageBit, PrimitiveMode, Attribute, DRAW_INFO_SIZE, Buffer, IndirectBuffer, BufferInfo, DrawInfo } from '../../core/gfx'; import { Color } from '../../core/math/color'; imp...
the_stack
import { memoryStorage, RerunBehavior, Umzug } from '../src'; import path = require('path'); import { fsSyncer } from 'fs-syncer'; import { expectTypeOf } from 'expect-type'; import VError = require('verror'); jest.mock('../src/storage', () => { const storage = jest.requireActual('../src/storage'); // to simplify te...
the_stack
import * as React from 'react'; import { Form, Table, Input, Popover, InputNumber } from 'antd'; import { localize } from '../../LocaleWrapper/LocaleWrapper'; import en_US from '../../../locale/en_US'; import { ColorMap, ColorMapType, ColorMapEntry } from 'geostyler-style'; import ExtendedField from '../Fiel...
the_stack
import * as nls from 'vscode-nls'; import * as vscode from 'vscode'; import fetch, { Response } from 'node-fetch'; import { v4 as uuid } from 'uuid'; import { PromiseAdapter, promiseFromEvent } from './common/utils'; import { ExperimentationTelemetry } from './experimentationService'; import { AuthProviderType } from '...
the_stack
import CaretDownFilled from '@ant-design/icons/lib/icons/CaretDownFilled' import SearchOutlined from '@ant-design/icons/lib/icons/SearchOutlined' import WarningFilled from '@ant-design/icons/lib/icons/WarningFilled' import { Checkbox, Input } from 'antd' import { usePersonProperies } from 'lib/api/person-properties' im...
the_stack
import * as _ from 'lodash'; import {isUndefined} from 'util'; import { Component, ElementRef, EventEmitter, Injector, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChange, SimpleChanges, ViewChild, ViewChildren } from '@angular/core'; import {StringUtil} from '@common/util/string.util'; ...
the_stack
import { Build, Component, Prop, State, h } from '@stencil/core'; import BrowserTab from '../BrowserTab'; import { ResizeEvent } from '../rp-resizable/rp-resizable'; import slugify from '../../utils/slugify'; import unslugify from '../../utils/unslugify'; import ResizeObserver from './ResizeObserver'; import Orientati...
the_stack
import React, { createRef } from 'react' import { fromJS } from 'immutable' import { connect } from 'react-redux' import moment from 'moment' import { IGlobalControlRelatedItem, InteractionType, IControlRelatedField, ILocalControl } from 'app/components/Filters/types' import { getDefaultLocalControl, deseri...
the_stack
import { GenericMeasure, LiftMeasure } from "../measure/genericMeasure"; import { Measure } from "../measure/numberMeasure"; import * as Base from "./base"; // Dimensionless /** A measure without any unit */ export type Dimensionless<N = number> = LiftMeasure<typeof Dimensionless, N>; export const Dimensionless: Gene...
the_stack
import * as urlUtil from '../../src/internal/url-util' interface PartialUrl { readonly scheme?: string | null readonly host?: string readonly port?: number readonly hostAndPort?: string readonly query?: Object readonly ipv6?: boolean } describe('#unit url-util', () => { it('should parse URL with just ho...
the_stack
import { Subject } from 'rxjs'; import { Router } from '@angular/router'; import { TestBed, fakeAsync, tick, flush } from '@angular/core/testing'; import { HttpClientTestingModule } from '@angular/common/http/testing'; import { PlanetApplicationLoader, ApplicationStatus } from './planet-application-loader'; import { As...
the_stack
import { createTxInput, execute, executeWithTxInput } from "../script/adapter"; import {BigNumber} from "bignumber.js"; import { ADD, ADDMOD, ADDRESS, AND, BALANCE, BIN_OUTPUT_PATH, BLOCKHASH, BYTE, CALLDATACOPY, CALLDATALOAD, CALLDATASIZE, CALLER, CALLVALUE, CODECOPY, CODESIZE, COIN...
the_stack
import { RequestUtil } from "mesosphere-shared-reactjs"; import * as repositoriesStream from "#PLUGINS/catalog/src/js/repositories/data/PackageRepositoryClient"; import { REQUEST_COSMOS_PACKAGES_LIST_SUCCESS, REQUEST_COSMOS_PACKAGES_SEARCH_ERROR, REQUEST_COSMOS_PACKAGES_SEARCH_SUCCESS, REQUEST_COSMOS_PACKAGES_...
the_stack
import { Component, EventEmitter, Input, OnInit, Output, ViewChild, ElementRef, Renderer2 } from '@angular/core'; import { clamp } from 'lodash'; import { Subject, Observable, of as observableOf } from 'rxjs'; import { debounceTime, switchMap, distinctUntilChanged } from 'rxjs/operators'; import { Fil...
the_stack
import type { Faker } from '../..'; import { FakerError } from '../../errors/faker-error'; import { deprecated } from '../../internal/deprecated'; import type { LiteralUnion } from '../../utils/types'; export type Casing = 'upper' | 'lower' | 'mixed'; const UPPER_CHARS: readonly string[] = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ...
the_stack
import {xliffDigest, xliffLoadToI18n, xliffLoadToXml, xliffWrite} from "../../lib/src/serializers/xliff"; import {MessageBundle} from "../../lib/extractor/src/message-bundle"; const XLIFF = `<?xml version="1.0" encoding="UTF-8" ?> <xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2"> <file source-langu...
the_stack
import utils from './util'; import { StyleSheet } from './css'; import event, { Notification, EventNoticer, Listen, Event } from './event'; import { TextNode, View, DOM } from './_view'; const TEXT_NODE_VALUE_TYPE = new Set(['function', 'string', 'number', 'boolean']); const G_removeSet = new WeakSet<ViewController>()...
the_stack
import {BytecodeNode, IHaikuComponent} from './api'; import {visitManaTree} from './HaikuNode'; import compareSemver from './helpers/compareSemver'; import migrateAutoSizing from './helpers/migrateAutoSizing'; import {SVG_SIZEABLES} from './layout/applyCssLayout'; import functionToRFO from './reflection/functionToRFO';...
the_stack
import { literal, Op } from 'sequelize' import each from 'jest-each' import { CaseAppealDecision, CaseDecision, CaseState, CaseType, InstitutionType, restrictionCases, UserRole, } from '@island.is/judicial-system/types' import type { User } from '@island.is/judicial-system/types' import { getCasesQueryF...
the_stack
import { Bounds, GoogleTms, Nztm2000QuadTms, Nztm2000Tms, QuadKey } from '@basemaps/geo'; import { Approx } from '@basemaps/test'; import { round } from '@basemaps/test/build/rounding.js'; import { BBox } from '@linzjs/geojson'; import o from 'ospec'; import { LatLon, Projection } from '../projection.js'; const TileSi...
the_stack
import Log from '../utils/log'; import PluginSystem from './plugins'; import NextPlugin from './plugins/next'; import {TY_GLOBAL_VALUES} from './globals'; import {isWindowFunction} from '../utils/proxys/fn'; import WebpackPlugin from './plugins/webpack'; import CommonPlugin from './plugins/common'; import IceStarkPlugi...
the_stack
import axios from 'axios'; import * as Cms from './cms'; import {actions, ModelAction} from 'react-redux-form'; import {Field, FieldType, Model, Node, NodeType, normalizeModel, Path, TreeModel} from './model'; import {ActionCreator, Dispatch} from "react-redux"; import {Action} from "redux"; import AppState, {JsonFile,...
the_stack
import { ActionCreator, Dispatch } from 'redux'; import { ThunkAction } from 'redux-thunk'; import { checkIfProtected } from '../services/BrowserActionService'; import { cleanCookiesOperation } from '../services/CleanupService'; import { getContainerExpressionDefault, getSetting, getStoreId, isChrome, isFiref...
the_stack
import { Vector2, Vector4 } from '../math/index' import { VertexProgram } from './shader' import { FragmentProgram } from './shader' import { DepthBuffer } from './depth' import { Vertex } from './vertex' import { RenderTarget } from './target' export class Raster { // triangle: registers ...
the_stack
interface PlayerInfo { score: number; team: string; status: string; color: string; }; interface WormDirection { NONE : number; UP : number; DOWN : number; RIGHT : number; LEFT : number; }; // // Worm: Worm class // class Worm { // Enums for worm direction direction ...
the_stack
import * as React from 'react'; import styles from './ImageGallery.module.scss'; import { ImageGalleryProps } from './ImageGalleryProps'; import { ImageGalleryState } from './ImageGalleryState'; import { escape } from '@microsoft/sp-lodash-subset'; import spservices from '../../../../services/spservices'; import Galler...
the_stack
/*global TurbulenzBridge: false*/ /*exported TurbulenzUI*/ // requires jQuery /** * The DynamicUI manager sends events to the DynamicUI server to create instances of UI elements on the host website. It * then manages updates to the UI either responding to requests for the value for a specific UI element, or pushing...
the_stack
declare interface Console { log (msg: any, ...params: any[]): void; info (msg: any, ...params: any[]): void; warn (msg: any, ...params: any[]): void; error (msg: any, ...params: any[]): void; } declare var console: Console; /* @internal */ namespace ts { export interface Node { ...
the_stack
import * as d3ScaleChromatic from 'd3-scale-chromatic'; // ----------------------------------------------------------------------- // Preparatory Steps // ----------------------------------------------------------------------- let colorInterpolator: ((t: number) => string); let simpleScheme: ReadonlyArray<string>; le...
the_stack
import BN from 'bn.js'; import BigNumber from 'bignumber.js'; import { PromiEvent, TransactionReceipt, EventResponse, EventData, Web3ContractContext, } from 'ethereum-abi-types-generator'; export interface CallOptions { from?: string; gasPrice?: string; gas?: number; } export interface SendOptions { ...
the_stack
import Scene from "../../src/Scene"; import { hasClass } from "@daybrush/utils"; import { START_ANIMATION, PAUSE_ANIMATION } from "../../src/consts"; import SceneItem from "../../src/SceneItem"; import * as sinon from "sinon"; /* eslint-disable */ describe("Scene Test", () => { describe("test Scene initialize", ()...
the_stack
import Adapt, { ChangeType, Group, isMountedElement, PluginOptions } from "@adpt/core"; import should from "should"; import { createMockLogger, k8sutils, MockLogger } from "@adpt/testutils"; import { sleep } from "@adpt/utils"; import { ActionPlugin, createActionPlugin } from "../../src/action"; import...
the_stack
import { GraphQLObjectType, GraphQLInt, GraphQLInputObjectType, GraphQLID, GraphQLFieldConfigMap, GraphQLFieldConfig, GraphQLInputFieldConfigMap, GraphQLFieldResolver, } from 'graphql'; import * as _ from 'lodash'; import * as camelcase from 'camelcase'; import { mutationWithClientMu...
the_stack
import type { RuleConfig } from '../rule-config'; /** * Option. */ export type NamingConventionOption = ( | { format: | ( | 'camelCase' | 'strictCamelCase' | 'PascalCase' | 'StrictPascalCase' | 'snake_case' | 'UPPER_CASE' ...
the_stack
import { PdfDocument, PdfPage, PdfStandardFont, PdfTrueTypeFont, PdfGraphics } from './../../../src/index'; import { PdfSolidBrush, PdfColor, PdfFont,PointF, PdfFontFamily, PdfStringFormat } from './../../../src/index'; import { RectangleF, PdfPen, PdfGraphicsState, PdfFontStyle, PdfTextAlignment, PdfBrush, Dictionary}...
the_stack
import * as angular from 'angular'; /** * @ngdoc directive * @name uifCommandBar * @module officeuifabric.components.commandbar * * @restrict E * * @description * `<uif-command-bar>` is the commandbar directive. * * @see {link http://dev.office.com/fabric/components/commandbar} * * @usage * * <uif-comman...
the_stack
const testLogLevel: LogLevelDesc = "debug"; const sutLogLevel: LogLevelDesc = "info"; // Contants: Test ledger const ledgerImageName = "ghcr.io/hyperledger/cactus-corda-4-8-all-in-one-obligation"; const ledgerImageVersion = "2022-03-31-28f0cbf--1956"; const partyARpcUsername = "user1"; const partyARpcPassword = "pas...
the_stack
import dayjs from 'dayjs'; import { getChartListColor } from '@/utils/color'; import { getRandomArray } from '@/utils/charts'; /** 首页 dashboard 折线图 */ export function constructInitDashboardDataset(type: string) { const dateArray: Array<string> = ['周一', '周二', '周三', '周四', '周五', '周六', '周日']; const datasetAxis = { ...
the_stack
import hastscript from 'hastscript' import visit from 'unist-util-visit' import mdastToc from 'mdast-util-toc' import frontmatter from 'front-matter' import toHast from 'mdast-util-to-hast' import { basename, dirname } from 'path' import toString from 'hast-util-to-string' import unified, { Settings } from 'unified' im...
the_stack
import * as fs from "fs"; import * as fsPath from "path"; import * as async from "async"; import * as _ from "lodash"; import { VEvent } from "./VEvent"; import { VDefinition } from "./VDefinition"; import { HTTP, VBase, VConfig, VError, VModel, VMiddleware, VRouter, VEventReader, VWebSocket } from "./Components"; impo...
the_stack
import { mxCell, mxEventObject, mxPopupMenu } from "mxgraph"; import { ActionMessage, DrawioLoadActionMessage, EventMessageEvents, } from "src/Messages"; import { FrameMessenger } from "../../FrameMessenger"; import { patch } from "../patch"; import { FontManager } from "./FontManager"; export default class Plug...
the_stack
module android.support.v4.widget { import MotionEvent = android.view.MotionEvent; import VelocityTracker = android.view.VelocityTracker; import View = android.view.View; import ViewConfiguration = android.view.ViewConfiguration; import ViewGroup = android.view.ViewGroup; import OverScroller = android.widget.OverScrolle...
the_stack
import Decimal from "decimal.js"; import { BasicClient, MarketMap } from "../BasicClient"; import { Candle } from "../Candle"; import { CandlePeriod } from "../CandlePeriod"; import { ClientOptions } from "../ClientOptions"; import * as https from "../Https"; import { Level2Point } from "../Level2Point"; import { Level...
the_stack
* Please try to keep this list in alphabetical order :-) * (hopefully your editor can do it!) */ export enum ActionTypes { COLONY_CLAIM_TOKEN = 'COLONY_CLAIM_TOKEN', COLONY_CLAIM_TOKEN_ERROR = 'COLONY_CLAIM_TOKEN_ERROR', COLONY_CLAIM_TOKEN_SUCCESS = 'COLONY_CLAIM_TOKEN_SUCCESS', COLONY_CREATE = 'COLONY_CREATE...
the_stack
import React, { useCallback, useEffect, useMemo, useState } from "react"; import { Animated, Easing, NativeSyntheticEvent, StyleProp, StyleSheet, TargetedEvent, TextInput as RNTextInput, TextInputFocusEventData, TextInputProps as RNTextInputProps, View, ViewStyle, } from "react-native"; import Tex...
the_stack
import {BrowserWindow, ipcMain} from 'electron'; import ArduinoCompiler from "../compiler/compiler"; import {ArduinoSerial} from "./arduinoSerial"; import * as fs from "fs"; import * as path from "path"; import * as util from "../compiler/util"; import logger from "./logger"; import messenger, {MessageType} from "./mes...
the_stack
import { Button, Checkbox, Classes, Colors, FormGroup, HTMLSelect, InputGroup, Intent, TextArea, } from '@blueprintjs/core' import copy from 'copy-to-clipboard' import _ from 'lodash' import * as React from 'react' import FlexLayout from 'components/FlexLayout' import Key from 'constants/key' import ...
the_stack
import { BufferGeometry, Euler, Object3D, Vector3, Color, Mesh, Group, Material, MeshPhongMaterial, Plane, DoubleSide, } from "three"; import { STLExporter } from "three/examples/jsm/exporters/STLExporter"; import { GLTFExporter } from "three/examples/jsm/exporters/GLTFExporter"; import { default...
the_stack
import * as React from "react"; import * as monaco from "monaco-editor/esm/vs/editor/editor.api"; import { loadSteps, makeFEOperationLog } from "./api"; import { selectAndTraverse } from "./actions"; import TraversalStep from "./TraversalStep"; import { ErrorBoundary } from "./ErrorBoundary"; import "./CodeViewer.scss"...
the_stack
import {CheckContext} from "../../compiler/analyzer/type-checker"; import {StringBuilder, StringBuilder_new} from "../../utils/stringbuilder"; import {Compiler, replaceFileExtension} from "../../compiler/compiler"; import {Node, isCompactNodeKind, isUnaryPostfix, NodeKind} from "../../compiler/core/node"; import {Prece...
the_stack
import { dew as _readerForDewDew } from "./reader/readerFor.dew.js"; import { dew as _utilsDewDew } from "./utils.dew.js"; import { dew as _signatureDewDew } from "./signature.dew.js"; import { dew as _zipEntryDewDew } from "./zipEntry.dew.js"; import { dew as _utf8DewDew } from "./utf8.dew.js"; import { dew as _suppor...
the_stack
interface DropdownOption { readonly name: string; readonly value: string; readonly hint?: string; } /** * Implements the dropdown inputs used in the Git Graph View's top control bar. */ class Dropdown { private readonly showInfo: boolean; private readonly multipleAllowed: boolean; private readonly ...
the_stack
import { ImgLazy } from '~/components/ui/ImgLazy'; import { Grid } from '~/components/layout/Grid'; import { FlexStack } from '~/components/layout/FlexStack'; import { TitleSection } from '~/components/lwjgl/TitleSection'; import { Dark } from '~/components/lwjgl/Dark'; import { SectionContainer } from '~/components/ui...
the_stack
* Types generated by `yarn generate-types`. Do not edit manually. * * Version: 0.5.0 * Api Level: 7 * Api Compatible: 0 * Api Prerelease: false */ /** * UI events types emitted by `redraw` event. Do not edit manually. * More info: https://neovim.io/doc/user/ui.html */ export type UiEvents = { mode_info_set:...
the_stack
import * as React from "react"; import { Color, ItemEventData, ObservableArray } from "@nativescript/core"; import { ListView, CellViewContainer } from "react-nativescript"; export class ListViewTest extends React.Component<{}, {}> { render(){ type Item = number; const items: Item[] = [...Array(200...
the_stack
import { isIterable, isFunction, isMissing, isInstance } from "@esfx/internal-guards"; import { Collection, ReadonlyCollection } from "@esfx/collection-core"; import { Equaler, EqualityComparison } from "@esfx/equatable"; const kList = Symbol("LinkedListNode.list"); const kPrevious = Symbol("LinkedListNode.previo...
the_stack
* @packageDocumentation * @module Voice * @preferred * @publicapi */ import { EventEmitter } from 'events'; import AudioHelper from './audiohelper'; import Connection from './connection'; import { TwilioError } from './errors'; import { PreflightTest } from './preflight/preflight'; /** * @private */ export declar...
the_stack
import { MockERC20Instance, UniswapV2FactoryInstance, UniswapV2Router02Instance, UniswapV2PairInstance, StrategyAllETHOnlyInstance, StrategyLiquidateInstance, BankInstance, SimpleBankConfigInstance, MStableGoblinInstance, MStableStakingRewardsInstance, WETHInstance, } from '../typechain'; const U...
the_stack
import { Either } from "../../../Data/Either" import { IO } from "../../../System/IO" import { MapEitherIO, mapMObjectIO } from "./MapEitherIOObject" import { YamlParser } from "./Parser" import { YamlNameMap, YamlSchemaMap } from "./SchemaMap" const handleOverrideParser = <A extends keyof YamlSchemaMap> ( parse...
the_stack
import { Collection, DeleteWriteOpResultObject, ObjectID } from 'mongodb'; const clone = require('rfdc')({ proto: true }); import { COLLECTION_KEY, CollectionProps, DBSource, Document, FindRequest, POST_KEY, PRE_KEY, UpdateByIdRequest, UpdateRequest, RepoEventArgs, RepoOperation, EventOptions ...
the_stack
import * as adapterTypes from "./adapter-types"; import * as sdkTypes from "../../script/types"; import RequestManager from "../request-manager"; class Adapter { constructor(private readonly _requestManager: RequestManager) { } public toLegacyAccount(profile: adapterTypes.UserProfile): sdkTypes.Account { ...
the_stack
import sodium from 'libsodium-wrappers-sumo'; import pbkdf2 from 'pbkdf2'; import elliptic from 'elliptic'; import { getAddress, signOperation } from './ledger'; import { b58cencode, b58cdecode, textDecode, textEncode, hex2buf, buf2hex, mergebuf, } from './utility'; import { prefix } from './constants'; ...
the_stack
import * as babel from "@babel/core"; import * as parser from "@babel/parser"; import traverse, { Node } from "@babel/traverse"; import { AssignmentExpression, Comment, Expression, ImportDeclaration, JSXAttribute, JSXElement, JSXEmptyExpression, JSXExpressionContainer, JSXFragment, JSXIdentifier, ...
the_stack
import moment from 'moment'; import get from 'lodash/get'; import type { SelectProps, CheckboxProps } from 'antd'; import { Form, Checkbox, DatePicker, Select, Input } from 'antd'; import { scheduleConfigLayout, SCHEDULE_STATUS, TASK_PERIOD_ENUM } from '@/constant'; import type { IScheduleConfProps } from '@/interface'...
the_stack
import React, { useEffect, useState } from 'react' import { Screen } from '@island.is/web/types' import { withMainLayout } from '@island.is/web/layouts/main' import { SubpageLayout } from '@island.is/web/screens/Layouts/Layouts' import SidebarLayout from '@island.is/web/screens/Layouts/SidebarLayout' import { Text, ...
the_stack
import * as DiscoveryEntryWithMetaInfo from "../../generated/joynr/types/DiscoveryEntryWithMetaInfo"; import * as MessagingQos from "../messaging/MessagingQos"; import { OneWayRequest } from "./types/OneWayRequest"; import * as Reply from "./types/Reply"; import * as Request from "./types/Request"; import * as Typing ...
the_stack
import * as appInsights from "applicationinsights"; import * as assert from "assert"; import * as fs from "fs"; import * as mocha from "mocha"; import * as os from "os"; import * as defaults from "../src/defaults"; import * as officeAddinUsageData from "../src/usageData"; import * as jsonData from "../src/usageDataSett...
the_stack
namespace annie { /** * TweenObj,具体的tween对象类 * @class annie.TweenObj * @public * @since 1.0.0 */ export class TweenObj extends AObject { public constructor() { super(); } /** * 是否暂停,默认false * @property pause * @type {boolean...
the_stack
import { Events } from "./events"; export namespace WebNavigation { /** * Cause of the navigation. The same transition types as defined in the history API are used. * These are the same transition types as defined in the $(topic:transition_types)[history API] except with <code> * "start_page"</code>...
the_stack
import { Provider, TransactionResponse, BlockTag, JsonRpcProvider } from '@ethersproject/providers' import { BigNumber, BigNumberish, ethers, Signer as AbstractSigner } from 'ethers' import { TypedDataDomain, TypedDataField } from '@ethersproject/abstract-signer' import { Interface } from '@ethersproject/abi' import { ...
the_stack
import { RangeNavigator } from '../../../src/range-navigator/index'; import { Logarithmic, DateTime, LineSeries, AreaSeries, getElement } from '../../../src/chart/index'; import { IResizeRangeNavigatorEventArgs } from '../../../src/range-navigator/index'; import { createElement, remove } from '@syncfusion/ej2-base'; im...
the_stack
import { NavbarComponent } from './custom-navbar-component' const supportedUrls = [ '//www.bilibili.com', '//t.bilibili.com', '//search.bilibili.com', '//space.bilibili.com', '//account.bilibili.com', '//pay.bilibili.com', '//member.bilibili.com', '//big.bilibili.com', '//message.bilibili.com', '//a...
the_stack
* @module WebGL */ import { assert } from "@itwin/core-bentley"; import { Range3d } from "@itwin/core-geometry"; import { Frustum, FrustumPlanes, RenderMode, ViewFlags } from "@itwin/core-common"; import { Decorations } from "../Decorations"; import { SurfaceType } from "../primitives/VertexTable"; import { GraphicLi...
the_stack
import { expect } from "chai"; import * as React from "react"; import * as sinon from "sinon"; import { render } from "@testing-library/react"; import { ActivityMessageDetails, ActivityMessageEndReason, NotifyMessageDetails, OutputMessagePriority, OutputMessageType, } from "@itwin/core-frontend"; import { MessageSeve...
the_stack
import React, { useEffect } from "react" import {withPrefix} from "gatsby" import { Layout } from "../../components/layout" import { Intl } from "../../components/Intl" import { VersionBar } from "../../components/VersionBar" import * as Adopt from "../../components/index/AdoptSteps" import { MigrationStories, GitHubB...
the_stack
'use strict'; import { commands, workspace, window, Uri, ThemableDecorationAttachmentRenderOptions, DecorationInstanceRenderOptions, DecorationOptions, OverviewRulerLane, Disposable, ExtensionContext, Range, QuickPickItem, TextDocument, TextEditor, TextEditorSelectionChangeEvent, WorkspaceFolder, Markd...
the_stack
import * as commands from 'app/client/components/commands'; import {GristDoc, IExtraTool, TabContent} from 'app/client/components/GristDoc'; import * as RefSelect from 'app/client/components/RefSelect'; import * as ViewConfigTab from 'app/client/components/ViewConfigTab'; import {domAsync} from 'app/client/lib/domAsync...
the_stack
import { buildTransform } from '@orbit/data'; import { SyncCacheIntegrityProcessor, SyncSchemaConsistencyProcessor } from '@orbit/record-cache'; import { cloneRecordIdentity as identity, InitializedRecord, RecordKeyMap, RecordOperation, RecordSchema, RecordSchemaSettings, RecordSource, RecordTransfo...
the_stack
require("dotenv-safe").config(); import cors from "cors"; import express from "express"; import Router from "express-promise-router"; import helmet from "helmet"; import createError from "http-errors"; import passport from "passport"; import { Strategy as GitHubStrategy } from "passport-github"; import { join } from "p...
the_stack
import { Util } from '../util' type Segment = [string, ...number[]] function rotate(x: number, y: number, rad: number) { return { x: x * Math.cos(rad) - y * Math.sin(rad), y: x * Math.sin(rad) + y * Math.cos(rad), } } function q2c( x1: number, y1: number, ax: number, ay: number, x2: number, y...
the_stack
import { JsonObject, logging } from '@angular-devkit/core'; import chalk from 'chalk'; import program from 'commander'; import * as ejs from 'ejs'; import * as fs from 'fs'; import * as path from 'path'; import * as semver from 'semver'; import { packages } from './packages'; import * as versionsHelper from './versions...
the_stack
import { LAMPORTS_PER_SOL, AccountInfo } from '@solana/web3.js'; import fs from 'fs'; import weighted from 'weighted'; import path from 'path'; import { BN, Program, web3 } from '@project-serum/anchor'; import { Token, TOKEN_PROGRAM_ID } from '@solana/spl-token'; import { StorageType } from './storage-type'; import { g...
the_stack
import { AfterViewInit, Component, OnDestroy } from '@angular/core'; import { Router } from '@angular/router'; import { LocalDataSource } from 'ng2-smart-table'; import { UsersService } from '../../@core/data/users.service'; import { OrdersService } from '../../@core/data/orders.service'; import User from '@modules/ser...
the_stack
// basic tag from form logic // types: // radio // text // email // tel // password // checkbox // radio // select // button // namespace namespace cf { // interface export interface ITag{ domElement?: HTMLInputElement | HTMLSelectElement | HTMLButtonElement | HTMLOptionElement, type: string, name: string, ...
the_stack
import jsHelper, { SearchResults, SearchParameters, } from 'algoliasearch-helper'; import { TAG_PLACEHOLDER } from '../../../lib/utils'; import connectRefinementList from '../connectRefinementList'; import { createInstantSearch } from '../../../../test/mock/createInstantSearch'; import { createDisposeOptions, c...
the_stack
import Geometry from '../geometry/Geometry'; import Cell from '../cell/datatypes/Cell'; import Point from '../geometry/Point'; import EventObject from '../event/EventObject'; import InternalEvent from '../event/InternalEvent'; import { CURSOR_CONNECT, DEFAULT_VALID_COLOR, DIALECT_STRICTHTML, DIALECT_SVG, HIGH...
the_stack