text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { IgxTransactionService } from './igx-transaction';
import { Transaction, TransactionType, HierarchicalTransaction } from './transaction';
import { SampleTestData } from '../../test-utils/sample-test-data.spec';
import { IgxHierarchicalTransactionService } from './igx-hierarchical-transaction';
describe('IgxTra... | the_stack |
import * as React from 'react';
import styles from './InvitationManager.module.scss';
import { IInvitationManagerProps } from './IInvitationManagerProps';
import { IInvitationManagerState } from './IInvitationManagerState';
import { IInvitation } from './IInvitation';
import { IExternalUser } from './IExternalUser';
im... | the_stack |
import {
UnaryOperator, BinaryOperator, NumberLiteral, NullLiteral, StringLiteral, BooleanLiteral,
Literal, Identifier, MemberExpression, UnaryExpression, UpdateExpression, BinaryExpression,
Property, ObjectExpression, ArrayExpression, SpreadElement, CallExpression, Expression,
NumberParameter, NullPara... | the_stack |
import { Injectable, Logger } from '@nestjs/common';
import {
Employee,
EmployeeJobPostsDocument,
EmployeeJobPostsQuery,
EmployeeQuery,
UpdateEmployeeJobPost,
UpworkJobsSearchCriterion
} from './sdk/gauzy-ai-sdk';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
import fetch ... | the_stack |
import {
play,
pause,
previous,
next,
PlayerName,
Track,
PlaylistItem,
saveToSpotifyLiked,
addTracksToPlaylist,
removeFromSpotifyLiked,
repeatOn,
repeatOff,
PlayerDevice,
playSpotifyMacDesktopTrack,
playSpotifyTrack,
playSpotifyPlaylist,
TrackStatus,
setShuffle,
setRepeatPlaylist,
... | the_stack |
import * as vscode from 'vscode';
import { Module, TlaDocumentInfo, TlaDocumentInfos } from '../model/documentInfo';
const COMMA_LEN = 1;
export const ROOT_SYMBOL_NAME = '*';
export const ROOT_CONTAINER_NAME = '';
export const PLUS_CAL_DEFAULT_NAME = 'PlusCal algorithm';
enum SpecialSymbol {
PlusCalEnd
}
/**
* ... | the_stack |
import { Hint, IconSymbol, Size, Switcher, TEXT, ThemeTypes as Theme, Tooltip, ButtonIcon, Style } from '@getstation/theme';
import * as classNames from 'classnames';
import { Iterable, List } from 'immutable';
import * as React from 'react';
import { compose } from 'react-apollo';
// @ts-ignore no declaration file
imp... | the_stack |
'use strict';
import * as coqProto from './coq-proto';
import {spawn} from 'child_process';
import * as semver from 'semver';
import {AnnotatedText, normalizeText, textToDisplayString} from '../util/AnnotatedText';
/** Coqtop was interrupted; call cancelled */
export class Interrupted {
constructor(
public stat... | the_stack |
import {
IAsyncEnumerable,
IAsyncEqualityComparer,
IComparer,
IEqualityComparer,
IGrouping,
InferType,
IOrderedAsyncEnumerable,
IOrderedEnumerable,
IParallelEnumerable,
OfType,
SelectorKeyType
} from "./"
/**
* Iterable type with methods from LINQ.
*/
export interface IEnu... | the_stack |
import {initializeLayerFromSpecShowErrorStatus, LayerListSpecification, ManagedUserLayer} from 'neuroglancer/layer';
import {popDragStatus, pushDragStatus} from 'neuroglancer/ui/drag_and_drop';
import {Borrowed, Owned} from 'neuroglancer/util/disposable';
import {decodeParametersFromDragTypeList, DragInfo, encodeParame... | the_stack |
import omit from 'lodash/omit'
import mapValues from 'lodash/mapValues'
import each from 'lodash/each'
import oldProtocol from '../../../../fixtures/protocol/1/doItAll.json'
import {
renameOrderedSteps,
addInitialDeckSetupStep,
INITIAL_DECK_SETUP_STEP_ID,
updateStepFormKeys,
TCD_DEPRECATED_FIELD_NAMES,
MIX_... | the_stack |
import { jisToUnicodeMap } from "./jis_to_unicode_map";
import CRC32 from "crc-32";
import { Buffer } from "buffer";
function readBits(posBits: number, bits: number, buffer: Buffer): number {
let value = 0;
for (let i = 0; i < bits; i++) {
value <<= 1;
value |= (buffer[posBits >> 3] & (1 << (7 ... | the_stack |
window.URL.createObjectURL = jest.fn();
import * as fs from 'fs';
import React from 'react';
import {cleanup, fireEvent, render} from '@testing-library/react';
import {Polygon, Point} from 'ol/geom';
import {Pixel} from 'ol/pixel';
import {VectorTile} from 'ol/layer';
import {Feature} from 'ol';
import {RFeature, RLay... | the_stack |
import debounce from 'lodash.debounce';
import genSelectors from '../builders/selector';
import { localStorageGet } from '../Common/utils';
import { ActionType, BaseAction, ResizeAction, TagName } from '../types';
function isEventFromOverlay(event: Event) {
return (
event
.composedPath()
.find((ele... | the_stack |
import { SourceType } from 'coffee-lex';
import SourceTokenListIndex from 'coffee-lex/dist/SourceTokenListIndex';
import { Conditional } from 'decaffeinate-parser/dist/nodes';
import { PatcherContext, PatchOptions } from '../../../patchers/types';
import getEnclosingScopeBlock from '../../../utils/getEnclosingScopeBloc... | the_stack |
import {
DownloadMethod,
DownloadQuality,
IEpisode,
Intent,
IRuntimeMessage,
Server,
} from "../common";
import * as utils from "../utils";
import * as api from "./api";
import {IFile} from "./api";
// We need this value while sending API requests.
let ts = "";
// Name of the current anime.
le... | the_stack |
import React, {
useEffect,
useState,
useRef,
RefObject,
FunctionComponent,
RefCallback,
} from "react";
import useResizeObserver from "../";
import {
createComponentHandler,
Observed,
render,
HandlerReceiver,
ObservedSize,
MultiHandlerResolverComponentProps,
ComponentHandler,
HandlerResolver... | the_stack |
import { scan } from "../parser/parser";
import * as parseXml from '../parser/types';
import * as Syntax from '../parser/syntax';
import { WidgetModel, ExtraDataModel } from "../models/models";
import { makeVariableName, makePipeUniqueName } from "../utils";
export class PipeValueResolver {
resolve(element: parse... | the_stack |
import { Orbit } from '@orbit/core';
import {
buildTransform,
DefaultRequestOptions,
FullRequestOptions,
FullResponse,
pullable,
pushable,
queryable,
RequestOptions,
Resettable,
ResponseHints,
syncable,
updatable
} from '@orbit/data';
import { RecordCacheUpdateDetails } from '@orbit/record-cache... | the_stack |
import { EventChannel, LocalEvent } from '@syllepsis/adapter';
import cs from 'classnames';
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { ResizeBox } from '../comp/resizeable';
import { ToolWrapper } from '../comp/toolWrapper';
import { deepCopy } from '../helper';
import {... | the_stack |
'use strict';
import * as vscode from 'vscode';
import * as fs from 'fs-extra';
import * as path from 'path';
import { UserInputUtil } from './UserInputUtil';
import { Reporter } from '../util/Reporter';
import { PackageRegistryEntry } from '../registries/PackageRegistryEntry';
import { VSCodeBlockchainOutputAdapter } ... | the_stack |
import { Injectable } from '@angular/core';
import { CoreError } from '@classes/errors/error';
import { CoreWSError } from '@classes/errors/wserror';
import { CoreSite, CoreSiteWSPreSets } from '@classes/site';
import { CoreCourseCommonModWSOptions } from '@features/course/services/course';
import { CoreCourseLogHelper... | the_stack |
import { postHandler, BodyParsingIncomingMessage } from '../../../api/serviceMessages/postHandler'
import { Criticality, ExternalServiceMessage } from '../../../../lib/collections/CoreSystem'
import { IncomingMessage, ServerResponse } from 'http'
import { Socket } from 'net'
import * as serviceMessagesApi from '../../.... | the_stack |
import requestAnimationFrame from 'raf';
import {
RenderingContext2D
} from './types';
import {
compressSpaces,
toNumbers
} from './util';
import Property from './Property';
import ViewPort from './ViewPort';
import Mouse from './Mouse';
import Document, {
Element,
AnimateElement
} from './Document';
export inter... | the_stack |
import { expect } from "chai";
import { GeometryQuery } from "../../curve/GeometryQuery";
import { LineString3d } from "../../curve/LineString3d";
import { Point3d, Vector3d } from "../../geometry3d/Point3dVector3d";
import { Point3dArray } from "../../geometry3d/PointHelpers";
import { PolygonOps } from "../../geometr... | the_stack |
import first from 'lodash/first';
import last from 'lodash/last';
import findIndex from 'lodash/findIndex';
import findLastIndex from 'lodash/findLastIndex';
import { ActualsTimeseries } from 'api';
import {
ActualsTimeseriesRow,
RegionSummaryWithTimeseries,
MetricsTimeseriesRow,
Metricstimeseries,
Metrics,
... | the_stack |
import { Injector } from "@angular/core";
import { I18nService, ServerError, TelemetryService } from "@batch-flask/core";
import { ListSelection } from "@batch-flask/core/list";
import { Activity, ActivityService, ActivityStatus } from "@batch-flask/ui/activity";
import { DialogService } from "@batch-flask/ui/dialogs";... | the_stack |
import 'fake-indexeddb/auto';
import {
DataStore as DataStoreType,
initSchema as initSchemaType,
} from '../src/datastore/datastore';
import { PersistentModelConstructor } from '../src/types';
import {
Model,
Post,
Comment,
PostComposite,
PostCustomPK,
PostCustomPKSort,
PostCustomPKComposite,
testSchema,
} fr... | the_stack |
import http from "http";
import https from "https";
import express from "express";
const ntlm = require("express-ntlm");
import net from "net";
import bodyParser from "body-parser";
import { pki } from "node-forge";
import { AddressInfo } from "net";
interface ExpressError extends Error {
status?: number;
}
export ... | the_stack |
import { AckMessage, AckFunc, AckPayload, NackPayload } from './ack';
import { ApiTransportBase, MessagePackage, MessageConfiguration } from './api_transport_base';
import { default as RequestHandler } from './base_handler';
import { Endpoint, ActionMap } from '../shapes';
import { Identity, AppObj } from '../../../sha... | the_stack |
import { StyleSetEvaluator } from "@here/harp-datasource-protocol/index-decoder";
import { mercatorProjection, TileKey } from "@here/harp-geoutils";
import { expect } from "chai";
import * as sinon from "sinon";
import { OmvDataAdapter } from "../lib/adapters/omv/OmvDataAdapter";
import { com } from "../lib/adapters/o... | the_stack |
import * as util from '../util';
import * as concat3d_util from './concat3d_util';
import * as conv_util from './conv_util';
import {MatrixOrientation, NDArrayMath} from './math';
import * as ndarray from './ndarray';
import {Array1D, Array2D, Array3D, Array4D, NDArray, Scalar} from './ndarray';
import * as addscaledm... | the_stack |
export const DART_LIBRARIES_FOR_BROWSER_TYPES = new Map(Object.entries({
'HTMLDivElement': 'dart:html',
'NavigatorID': 'dart:html',
'HTMLImageElement': 'dart:html',
'TreeWalker': 'dart:html',
'HTMLTableSectionElement': 'dart:html',
'TextTrackCue': 'dart:html',
'FileEntry': 'dart:html',
'HTMLDetailsEleme... | the_stack |
import AceEditor from "react-ace";
import PropTypes from "prop-types";
import * as React from "react";
import isEqual from "lodash.isequal";
import "brace/ext/searchbox";
import "brace/mode/json";
import "brace/theme/monokai";
import "brace/ext/language_tools";
import { omit } from "../utils/Util";
import JSONUtil fro... | the_stack |
import { FretLabelPosition, Shape, SVGuitarChord } from '../src/svguitar'
import { saveSvg, setUpSvgDom } from './testutils'
const document = setUpSvgDom()
describe('SVGuitarChord', () => {
let container: HTMLElement
let svguitar: SVGuitarChord
beforeEach(() => {
container = document.documentElement
sv... | the_stack |
import React from "react";
import { render, fireEvent } from "@testing-library/react";
import { renderHook } from "@testing-library/react-hooks";
import useLottieInteractivity, {
getContainerVisibility,
getContainerCursorPosition,
useInitInteractivity,
InitInteractivity,
} from "../hooks/useLottieInte... | the_stack |
import { Quaternion } from './quaternion'
import { Matrix } from './matrix'
const f32 = { min: Number.MIN_VALUE, max: Number.MAX_VALUE }
export class Vector3 {
/** Returns a vector with values set to their maximum values. */
public static MAX_VALUE: Vector3 = new Vector3(f32.max, f32.max, f32.max)
/** Ret... | the_stack |
import path from 'path';
import fs from 'fs-extra';
import { cloneDeep } from 'lodash';
import { loadFromPath } from '../../src/fhirdefs/load';
import { FHIRDefinitions } from '../../src/fhirdefs/FHIRDefinitions';
import { StructureDefinition } from '../../src/fhirtypes/StructureDefinition';
import { TestFisher } from ... | the_stack |
import * as fs from "fs";
import { parseString } from "xml2js";
import {
OptionalInputArgument,
OutputArgument,
RequiredInputArgument,
TaFuncApiXml
} from "./ta_func_api.generated";
import G = require("glob");
import { Arguments } from "yargs";
import { createMap } from "monofile-utilities/lib/map";
import { pi... | the_stack |
import { ServiceClient, ServiceClientOptions, ServiceCallback, HttpOperationResponse } from 'ms-rest';
import * as models from "./models";
export default class PredictionAPIClient extends ServiceClient {
/**
* @class
* Initializes a new instance of the PredictionAPIClient class.
* @constructor
*
* @pa... | the_stack |
import { localize } from 'vs/nls';
import { deepClone } from 'vs/base/common/objects';
import { isObject, isArray, assertIsDefined, withUndefinedAsNull, withNullAsUndefined } from 'vs/base/common/types';
import { ICodeEditor, IDiffEditor } from 'vs/editor/browser/editorBrowser';
import { IDiffEditorOptions, IEditorOpti... | the_stack |
import { Grid } from '../../../src/grid/base/grid';
import { Page } from '../../../src/grid/actions/page';
import { Freeze } from '../../../src/grid/actions/freeze';
import { data } from '../base/datasource.spec';
import '../../../node_modules/es6-promise/dist/es6-promise';
import { createGrid, destroy } from '../base/... | the_stack |
import CircleRoundedIcon from '@mui/icons-material/CircleRounded';
import {
Box,
Button,
Container,
Stack,
Tab,
Tabs,
Typography,
} from '@mui/material';
import React, { useEffect } from 'react';
import { KubeconfigBox, FeedbackLink, LogTailerBox } from 'components';
import { GlobalAppState } from 'provi... | the_stack |
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import {Command, flags, CLIError} from '@microsoft/bf-cli-command'
import {Helper, TranslateLine, PARSERCONSTS, Block, TranslateOption, TranslateParts} from '../../utils'
import * as txtfile from 'read-text-file'
import ... | the_stack |
import { TypedEvent, TypedEventBase } from "../events/EventBase";
import { arrayProgress } from "../tasks/arrayProgress";
import type { progressCallback } from "../tasks/progressCallback";
import { assertNever, isArray, isDefined, isFunction, isNullOrUndefined, isNumber, isString } from "../typeChecks";
import type {
... | the_stack |
import { OverlayController } from '@inkline/inkline/controllers';
import { fireEvent } from '@testing-library/vue';
import { keymap } from '@inkline/inkline/constants';
describe('Factories', () => {
describe('OverlayController', () => {
let modalElement: any;
beforeEach(() => {
modalEl... | the_stack |
import * as BN from 'bn.js';
import { HexDataBuffer as HEX } from '../serialization/hex';
import { Base64DataBuffer as B64 } from '../serialization/base64';
/**
* Class used for reading BCS data chunk by chunk. Meant to be used
* by some wrapper, which will make sure that data is valid and is
* matching the desired... | the_stack |
import { TestBed } from '@angular/core/testing';
import { CollectionNode, CollectionNodeBackendDict } from 'domain/collection/collection-node.model';
import { Collection } from 'domain/collection/collection.model';
import { CollectionLinearizerService } from './collection-linearizer.service';
describe('Collection line... | the_stack |
'use strict';
import * as cheerio from 'cheerio';
import { ISong } from "chord/music/api/song";
import { ILyric } from 'chord/music/api/lyric';
import { IAlbum } from "chord/music/api/album";
import { IArtist } from "chord/music/api/artist";
import { ITag } from "chord/music/api/tag";
import { ICollection } from "cho... | the_stack |
import * as assert from 'assert';
import { DODOContext, getDODOContext } from './utils/Context';
import { decimalStr } from './utils/Converter';
import { logGas } from './utils/Log';
let lp: string;
let trader: string;
async function init(ctx: DODOContext): Promise<void> {
await ctx.setOraclePrice(decimalStr("100"... | the_stack |
import fs from 'fs-extra';
import mimeTypes from 'mime-types';
import { basename, dirname, extname, join, relative, resolve } from 'path';
import {
Builder,
BuildResultV2,
BuildResultV3,
File,
FileFsRef,
BuilderV2,
BuilderV3,
Lambda,
PackageJson,
Prerender,
download,
EdgeFunction,
BuildResultB... | the_stack |
export type StringHint = string & { zz_ignore_me?: never };
export type NumberHint = number & { zz_ignore_me?: never };
export type CSSValueGeneral = NumberHint | StringHint;
export type CSSGlobalValues =
| "initial"
| "inherit"
| /** combination of `initial` and `inherit` */ "unset"
| "revert"
|... | the_stack |
import Section from './Section'
const Privacy = () => {
return (
<Section id="privacy-policy" style="bg-gray-600" title="Privacy Policy">
<div className="grid lg:grid-cols-1">
<div className="my-auto gap-10 text-lg">
Effective date: 08/07/2020<br/> <br/><stro... | the_stack |
/* tslint:disable */
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain v8.8.6231.38725 (NJsonSchema v7.7.6231.35489) (http://NSwag.org)
// </auto-generated>
//----------------------
import * as moment from 'moment';
import 'rxjs/Rx';
import {Observable} from 'rxjs/Observable';
... | the_stack |
import { CoreCancellablePromise } from '@classes/cancellable-promise';
import { CoreDomUtils } from '@services/utils/dom';
import { CoreUtils } from '@services/utils/utils';
import { CoreEventObserver } from '@singletons/events';
/**
* Singleton with helper functions for dom.
*/
export class CoreDom {
// Avoid ... | the_stack |
import { CollectionService } from './collection.service';
import { createServiceFactory, SpectatorService, SpyObject } from '@ngneat/spectator';
import { AngularFirestore, SETTINGS } from '@angular/fire/firestore';
import { EntityStore, QueryEntity, StoreConfig, EntityState, ActiveState } from '@datorama/akita';
import... | the_stack |
import React from "react";
import { SelectedNodeActions } from "./SelectedNodeActions";
import { assignIds } from "../Helpers";
import ComponentTypes, { NodeInformation } from "../schema/ComponentTypes";
import Grid from "../Grid";
import Row from "../Row";
import Section from "../Section";
import { Action, IdType, No... | the_stack |
import "./frida"
import { usercall, userpurge } from "./usercall"
export class Symbols {
static map = {
"CharacterManager::GetInstance": {
address: ptr(0x4fa5a0),
returnType: 'pointer',
argTypes: [],
abi: 'mscdecl',
},
"Vehicle::Se... | the_stack |
import { Vector3 } from './Vector3'
import { Sphere } from './Sphere'
import { Plane } from './Plane'
import { Box3 } from './Box3'
import { Matrix4 } from './Matrix4'
const _vector = new Vector3()
const _segCenter = new Vector3()
const _segDir = new Vector3()
const _diff = new Vector3()
const _edge1 = new Vector3()
... | the_stack |
export type PrefixedProps = {
/** @deprecated since 0.4.3 */
_alignContent: string
/** @deprecated since 0.4.3 */
_alignItems: string
/** @deprecated since 0.4.3 */
_alignSelf: string
_alignmentBaseline: string
_all: string
/** @deprecated since 0.4.3 */
_animation: string
/*... | the_stack |
import { Nodes, PhaseFlags } from '../nodes';
import { walkPreOrder } from '../walker';
import { annotations } from '../annotations';
import { UnreachableCode, LysScopeError } from '../NodeError';
import { ParsingContext } from '../ParsingContext';
import { InjectableTypes } from '../types';
import { findParentDelegate... | the_stack |
import {Request, Response} from "express";
import * as mongoose from "mongoose";
import {RetCodes} from "../../base/RetCodes";
import {RouteType, ReqRouter} from "./CgiBase";
import {PostModel} from "../data/BlogModules";
import CgiHelper from "./CgiHelper";
export function postRouter() {
class _ {
sta... | the_stack |
import {
parseHtmlFragment
} from '@tko/utils'
import components from '../dist'
import '@tko/utils/helpers/jasmine-13-helper'
describe('Components: Default loader', function () {
var waitsFor = window.waitsFor
var testComponentName = 'test-component'
afterEach(function () {
components.unregister(testC... | the_stack |
import * as React from "react";
import { Trans, t } from "@lingui/macro";
import { withI18n } from "@lingui/react";
import { RequestUtil } from "mesosphere-shared-reactjs";
import { Modal } from "reactjs-components";
import { Link } from "react-router";
import ModalHeading from "#SRC/js/components/modals/ModalHeading... | the_stack |
import * as React from 'react';
import { useCallback, useEffect, useState } from 'react';
import { ConcordId, ConcordKey, RequestError } from '../../../api/common';
import { Button, Container, Divider, Form, Loader, Menu, Table } from 'semantic-ui-react';
import { FindUserField2, RequestErrorActivity } from '../../org... | the_stack |
import { GraphQLResolveInfo, GraphQLSchema } from 'graphql'
import { IResolvers } from 'graphql-tools/dist/Interfaces'
import { Options } from 'graphql-binding'
import { makePrismaBindingClass, BasePrismaOptions } from 'prisma-binding'
export interface Query {
phoneNumbers: <T = PhoneNumber[]>(args: { where?: Phon... | the_stack |
interface AVAudio3DAngularOrientation {
yaw: number;
pitch: number;
roll: number;
}
declare var AVAudio3DAngularOrientation: interop.StructType<AVAudio3DAngularOrientation>;
interface AVAudio3DMixing extends NSObjectProtocol {
obstruction: number;
occlusion: number;
pointSourceInHeadMode: AVAudio3DMixingPoint... | the_stack |
import fs from 'fs'
import assert from 'assert'
import Network from '../../src/service/network'
import config from '../../src/config'
import Config from '../../src/service/config'
import { NetworkCreateType } from '../../src/model/type/network.type'
describe('Network service:', function () {
this.timeout(10000)
l... | the_stack |
//@ts-check
///<reference path="devkit.d.ts" />
declare namespace DevKit {
namespace Formmsdyn_workorderservicetask_Information {
interface tab_tab_6_Sections {
tab_6_section_1: DevKit.Controls.Section;
}
interface tab_tab_7_Sections {
tab_7_section_1: DevKit.Controls.Section;
}
interface tab_tab_6 ex... | the_stack |
import {
WebDNNWebGLContext,
WebGLUniformItem,
} from "../../../../interface/backend/webgl/webglContext";
import { WebGLTensor } from "../../../../interface/backend/webgl/webglTensor";
import { OperatorEntry } from "../../../../interface/core/operator";
import { Tensor } from "../../../../interface/core/tensor";
im... | the_stack |
import uuid from 'uuid';
import { nodeRevise } from './utils/schema-utils';
import { objectReadOnly, deepClone, hasOwnProperty, evaluateSelector, createShadow } from './utils/common-utils';
import SchemaTree from './SchemaTree';
import EventEmitter from './Event';
import Watcher from './Watcher';
import TaskQueue from ... | the_stack |
import * as vscode from "vscode";
import { exec } from "child_process";
import * as fs from "fs";
import * as path from "path";
import * as os from "os";
import opn from './open';
import { browserConfig } from './browser';
const through = require("through2");
const minimatch = require('minimatch');
import { sassLoade... | the_stack |
import { EventEmitter } from "./event"
import { UIInput } from "./ui-input"
import { UIRangeInputInit } from "../common/messages"
import { dlog, hostEnv } from "./util"
import { config } from "./config"
export { UIRangeInputInit }
const captureEvent = {passive:false,capture:true}
interface UIRangeInputEvents {
"i... | the_stack |
import crypto from "crypto";
import { Injectable, forwardRef, Inject } from "@nestjs/common";
import { InjectRepository, InjectConnection } from "@nestjs/typeorm";
import { Repository, Connection, Like, MoreThan, EntityManager } from "typeorm";
import { escapeLike } from "@/database/database.utils";
import { LockSer... | the_stack |
import {ActionManager} from "./ActionManager";
import {NameManager } from './NameManager';
const LITERAL_TYPES = {
string: "lit",
number: "num",
function: "fun",
boolean: "bool",
StringLiteral: "lit",
NumericLiteral: "num",
Identifier: "iden",
BooleanLiteral: "bool"
};
const DECLARATIO... | the_stack |
import EventTarget from '../../polyfillLoaders/EventTarget.js';
import {Layout, Positions, ScrollDirection, Size, dimension, position} from './Layout.js';
type UpdateVisibleIndicesOptions = {
emit?: boolean
}
export interface BaseLayoutConfig {
direction?: ScrollDirection
}
export function dim1(direction: Scroll... | the_stack |
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type TrackOrderSectionTestsQueryVariables = {};
export type TrackOrderSectionTestsQueryResponse = {
readonly commerceOrder: {
readonly internalID: string;
readonly " $fragmentRefs": FragmentRefs<"Tr... | the_stack |
namespace ts {
interface TestProjectSpecification {
configFileName?: string;
references?: ReadonlyArray<string | ProjectReference>;
files: { [fileName: string]: string };
outputFiles?: { [fileName: string]: string };
config?: object;
options?: Partial<CompilerO... | the_stack |
import * as GeoJSON from "geojson";
// Note: Terraformer module exports namespace so it can be augmented by
// terraformer-wkt-parser and potentially others
export as namespace Terraformer;
// Export Terraformer for AMD require
export = Terraformer;
declare namespace Terraformer {
export interface Envelope {
x... | the_stack |
import { actions$, configureStore, createFeatureStore } from '../store';
import StoreCore from '../store-core';
import { Action, Reducer, StoreExtension } from '../models';
import { createFeatureSelector, createSelector } from '../selector';
import { Observable, of } from 'rxjs';
import { ofType } from '../utils';
impo... | the_stack |
import { test } from '@japa/runner'
import { ApplicationContract } from '@ioc:Adonis/Core/Application'
import { Connection } from '../../src/Connection'
import { QueryClient } from '../../src/QueryClient'
import { TransactionClient } from '../../src/TransactionClient'
import { fs, setup, cleanup, getConfig, resetTable... | the_stack |
import { TestBed } from '@angular/core/testing';
import { ParamChangeObjectFactory } from
'domain/exploration/ParamChangeObjectFactory';
import { StateObjectFactory } from 'domain/state/StateObjectFactory';
import { EventEmitter } from '@angular/core';
// TODO(#7222): Remove usage of importAllAngularServices once up... | the_stack |
import RandomGen5Teams from '../gen5/random-teams';
import {Utils} from '../../../lib';
import {toID} from '../../../sim/dex';
import {PRNG} from '../../../sim';
import type {MoveCounter} from '../../random-teams';
// These moves can be used even if we aren't setting up to use them:
const SetupException = ['dracomete... | the_stack |
import * as assert from 'assert';
import { expect } from 'chai';
import * as TypeMoq from 'typemoq';
import { Disposable, Terminal, Uri } from 'vscode';
import { IActiveResourceService, ICommandManager, IWorkspaceService } from '../../client/common/application/types';
import { Commands } from '../../client/common/const... | the_stack |
import {
applyBindings
} from '@tko/bind'
import {
observable, observableArray
} from '@tko/observable'
import {
DataBindProvider
} from '@tko/provider.databind'
import {
options
} from '@tko/utils'
import {
bindings as templateBindings,
renderTemplate,
anonymousTemplate
} from '../dist'
i... | the_stack |
import {Connection} from "../connection/Connection";
import {ObjectLiteral} from "../common/ObjectLiteral";
import {QueryRunner} from "../query-runner/QueryRunner";
import {RelationMetadata} from "../metadata/RelationMetadata";
/**
* Wraps entities and creates getters/setters for their relations
* to be able to lazi... | the_stack |
import {
browserVersion,
isChrome,
isMobile
} from '@/ts/utils/runtimeConsts';
import { sub } from '@/ts/instances/subInstance';
import Subscription from '@/ts/classes/Subscription';
import {
CallsInfoModel,
IncomingCallModel
} from '@/ts/types/model';
import {
BooleanIdentifier,
JsAudioAnalyzer,
MediaI... | the_stack |
import {
prefix, triggerEvent, fillParams,
calculatePosition, fillEndParams, getRotationRad, getRefTargets,
} from "../utils";
import {
IObject, hasClass, getRad,
throttle,
} from "@daybrush/utils";
import {
RotatableProps, OnRotateGroup, OnRotateGroupEnd,
Renderer, OnRotateGroupStart, OnRotateS... | the_stack |
* @packageDocumentation
* @hidden
*/
/* eslint-disable import/no-mutable-exports */
/* eslint-disable @typescript-eslint/restrict-template-expressions */
/* eslint-disable @typescript-eslint/no-unsafe-return */
import { EDITOR, TEST } from 'internal:constants';
import { legacyCC } from '../../core/global-exports';
i... | the_stack |
module android.app{
import AndroidUI = androidui.AndroidUI;
import View = android.view.View;
import ViewGroup = android.view.ViewGroup;
import ViewRootImpl = android.view.ViewRootImpl;
import KeyEvent = android.view.KeyEvent;
import Animation = android.view.animation.Animation;
import FrameL... | the_stack |
import { ChangeDetectorRef, NgZone } from '@angular/core';
import { async, ComponentFixture, inject, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { Store } from '@ngrx/store';
import { createBasicStoreModule } from '@stratosui/store/testing'... | the_stack |
import {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';
import {Platform, _getShadowRoot} from '@angular/cdk/platform';
import {ViewportRuler} from '@angular/cdk/scrolling';
import {DOCUMENT} from '@angular/common';
import {
ChangeDetectionStrategy,
Component,
ElementRef,
Inject,
InjectionTok... | the_stack |
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
import {
AssociateAdminAccountCommand,
AssociateAdminAccountCommandInput,
AssociateAdminAccountCommandOutput,
} from "./commands/AssociateAdminAccountCommand";
import {
DeleteAppsListCommand,
DeleteAppsListCommandInput,
DeleteApps... | the_stack |
import {PipelineValidationService} from "../../services/pipeline-validation.service";
import {JsplumbService} from "../../services/jsplumb.service";
import {PipelineEditorService} from "../../services/pipeline-editor.service";
import {JsplumbBridge} from "../../services/jsplumb-bridge.service";
import {ShepherdService}... | the_stack |
import { Directive, OnInit } from '@angular/core';
import { AbstractControl, FormGroup, ValidatorFn } from '@angular/forms';
// Third party imports
import { distinctUntilChanged, takeUntil } from 'rxjs/operators';
import { Subject } from 'rxjs';
// App imports
import { AppEdition } from 'src/app/shared/constants/brandi... | the_stack |
import {Annotation, AnnotationId, AnnotationPropertySerializer, AnnotationPropertySpec, AnnotationReference, AnnotationSourceSignals, AnnotationType, annotationTypeHandlers, annotationTypes, fixAnnotationAfterStructuredCloning, makeAnnotationId, SerializedAnnotations} from 'neuroglancer/annotation';
import {ANNOTATION_... | the_stack |
import { RepresentationRegistry } from '../globals'
import { defaults } from '../utils'
import StructureRepresentation, { StructureRepresentationParameters, StructureRepresentationData } from './structure-representation'
import MolecularSurface, { MolecularSurfaceParameters } from '../surface/molecular-surface'
import ... | the_stack |
import _ from 'lodash';
import { getCLIPath, getSocialProviders, KEY_DOWN_ARROW, KEY_UP_ARROW, nspawn as spawn, setTransformerVersionFlag } from '..';
export type AddAuthUserPoolOnlyNoOAuthSettings = {
resourceName: string;
userPoolName: string;
};
export type AddAuthUserPoolOnlyWithOAuthSettings = AddAuthUserPoo... | the_stack |
import * as Path from 'path'
import * as fileSystem from '../../lib/file-system'
import { getBlobContents } from './show'
import { Repository } from '../../models/repository'
import {
WorkingDirectoryFileChange,
FileChange,
AppFileStatusKind,
} from '../../models/status'
import {
DiffType,
IRawDiff,
IDiff... | the_stack |
* @fileoverview Serialized representation of the changes in a repository
*/
import isObject from "lodash/isObject";
import isString from "lodash/isString";
import cloneDeep from "lodash/cloneDeep";
import isEmpty from "lodash/isEmpty";
import extend from "lodash/extend";
import each from "lodash/each";
//@ts-ignore
... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.