text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import { logError } from "@codestream/webview/logger";
import { Link } from "@codestream/webview/Stream/Link";
import React, { useState, useEffect, useMemo } from "react";
import { FormattedMessage } from "react-intl";
import { useDispatch, useSelector } from "react-redux";
import { CodeStreamState } from "../store";
i... | the_stack |
import { NetworkOrSignerOrProvider, TransactionResult } from "../types";
import { SDKOptions } from "../../schema/sdk-options";
import { IStorage } from "../interfaces";
import { RPCConnectionHandler } from "./rpc-connection-handler";
import {
BigNumber,
BytesLike,
constants,
ContractInterface,
ethers,
util... | the_stack |
import { runQuery } from "schema/v2/test/utils"
import { toGlobalId } from "graphql-relay"
import gql from "lib/gql"
import sinon from "sinon"
describe("artworksConnection", () => {
let context
describe(`Provides filter results`, () => {
beforeEach(() => {
context = {
authenticatedLoaders: {},
... | the_stack |
import React from 'react';
import { render } from '@test/utils';
import { Table, BaseTable, PrimaryTable, EnhancedTable } from '..';
const data = new Array(5).fill(null).map((item, index) => ({
id: index + 100,
index: index + 100,
instance: `JQTest${index + 1}`,
status: index % 2,
owner: 'jenny;peter',
des... | the_stack |
import 'isomorphic-form-data';
import { fetch } from 'cross-fetch';
namespace Models {
/**
* Documents List
*/
export type DocumentList<Document extends Models.Document> = {
/**
* Total number of items available on the server.
*/
sum: number;
/**
* L... | the_stack |
import React from 'react';
import classnames from 'classnames';
import {
MDCTextFieldAdapter,
MDCTextFieldRootAdapter,
MDCTextFieldLabelAdapter,
MDCTextFieldInputAdapter,
MDCTextFieldOutlineAdapter,
MDCTextFieldLineRippleAdapter,
} from '@material/textfield/adapter';
import {MDCTextFieldFoundation} from '@m... | the_stack |
import expressions = require('../src/expression');
import Json = require('source-processor');
function translationTestCase(from:string, to:string, functions: expressions.Functions, test:nodeunit.Test){
var expr = expressions.Expression.parse(from);
var symbols:expressions.Symbols = new expressions.Symbols();
... | the_stack |
import BigNumber from 'bignumber.js';
import { isAddress } from '@parity/abi/lib/util/address';
import { isInstanceOf } from '@parity/abi/lib/util/types';
import { Block, Receipt } from '../types';
import {
outBlock,
outAccountInfo,
outAddress,
outChainStatus,
outDate,
outHistogram,
outHwAccountInfo,
o... | the_stack |
import { BN } from 'ethereumjs-util';
import { mocked } from 'ts-jest/utils';
import { when } from 'jest-when';
import { query, fromHex, toHex } from '../util';
import fetchBlockFeeHistory from './fetchBlockFeeHistory';
jest.mock('../util', () => {
return {
...jest.requireActual('../util'),
__esModule: true,... | the_stack |
import { default as Resolver, ComponentResolution, ComponentLocator } from './resolver';
import type { ASTv1 } from '@glimmer/syntax';
// This is the AST transform that resolves components and helpers at build time
// and puts them into `dependencies`.
export function makeResolverTransform(resolver: Resolver) {
func... | the_stack |
import React, { FC, useState } from 'react';
import styles from './table.module.css';
export interface TableHeaderCell {
label: string;
key: string;
sortable?: boolean;
width?: string;
// This is just a render prop allowing the consumer to put custom markup for the row cell
// https://reactjs.org/docs/rend... | the_stack |
* @file User interface for display and editing annotations.
*/
import './annotations.css';
import {Annotation, AnnotationId, AnnotationPropertySerializer, AnnotationReference, AnnotationSource, annotationToJson, AnnotationType, annotationTypeHandlers, AxisAlignedBoundingBox, Ellipsoid, formatNumericProperty, Line} f... | the_stack |
import {litLocalizeTransform} from '../modes/transform.js';
import ts from 'typescript';
import {Message, makeMessageIdMap} from '../messages.js';
import {test} from 'uvu';
// eslint-disable-next-line import/extensions
import * as assert from 'uvu/assert';
import prettier from 'prettier';
import {
compileTsFragment,
... | the_stack |
/// <reference path="metricsPlugin.ts"/>
/// <reference path="../../includes.ts"/>
/// <reference path="services/alertsManager.ts"/>
/// <reference path="services/errorsManager.ts"/>
module HawkularMetrics {
/* tslint:disable:variable-name */
export class AlertSetupController {
public static $inject = ['$sc... | the_stack |
import * as path from 'path';
import fs from 'fs-extra';
import chai, { expect } from 'chai';
import Helper from '../../src/e2e-helper/e2e-helper';
import * as fixtures from '../../src/fixtures/fixtures';
import NpmCiRegistry, { supportNpmCiRegistryTesting } from '../npm-ci-registry';
import { componentIssuesLabels } f... | the_stack |
// The MIT License (MIT)
//
// vs-deploy (https://github.com/mkloubert/vs-deploy)
// Copyright (c) Marcel Joachim Kloubert <marcel.kloubert@gmx.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// ... | the_stack |
import { module, test } from 'qunit';
import { setupApplicationTest } from 'ember-qunit';
import { setupMirage } from 'ember-cli-mirage/test-support';
import { MirageTestContext } from 'ember-cli-mirage/test-support';
import sinon from 'sinon';
import WorkflowPersistence from '@cardstack/web-client/services/workflow... | the_stack |
interface Array<T> {
$remove(item: T): Array<T>;
$set(index: any, val: T): T;
}
declare namespace vuejs {
interface PropOption {
type?: { new (...args: any[]): any; };
required?: boolean;
default?: any;
twoWay?: boolean;
validator?(value: any): boolean;
coer... | the_stack |
import * as assert from "assert";
import { isValidJSON, JSON2CSV } from "../../views/partition-table/util";
import { CSV2JSON } from "../../views/partition-table/util";
import * as vscode from "vscode";
import { stringify } from "querystring";
import { PartitionTable } from "../../views/partition-table/store";
import {... | the_stack |
import { Quad, NamedNode, Quad_Object } from "@rdfjs/types";
import {
addRdfJsQuadToDataset,
DataFactory,
getChainBlankNodes,
toRdfJsQuads,
} from "../rdfjs.internal";
import { ldp, pim } from "../constants";
import { getJsonLdParser } from "../formats/jsonLd";
import { triplesToTurtle, getTurtleParser } from "... | the_stack |
module BABYLON {
@className("Group2D", "BABYLON")
/**
* A non renderable primitive that defines a logical group.
* Can also serve the purpose of caching its content into a bitmap to reduce rendering overhead
*/
export class Group2D extends Prim2DBase {
static GROUP2D_PROPCOUNT: numbe... | the_stack |
namespace SchemeDesigner {
/**
* Event manager
* @author Nikitchenko Sergey <nikitchenko.sergey@yandex.ru>
*/
export class EventManager {
/**
* Scheme object
*/
protected scheme: Scheme;
/**
* Is dragging
*/
protected isDragging... | the_stack |
import { List, Map, Record } from 'immutable';
import { Range } from 'pyright-internal/common/textRange';
import { ParseNode } from 'pyright-internal/parser/parseNodes';
import { ThStmt, TSFunDef, TSPass } from '../frontend/torchStatements';
import { fetchAddr } from './backUtils';
import { Context } from './context'... | the_stack |
import {extend, bindFunctions} from "../common/common";
import {isFunction, isString, isDefined, isArray} from "../common/predicates";
import {UrlMatcher} from "./module";
import {services} from "../common/coreservices";
import {UrlMatcherFactory} from "./urlMatcherFactory";
import {StateParams} from "../params/statePa... | the_stack |
import { expect } from "chai";
import { ReactionHandler } from "../src/reactionhandler";
import { RedactionEvent } from "@sorunome/matrix-bot-sdk";
// we are a test file and thus our linting rules are slightly different
// tslint:disable:no-unused-expression max-file-line-count no-any no-magic-numbers no-string-litera... | the_stack |
namespace gdjs {
import PIXI = GlobalPIXIModule.PIXI;
class PanelSpriteRuntimeObjectPixiRenderer {
_object: gdjs.PanelSpriteRuntimeObject;
/**
* The _wrapperContainer must be considered as the main container of this object
* All transformations are applied on this container
* See updateOpacit... | the_stack |
import {
TemplateRef,
Injectable,
Injector,
OnDestroy,
Type,
StaticProvider,
InjectFlags,
Inject,
Optional,
SkipSelf,
} from '@angular/core';
import {BasePortalOutlet, ComponentPortal, TemplatePortal} from '@angular/cdk/portal';
import {of as observableOf, Observable, Subject, defer} from 'rxjs';
im... | the_stack |
import go = require("go");
class CustomLink extends go.Link {
constructor() {
super();
this.routing = go.Link.Orthogonal;
}
hasCurviness(): boolean {
if (isNaN(this.curviness)) return true;
return super.hasCurviness();
}
computeCurviness(): number {
if (is... | the_stack |
import { deepStrictEqual, strictEqual, throws } from 'assert';
import { Terminal } from 'headless/public/Terminal';
let term: Terminal;
describe('Headless API Tests', function(): void {
beforeEach(() => {
// Create default terminal to be used by most tests
term = new Terminal();
});
it('Default options... | the_stack |
import { all, DI, IContainer, ignore, IRegistry, optional, Registration } from './di.js';
import { bound, toLookup } from './functions.js';
import { Class, Constructable } from './interfaces.js';
import { getAnnotationKeyFor } from './resource.js';
import { Metadata } from '@aurelia/metadata';
import { IPlatform } from... | the_stack |
* @fileoverview Unit tests for ThumbnailUploaderComponent.
*/
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { NO_ERRORS_SCHEMA, SimpleChanges } from '@angular/core';
import { ComponentFixture, fakeAsync, TestBed, tick, waitForAsync } from '@angular/core/testing';
import { NgbModal, Ng... | the_stack |
import { ObjectMap } from '@0x/types';
import { DataItem, RevertErrorAbi } from 'ethereum-types';
import * as ethUtil from 'ethereumjs-util';
import * as _ from 'lodash';
import { inspect } from 'util';
import * as AbiEncoder from './abi_encoder';
import { BigNumber } from './configured_bignumber';
// tslint:disable:... | the_stack |
import express, { NextFunction, Request, Response } from 'express';
import { ConduitCommons, ConduitRoute } from '@conduitplatform/commons';
import { GraphQlParser, ParseResult } from './GraphQlParser';
import { findPopulation } from './utils/TypeUtils';
import { GraphQLJSONObject } from 'graphql-type-json';
import { G... | the_stack |
import { EOL } from 'os'
import { Message, RECORD_ACTION, PRESENCE_ACTION, EVENT_ACTION, RPC_ACTION, RecordData, TOPIC, RecordWriteMessage } from '../../../constants'
import { PermissionCallback, ValveConfig, SocketWrapper, DeepstreamConfig, DeepstreamServices, NamespacedLogger, EVENT } from '@deepstream/types'
import ... | the_stack |
import Page = require('../../../../base/Page');
import Response = require('../../../../http/response');
import V1 = require('../../V1');
import { SerializableClass } from '../../../../interfaces';
type ParticipantConversationState = 'inactive'|'active'|'closed';
/**
* Initialize the ParticipantConversationList
*
*... | the_stack |
import { LibraryInfo, MinecraftFolder, MinecraftLocation, Version as VersionJson } from "@xmcl/core";
import { parse as parseForge } from "@xmcl/forge-site-parser";
import { Task, task } from "@xmcl/task";
import { filterEntries, open, openEntryReadStream, readEntry } from "@xmcl/unzip";
import { createWriteStream } fr... | the_stack |
'use strict';
import { Logger, LogLevel } from 'chord/platform/log/common/log';
import { filenameToNodeName } from 'chord/platform/utils/common/paths';
const loggerWarning = new Logger(filenameToNodeName(__filename), LogLevel.Warning);
import { sleep } from 'chord/base/common/time';
import { ok } from 'chord/base/com... | the_stack |
import * as React from 'react';
import styles from './AllLinks.module.scss';
import { IAllLinksProps } from './IAllLinksProps';
import { IAllLinksState, Link, User, LinkType, ILink, ICategory } from './IAllLinksState';
import { Icon } from 'office-ui-fabric-react/lib/Icon';
import { Button, DefaultButton } from 'office... | the_stack |
import {
BATCH_READ_ITEMS_LIMIT,
BATCH_WRITE_ITEMS_LIMIT,
InvalidBatchWriteItemError,
TRANSFORM_BATCH_TYPE,
} from '@typedorm/common';
import {DocumentClient} from 'aws-sdk/clients/dynamodb';
import {v4} from 'uuid';
import {getHashedIdForInput} from '../../helpers/get-hashed-id-for-input';
import {ReadBatch, R... | the_stack |
import { taskEither, TaskEither } from "fp-ts/lib/TaskEither"
import { right } from "fp-ts/lib/Either"
import { LeftType } from "./rfsTaskEither"
import { types } from "util"
export const isString = (x: any): x is string => typeof x === "string"
export const isNumber = (x: any): x is number => typeof x === "number"
ex... | the_stack |
// clang-format off
import 'chrome://settings/lazy_load.js';
import {webUIListenerCallback} from 'chrome://resources/js/cr.m.js';
import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import {SecureDnsInputElement, ... | the_stack |
import * as protos from '../../protos/locations';
import * as assert from 'assert';
import * as sinon from 'sinon';
import {SinonStub} from 'sinon';
import {describe, it} from 'mocha';
import {LocationsClient} from '../../src/locationService';
import {GrpcClient} from '../../src/grpc';
import * as protobuf from 'proto... | the_stack |
import {
selectAllWidgetsInAreaAction,
setCanvasSelectionStateAction,
} from "actions/canvasSelectionActions";
import { throttle } from "lodash";
import React, { useEffect, useCallback, useRef } from "react";
import { useDispatch, useSelector } from "react-redux";
import { AppState } from "reducers";
import { APP_M... | the_stack |
import type { Patch } from 'immer';
import { EthereumRpcError, ethErrors } from 'eth-rpc-errors';
import { nanoid } from 'nanoid';
import { BaseController, Json } from '../BaseControllerV2';
import type { RestrictedControllerMessenger } from '../ControllerMessenger';
const controllerName = 'ApprovalController';
type... | the_stack |
'use strict';
import * as crypto from 'crypto';
import { SimpleCallback, StringCallback, AuthRequest, TokenRequest, OAuth2Request, AccessToken, AccessTokenCallback } from '../common/types';
import { WickedApplication, WickedClientType, WickedSubscription, KongApi, WickedApi, Callback } from 'wicked-sdk';
const { debug... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
import * as utilities from "../utilities";
/**
* Logs-based metric can also be used to extract values from logs and create a a distribution
* of the values. The distribution records the statistics of the extracte... | the_stack |
import { Point, PolyPoints } from "../common-types";
import { isTruthy } from "../utils";
import { GridMap, TileWalkableTest } from "./grid-map";
import { PointQueue } from "./point-queue";
import { RectangleHull } from "./rectangle-hull";
type CardinalDirection = "top" | "bottom" | "left" | "right";
/**
* This pars... | the_stack |
import * as THREE from 'three';
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
import { GLTFLoader, GLTF } from 'three/examples/jsm/loaders/GLTFLoader.js';
import { DRACOLoader } from 'three/examples/jsm/loaders/DRACOLoader.js';
import { RGBELoader } from 'three/examples/jsm/loaders/RGBE... | the_stack |
'use strict';
import * as jsonc from 'jsonc-parser';
import * as path from 'path';
import * as vscode from 'vscode';
import { ICodeDeployer, IExecuteAPI, IExternalAPI, IPreferencesAPI } from 'vscode-wpilibapi';
import { getIsWindows, gradleRun, readFileAsync } from '../utilities';
import { IDebugCommands, startDebuggi... | the_stack |
import { Range, Point, TextBuffer, TextEditor } from 'atom'
import { delimiter, sep, extname } from 'path'
import * as Temp from 'temp'
import * as FS from 'fs'
import * as CP from 'child_process'
import { EOL } from 'os'
import { getRootDirFallback, getRootDir, isDirectory } from 'atom-haskell-utils'
import { RunOptio... | the_stack |
import {
Rect,
RefLineMeta,
MatchedLine,
LineType,
LineGroup,
RefLinePosition,
Delta,
AdsorbLine,
AdsorbVLine,
AdsorbHLine,
} from "./types";
import {
toNumber as fixNumber,
getRectRefLines,
getBoundingRect,
groupBy,
find,
getLineTypeFromPosition,
mergeRefLineMeta,
getMatchedLine,
... | the_stack |
import {
Component,
ContentChildren,
ElementRef,
EventEmitter,
Input,
NgModule,
Output,
QueryList,
Renderer2,
Type,
ViewChild,
Directive,
NgZone,
ChangeDetectionStrategy,
Injector
} from "@angular/core";
import {CommonModule} from "@angular/common";
import {Tr... | the_stack |
import { OnInit, AfterViewInit } from '@angular/core';
import { Component } from '@angular/core';
import { ScriptLoaderService } from '../../../../_services/script-loader.service';
import { Ajax } from '../../../../shared/ajax/ajax.service';
declare let $: any;
declare let toastr: any;
declare let swal: any;
@Componen... | the_stack |
import F6 from '../../src';
import TreeGraph from '../../src/extends/graph/treeGraph';
import Algorithm from '@antv/algorithm';
import { isNumber } from '@antv/util';
F6.registerGraph('TreeGraph', TreeGraph);
const div = document.createElement('div');
div.id = 'container';
document.body.appendChild(div);
F6.register... | the_stack |
declare const Slick: any;
export class GridOption {
/* tslint:disable:variable-name function-name */
private _dualSelectionActivate: boolean = false;
/**
* CellExternalCopyManager 플러그인 사용 여부
* - 그리드 드래그 셀 선택 기능 ( 엑셀 복사 붙여기 )
* 해당 기능은 로우 선택 기능과 동시에 사용할 수 없기때문에 해당 기능을 활성화하면 클릭 이벤트가 동작하지 않는다
*/
... | the_stack |
import { ExecutionResult, SourceLocation } from "graphql";
import { take } from "rxjs/operators";
import StarWarsSchema from "./starWarsSchema";
import { graphql as graphqlObservable } from "../../";
const graphql = (schema, query, rootValue?, contextValue?, variableValues?) => {
return new Promise(resolve => {
... | the_stack |
import { Grammar } from "atom";
import { ChildProcess } from "child_process";
import fs from "fs";
import { Message, Socket } from "@aminya/jmp";
import { v4 } from "uuid";
import { launchSpec, launchSpecFromConnectionInfo } from "spawnteract";
import Config from "./config";
import KernelTransport from "./kernel-transp... | the_stack |
import utils from '@/pages/DataGraph/Common/utils.js';
import { deepClone } from '@/common/js/Utils.ts';
import DataTable from '@/pages/datamart/common/components/DataTable.vue';
import { Component, Prop, Ref, Watch } from 'vue-property-decorator';
import { ICalculationAtomsResults } from '../../Interface/indexDesign';... | the_stack |
import AnchoredDataSerializer from '../../lib/core/versions/latest/AnchoredDataSerializer';
import ErrorCode from '../../lib/core/versions/latest/ErrorCode';
import ITransactionStore from '../../lib/core/interfaces/ITransactionStore';
import JasmineSidetreeErrorValidator from '../JasmineSidetreeErrorValidator';
import ... | the_stack |
//
// Copyright (C) Microsoft. All rights reserved.
//
/// <reference path="Interfaces.d.ts"/>
module EdgeDiagnosticsAdapter {
"use strict";
/**
* Class that synchronously iterates through a CSS document and constructs a list of ICssMediaQuery and ICssRuleset objects.
* The private members in this... | the_stack |
import * as i18n from "i18next";
import * as moment from "moment";
import * as React from "react";
import ContentEditable = require("react-contenteditable");
import { PermissionKind } from "sp-pnp-js";
import { DiscussionPermissionLevel, IDiscussionReply } from "../../../models/IDiscussionReply";
import IDiscussionRepl... | the_stack |
import React from 'react';
import { Story, Meta } from '@storybook/react';
import { CodeBlock } from '@zendeskgarden/react-typography';
import { Col, Grid, Row } from '@zendeskgarden/react-grid';
import { Language } from 'prism-react-renderer';
const CODE: Record<string, string> = {
bash: `
#!/bin/sh
# Exports.
ex... | the_stack |
"use strict";
import * as fs from "fs";
import {
CancellationToken,
ConfigurationChangeEvent,
Disposable,
Hover,
HoverProvider,
Position,
TextDocument,
TextEditor,
TextEditorDecorationType,
window
} from "vscode";
import * as vscode from "vscode";
import { CodeStreamDiffUriData } from "@codestream/protocols/... | the_stack |
import difference from 'lodash/difference';
import {
DataTypeConfig, ReadonlyDataTypeConfig,
Maybe, SortOrder, FieldType,
DataTypeFields, DataTypeFieldConfig,
xLuceneVariables,
} from '@terascope/types';
import { Node as xLuceneNode } from 'xlucene-parser';
import {
DataEntity, TSError,
getTypeO... | the_stack |
import { MEDIA_QUERIES, SPACING_MAP, SPACING_MAP_INDEX, SPACING_POINTS, WIDTHS } from '@govuk-react/constants';
import * as spacing from '.';
describe('spacing lib', () => {
describe('simple', () => {
it('returns spacing values from the spacing scale', () => {
Object.keys(SPACING_POINTS).forEach((key) => ... | the_stack |
import * as chai from 'chai';
import * as chaiAsPromied from 'chai-as-promised';
import { ChaincodeStub } from 'fabric-shim';
import * as sinon from 'sinon';
import * as sinonChai from 'sinon-chai';
import { VehicleManufactureNetContext } from '../utils/context';
import { HistoricState, State } from './state';
import {... | the_stack |
import {assert} from 'chai';
import * as fileIO from '../file-io';
let readFile = fileIO.readFile;
import * as logger from '../logger';
import * as ast from '../ast';
import * as bolt from '../bolt';
import * as helper from './test-helper';
import {samples} from './sample-files';
let parser = require('../rules-parser'... | the_stack |
import { APIEvent, Categories } from 'homebridge'; // enum
import type {
API,
Characteristic,
DynamicPlatformPlugin,
Logging,
PlatformAccessory,
PlatformConfig,
Service,
WithUUID,
} from 'homebridge';
import chalk from 'chalk';
import { satisfies } from 'semver';
import { Client } from 'tplink-smarthom... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Topics } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { ServiceBusManagementClient } from "../serviceBus... | the_stack |
import * as fs from "fs";
import * as path from "path";
import { assert } from "chai";
import parse from "csv-parse/lib/sync";
import * as helper from "./helper/index";
import { PostcodesioHttpError } from "../src/app/lib/errors";
const seedFilePath = path.resolve(__dirname, "./seed/postcode.csv");
const Postcode = hel... | the_stack |
import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core';
import { HttpClient } from "@angular/common/http";
import { PenguinService } from 'src/app/service/penguin.service';
import { SelectedService } from 'src/app/service/selected.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxj... | the_stack |
import { BitcoinProtocol } from '../../../src'
import { IACMessageDefinitionObject } from '../../../src/serializer/message'
import { SignedBitcoinTransaction } from '../../../src/serializer/schemas/definitions/signed-transaction-bitcoin'
import { RawBitcoinTransaction } from '../../../src/serializer/types'
import { Air... | the_stack |
import React from 'react';
import {StreamEvent} from '../../Event/StreamEvent';
import {IssueRepo} from '../../Repository/IssueRepo';
import {IssueEvent} from '../../Event/IssueEvent';
import {UserPrefRepo} from '../../Repository/UserPrefRepo';
import {StreamPolling} from '../../Repository/Polling/StreamPolling';
impor... | the_stack |
import {
common,
ContractParameterTypeJSON,
scriptHashToAddress,
StorageItem,
StorageItemJSON,
} from '@neo-one/client-common';
import { Modifiable } from '@neo-one/utils';
import { toArray } from '@reactivex/ix-es2015-cjs/asynciterable/toarray';
import { data, factory, keys, verifyDataProvider as verify } fr... | the_stack |
import * as db from '../util/db';
export type SchemaKindType = 'primary'|'app'|'category'|'discovery'|'other';
export interface Row {
id : number;
kind : string;
kind_type : SchemaKindType;
owner : number;
developer_version : number;
approved_version : number|null;
kind_canonical : string;... | the_stack |
import sinon from 'sinon';
import { expect } from 'chai';
import { factory, testInjector } from '@stryker-mutator/test-helpers';
import { CompleteDryRunResult } from '@stryker-mutator/api/test-runner';
import { Mutant, MutantStatus, MutantTestCoverage } from '@stryker-mutator/api/core';
import { Reporter } from '@stryk... | the_stack |
import { AdaptElement, AdaptMountedElement, AnyProps, Handle, isElement, isHandle, isMountedElement, useState } from "@adpt/core";
import * as yaml from "js-yaml";
import ld from "lodash";
import * as util from "util";
import { DockerSplitRegistryInfo } from "../docker";
import { EnvSimple, mergeEnvSimple } from "../en... | the_stack |
import SObject from '../Core/SObject';
import {Vector3, Quaternion} from '../Core/Math';
import RigidBodyComponent, {IRigidBodyComponentState} from '../Physic/RigidBodyComponent';
import ColliderComponent from '../Physic/ColliderComponent';
import SceneActor from '../Renderer/ISceneActor';
import JointComponent from '.... | the_stack |
import { ref } from 'vue';
import { chunk, padEnd, has, keepDecimal } from './helpers';
import {
ColorPickerColor,
position,
ColorInt,
HSV,
HSVA,
RGB,
RGBA,
HSL,
HSLA,
Hex,
Hexa,
Color
} from './color-utils-types';
export function isCssColor(color?: string | false): boolean {
return !!color &&... | the_stack |
import * as crypto from 'crypto';
import AnchoredDataSerializer from '../../lib/core/versions/latest/AnchoredDataSerializer';
import AnchoredOperationModel from '../../lib/core/models/AnchoredOperationModel';
import CoreIndexFile from '../../lib/core/versions/latest/CoreIndexFile';
import CreateOperation from '../../li... | the_stack |
import { equalArrays, fixCSS, IEventListener, suffix, joinIndexArrays, AEventDispatcher } from '../internal';
import { isSortingAscByDefault } from './annotations';
import Column, {
dirty,
dirtyCaches,
dirtyHeader,
dirtyValues,
labelChanged,
visibilityChanged,
widthChanged,
} from './Column';
import Compo... | the_stack |
import { Injectable } from '@angular/core';
import * as Ro from '@nakedobjects/restful-objects';
import { Dictionary } from 'lodash';
import each from 'lodash-es/each';
import filter from 'lodash-es/filter';
import find from 'lodash-es/find';
import findKey from 'lodash-es/findKey';
import first from 'lodash-es/first';... | the_stack |
* @module iModels
*/
import { Base64EncodedString } from "./Base64EncodedString";
import {
DbQueryError, DbQueryRequest, DbQueryResponse, DbRequestExecutor, DbRequestKind, DbResponseStatus, DbValueFormat, QueryBinder, QueryOptions, QueryOptionsBuilder,
QueryPropertyMetaData, QueryRowFormat,
} from "./ConcurrentQue... | the_stack |
import Adapt, {
AdaptElement,
BuildData,
BuildHelpers,
BuildNotImplemented,
BuiltinProps,
childrenToArray,
DeferredComponent,
gql,
Handle,
isElement,
isHandle,
isMountedElement,
ObserveForStatus,
waiting,
WithChildren
} from "@adpt/core";
import { InternalErro... | the_stack |
export namespace DVDPlayer {
// Default Application
export interface Application {}
// Class
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run json-schema-to-typescript to regenerate this file.
*/... | the_stack |
import { CellModel, ColumnModel, getCell, SheetModel, setCell, Workbook, getSheetIndex, CellStyleModel } from './../index';
import { getCellAddress, getRangeIndexes, BeforeCellUpdateArgs, beforeCellUpdate, workbookEditOperation, CellUpdateArgs, InsertDeleteModelArgs, getColumnHeaderText } from './index';
import { isNul... | the_stack |
import { HttpClient, HttpResponse, HttpEvent } from '@angular/common/http';
import { Inject, Injectable, Optional } from '@angular/core';
import { APIClientInterface } from './api-client.interface';
import { Observable } from 'rxjs';
import { tap } from 'rxjs/operators';
import { USE_DOMAIN, USE_HTTP_OPTIONS, APIClient... | the_stack |
import { serve } from '../../tests/support/fixture-server'
import { testWorkRoot } from '../../tests/support/test-run-env'
import { launchPlaywright, testPlaywright } from '../../tests/support/launch-browser'
import { Browser } from './Browser'
import { Until } from '../page/Until'
import { By } from '../page/By'
impor... | the_stack |
/**
* @license Copyright © 2016 onwards, Andrew Whewell
* All rights reserved.
*
* Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyri... | the_stack |
import QlogConnectionGroup from '@/data/ConnectionGroup';
import * as qlog02 from '@/data/QlogSchema02';
import QlogConnection from '@/data/Connection';
import { IQlogEventParser, IQlogRawEvent, TimeTrackingMethod } from '@/data/QlogEventParser';
import { EventFieldsParser } from './QlogLoader';
// V2 because we want... | the_stack |
import * as decoratorsLib from "../../decorators";
import { Yok } from "../../yok";
import { assert } from "chai";
import { CacheDecoratorsTest } from "./mocks/decorators-cache";
import { InvokeBeforeDecoratorsTest } from "./mocks/decorators-invoke-before";
import { isPromise } from "../../helpers";
import * as stubs f... | the_stack |
import { Injectable } from '@nestjs/common'
import { InjectModel } from '@nestjs/sequelize'
import { Sequelize } from 'sequelize-typescript'
import { Op } from 'sequelize'
import * as kennitala from 'kennitala'
import {
Actions,
Airlines,
States,
} from '@island.is/air-discount-scheme/consts'
import { FlightLegS... | the_stack |
import * as React from 'react';
import * as actions from '../../actions';
import './index.less';
import '../../index.less';
import { Modal, Button, Input, Transfer, Tooltip, Select } from 'antd';
import { CustomBreadcrumb, CommonHead } from '../../component/CustomComponent';
import { getAgentListColumns, agentBreadcrum... | the_stack |
import db from "debug";
import * as util from "util";
import * as ld from "lodash";
import * as css from "./css";
import {
AdaptComponentElement,
AdaptElement,
AdaptElementImpl,
AdaptElementOrNull,
AdaptMountedElement,
AnyProps,
BuildHelpers,
childrenToArray,
cloneElement,
Com... | the_stack |
import 'reflect-metadata';
import * as express from 'express';
import glob = require('glob');
import { Server } from 'http';
import { join } from 'path';
import { ControllerDefinition } from './controller/ControllerDefinition';
import { GiuseppeCorePlugin } from './core/GiuseppeCorePlugin';
import { DefinitionNotRegi... | the_stack |
import * as React from 'react';
import * as PropTypes from 'prop-types';
import ReactDropdown from 'react-dropdown-now';
import {connect} from 'react-redux';
import {randomBytes} from 'crypto';
import RenameFileEditor, {RenameFileEditorProps} from './renameFileEditor';
import {FileAPIContext} from '../util/fileUtils';... | the_stack |
import * as vscode from "vscode";
import * as path from "path";
import { CCppProperties } from "./cCppProperties";
import { ValidatedBuilderBase, IsValid } from "./builderBase";
import type { CCppConfigurationJson, LaunchJson } from "./ntypes";
import { CompileCommands } from "./compileCommands";
import * as console ... | the_stack |
import * as slack from 'slack';
import { GradientType, withGradient } from '@getstation/theme';
import ElectronWebview from 'app/common/components/ElectronWebview';
import classNames from 'classnames';
import { clipboard } from 'electron';
// @ts-ignore no declaration file
import { fetchFavicon, setFetchFaviconTimeout ... | the_stack |
import { renderToString } from "./deps.ts";
import { ComponentChildren, h } from "../runtime/deps.ts";
import { DATA_CONTEXT } from "../runtime/hooks.ts";
import { Page, Renderer } from "./types.ts";
import { PageProps } from "../runtime/types.ts";
import { SUSPENSE_CONTEXT } from "../runtime/suspense.ts";
import { HEA... | the_stack |
'use strict';
const async = require('async');
const { debug, info, warn, error } = require('portal-env').Logger('kong-adapter:portal');
import * as utils from './utils';
import * as wicked from 'wicked-sdk';
import { Callback, WickedApplication, WickedAuthServer, WickedError, KongPluginRequestTransformer, KongPluginCo... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.