text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Provides an RDS DB proxy endpoint resource. For additional information, see the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy.html#rds-proxy-endpoints). * * ## Example Usage * * ```typesc...
the_stack
import { Inject, Injectable, Optional } from '@angular/core'; import { Http, Headers, URLSearchParams } from '@angular/http'; import { RequestMethod, RequestOptions, RequestOptionsArgs } from '@angular/http'; import { Response, ResponseContentType } from '@ang...
the_stack
import { Ticker24 } from "./core/Ticker24"; import { Ease24 } from "./Ease24"; export declare class Tween24 { static readonly VERSION: string; private static readonly _TYPE_TWEEN; private static readonly _TYPE_TWEEN_VELOCITY; private static readonly _TYPE_TWEEN_TEXT; private static readonly _TYPE_TW...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [wafv2](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awswafv2.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_...
the_stack
import { ComputedParameter, ConstantParameter, Parameter, ParameterComputeType, ParsedVariablePredefineFunctions, TopicFactorParameter, VariablePredefineFunctions } from '@/services/data/tuples/factor-calculator-types'; import {isDateDiffConstant} from '@/services/data/tuples/factor-calculator-utils'; import {Fa...
the_stack
module CorsicaTests { "use strict"; var global: any = window; global.MyCustomInitializer1 = WinJS.Binding.initializer(function (s, sp, d, dp) { return WinJS.Binding.defaultBind(s, sp, d, dp); }); global.MyCustomInitializer2 = WinJS.Binding.initializer(function (s, sp, d, dp) { retur...
the_stack
import "@lit-labs/virtualizer"; import { css, CSSResultGroup, html, LitElement, PropertyValues, TemplateResult, } from "lit"; import type { HassEntity } from "home-assistant-js-websocket"; import { customElement, eventOptions, property } from "lit/decorators"; import { classMap } from "lit/directives/class-...
the_stack
import React, { useEffect, useState } from 'react'; import produce from 'immer'; import { Form, Input, InputNumber, Button, Checkbox, Descriptions, Slider, Divider, Radio, DatePicker, Select, Switch, Modal, Tooltip, Collapse, } from 'antd'; import { QuestionOutlined, QuestionCircleOutl...
the_stack
import { DateTimeUtil } from './date-time.util'; import { DatePart, DatePartInfo } from '../../directives/date-time-editor/date-time-editor.common'; const reduceToDictionary = (parts: DatePartInfo[]) => parts.reduce((obj, x) => { obj[x.type] = x; return obj; }, {}); describe(`DateTimeUtil Unit tests`, () => {...
the_stack
import { AST_NODE_TYPES, TSESTree, } from '@typescript-eslint/experimental-utils'; import { KnownCallExpression, ModifierName, createRule, getAccessorValue, getNodeName, isExpectCall, isFunction, isIdentifier, isSupportedAccessor, isTestCaseCall, parseExpectCall, } from './utils'; type Promis...
the_stack
import { $log } from '@tsed/logger'; import { BigNumber } from 'bignumber.js'; import moment from 'moment'; import { bootstrap, TestTz } from '../bootstrap-sandbox'; import { Contract, bytes, address } from '../../src/type-aliases'; import { InternalOperationResult } from '@taquito/rpc'; import { originateEnglishAuct...
the_stack
import { CObject, CPrimitive } from "../constructions"; import { Collab, InitToken } from "../core"; import { CList, CListEventsRecord } from "./list"; export declare abstract class AbstractCList<T, InsertArgs extends unknown[]> extends Collab implements CList<T, InsertArgs> { abstract insert(index: number, ...a...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { ApiManagementServiceResource, ApiManagementServiceListByResourceGroupOptionalParams, ApiManagementServiceListOptionalParams, ApiManagementServiceBackupRestoreParameters, ...
the_stack
import chalk from 'chalk'; import * as childProcess from 'child_process'; import * as fs from 'fs'; import * as klaw from 'klaw'; import * as minimist from 'minimist'; import * as os from 'os'; import * as path from 'path'; import * as streamChain from 'stream-chain'; import * as streamJson from 'stream-json'; import {...
the_stack
import { graphTypes, getEnvironmentsByRoleId, getAppRoleEnvironmentRolesByEnvironmentRoleId, deleteGraphObjects, getUpdateEnvironmentRoleProducer, getOrphanedLocalKeyIds, } from "@core/lib/graph"; import { apiAction } from "../handler"; import { Api } from "@core/types"; import { v4 as uuid } from "uuid"; i...
the_stack
import type { HttpMethod, IAuthSession } from '@looker/sdk-rtl' import { APIMethods } from '@looker/sdk-rtl' import type { ColumnHeaders, IRowModel } from './RowModel' import { rowPosition } from './RowModel' /** Keyed data for a tab, and the tab's header row */ export interface ITabTable { /** Array of header names...
the_stack
import * as React from "react"; import { IObject, isString, isArray, isNumber } from "@daybrush/utils"; import { prefix, getId, getScenaAttrs, isScenaFunction, isScenaElement, isScenaFunctionElement, getOffsetOriginMatrix, updateElements } from "../utils/utils"; import { DATA_SCENA_ELEMENT_ID } from "../consts"; import...
the_stack
import { Auth } from 'aws-amplify'; import { IndexTransformer, PrimaryKeyTransformer } from '@aws-amplify/graphql-index-transformer'; import { HasOneTransformer, HasManyTransformer } from '@aws-amplify/graphql-relational-transformer'; import { ModelTransformer } from '@aws-amplify/graphql-model-transformer'; import { A...
the_stack
'use strict'; /** * This is a very simple HTML to JSX converter. It turns out that browsers * have good HTML parsers (who would have thought?) so we utilise this by * inserting the HTML into a temporary DOM node, and then do a breadth-first * traversal of the resulting DOM tree. */ // https://developer.mozilla.o...
the_stack
import { BaseResource } from 'ms-rest-azure'; import { CloudError } from 'ms-rest-azure'; import * as moment from 'moment'; export { BaseResource } from 'ms-rest-azure'; export { CloudError } from 'ms-rest-azure'; /** * @class * Initializes a new instance of the StorageBlobCreatedEventData class. * @constructor ...
the_stack
* Licensed Materials - Property of IBM * © Copyright IBM Corp. 2016 */ // This is retrofitted type definitions just to make // typedoc happy with generating doc on the src/*.ts files. // The typescript compiler and node typings are at level 1.8 // typedoc operates a compiler at level 1.6. // // The definitions below...
the_stack
import * as vd from "virtual-dom"; import { CancelMapillaryError } from "../../error/CancelMapillaryError"; import { Spatial } from "../../geo/Spatial"; import { Image } from "../../graph/Image"; import { Navigator } from "../../viewer/Navigator"; import { NavigationDirection } from "../../graph/edge/NavigationDirecti...
the_stack
import classnames from "classnames"; import {SparkRoutes} from "helpers/spark_routes"; import {MithrilComponent, MithrilViewComponent} from "jsx/mithril-component"; import _ from "lodash"; import m from "mithril"; import Stream from "mithril/stream"; import {stringOrUndefined} from "models/compare/pipeline_instance_jso...
the_stack
import { expect } from "chai"; import { Guid, Id64 } from "@itwin/core-bentley"; import { LineString3d, Loop, Point3d } from "@itwin/core-geometry"; import { AreaPattern, Code, ColorDef, GeometricElement3dProps, GeometryParams, GeometryPartProps, GeometryStreamBuilder, GeometryStreamIterator, IModel, } from "@itwin...
the_stack
import * as cp from 'child_process'; import * as util from 'util'; /* vscode"stdlib" */ import * as vscode from 'vscode'; /* local */ import * as utilAnsibleCfg from './utils/ansibleCfg'; const execAsync = util.promisify(cp.exec); enum MultilineStyle { Literal = '|', Folding = '>', } enum ChompingStyle { Str...
the_stack
import { DestinyActivityModeType, DestinyStatsGroupType, PeriodType, DestinyComponentType } from './destiny2'; /** * Enum for the global alert level * @enum */ export enum GlobalAlertLevel { Unkown = 0, Blue = 1, Yellow = 2, Red = 3 } /** * Enum for the global alert type * @enum */ export enum GlobalAle...
the_stack
import { NVRAM } from "./nvram"; import * as resource from "./resource"; import { Buffer } from "buffer"; import * as drcs from "./drcs"; import { Interpreter } from "./interpreter/interpreter"; import { EventDispatcher, EventQueue } from "./event_queue"; import { Content } from "./content"; import { ResponseMessage } ...
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 Braket ext...
the_stack
import { getRecommendsTags } from '@/api/common'; import { Component, PropSync, Ref, Watch } from 'vue-property-decorator'; import { createModel, getModelInfo, updateModel, validateModelName } from '../../Api/index'; import { DataModelStorage } from '../../Controller/DataModelStorage'; import { DataModelManage } from '...
the_stack
import { autoinject, PLATFORM } from 'aurelia-framework'; import { I18N } from 'aurelia-i18n'; import { AureliaGridInstance, AureliaUtilService, Column, EditCommand, Editors, FieldType, Filters, Formatters, GridOption, OnEventArgs, OperatorType, } from '../../aurelia-slickgrid'; import { CustomAur...
the_stack
import { HealthState } from './health'; import { Mqtt as IoTHubTransport } from 'azure-iot-device-mqtt'; import { DeviceMethodRequest, DeviceMethodResponse, Client as IoTDeviceClient, Twin, Message as IoTMessage } from 'azure-iot-device'; import * as moment from 'moment'; import { ICameraDeviceP...
the_stack
import path from 'path'; import { Harmony } from '@teambit/harmony'; import { difference } from 'ramda'; import { compact } from 'ramda-adjunct'; import { Consumer, loadConsumer } from '../../consumer'; import { ScopeExtension } from '../scope'; import { Component, ComponentFactory, ComponentID } from '../component'; i...
the_stack
export declare type Vec3 = [number, number, number]; export interface UVW { u: number; v: number; w: number; } export interface TextureMapData { colorCorrection: boolean; horizontalBlending: boolean; verticalBlending: boolean; boostMipMapSharpness: number; modifyTextureMap: { bri...
the_stack
import { Draft, produce } from 'immer'; import { clamp } from 'lodash-es'; import { DiagramMakerAction } from 'diagramMaker/state/actions'; import { EditorActionsType, FitAction, FocusNodeAction } from 'diagramMaker/state/editor/editorActions'; import { NodeActionsType } from 'diagramMaker/state/node/nodeActions'; imp...
the_stack
import { NewExpression, Identifier, TemplateString, ArrayLiteral, CastExpression, BooleanLiteral, StringLiteral, NumericLiteral, CharacterLiteral, PropertyAccessExpression, Expression, ElementAccessExpression, BinaryExpression, UnresolvedCallExpression, ConditionalExpression, InstanceOfExpression, ParenthesizedExpressi...
the_stack
import type { CustomSyntaxChecker } from '../../types'; import { log } from '../../debug'; import { matched, unmatched } from '../../match-result'; import { TokenCollection } from '../../token'; import { datetimeTokenCheck } from './datetime-tokens'; /** * @see https://html.spec.whatwg.org/multipage/common-microsyn...
the_stack
import { BasicEntityGetter, BasicListGetter, DataCache, FilterBuilder, ListView, ServerError } from "@batch-flask/core"; import { LoadingStatus } from "@batch-flask/ui/loading"; import { List, OrderedSet } from "immutable"; import { from, of } from "rxjs"; import { flatMap } from "rxjs/operators"; import { FakeModel } ...
the_stack
import _ = require('lodash'); import RX = require('reactxp'); import * as CommonStyles from '../CommonStyles'; import { Test, TestResult, TestType } from '../Test'; const _styles = { container: RX.Styles.createViewStyle({ flex: 1, alignSelf: 'stretch', flexDirection: 'column', alig...
the_stack
///<reference path='../../lib/Addon.node.d.ts' /> // // Copyright (C) Microsoft. All rights reserved. // import { IChromeInstance } from '../../lib/EdgeAdapterInterfaces'; import * as edgeAdapter from '../../lib/Addon.node'; // const binding_path = binary.find(path.resolve(path.join(__dirname,'../../../package...
the_stack
import { moment, Notice, TFile } from 'obsidian'; import { createDailyNote } from 'obsidian-daily-notes-interface'; import { getDailyNoteSettings } from '_obsidian-daily-notes-interface@0.9.4@obsidian-daily-notes-interface'; import { t } from '../translations/helper'; import { UseDailyOrPeriodic } from '../memos'; nam...
the_stack
import * as angular from 'angular'; import { ButtonTypeEnum } from './buttonTypeEnum'; import { ButtonTemplateType } from './buttonTemplateType'; export interface IButtonScope extends angular.IScope { disabled: boolean; uifType: string; } export interface IButtonAttributes extends angular.IAttributes { uifType: ...
the_stack
import { triggerEvent, options } from '@tko/utils' import { applyBindings, contextFor } from '@tko/bind' import { observable, observableArray } from '@tko/observable' import { DataBindProvider } from '@tko/provider.databind' import { VirtualProvider } from '@tko/provider.virtual' import { MultiProvider }...
the_stack
import * as cdk from '@aws-cdk/core'; import * as dynamodb from '@aws-cdk/aws-dynamodb'; import * as lambda from '@aws-cdk/aws-lambda'; import * as kms from '@aws-cdk/aws-kms'; import * as iam from '@aws-cdk/aws-iam'; import * as sns from '@aws-cdk/aws-sns'; import * as logs from '@aws-cdk/aws-logs'; import * as cw fro...
the_stack
import { ready as cryptoReady, tcrypto, random, utils } from '@tanker/crypto'; import { expect } from '@tanker/test-utils'; import { encodeListLength } from '../../Blocks/Serialize'; import { serializeUserDeviceV3, unserializeUserDeviceV1, unserializeUserDeviceV2, unserializeUserDeviceV3, serializeDeviceRevo...
the_stack
import React from 'react'; import PropTypes from 'prop-types'; import * as THREE from 'three'; import memoizeOne from 'memoize-one'; import {buildEuler, buildVector3, getTextureCornerColour, reverseEuler} from '../util/threeUtils'; import HighlightShaderMaterial from '../shaders/highlightShaderMaterial'; import Uprigh...
the_stack
import { values } from 'mobx'; import { BuildSwapSteps, SwapDirection } from 'types/state'; import { grpc } from '@improbable-eng/grpc-web'; import { waitFor } from '@testing-library/react'; import Big from 'big.js'; import { BalanceMode } from 'util/constants'; import { injectIntoGrpcUnary } from 'util/tests'; import ...
the_stack
import dedent from "dedent"; import type { InvalidTestCase } from "~/tests/helpers/util"; const tests: ReadonlyArray<InvalidTestCase> = [ { code: dedent` function foo(...numbers: number[]) { } `, optionsSet: [[]], output: dedent` function foo(...numbers: readonly number[]) { ...
the_stack
import { isFunction, isDefined } from '../../../../../shared/utils'; import { O_ALTER_TABLE_SPEC_ADD_COLUMN, O_ALTER_TABLE_SPEC_ADD_COLUMNS, O_ALTER_TABLE_SPEC_ADD_INDEX, O_ALTER_TABLE_SPEC_ADD_PRIMARY_KEY, O_ALTER_TABLE_SPEC_ADD_UNIQUE_KEY, O_ALTER_TABLE_SPEC_ADD_FULLTEXT_INDEX, O_ALTER_TABLE_SPEC_ADD_SP...
the_stack
import * as ts from 'typescript'; export abstract class Visitor { visitNode(node: ts.Node) { switch (node.kind) { case ts.SyntaxKind.AnyKeyword: this.visitAnyKeyword(node); break; case ts.SyntaxKind.ArrayBindingPattern: this.visitBindingPattern(<ts.BindingPattern>node); ...
the_stack
import type {Proto, ObserverType} from "@swim/util"; import {FastenerOwner, FastenerInit, FastenerClass, Fastener} from "@swim/component"; import {Model} from "../model/Model"; import {AnyTrait, TraitFactory, Trait} from "./Trait"; /** @internal */ export type TraitRelationType<F extends TraitRelation<any, any>> = F...
the_stack
import { Message, RichTextMessage, RichTextNode } from '@comen/common'; import { identity } from 'rxjs'; import { map } from 'rxjs/operators'; import { ComenConfiguration } from '../config'; const EMOJI_START_TOKEN = ['(', '(']; const EMOJI_END_TOKEN = [')', ')', ',', ',', '.', ' ', '。', '/', '\\', '$', '¥', '-', ...
the_stack
import { gql } from '@apollo/client'; import * as Apollo from '@apollo/client'; export type Maybe<T> = T | null; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }; export type MakeMaybe...
the_stack
import { isAbsolute, resolve } from 'path'; import { cachedLookup, normalizeSlashes } from './util'; import type * as _ts from 'typescript'; import type { TSCommon, TSInternal } from './ts-compiler-types'; /** @internal */ export const createTsInternals = cachedLookup(createTsInternalsUncached); /** * Given a referen...
the_stack
import assert from 'assert'; import { r } from '../src'; import config from './config'; import { uuid } from './util/common'; describe('pool legacy', () => { let dbName: string; let tableName: string; let pks: string[]; before(async () => { await r.connectPool(config); dbName = uuid(); tableName ...
the_stack
import * as React from 'react'; import * as strings from 'ControlStrings'; import styles from './RteColorPicker.module.scss'; import SwatchColorPickerGroup from './SwatchColorPickerGroup'; import { IRteColorPickerProps, IRteColorPickerState } from './RteColorPicker.types'; import { DefaultButton } from 'office-ui-fabri...
the_stack
import { Color } from '../../../protocol/color'; import { Move } from '../../../protocol/move'; import { Repertoire } from '../../../protocol/storage'; import { Annotator } from '../annotation/annotator'; import { NullAnnotator } from '../annotation/nullannotator'; import { Config } from '../common/config'; import { Vi...
the_stack
import { h, VNode, createProjector } from 'maquette'; import * as Langs from '../definitions/languages'; import * as Graph from '../definitions/graph'; import _ from 'lodash'; import { Md5 } from 'ts-md5'; import * as Values from '../definitions/values'; import { Log } from '../common/log'; import axios from 'axios'...
the_stack
import { IExpression } from "./reflector/expression-reflector"; import { Times } from "./times"; import { Interaction } from "./interactions"; import { Tracker } from "./tracker/tracker"; import { StaticProvider } from "./static.injector/interface/provider"; import { InjectionFactory, TypeOfInjectionFactory } from...
the_stack
import mongoose from 'mongoose'; import { schemaComposer, InputTypeComposer, SchemaComposer, graphql } from 'graphql-compose'; import { composeWithMongoose } from '../../../composeWithMongoose'; import { composeMongoose } from '../../../composeMongoose'; import { _createOperatorsField, addFilterOperators, proces...
the_stack
import * as Bluebird from 'bluebird'; import { Server } from '@hapi/hapi'; import * as hostile from 'hostile'; import * as joi from 'joi'; import { spawn } from 'child_process'; import { log, useLogger, Logger } from './logger'; import * as susie from 'susie'; import * as os from 'os'; import { createProxy } from './cr...
the_stack
import { StateManager } from '../state-manager' import { del } from 'idb-keyval' export interface Todo { id: string text: string isComplete: boolean dateCreated: number } export interface State { todos: Record<string, Todo> items: string[] } export class TodoState extends StateManager<State> { isReady ...
the_stack
module android.view { import Activity = android.app.Activity; import Intent = android.content.Intent; import Drawable = android.graphics.drawable.Drawable; import Menu = android.view.Menu; import View = android.view.View; /** * Interface for direct access to a previously created menu item. * <p> * An Item is returne...
the_stack
import * as Debug from 'debug'; import * as path from 'path'; import * as depGraphLib from '@snyk/dep-graph'; import * as snyk from '..'; import { apiOrOAuthTokenExists, getAuthHeader } from '../api-token'; import { makeRequest } from '../request'; import config from '../config'; import * as os from 'os'; const get = r...
the_stack
import {makeConfig, SHADOWSOCKS_URI, SIP002_URI} from 'ShadowsocksConfig'; import * as uuidv4 from 'uuidv4'; import * as errors from '../model/errors'; import * as events from '../model/events'; import {Server, ServerRepository} from '../model/server'; import {ShadowsocksConfig} from './config'; import {NativeNetwork...
the_stack
import ApolloClient from 'apollo-client'; import { DocumentNode } from 'apollo-link'; import { MockedResponse } from 'apollo-link-mock'; import gql from 'graphql-tag'; import React, { HTMLAttributes, ReactElement, createContext, useContext, } from 'react'; import { renderToString } from 'react-dom/server'; imp...
the_stack
import { assert } from "node-opcua-assert"; import * as ec from "node-opcua-basic-types"; import { BinaryStream, BinaryStreamSizeCalculator, OutputBinaryStream } from "node-opcua-binary-stream"; import { checkDebugFlag, make_debugLog, make_warningLog } from "node-opcua-debug"; import * as factories from "node-opcua-fac...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Smithchart} from '../../smithchart'; import { SmithchartMarginModel, SmithchartFontModel} from '../../smithchart/utils/utils-model'; import { measureText } from '../../smithchart/utils/helper'; import {getTemplateFunction, convertElementFromLabel, PathOptio...
the_stack
import { AbstractDataSource } from './AbstractDataSource'; import path from 'path'; import { DataItem, DataItemKind, DataSourceActionResult, MediaItem, SearchQuery, SearchQuerySortColumn, SearchQuerySortDirection, SearchResult, } from '../types'; import Knex from 'knex'; import fsLib from 'fs'; import {...
the_stack
import cloneDeep from 'lodash/cloneDeep'; require('base-components/base-content.component.ts'); require( 'components/forms/schema-based-editors/schema-based-editor.directive.ts'); require( 'components/question-directives/question-editor/' + 'question-editor.component.ts'); require('directives/angular-html-bind.d...
the_stack
import { $QLike, ActiveUIView, extend, filter, HookRegOptions, isDefined, isFunction, isString, kebobString, noop, Obj, Param, parse, PathNode, ResolveContext, StateDeclaration, tail, trace, Transition, TransitionService, TypedMap, unnestR, ViewService, } from '@uirouter/co...
the_stack
namespace Reflect { // Metadata Proposal // https://rbuckton.github.io/reflect-metadata/ type HashMap<V> = Record<string, V>; interface BufferLike { [offset: number]: number; length: number; } type IteratorResult<T> = { value: T, done: false } | { value: never, done...
the_stack
import { call, put, all, fork, select, takeLatest, takeEvery } from 'redux-saga/effects' import { IWidgetFormed } from 'app/containers/Widget/types' import { ActionTypes } from './constants' import { DashboardActions, DashboardActionType } from './actions' import { makeSelectDashboard, makeSelectItem...
the_stack
/// <reference types="node" /> declare var rpio: Rpio; declare module 'rpio' { export = rpio; } interface Rpio { /** * Initialise the bcm2835 library. This will be called automatically by .open() using the default option values if not called explicitly. * @param options */ init(options: RP...
the_stack
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Observable, of, forkJoin } from 'rxjs'; import * as Rx from 'rxjs'; import { catchError, map, tap } from 'rxjs/operators'; import { FullDocNode, DocNode2, Doc2, Link, Change, Db } from './standard-map'...
the_stack
import { jsx } from '@emotion/react' import React from 'react' import * as EP from '../../../core/shared/element-path' import Utils from '../../../utils/utils' import { CanvasPoint } from '../../../core/shared/math-utils' import { EditorDispatch } from '../../editor/action-types' import { DerivedState, EditorState,...
the_stack
import { NgModule, SecurityContext } from '@angular/core'; import { CommonModule, DatePipe } from '@angular/common'; import { FooterComponent } from '@shared/components/footer.component'; import { LogoComponent } from '@shared/components/logo.component'; import { TbSnackBarComponent, ToastDirective } from '@shared/comp...
the_stack
export as namespace Diff; export type Callback = (err: undefined, value?: Change[]) => void; export interface CallbackOptions { /** * Callback to call with the result instead of returning the result directly. */ callback: Callback; } export interface BaseOptions { /** * `true` to ignore ca...
the_stack
import {writeFileSync} from 'node:fs'; import {join} from 'node:path'; import got from 'got'; import {ESLint} from 'eslint'; // protoco.json typing interface GeneratedProtocol { enums: Array<{enumType: string; enumIdentifiers: EnumIdentifier[]}>; requests: OBSRequest[]; events: OBSEvent[]; } interface EnumIdentifi...
the_stack
import PCR = require( 'puppeteer-chromium-resolver'); const { ObjectId }= require('bson'); import { UserPlatform, Template, Task, Article, Platform, Environment, IUserPlatform, Cookie, IPlatform, ITask, IAritcle, } from "@/models"; import constants from '../constants' import config from './config'...
the_stack
import { defaultTheme, PredictionTypes } from "@responsible-ai/core-ui"; import { localization } from "@responsible-ai/localization"; import { RangeTypes } from "@responsible-ai/mlchartlib"; import _ from "lodash"; import { Pivot, PivotItem, Stack, StackItem, loadTheme, MessageBar, MessageBarType, Text ...
the_stack
import { Mesh } from "../../Meshes/mesh"; import { Scene } from "../../scene"; import { Nullable } from "../../types"; import { Vector3, Quaternion, Matrix, TmpVectors } from "../../Maths/math.vector"; import { Observable, Observer } from "../../Misc/observable"; import { BaseSixDofDragBehavior } from "./baseSixDo...
the_stack
import { bold, BufReader, BufWriter, delay, joinPath, yellow, } from "../deps.ts"; import { DeferredStack } from "../utils/deferred.ts"; import { getSocketName, readUInt32BE } from "../utils/utils.ts"; import { PacketWriter } from "./packet.ts"; import { Message, type Notice, parseBackendKeyMessage, ...
the_stack
import { UxModalService, UxModalServiceResult } from './ux-modal-service'; import { customElement, bindable, useView } from 'aurelia-templating'; import { inject } from 'aurelia-dependency-injection'; import { StyleEngine, UxComponent } from '@aurelia-ux/core'; import { UxModalTheme } from './ux-modal-theme'; impo...
the_stack
'use strict'; import * as dom5 from 'dom5'; import * as url from 'url'; import * as estree from 'estree'; import * as docs from './ast-utils/docs'; import {FileLoader} from './loader/file-loader'; import {importParse, ParsedImport, LocNode} from './ast-utils/import-parse'; import {jsParse} from './ast-utils/js-parse';...
the_stack
import { HttpStatus, INestApplication } from '@nestjs/common'; import { expect } from 'chai'; import request from 'supertest'; import { getAddress } from 'ethers/lib/utils'; import moment from 'moment'; import { DatabaseService } from '@energyweb/origin-backend-utils'; import { TestUser, bootstrapTestInstance, deviceM...
the_stack
import { Component, OnInit } from '@angular/core'; import {MessageService, SelectItem, MenuItem, LazyLoadEvent} from 'primeng/api'; import {BrowserService} from './service/browser.service'; import Browser from './service/browser'; import MyBrowser from './service/mybrowser'; @Component({ selector: 'jhi-table', ...
the_stack
import { strict as assert } from "assert"; import { Random } from "best-random"; import { IChannelServices } from "@fluidframework/datastore-definitions"; import { MockFluidDataStoreRuntime, MockStorage, MockContainerRuntimeFactoryForReconnection, MockContainerRuntimeForReconnection, } from "@fluidframe...
the_stack
import { expect } from '../../../setup' /* External Imports */ import { ethers } from 'hardhat' import { Signer, ContractFactory, Contract, constants } from 'ethers' import { Interface } from 'ethers/lib/utils' import { smockit, MockContract, smoddit } from '@eth-optimism/smock' /* Internal Imports */ import { NON_NU...
the_stack
import { Transport, TransportMessage } from '../transport' import { Event, Command, Message, MessageAttributes } from '@node-ts/bus-messages' import { sleep, ClassConstructor, TypedEmitter, CoreDependencies, MiddlewareDispatcher, Middleware, Next} from '../util' import { Handler, FunctionHandler, HandlerDefinition, isC...
the_stack
import React, { Component } from "react"; import { withStyles, CircularProgress, Typography, Paper, Button, Chip, Avatar, Slide } from "@material-ui/core"; import { styles } from "./PageLayout.styles"; import Post from "../components/Post"; import { Status } from "../types/Status"; impor...
the_stack
import { PluginHooks } from '../../types/pluginHooks' import { findDependencies, getModuleMarker, isSameFilepath, parseOptions } from '../utils' import { builderInfo, EXPOSES_MAP, parsedOptions } from '../public' import { ConfigTypeSet, VitePluginFederationOptions } from 'types' import { walk } from 'estree-wal...
the_stack
export const tabFieldValueVisibilityJson = { formRepresentation: { id: 'form-3aff57d3-62af-4adf-9b14-1d8f44a28077', name: 'tabvisibility', description: '', version: 0, standalone: true, formDefinition: { tabs: [ { id: '7...
the_stack
import {setupFaucet} from './fixtures'; import {BigNumber} from 'ethers'; import {expectEventWithArgs, waitFor, setupUser} from '../utils'; import {expect} from '../chai-setup'; const DECIMALS_18 = BigNumber.from('1000000000000000000'); const TOTAL_SUPPLY = DECIMALS_18.mul(1000000); describe('Faucet', function () { ...
the_stack
// The following TSLint rules have been disabled: // unified-signatures: Because there is useful information in the argument names of the overloaded signatures // Convention: // Use 'union types' when: // - parameter types have similar signature type (i.e. 'string | ReadonlyArray<string>') // - parameter names have ...
the_stack
import { mount } from '@vue/test-utils' import { Wrapper } from '@vue/test-utils/types' import MainComponent from '~/component.vue' import { MENU_POSITIONS } from '~/constants' import { VueCoolSelectComponentInterface } from '../../types/types' import createLocalVueWithPlugin from './helpers' const comp: VueCoolSelec...
the_stack
import { gte } from "semver"; import { assert, ASTNode, Block, ContractDefinition, DataLocation, Expression, FunctionDefinition, FunctionVisibility, MemberAccess, Mutability, PPIsh, Statement, StateVariableVisibility, StructDefinition, TypeName, TypeNode, ...
the_stack
import { Section, translations, mechanicsEngine } from ".."; /** * Tool to transform the book XML to HTML */ export class SectionRenderer { /** * Only illustrations of following authors are rendered (Others are not included on PAON). * This covers up to book 9. There are illustrations of authors th...
the_stack
import { GraphQLClient } from "graphql-request"; import { print } from "graphql"; import { GraphQLResponse } from "graphql-request/dist/types"; import gql from "graphql-tag"; export type Maybe<T> = T | null; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K]; }; export type MakeOptional<...
the_stack
* Additions Copyright (c) 2019 Seven Bridges. All rights reserved. * Licensed under the Apache 2.0 License. See License.txt for license information. * * This file has been modified from the original LSP example published by Microsoft. * Code to drive the webview component code has been added. * -------------------...
the_stack
import * as cdk from '@aws-cdk/core'; import * as sfn from '@aws-cdk/aws-stepfunctions'; import { LambdaInvoke } from '@aws-cdk/aws-stepfunctions-tasks'; import * as lambda from '@aws-cdk/aws-lambda'; import { PolicyDocument, PolicyStatement, Role, Effect, ServicePrincipal, CfnRole } from...
the_stack