text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { UdfCategory, UdfCategoryFunctions } from 'sql/reference/types'; import I18n from 'utils/i18n'; const EVAL_FUNCTIONS: UdfCategoryFunctions = { avg: { name: 'avg', returnTypes: ['T'], arguments: [[{ type: 'T', multiple: true }]], signature: 'AVG(%VAR%)', draggable: 'AVG()' }, concat: {...
the_stack
import { handler as scheduler } from '../scheduler'; import { connectToDatabase, Scan, Organization, ScanTask, OrganizationTag } from '../../models'; jest.mock('../ecs-client'); const { runCommand, getNumTasks } = require('../ecs-client'); describe('scheduler', () => { beforeAll(async () => { await co...
the_stack
import {Grid, GridAlignment} from '../grid'; import * as sorting from '../sorting'; const {expect} = chai; // Utility type used for testing. interface Crayon { color: string; x?: number; y?: number; } describe('Grid', () => { describe('arrange', () => { it('should put everything in a single cell by def...
the_stack
import { XStore, XType, XString } from '../pastore'; import { delay } from './helpers'; interface SimpleState extends XType { name: string, age: number, isMale: boolean, teacher: { name: string, age: number, isMale: boolean }, deepNested: { level2: { ...
the_stack
// Create the local library object, to be exported or referenced globally later const lib: any = {}; // Current version lib.version = '0.4.2'; /* --- Exposed settings --- */ // The library's settings configuration object. Contains default parameters for // currency and number formatting lib.settings = { currency: ...
the_stack
import {getPointsTooltipData} from './tooltip' import {convertLineSpec} from './staticLegend' import {NINETEEN_EIGHTY_FOUR} from '../../constants/colorSchemes' import { FILL, STACKED_LINE_CUMULATIVE, LINE_COUNT, } from '../../constants/columnKeys' import {getNominalColorScale, createGroupIDColumn} from '../../tra...
the_stack
import React from 'react'; import { mount, shallow } from 'enzyme'; import assert from 'assert'; import sinon from 'sinon'; import { findTypes } from '../../util/component-types'; import _ from 'lodash'; import { common } from '../../util/generic-tests'; import { AutocompleteDumb as Autocomplete } from './Autocomplete'...
the_stack
// Cloud platform import * as fs from 'fs'; import * as util from 'util'; import * as os from 'os'; import * as events from 'events'; import * as path from 'path'; import * as child_process from 'child_process'; import { LocalCVC4Solver } from 'smtlib'; import * as Tp from 'thingpedia'; import * as rpc from 'transpare...
the_stack
import {Component, isComponentClass} from '@layr/component'; import type {ComponentServerLike} from '@layr/component-server'; import isEqual from 'lodash/isEqual'; import {ComponentClient} from './component-client'; describe('ComponentClient', () => { const server: ComponentServerLike = { receive({query, compon...
the_stack
import { testTokenization } from '../test/testRunner'; testTokenization('elixir', [ // Keywords - module definition [ { line: 'defmodule Foo do end', tokens: [ { startIndex: 0, type: 'keyword.declaration.elixir' }, { startIndex: 9, type: 'white.elixir' }, { startIndex: 10, type: 'type.identifier....
the_stack
import { isEqual } from 'lodash' import AlertCircleIcon from 'mdi-react/AlertCircleIcon' import React, { useCallback, useEffect, useState } from 'react' import { delay, distinctUntilChanged, repeatWhen } from 'rxjs/operators' import { LoadingSpinner } from '@sourcegraph/react-loading-spinner' import { Link } from '@so...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { DatabaseAccountGetResults, DatabaseAccountsListOptionalParams, DatabaseAccountsListByResourceGroupOptionalParams, Metric, DatabaseAccountsListMetricsOptionalParams, Usa...
the_stack
import {ChunkState} from 'neuroglancer/chunk_manager/base'; import {Chunk, ChunkManager, ChunkSource, WithParameters} from 'neuroglancer/chunk_manager/frontend'; import {CredentialsManager} from 'neuroglancer/credentials_provider'; import {getCredentialsProviderCounterpart, WithCredentialsProvider} from 'neuroglancer/c...
the_stack
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing'; import { HttpResponse } from '@angular/common/http'; import { of } from 'rxjs'; import { ActivatedRoute, UrlSegment } from '@angular/router'; import { ArtemisTestModule } from '../../test.module'; import { ModelingExerciseUpdateCompone...
the_stack
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {WaiterConfiguration} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/conf...
the_stack
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_icon_button/cr_icon_button.m.js'; import 'chrome://resources/cr_elements/cr_link_row/cr_link_row.js'; import 'chrome://resources/cr_elemen...
the_stack
'use strict'; import * as CWC from 'crypto-wallet-core'; import { EventEmitter } from 'events'; import _ from 'lodash'; import sjcl from 'sjcl'; import { Constants, Utils } from './common'; import { Credentials } from './credentials'; import { Key } from './key'; import { PayPro } from './paypro'; import { PayProV2 } ...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; /** * Manages a Service Fabric Cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure";...
the_stack
import { iterableFirst, iterableEvery, setFilter, mapMapEntries, mapMergeWithInto, mapMap, mapUpdateInto, setMap, iterableFind, setIntersect, setUnionInto } from "collection-utils"; import { TypeGraph, TypeRef } from "../TypeGraph"; import { StringTypeMapping, TypeBuilder } ...
the_stack
import { clone } from '@microsoft/sp-lodash-subset'; import * as strings from 'ColumnFormatterWebPartStrings'; import { getWizardByName, IWizard, standardWizardStartingCode, standardWizardStartingColumns, standardWizardStartingRows, } from '../components/Wizards/WizardCommon'; import { ActionTy...
the_stack
* @file eth-tests.ts * @author Josh Stevens <joshstevens19@hotmail.co.uk> * @author Prince Sinha <sinhaprince013@gmail.com> * @date 2018 */ import { Log, RLPEncodedTransaction, Transaction, TransactionReceipt } from 'web3-core'; import { Block, BlockHeader, Eth, GetProof, Syncing } from 'web3-eth';...
the_stack
import _ from "lodash" import * as THREE from "three" // Import * as THREE from 'three' import * as action from "../../src/action/common" import { moveCamera, moveCameraAndTarget } from "../../src/action/point_cloud" import { selectLabel } from "../../src/action/select" import Session from "../../src/common/session" i...
the_stack
import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utilities"; /** * Provides an AWS Network Firewall Firewall Resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws...
the_stack
import * as moment from 'moment-timezone'; import { ArgumentOutOfRangeException, ArgumentException } from "./Exceptions/ArgumentException"; import { DayOfWeek } from "./Enumerations/DayOfWeek"; import { IOutParam } from "./Interfaces/IOutParam"; import { StringHelper } from "./ExtensionMethods"; import { TimeSpan } fr...
the_stack
import Ticker from './Ticker'; import Scene from './Scene'; import type { SystemConstructor } from '../core/System'; import System from '../core/System'; import Component from '../core/Component'; import { setSystemObserver, initObserver } from '../core/observer'; import EventEmitter from 'eventemitter3'; /** eva plu...
the_stack
import { createElement } from '@syncfusion/ej2-base'; import { Diagram } from '../../../src/diagram/diagram'; import { Path } from '../../../src/diagram/objects/node'; import { ShapeAnnotationModel } from '../../../src/diagram/objects/annotation-model'; import { NodeModel, PathModel, } from '../../../src/diagram/object...
the_stack
import { createTreeWithEmptyWorkspace } from '@nrwl/devkit/testing'; import { Tree, readProjectConfiguration, readWorkspaceConfiguration, stripIndents, addProjectConfiguration, serializeJson, WorkspaceConfiguration, parseJson, getProjects, joinPathFragments, ProjectConfiguration, readJson, upd...
the_stack
import React from 'react'; import {Schema} from '../types'; import Transition, {ENTERED, ENTERING} from 'react-transition-group/Transition'; import {themeable, ThemeProps} from '../theme'; import {uncontrollable} from 'uncontrollable'; import {generateIcon} from '../utils/icon'; import {SchemaClassName} from '../Schema...
the_stack
import {Lexer as ExpressionLexer} from '../expression_parser/lexer'; import {Parser as ExpressionParser} from '../expression_parser/parser'; import * as html from '../ml_parser/ast'; import {getHtmlTagDefinition} from '../ml_parser/html_tags'; import {InterpolationConfig} from '../ml_parser/interpolation_config'; impor...
the_stack
// Please don't change this file manually but run `prisma generate` to update it. // For more information, please read the docs: https://www.prisma.io/docs/prisma-client/ export const typeDefs = /* GraphQL */ `type AggregatePasswordMeta { count: Int! } type AggregateUser { count: Int! } type BatchPayload { "...
the_stack
import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core'; import { FormBuilder, Validators} from '@angular/forms'; import { MeasFilterService } from './measfiltercfg.service'; import { MeasurementService } from '../measurement/measurementcfg.service'; import { CustomFilterService } from '../custom...
the_stack
import { expect } from 'chai'; import { AttributesManagerFactory } from '../../lib/attributes/AttributesManagerFactory'; import { JsonProvider } from '../mocks/JsonProvider'; import { MockPersistenceAdapter } from '../mocks/persistence/MockPersistenceAdapter'; describe('AttributesManagerFactory', () => { it('shoul...
the_stack
import * as vscode from 'vscode'; import * as cfg from '../configuration'; import * as util from '../utility'; import SourceDocument from '../SourceDocument'; import CSymbol from '../CSymbol'; import SubSymbol from '../SubSymbol'; import { ProposedPosition, TargetLocation } from '../ProposedPosition'; import { Oper...
the_stack
import React, { useState, useEffect } from 'react' import { useRouter } from 'next/router' import { loadStripe } from '@stripe/stripe-js' import Navigation from '../components/Navigation' import Footer from '../components/Footer' import { NOTION_DOCS_URL, NOTION_SUPPORT_URL } from '../constants' /* Stripe */ const s...
the_stack
/*global window: false*/ /*global GameSession: false*/ /*global TurbulenzBridge: false*/ /*global TurbulenzEngine: false*/ /*global Utilities: false*/ /*global MappingTable: false*/ /*global LeaderboardManager: false*/ /*global ServiceRequester: false*/ /*global MultiPlayerSessionManager: false*/ /*global Observer*/ /*...
the_stack
import React from 'react'; import { action, computed, get, observable, runInAction, set } from 'mobx'; import isString from 'lodash/isString'; import isNumber from 'lodash/isNumber'; import sortBy from 'lodash/sortBy'; import debounce from 'lodash/debounce'; import isNil from 'lodash/isNil'; import isPlainObject from '...
the_stack
import * as vd from "virtual-dom"; import UnitBezier from "@mapbox/unitbezier"; import { combineLatest as observableCombineLatest, Observable, Subject, } from "rxjs"; import { distinctUntilChanged, map, scan, skip, switchMap, takeWhile, } from "rxjs/operators"; import * as Geo fro...
the_stack
import { Credentials as AWSCredentials } from "@aws-sdk/types"; import { ChimeClient, ListChannelMessagesCommand, SendChannelMessageCommand, RedactChannelMessageCommand, GetMessagingSessionEndpointCommand, ChannelMessageSummary, ChannelMembership, Identity, } from "@aws-sdk/client-chime"; import * as S...
the_stack
import { SfdxCommandlet } from '@salesforce/salesforcedx-utils-vscode/out/src'; import { CliCommandExecutor, Command, CommandExecution } from '@salesforce/salesforcedx-utils-vscode/out/src/cli'; import { expect } from 'chai'; import { Subject } from 'rxjs/Subject'; import * as sinon from 'sinon'; import { SinonSa...
the_stack
import { Arc3d } from "../../curve/Arc3d"; import { Geometry } from "../../Geometry"; import { AngleSweep } from "../../geometry3d/AngleSweep"; import { Point3d, Vector3d } from "../../geometry3d/Point3dVector3d"; import { LineSegment3d } from "../../curve/LineSegment3d"; import { AnalyticRoots, SmallSystem } from "../...
the_stack
import { printSchema } from "graphql/utilities"; import { GraphQLObjectType, GraphQLInt, GraphQLString, GraphQLList, GraphQLSchema, GraphQLNonNull, } from "graphql"; import { BaseNode, LensScopeQueryString } from "./schema"; import { getDgraphClient, DgraphClient, RawNode, Enri...
the_stack
import React, { useState } from "react"; import styles from "./index.module.scss"; // Component that allows to input only numeric values. const NumericInput = (props) => ( <input type="text" inputMode={props.inputMode || "numeric"} pattern={props.pattern} size={props.size || 4} value={props.value...
the_stack
import { CachedMetadata, TFile, normalizePath } from "obsidian"; import { DataMap, Query, RenderInfo, XValueMap, QueryValuePair, TableData, SearchType, ValueType, } from "./data"; import * as helper from "./helper"; import { Moment } from "moment"; // fileBaseName is a string contains d...
the_stack
import { Platform } from 'react-native'; import { styled } from '../styled'; import { borderRadius, fontSize, fontWeight, palette, space, theme } from '../utils/theme'; import { getFontStyles } from '../utils/getFontStyles'; import { Icon } from '../Icon/Icon'; import { Spinner } from '../Spinner/Spinner'; import { Te...
the_stack
import * as commander from "commander"; import * as fs from "fs"; import * as glob from "glob"; import * as path from "path"; import * as ts from "typescript"; // Default format to use for `format` option const defaultFormat = "ts" // Default suffix appended to generated files. Abbreviation for "ts-interface". const d...
the_stack
import { Theme } from "../core/Theme"; import type { Root } from "../core/Root"; import { MultiDisposer } from "../core/util/Disposer"; import { p100, percent } from "../core/util/Percent"; import type { Template } from "../core/util/Template"; import * as $array from "../core/util/Array"; /** * An interface describi...
the_stack
import { IRegularTag } from '../../typings'; import { animationAdditionAttributes, animationElements, animationTimingAttributes, animationValueAttributes, conditionalProcessingAttributes, coreAttributes, deprecatedXlinkAttributes, descriptiveElements, filterPrimitiveElements, gradientElements, lightSourceElements, pain...
the_stack
import {vec2, mat2d} from 'gl-matrix' import Bezier from 'bezier-js' import svgpath from 'svgpath' import Voronoi from 'voronoi' import paper from 'paper' import {PaperOffset, OffsetOptions} from 'paperjs-offset' import { MalVal, keywordFor as K, symbolFor as S, MalError, assocBang, isMap, createList as L, isV...
the_stack
import i18next from "i18next"; import { computed, runInAction } from "mobx"; import defined from "terriajs-cesium/Source/Core/defined"; import WebMercatorTilingScheme from "terriajs-cesium/Source/Core/WebMercatorTilingScheme"; import WebMapTileServiceImageryProvider from "terriajs-cesium/Source/Scene/WebMapTileServiceI...
the_stack
import { arrayRemoveItem, asyncOperation } from '@deepkit/core'; import { Host } from './host'; import { createConnection, Socket } from 'net'; import { connect as createTLSConnection, TLSSocket } from 'tls'; import { Command } from './command/command'; import { stringifyType, Type, uuid } from '@deepkit/type'; import ...
the_stack
import { createElement, isNullOrUndefined, Browser, EmitType } from '@syncfusion/ej2-base'; import { AutoComplete } from '../../src/auto-complete/index'; import { FilteringEventArgs } from '../../src/drop-down-base'; import { DataManager, Query, ODataV4Adaptor, Predicate } from '@syncfusion/ej2-data'; import {profile ...
the_stack
import { HashSet, ObservableHashSet } from "../hash-set"; describe("ObservableHashSet<T>", () => { it("should not throw on creation", () => { expect(() => new ObservableHashSet<{ a: number }>([], item => item.a.toString())).not.toThrowError(); }); it("should be initializable", () => { const res = new Ob...
the_stack
This file was copied from mashlib/src/global/header.ts file. It is modified to work in solid-ui by adjusting where imported functions are found. */ import { IndexedFormula, NamedNode } from 'rdflib' import { icons } from '..' import { loginStatusBox, authSession, currentUser } from '../authn/authn' import * as wid...
the_stack
declare module '@ailhc/enet' { global { namespace enet { /**网络数据格式 */ type NetData = string | ArrayBufferLike | Blob | ArrayBufferView | Uint8Array; /** * socket 接口 */ interface ISocket { /**socket状态 */ state: number; ...
the_stack
import { AST_TOKEN_TYPES, gl, GLSLContext, IComputeModel, isSafari, STORAGE_CLASS, createEntity, } from '@antv/g-webgpu-core'; import * as WebGPUConstants from '@webgpu/types/dist/constants'; import { isNumber } from 'lodash'; import isNil from 'lodash/isNil'; import { WebGPUEngine } from '.'; import WebG...
the_stack
import type { NestingInfo } from "../../utils/selectors" import { isNestingSelector, isNestingAtRule, isTypeSelector, hasNodesSelector, isSelectorCombinator, findNestingSelector, isDescendantCombinator, } from "../../utils/selectors" import type { VCSSStyleSheet, VCSSNode, VCSSSe...
the_stack
import Graph from "./interfaces/Graph.js"; import SavedNote from "./interfaces/SavedNote.js"; import { FileId } from "./interfaces/FileId.js"; import GraphNodePositionUpdate from "./interfaces/NodePositionUpdate.js"; import { Link } from "./interfaces/Link.js"; import LinkedNote from "./interfaces/LinkedNote.js"; impor...
the_stack
import * as qs from 'querystring'; import * as _ from 'lodash'; import { toDate } from './utils'; export interface ParserOptions { dateFormat?: string | string[]; blacklist?: string[]; // list of fields should not be in filter casters?: { [key: string]: (val: string) => any }; castParams?: { [key: string]: st...
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 ErrorResponse class. * @constructor * Error repons...
the_stack
import { Encoding, EncodingType } from '../src/encoding'; /** * Encoding spec modules */ describe('Creating instance of Encoding', () => { it('Encoding instance with null parameter', () => { let encoding: Encoding = new Encoding(null); expect(encoding.includeBom).toBe(true); }); it('Enc...
the_stack
import { ISubmission, SubmissionRating, SubmissionType, FileMap } from '../tables/submission.table'; import { Observable, Subject } from 'rxjs'; import { FileObject, SubmissionFileType } from '../tables/submission-file.table'; import { DescriptionData } from 'src/app/utils/components/description-input/description-input...
the_stack
import { EventEmitter } from 'events' import { Logger, LoggerOptions } from 'node-log-it' import { merge, map, takeRight, includes, find } from 'lodash' import { Mongoose } from 'mongoose' import { MongodbValidator } from '../validators/mongodb-validator' import { BlockDao } from './mongodb/block-dao' import { BlockMet...
the_stack
import {Autowired, PostConstruct} from "../context/context"; import {LoggerFactory, Logger} from "../logger"; import {ColumnController} from "../columnController/columnController"; import {Column} from "../entities/column"; import {Utils as _} from "../utils"; import {DragAndDropService, DraggingEvent} from "../dragAnd...
the_stack
export interface IReturn<T> { createResponse(): T; } export interface IReturnVoid { createResponse(): void; } export interface IHasSessionId { sessionId: string; } export interface IHasBearerToken { bearerToken: string; } export interface IGet { } export interface IPost { } export interface IPut {...
the_stack
import { Syntax, Visitor, eqSourceLocation, nullLoc, eqEndPosition, compEndPosition, findSourceLocation } from './javascript'; import { sourceAsJavaScriptExpression } from './parser'; import { JSVal } from './model'; import { getOptions } from './options'; declare const console: { log: (s: string) => void }; ...
the_stack
import { useResourceLimitations } from '../src'; import { makeExecutableSchema } from '@graphql-tools/schema'; import { assertSingleExecutionValue, createTestkit } from '@envelop/testing'; const schema = makeExecutableSchema({ typeDefs: /* GraphQL */ ` scalar ConnectionInt type Query { viewer: User ...
the_stack
import { Client } from "@notionhq/client" import { CreatePageBodyParameters, CreatePageParameters, GetDatabaseResponse, GetPageResponse, } from "@notionhq/client/build/src/api-endpoints" import * as _ from "lodash" import { config } from "dotenv" config() import * as faker from "faker" const notion = new Cl...
the_stack
import { Injectable } from '@angular/core'; import { CoreError } from '@classes/errors/error'; import { CoreCourseActivitySyncBaseProvider } from '@features/course/classes/activity-sync'; import { CoreCourse } from '@features/course/services/course'; import { CoreCourseLogHelper } from '@features/course/services/log-he...
the_stack
import * as t from '@webassemblyjs/ast'; import { print } from '@webassemblyjs/wast-printer'; declare var global: any; global['Binaryen'] = { TOTAL_MEMORY: 16777216 * 8 }; import * as binaryen from 'binaryen'; import _wabt = require('wabt'); import { annotations } from '../annotations'; import { flatten } from '.....
the_stack
import { JSXSlack } from '../src/index' import { mrkdwn } from '../src/mrkdwn/index' beforeEach(() => JSXSlack.exactMode(false)) describe('HTML parser for mrkdwn', () => { it('throws error when using not supported tag', () => { // @ts-expect-error expect(() => mrkdwn(<div>test</div>)).toThrow(/unknown/i) ...
the_stack
import Vue from 'vue'; import Vuex from 'vuex'; import VueRouter from 'vue-router'; import VAnimateCss from 'v-animate-css'; import VModal from 'vue-js-modal'; import VueI18n from 'vue-i18n'; import SequentialEntrance from 'vue-sequential-entrance'; import VueHotkey from './common/hotkey'; import VueSize from './commo...
the_stack
import test from "ava"; import common from "../src/common"; const { __tests__ } = common; const { _commonTransfer } = __tests__; import { CellProvider } from "./cell_provider"; import { parseAddress, TransactionSkeleton, TransactionSkeletonType, } from "@ckb-lumos/helpers"; import { Cell, Transaction, values, Scr...
the_stack
import {ResourceBase, ResourceTag} from '../resource' import {Value, List} from '../dataTypes' export class ConfluenceAttachmentToIndexFieldMapping { DataSourceFieldName!: Value<string> DateFieldFormat?: Value<string> IndexFieldName!: Value<string> constructor(properties: ConfluenceAttachmentToIndexFi...
the_stack
import { compress, encodePCM, encodeWAV } from '../transform/transform'; declare let window: any; declare let Math: any; declare let navigator: any; declare let Promise: any; // 构造函数参数格式 interface recorderConfig { sampleBits?: number, // 采样位数 sampleRate?: number, // 采样率 numChannels?: number,...
the_stack
import { stripNulls } from './array-utils' import { Either, left, right, mapEither } from './either' enum RawModifier {} enum WindowModifier {} enum CanvasModifier {} enum LocalModifier {} type NodeGraphModifier = CanvasModifier export type CoordinateMarker = | RawModifier | WindowModifier | CanvasModifier | L...
the_stack
import * as _ from 'underscore'; import { Injectable } from "@angular/core"; import { ObjectUtils } from '../../../lib/common/utils/object-utils'; import {TranslatePipe, TranslateService} from '@ngx-translate/core'; declare const d3: any; @Injectable() export class Nvd3ChartService { constructor( private t...
the_stack
import * as moment from "moment"; /** * The key value pair object properties. */ export interface KeyValuePair { /** * The key parameter. */ key?: string; /** * The value parameter. */ value?: string; } /** * Tag details. */ export interface Tag { /** * The key parameter. */ key?: st...
the_stack
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges, TemplateRef, ViewChild } from '@angular/core'; import { I18nInterface, I18nSe...
the_stack
import { getDB } from "../../../db/getDB" import { MongoDB } from "../../../db/mongo" import { GitHubInstallation } from "../../../db" import logger from "../../../logger" import { getRecordedWebhook, setInstallationToRecord, wipeAllRecordedWebhooks, } from "../../../plugins/utils/recordWebhookWithRequest" impor...
the_stack
import { Book, Note, ReturnBody_Note } from "@aidenlx/obsidian-bridge"; import { excerptPic, excerptPic_video, linkComment_pic, } from "@alx-plugins/marginnote"; import assertNever from "assert-never"; import replaceAsync from "string-replace-async"; import AddNewVideo from "../handlers/add-new-video"; import { ...
the_stack
import { pick } from "@core/lib/utils/object"; import { apiAction } from "../handler"; import { Api, Rbac } from "@core/types"; import * as R from "ramda"; import { graphTypes, getOrphanedLocalKeyIdsForUser, getGroupMembershipsByObjectId, getActiveRecoveryKeysByUserId, getOrgPermissions, getCurrentEncrypted...
the_stack
* OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi...
the_stack
import * as R from 'ramda' import * as React from 'react' import { RouteComponentProps } from 'react-router' import { Link, Redirect } from 'react-router-dom' import * as M from '@material-ui/core' import * as Lab from '@material-ui/lab' import Code from 'components/Code' import Skeleton from 'components/Skeleton' imp...
the_stack
import * as UserScrapingAPI from '../user-scraping-api' import * as ExtraScraper from './extra-scraper' import { getFollowersCount, getTotalCountOfReactions, getParticipantsInAudioSpaceCount, findNonLinkedMentionsFromTweet, } from '../../common' export interface UserScraper { totalCount: number | null [Sym...
the_stack
import * as dom5 from 'dom5'; import {Program} from 'estree'; import * as jsc from 'jscodeshift'; import * as parse5 from 'parse5'; import {Document, Import, isPositionInsideRange, ParsedHtmlDocument, Severity, Warning} from 'polymer-analyzer'; import * as recast from 'recast'; import {ConversionSettings} from './conv...
the_stack
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Snapshots } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { ContainerServiceClient } from "../containerSe...
the_stack
const TIMEZONE_LOCATION_MAP = { 'Asia/Dubai': [25.2697, 55.3094], 'Asia/Kabul': [34.5328, 69.1658], 'Asia/Yerevan': [40.1814, 44.5144], 'Africa/Luanda': [-8.8383, 13.2344], 'America/Argentina/Buenos_Aires': [-34.5997, -58.3819], 'America/Argentina/Cordoba': [-31.4167, -64.1833], 'America/Argentina/Salta':...
the_stack
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * Resource provider available operation display model */ export interface AvailableOperationDisplay { /** * Description of the ope...
the_stack
import React, { useEffect, useRef } from "react"; import * as THREE from "three"; // @ts-ignore import { BlurPass, EffectComposer, RenderPass } from "postprocessing"; const WHITE = new THREE.Color(0xFFFFFF), GREY = new THREE.Color(0xCCCCCC), RED = new THREE.Color(0xFF0000), YELLOW = new THREE.Color(0xFFFF...
the_stack
import {IOas30NodeVisitor, IOasNodeVisitor} from "../../visitors/visitor.iface"; import {Oas30XML} from "./xml.model"; import {OasSchema} from "../common/schema.model"; import {Oas30ExternalDocumentation} from "./external-documentation.model"; import {Oas30Discriminator} from "./discriminator.model"; /** * Models an...
the_stack
import * as vscode from "vscode"; import * as fs from "fs"; import * as os from "os"; import * as moment from "moment"; import * as path from "path"; module.exports = function () { vscode.commands.executeCommand("workbench.action.files.save").then(() => { let config = vscode.workspace.getConfiguration("vsorg"); ...
the_stack
import * as cp from 'child_process'; import * as fs from 'fs'; import * as fse from 'fs-extra'; import * as glob from 'glob'; import * as path from 'path'; import { ConfigurationTarget, ExtensionContext, OutputChannel, TextDocument, Uri, WorkspaceConfiguration, env, window, workspace, } from 'vscode';...
the_stack
export const version = '1.5.17'; export const author = 'Tianyu Dai <dtysky@outlook.com>'; /* tslint:disable-line */ console.log(`Sein.js verison: ${version}`); /* -------------- types --------------- */ export * from './types/Common'; export * from './types/Event'; export * from './types/Physic'; export * from './typ...
the_stack
import { SizeCache } from './shared/SizeCache.js'; import {BaseLayout, BaseLayoutConfig, dim1} from './shared/BaseLayout.js'; import {ItemBox, Positions, Size, Margins, margin, ScrollDirection, offsetAxis} from './shared/Layout.js'; type ItemBounds = { pos: number, size: number }; type FlowLayoutConstructor = { ...
the_stack
import { GraphQLError } from 'graphql'; import { areGraphQLErrors, extendedTypeof, isObject } from './utils'; /** * The WebSocket sub-protocol used for the [GraphQL over WebSocket Protocol](/PROTOCOL.md). * * @category Common */ export const GRAPHQL_TRANSPORT_WS_PROTOCOL = 'graphql-transport-ws'; /** * The depre...
the_stack
import {IOutParam} from "./Interfaces/IOutParam"; import {PropertyDefinitionBase} from "./PropertyDefinitions/PropertyDefinitionBase"; import {StringHelper} from "./ExtensionMethods"; export interface IndexerWithStringKey<TValue> { [index: string]: TValue; } export interface IndexerWithNumericKey<TValue> { [in...
the_stack
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from "graphql"; 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]> }; expor...
the_stack
import { HttpClient, HttpResponse, HttpEvent } from '@angular/common/http'; import { Inject, Injectable, Optional } from '@angular/core'; import { NotificationsAPIClientInterface } from './notifications-api-client.interface'; import { Observable } from 'rxjs'; import { tap } from 'rxjs/operators'; import { USE_DOMAIN, ...
the_stack
import { isDevMode } from "@angular/core" import { def, hasChanged, hasOwn, isArray, isObject, isSymbol, ITERATE_KEY, makeMap, MAP_KEY_ITERATE_KEY, toRaw, toRawType } from "./utils" import { ReactiveFlags, Target, UnwrapNestedRefs } from "./interfaces" import { isRef, track, trigger } from "./ref" import { TrackOpTypes...
the_stack
import { spawn } from 'child_process'; import * as path from 'path'; import { Access } from '../../models/'; import { assert, makeLogger, KError, checkMinimalWoobVersion, UNKNOWN_WOOB_VERSION, } from '../../helpers'; import { WOOB_NOT_INSTALLED, INTERNAL_ERROR, INVALID_PARAMETERS, ...
the_stack