text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { render, screen } from '@testing-library/react' import userEvent from '@testing-library/user-event' import format from 'date-fns/format' import startOfDay from 'date-fns/startOfDay' import subYears from 'date-fns/subYears' import { createMemoryHistory } from 'history' import React from 'react' import { Router }...
the_stack
export class HttpHeaders { /** * The HTTP {@code Accept} header field name. * @see <a href="https://tools.ietf.org/html/rfc7231#section-5.3.2">Section 5.3.2 of RFC 7231</a> */ public static ACCEPT = 'Accept'; /** * The HTTP {@code Accept-Charset} header field name. * @see <a href="h...
the_stack
import { ButtonClassKey, ButtonGroup, ButtonProps, FormControlLabel, Icon, InputLabel, SvgIcon, } from "@material-ui/core" import ArrowDropDownIcon from "@material-ui/icons/ArrowDropDown" import { ClassNameMap } from "@material-ui/styles" import moment from "moment" import { useSnackbar } from "notistack"...
the_stack
import { ExecutablePipeline } from '../../index'; import { SitecoreIcon } from './SitecoreIcon'; /** Represents a set of disconnected data to run a JSS app from, or import to Sitecore */ export interface Manifest { /** Processes all the existing manifest input data and transforms it to a manifest JSON format */...
the_stack
import { PdfAnnotationBaseModel } from './pdf-annotation-model'; import { PointModel, PathElement, Rect, DrawingElement, Point, Size, RotateTransform, TextElement, randomId, Matrix, identityMatrix, rotateMatrix, transformPointByMatrix, DecoratorShapes, Intersection, Segment, intersect3 } from '@syncfusion/ej2-drawings'...
the_stack
import { Array1D, CostReduction, FeedEntry, Graph, InCPUMemoryShuffledInputProviderBuilder, NDArrayMath, NDArrayMathGPU, SGDOptimizer, Session, Tensor } from '../deeplearnjs'; class ComplementaryColorModel { // Runs training. session: Session; // Encapsulates math operat...
the_stack
import { BaseList } from '../../../src/peer_book/base_list'; import { P2PEnhancedPeerInfo, P2PPeerInfo } from '../../../src/types'; import { initPeerInfoList } from '../../utils/peers'; import { PEER_TYPE, getBucketId } from '../../../src/utils'; import { DEFAULT_NEW_BUCKET_SIZE, DEFAULT_NEW_BUCKET_COUNT, DEFAULT_RA...
the_stack
* @packageDocumentation * @module Parts.W5500 */ /* eslint max-classes-per-file: 0 */ /* eslint rulesdir/non-ascii: 0 */ import Obniz from '../../../obniz'; import PeripheralIO from '../../../obniz/libs/io_peripherals/io'; import PeripheralSPI from '../../../obniz/libs/io_peripherals/spi'; import ObnizPartsInterface...
the_stack
import { EDGE_MAX_VALUE, PACKING_LOGIC, IOption } from "./maxrects-packer"; import { Rectangle, IRectangle } from "./geom/Rectangle"; import { Bin } from "./abstract-bin"; export class MaxRectsBin<T extends IRectangle = Rectangle> extends Bin<T> { public width: number; public height: number; public freeRec...
the_stack
import {ScopeFn} from './engine'; import * as tf from './index'; import {ALL_ENVS, describeWithFlags} from './jasmine_util'; import {backpropagateGradients, getFilteredNodesXToY, TapeNode} from './tape'; import {expectArraysClose} from './test_util'; describeWithFlags('getFilteredNodesXToY', ALL_ENVS, () => { it('no...
the_stack
import invariant from 'invariant'; import { Platform } from 'react-native'; import * as Base64 from './Base64'; import * as ServiceConfig from './Discovery'; import { ResponseErrorConfig, TokenError } from './Errors'; import { Headers, requestAsync } from './Fetch'; import { AccessTokenRequestConfig, GrantType, ...
the_stack
import Bottleneck from 'bottleneck' import { Headers } from 'cross-fetch' import OAuth from 'oauth-1.0a' import { CurrenciesEnum, EditOrderStatusesEnum, FolderIdsEnum, InventorySortEnum, InventoryStatusesEnum, ListingStatusesEnum, OrderSortEnum, OrderStatusesEnum, ReleaseConditionsEnum, ReleaseSort...
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 MediaPacka...
the_stack
import type { ChattyHostConnection } from '@looker/chatty' import intersects from 'semver/ranges/intersects' import { FetchProxyImpl } from './fetch_proxy' import type { ExtensionInitializationResponse, ExtensionHostApi, ExtensionHostApiConfiguration, ExtensionNotification, FetchCustomParameters, FetchRespo...
the_stack
declare var d3; declare var Tablesort; interface Map<T> { [key: string]: T} namespace profile { import CallNode = data.CallNode; import ProfileState = data.ProfileState; namespace calltable { const scoreColumns: analysis.AnalysisColumn[] = [ {type: "excl", column: "time", name: "Time ...
the_stack
import { expect } from 'chai'; import Helper from '../../src/e2e-helper/e2e-helper'; import * as fixtures from '../../src/fixtures/fixtures'; import { MergeConflict, MergeConflictOnRemote } from '../../src/scope/exceptions'; describe('merge functionality', function () { this.timeout(0); let helper: Helper; befo...
the_stack
export namespace ScriptEditor { // Default Application export interface Application {} // Class /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. ...
the_stack
import { AnyFactorType, ComputedParameter, ConstantParameter, DeclaredVariable, DeclaredVariables, Parameter, ParameterComputeType, ParameterExpression, ParameterExpressionOperator, ParameterInvalidReason, ParameterJoint, ParameterKind, TopicFactorParameter, ValueTypes } from './factor-calculator-types'; ...
the_stack
import { BaseType } from "d3"; import { map as d3Map } from "d3-collection"; import { D3DragEvent, drag } from "d3-drag"; import { forceCollide, forceLink, forceManyBody, forceSimulation } from "d3-force"; import { interpolate, interpolateNumber } from "d3-interpolate"; import { scaleOrdinal } from "d3-scale"; import ...
the_stack
import { ActionEvent, Actor, ActorLike, Animation, AnimationLike, Asset, AssetContainer, AssetContainerIterable, AssetLike, BehaviorType, CollisionEvent, CollisionLayer, Context, Guid, log, MediaCommand, MediaInstance, newGuid, PerformanceStats, Permissions, SetMediaStateOptions, TriggerEvent, Us...
the_stack
import { t, Trans } from '@lingui/macro' import { DatePicker, Form, InputNumber, Modal, Radio } from 'antd' import { useForm } from 'antd/lib/form/Form' import { FormItems } from 'components/shared/formItems' import { ModalMode, validateEthAddress, validatePercentage, } from 'components/shared/formItems/formHelpe...
the_stack
import 'chrome://resources/polymer/v3_0/iron-list/iron-list.js'; import 'chrome://resources/cr_elements/cr_action_menu/cr_action_menu.js'; import 'chrome://resources/cr_elements/cr_button/cr_button.m.js'; import 'chrome://resources/cr_elements/cr_lazy_render/cr_lazy_render.m.js'; import 'chrome://resources/cr_elements/...
the_stack
/// <reference types="node" /> import http = require('http'); import https = require('https'); import Logger = require('bunyan'); import url = require('url'); import spdy = require('spdy'); import stream = require('stream'); export interface ServerOptions { ca?: string | Buffer | ReadonlyArray<string | Buffer> | ...
the_stack
import * as React from 'react'; import { Dispatch, ActionCreator, Reducer } from 'redux'; export const actionTypes: { [actionName: string]: string }; export type FieldValue = any; export interface FormData { [fieldName: string]: FieldValue; } export interface FieldProp<T> { /** * true if this field cur...
the_stack
import * as ComponentConstructors from '../../components'; import { SlideMatcher } from '../../components/Slides/Slides'; import { CLASS_INITIALIZED } from '../../constants/classes'; import { DEFAULTS } from '../../constants/defaults'; import { EVENT_DESTROY, EVENT_MOUNTED, EVENT_READY, EVENT_REFRESH, EVENT_UPDATED } f...
the_stack
import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/experimentsMappers"; import * as Parameters from "../models/parameters"; import { BatchAIManagementClientContext } from "../batchAIManagementClien...
the_stack
import { CardObject } from '../types'; let shortestPermittedCardLength; interface CardType { __NO_BRAND?: string; cards?: CardObject[]; } const CardType: CardType = {}; CardType.__NO_BRAND = 'noBrand'; CardType.cards = []; CardType.cards.push({ cardType: 'mc', startingRules: [51, 52, 53, 54, 55, 22...
the_stack
* Provide asynchronous network communications to a TAXII 2.0 server. * */ export class TaxiiConnect { baseURL: string; user: string; password: string; hash: string; timeout: number; version: string; getConfig: any; postConfig: any; getStixConfig: any; /** * provide networ...
the_stack
import * as xml2js from 'xml2js'; import { AbstractTest, AbstractTestEvent, SharedWithTest } from '../AbstractTest'; import { TestEventBuilder } from '../TestEventBuilder'; import { Suite } from '../Suite'; import { AbstractRunnable } from '../AbstractRunnable'; interface XmlObject { [prop: string]: any; //eslint-di...
the_stack
import { Setoid, Monad } from "funland" import * as std from "./std" import { HK, HK2 } from "./kinds" import { Throwable, NoSuchElementError } from "./errors" import { fantasyLandRegister } from "./internals" /** * Represents a value of one of two possible types (a disjoint union). * * A common use of Either is as...
the_stack
import { DummyManager, MockComm } from './dummy-manager'; import { expect } from 'chai'; import { IBackboneModelOptions } from '../../lib/'; import * as widgets from '../../lib/'; const WidgetModel = widgets.WidgetModel; import * as chai from 'chai'; import * as sinon from 'sinon'; import sinonChai from 'sinon-chai'...
the_stack
import { FontProps } from '..' // Unit tests forked from https://github.com/bramstein/css-font-FontProps.fromr/blob/master/test/FontProps.fromr-test.js describe('FontProps', function () { test('returns null on invalid css font values', function () { expect(FontProps.from.bind(null, (''))).toThrowError() exp...
the_stack
/** * @license Copyright © 2013 onwards, Andrew Whewell * All rights reserved. * * Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyri...
the_stack
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y'; import { coerceBooleanProperty } from '@angular/cdk/coercion'; import { UniqueSelectionDispatcher } from '@angular/cdk/collections'; import { AfterContentInit, AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, Con...
the_stack
import { CdmCorpusDefinition, CdmEntityAttributeDefinition, CdmEntityDefinition, CdmEntityReference, CdmOperationCombineAttributes, CdmProjection, CdmTypeAttributeDefinition } from '../../../internal'; import { testHelper } from '../../testHelper'; import { projectionTestUtils } from '../../...
the_stack
const g = require('gulp') const webpack: typeof import('webpack') = require('webpack') const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin') const MonacoEditorWebpackPlugin = require('monaco-editor-webpack-plugin') const HtmlWebpackPlugin = require('html-webpack-plugin') const builder: typeof imp...
the_stack
import * as d3 from "d3"; import * as d3Tip from "d3-tip"; import * as d3Shape from "d3-shape"; interface Measurement { js: number; wasm: number; emcc: number; } interface TestCase { name: string; results: { [browserId: string ]: Measurement }; visible?: boolean; } interface BarChartData { ...
the_stack
import { Property, ChildProperty, Event, BaseEventArgs, append, compile, createElement } from '@syncfusion/ej2-base'; import { Touch, Browser, Animation as tooltipAnimation, AnimationModel as tooltipAnimationModel } from '@syncfusion/ej2-base'; import { isNullOrUndefined, formatUnit } from '@syncfusion/ej2-base'; impor...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Represents a VPN gateway running in GCP. This virtual device is managed * by Google, but used only by you. This type of VPN Gateway allows for the creation * of V...
the_stack
import { Temporal } from '@js-temporal/polyfill'; import * as ThingTalk from 'thingtalk'; import AsyncQueue from 'consumer-queue'; abstract class BaseTimer { private _stopped : boolean; private _queue : AsyncQueue<IteratorResult<{ __timestamp : number }, void>>; private _timeout : NodeJS.Timeout|null; ...
the_stack
import { ComponentEvent, delegateEvents, logUnhandledException, managed, managedChild, ManagedEvent, observe, } from "../core"; import { err, ERROR } from "../errors"; import { UIComponent, UIRenderable, UIRenderableConstructor, UIRenderContext, UIRenderPlacement, UITheme, Stringable, } from...
the_stack
import ReportUtil from "../../reportUtil"; // import ReportSummaryUtil from '../../../util/reportSummaryUtil'; import ExcelJS from "exceljs" export default class MultiScanReport { public static async multiScanXlsxDownload(storedScans: any, scanType:string, storedScanCount: number, archives: []) { // cre...
the_stack
import React from 'react'; import { mountTheme } from '@helpers/enzyme-unit-test'; // Material UI import IconButton from '@mui/material/IconButton'; // Internal import RawFieldSet, { FieldSetContent, } from '../FieldSet'; import { RawFieldSetArray } from '../FieldSetArray'; import { RawFieldSetObject } from '../Fie...
the_stack
import { ContextLevel } from '@/core/constants'; import { Injectable } from '@angular/core'; import { CoreSiteWSPreSets, CoreSite } from '@classes/site'; import { CoreUser } from '@features/user/services/user'; import { CoreApp } from '@services/app'; import { CoreSites } from '@services/sites'; import { CoreUtils } fr...
the_stack
import Webhooks = require('@octokit/webhooks') import { PrismaClient, Installation } from '@prisma/client' import bodyParser from 'body-parser' import cors from 'cors' import _ from 'lodash' import moment from 'moment' import ml from 'multilines' import os from 'os' import path from 'path' import { Application, Context...
the_stack
import { Component, HostListener, Input, Renderer2, ContentChild, ElementRef, AfterViewInit, ViewChild, } from '@angular/core'; import { Router, Event, NavigationEnd } from '@angular/router'; import * as _ from 'lodash'; import { SprkMastheadNavCollapsibleDirective } from './directives/sprk-masthead-nav...
the_stack
import {Response} from 'express'; import { Body, Delete, Post, JsonController, Req, HttpError, UseBefore, BodyParam, ForbiddenError, InternalServerError, BadRequestError, OnUndefined, Res } from 'routing-controllers'; import {json as bodyParserJson} from 'body-parser'; import passportLoginMiddleware from '../securi...
the_stack
import * as d3 from 'd3'; import { PolygonShapes, PolystatDiameters } from './types'; /** * LayoutManager creates layouts for supported polygon shapes */ export class LayoutManager { width: number; height: number; numColumns: number; numRows: number; radius: number; autoSize: boolean; maxRowsUsed: numbe...
the_stack
import { injectable } from "../Utils/DI"; import { ColorEntry, ColorReason, ColorInheritance } from "./ColorEntry"; import { BaseColorProcessor } from "./BaseColorProcessor"; import { IApplicationSettings } from "../Settings/IApplicationSettings"; import { IBaseSettingsManager } from "../Settings/BaseSettingsManager"; ...
the_stack
import { routingPathConfig } from '@config/routing-path.config'; import { NotaddNavigationItem } from '@notadd/types'; export const navigation: Array<NotaddNavigationItem> = [ { id: 'general', title: '常规', i18n: 'Navigation.General', type: 'group', children: [ { ...
the_stack
module TDev.Browser { export var TheHub: Hub; export interface HubSection { title: string; // localized } var editorModes: StringMap<Cloud.EditorMode>; var themes: StringMap<Cloud.ClientTheme>; function initThemes() { if (editorModes && themes) return; ...
the_stack
module Kiwi.Renderers { /** * The Blend Mode object for recording and applying GL blend functions on a renderer. * @class GLBlendMode * @constructor * @namespace Kiwi.Renderers * @param gl {WebGLRenderingContext} * @param params {Object} * @return {Kiwi.Renderers.GLBlendMode} * @ since 1.1.0 */ export class ...
the_stack
import { combineReducers } from 'redux' import { AsyncStorage } from 'react-native' import { createMigrate, PersistConfig, MigrationManifest, persistReducer } from 'redux-persist' import { accountReducer } from '../features/account' import { reducer as authReducer } from './AuthRedux' import { contactsReducer ...
the_stack
import { ModuleData } from "./moduleTypes"; import { BackgroundpageWindow, ContextMenuCreateProperties, ContextMenuUpdateProperties, ContextMenuOverrides } from './sharedTypes'; declare const browserAPI: browserAPI; declare const BrowserAPI: BrowserAPI; declare const window: BackgroundpageWindow; export namespace Uti...
the_stack
import * as assert from "assert"; import { asyncTest } from "./util"; import * as pulumi from ".."; import * as internals from "../provider/internals"; const gstruct = require("google-protobuf/google/protobuf/struct_pb.js"); class TestResource extends pulumi.CustomResource { constructor(name: string, opts?: pulu...
the_stack
import { call, delay, CallEffect } from "redux-saga/effects"; import { google, sql_v1beta4 } from "googleapis"; import { log, SECOND, sleep } from "@opstrace/utils"; import { ensureSQLInstanceDoesNotExist, ensureSQLInstanceExists } from "./cloudSQLInstance"; import { ensureSQLDatabaseDoesNotExist, ensureSQLData...
the_stack
import { TimelineSelectionMode, TimelineKeyframe, TimelineRow, TimelineModel, Timeline, TimelineElementType, TimelineElement, TimelineOptions, TimelineRowStyle, TimelineElementDragState, TimelineKeyframeStyle, } from './../lib/animation-timeline'; describe('Timeline', function () { describe('_f...
the_stack
import { gql, useQuery } from '@apollo/client'; import Card from '@material-ui/core/Card'; import SupervisorAccountIcon from '@material-ui/icons/SupervisorAccount'; import React from 'react'; import { useSingle } from '../../lib/crud/withSingle'; import { Link } from '../../lib/reactRouterWrapper'; import { looksLikeDb...
the_stack
import { Link, PageProps } from 'gatsby' import * as React from 'react' import { ContentSection } from '../components/content/ContentSection' import Layout from '../components/Layout' import Tab from 'react-bootstrap/Tab' import Tabs from 'react-bootstrap/Tabs' export const CommunityPage: React.FunctionComponent<PageP...
the_stack
import { Injectable } from '@angular/core'; import moment, { LongDateFormatKey } from 'moment'; import { makeSingleton, Translate } from '@singletons'; import { CoreTime } from '@singletons/time'; /* * "Utils" service with helper functions for date and time. */ @Injectable({ providedIn: 'root' }) export class CoreTi...
the_stack
import {ICourse} from '../../../shared/models/ICourse'; import {ICourseDashboard} from '../../../shared/models/ICourseDashboard'; import {ICourseView} from '../../../shared/models/ICourseView'; import * as mongoose from 'mongoose'; import {User, IUserModel, IUserPrivileges} from './User'; import {ILectureModel, Lecture...
the_stack
import '../test/common-test-setup-karma'; import { descendedFromClass, eventMatchesShortcut, getComputedStyleValue, getEventPath, Modifier, querySelectorAll, shouldSuppress, strToClassName, } from './dom-util'; import {PolymerElement} from '@polymer/polymer/polymer-element'; import {html} from '@polymer...
the_stack
module RW.TextureEditor { export interface MaterialScope extends ng.IScope { //material: BABYLON.StandardMaterial; materialDefinition: MaterialDefinition; //sectionNames: string[]; //materialSections: { [section: string]: MaterialDefinitionSection }; updateTexture(type): vo...
the_stack
import assert from 'assert'; import config from './config'; import * as schemaObjects from '../helper/schema-objects'; import { addRxPlugin, randomCouchString, getPseudoSchemaForVersion, getFromMapOrThrow, getNewestSequence, lastOfArray, writeSingle, blobBufferUtil, flatClone, M...
the_stack
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { namespace FormBookable_Resource_Mobile { interface tab_fstab_field_service_Sections { fstab_field_service_section_4: DevKit.Controls.Section; fstab_field_service_section_5: DevKit.Controls.Section; fstab_field_service_section_field_...
the_stack
import assert from 'assert'; import { ImportType } from '../analyzer/importResult'; import { getRelativeModuleName, getTextEditsForAutoImportInsertions, getTextEditsForAutoImportSymbolAddition, getTopLevelImports, ImportNameInfo, ImportNameWithModuleInfo, } from '../analyzer/importStatementUtil...
the_stack
import React, { SyntheticEvent, useEffect, useRef } from 'react'; import { useEffectOnce, useSettings } from 'hooks'; import styled from 'styled-components'; import { DeviceThemeName, getTheme } from '../../utils/themes'; import FastForwardIcon from './icons/FastForwardIcon'; import MenuIcon from './icons/MenuIcon'; ...
the_stack
module Fayde.Localization { export class NumberFormatInfo { CurrencyDecimalDigits: number = 2; CurrencyDecimalSeparator: string = "."; CurrencyGroupSeparator: string = ","; CurrencyGroupSizes: number[] = [3]; CurrencyNegativePattern: number = 0; CurrencyPositi...
the_stack
import { IHeader, HeaderType, HeaderResizeBehavior, HeaderFilter, HeaderClampFunction } from './types'; import { IHeaderRepositoryCache } from './header-repository-cache'; export interface IHeaderRepositoryProps { cache?: IHeaderRepositoryCache; rows: IHeader[]; columns: IHeader[]; columnWidth: ...
the_stack
import React, { useState, useMemo, useEffect } from "react"; import { Link } from "react-router-dom"; import { OrgComponent } from "@ui_types"; import { Rbac, Model, Client, Auth, Api } from "@core/types"; import * as g from "@core/lib/graph"; import * as R from "ramda"; import { inviteRoute } from "./helpers"; import ...
the_stack
import React, { useLayoutEffect, useRef, useState } from 'react'; import { anchorCustomPositionType, anchorType, labelsType, pathType, svgCustomEdgeType, svgEdgeShapeType, svgElemType, xarrowPropsType, } from '../types'; import { getElementByPropGiven, getElemPos, xStr2absRelative } from './utils'; impo...
the_stack
import getEnv from "./getEnv"; import Eris, { GuildTextableChannel, Message } from "eris"; import GuildService from "../services/GuildService"; import { loadLanguagePack } from "./languagePack"; import memberHasAdminPermission from "./memberHasAdminPermission"; import commandErrorHandler from "./commandErrorHandler"; i...
the_stack
import Editor = require('../editor/index'); import events = require('events'); import classes = require('component-classes'); import query = require('component-query'); import domify = require('domify'); import dataset = require('dataset'); import DEBUG = require('debug'); import domSerializeInterfaces = require('dom-s...
the_stack
module TDev { export module Embedded { import J = AST.Json import H = Helpers function assert(x: boolean) { if (!x) throw new Error("Assert failure"); } // --- The code emitter. export class Emitter extends JsonAstVisitor<H.Env, string> { // Output "parameters", writt...
the_stack
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import TextField from 'material-ui/TextField'; import { Form } from 'formsy-react'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; import { mount } from 'enzyme'; import FormsyText from '../src/FormsyText'; // @ts-ignore import {...
the_stack
import * as assert from 'assert'; import { merge } from 'vs/platform/userDataSync/common/snippetsMerge'; const tsSnippet1 = `{ // Place your snippets for TypeScript here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is used to trigger the snippet and the...
the_stack
import { TestFactory } from './tests/factories/test-factory'; import { DocumentCollection } from './document-collection'; import { IDocumentResource } from './interfaces/data-object'; import { IParamsResource } from './interfaces/params-resource'; import { DocumentResource } from './document-resource'; import { Core } ...
the_stack
import {Bundle} from "./model/bundle"; import {StructureDefinition} from "./model/structure-definition"; import {ElementDefinition} from "./model/element-definition"; import {ParseConformance} from "./parseConformance"; /** * Responsible for creating snapshots on StructureDefinition resources based on the differentia...
the_stack
import { captureStackTrace, IResolvable, IResolveContext, Token, Tokenization } from '@aws-cdk/core'; import { IntrinsicParser, IntrinsicExpression } from './intrinstics'; const JSON_PATH_TOKEN_SYMBOL = Symbol.for('@aws-cdk/aws-stepfunctions.JsonPathToken'); export class JsonPathToken implements IResolvable { publi...
the_stack
import * as coreHttp from "@azure/core-http"; /** * A model definition and metadata for that model. */ export interface DigitalTwinsModelData { /** * A language map that contains the localized display names as specified in the model definition. */ displayName?: { [propertyName: string]: string }; /** ...
the_stack
import { UpgradeSpendTier } from '@destinyitemmanager/dim-api-types'; import { D2ManifestDefinitions } from 'app/destiny2/d2-definitions'; import { DimItem, PluggableInventoryItemDefinition } from 'app/inventory/item-types'; import { isPluggableItem } from 'app/inventory/store/sockets'; import { generateModPermutations...
the_stack
import * as matRipple from '../matRipple/matRipple'; import '../utils/base'; import {getMatBlazorInstance, MatBlazorComponent} from "../utils/base"; export interface IMatFileUploadEntry { info: IMatFileUploadEntryInfo; file: any; arrayBufferPromise?: Promise<ArrayBuffer>; } export interface IMatFileUploa...
the_stack
import { PdfDocument, PdfPage, PdfStandardFont, PdfFontFamily, PdfGraphicsState, PdfGridRowStyle } from './../../../src/index'; import { PdfSolidBrush, PdfColor, PdfFont, PdfPageOrientation, PdfBitmap, PdfGrid, PdfGridRow } from './../../../src/index'; import { PointF, SizeF, RectangleF, PdfPageRotateAngle, PdfGraphics...
the_stack
import TomSelect from 'tom-select/src/tom-select'; import { TomSettings } from 'tom-select/src/types/settings'; import { TomInput } from 'tom-select/src/types'; import TomSelect_remove_button from 'tom-select/src/plugins/remove_button/plugin'; import { escape_html } from 'tom-select/src/utils'; import { IncompleteSelec...
the_stack
import {runIfMain} from "../../../../deps/mocha.ts"; import "../../../../deps/chai.ts"; import {Post} from "./entity/Post.ts"; import {Connection} from "../../../../../src/index.ts"; import {closeTestingConnections, createTestingConnections, reloadTestingDatabases} from "../../../../utils/test-utils.ts"; import {PostWi...
the_stack
// Create an account label function createAccountLabels() { const labelName = "INSERT_LABEL_NAME_HERE"; AdsManagerApp.createAccountLabel(labelName); Logger.log("Label with text = '%s' created.", labelName); } // Apply an account label to multiple accounts function applyAccountLabels() { const accountI...
the_stack
import * as anchor from '@project-serum/anchor'; import { assert } from 'chai'; import { Program } from '@project-serum/anchor'; import { Keypair } from '@solana/web3.js'; import { Admin, BN, MARK_PRICE_PRECISION, ClearingHouse, PositionDirection, ClearingHouseUser, Wallet, getMarketOrderParams, OrderTrigge...
the_stack
import { toolbar, SortByDefault, dialogAddons } from './annotations'; import Column, { widthChanged, labelChanged, metaDataChanged, dirty, dirtyHeader, dirtyValues, rendererTypeChanged, groupRendererChanged, summaryRendererChanged, visibilityChanged, dirtyCaches, } from './Column'; import type { d...
the_stack
declare module com { export module bumptech { export module glide { export class GeneratedAppGlideModuleImpl { public static class: java.lang.Class<com.bumptech.glide.GeneratedAppGlideModuleImpl>; public registerComponents(param0: globalAndroid.content.Context, param1: com.bumptech.glide.Glide, param2: co...
the_stack
import { Alarm, AlarmRule, AlarmState, CompositeAlarm, Metric } from '@aws-cdk/aws-cloudwatch'; import { Port, SecurityGroup, SubnetType, Vpc } from '@aws-cdk/aws-ec2'; import { Repository } from '@aws-cdk/aws-ecr'; import { AwsLogDriver, CfnPrimaryTaskSet, CfnService, CfnTaskDefinition, CfnTaskSet, Cluster, ContainerI...
the_stack
import memoize from 'lru-memoize'; import { TEdge } from '@jaegertracing/plexus/lib/types'; import getDerivedViewModifiers from './getDerivedViewModifiers'; import getEdgeId from './getEdgeId'; import getPathElemHasher, { FOCAL_KEY } from './getPathElemHasher'; import { decode, encode } from '../visibility-codec'; i...
the_stack
import {Component, ElementRef, Inject, Input, OnInit, ViewChild} from '@angular/core'; import {TestStepResult} from "../../models/test-step-result.model"; import {TestStepType} from "../../enums/test-step-type.enum"; import {MatDialog} from "@angular/material/dialog"; import {ElementFormComponent} from "./element-form....
the_stack
import * as React from "react"; import { NonIdealState, Tabs, Tab, FormGroup, NumericInput, RadioGroup, Radio, InputGroup, Switch, Button, Intent, ButtonGroup, SwitchProps } from '@blueprintjs/core'; import { tr } from "../api/i18n"; import { ExprOr, isEvaluatable, IPointIconStyle, IBasicPointCircleStyle, IBasicVectorP...
the_stack
import fs from "fs-extra"; import chalk from "chalk"; import memoize from "mem"; import { dirname, relative, basename } from "path"; import { cosmiconfigSync } from "cosmiconfig"; import { EmittedAsset, InputOption, InputOptions, OutputBundle, PluginContext, TransformPluginContext } from "rollup"; import { ChromeExtens...
the_stack
import * as React from "react"; import { CSSProperties, useState } from "react"; import { getDocumentService, getModalDialogService, getOutputPaneService, getSideBarService, getState, getStore, getThemeService, getToolAreaService, } from "@core/service-registry"; import { useDispatch, useStore } from "r...
the_stack
import * as _ from 'lodash'; import * as m from 'mochainon'; import * as parallel from 'mocha.parallel'; import { balena, credentials, givenInitialOrganization, givenLoggedInUser, } from '../setup'; import type * as BalenaSdk from '../../..'; const { expect } = m.chai; import { assertDeepMatchAndLength, timeSuite }...
the_stack
import { ObjectValidation, ValidationTypes } from '../IstioObjects'; import { parseKialiValidations } from '../AceValidations'; const fs = require('fs'); const destinationRuleValidations: ObjectValidation = { name: 'details', objectType: 'destinationrule', valid: false, checks: [ { message: "Host do...
the_stack
import type { ReactElement } from 'react'; import { useContext } from 'react'; import React, { useMemo } from 'react'; import { Row, Col, Form, Divider, ConfigProvider } from 'antd'; import type { FormInstance, FormProps } from 'antd/lib/form/Form'; import RcResizeObserver from 'rc-resize-observer'; import { useIntl } ...
the_stack
import { GaxiosPromise } from 'gaxios'; import { Compute, JWT, OAuth2Client, UserRefreshClient } from 'google-auth-library'; import { APIRequestContext, BodyResponseCallback, GlobalOptions, GoogleConfigurable, MethodOptions } from 'googleapis-common'; export declare namespace identitytoolkit_v3 { interface Options ...
the_stack
import { action, observable, computed, isObservable, toJS, reaction, comparer, IReactionDisposer, override, makeObservable, } from "mobx"; import { Field, ProcessValue, ValidationMessage, ProcessOptions, errorMessage, } from "./form"; import { AnyFormState } from "./state"; import { FormA...
the_stack