text stringlengths 2.5k 6.39M | kind stringclasses 3
values |
|---|---|
import * as angular from 'angular';
import { PersonaStyleEnum } from '../../core/personaStyleEnum';
import { PresenceEnum } from '../../core/personaPresenceEnum';
import { PersonaInitialsColor } from '../../core/personaInitialsColorEnum';
import { PersonaSize } from './sizeEnum';
/**
* @ngdoc directive
* @name uifPe... | the_stack |
import { getProjectionName } from "@here/harp-datasource-protocol";
import {
EarthConstants,
GeoBox,
GeoCoordinates,
mercatorProjection,
OrientedBox3,
Projection,
ProjectionType,
sphereProjection
} from "@here/harp-geoutils";
import { assert, expect } from "chai";
import * as sinon from ... | the_stack |
import * as assert from 'assert';
import 'mocha';
import * as os from 'os';
import * as vscode from 'vscode';
import { assertNoRpc, closeAllEditors, delay, disposeAll } from '../utils';
const webviewId = 'myWebview';
function workspaceFile(...segments: string[]) {
return vscode.Uri.joinPath(vscode.workspace.workspac... | the_stack |
import { PageHeaderWrapper } from '@ant-design/pro-layout';
import React, { Fragment, useEffect, useState } from 'react';
import { Button, Card, Col, Divider, Form, Icon, Input, message, Popconfirm, Row, Table } from 'antd';
import apis from '@/services';
import { ConnectState, Dispatch } from '@/models/connect';
impor... | the_stack |
import { UniverseDetails } from '@augurproject/sdk/build/state/getter/Universe';
import {
ACCOUNTS,
defaultSeedPath,
fork,
loadSeed,
} from '@augurproject/tools';
import { TestContractAPI } from '@augurproject/tools';
import {
getPayoutNumerators,
makeValidScalarOutcome,
} from '@augurproject/tools/build/fl... | the_stack |
import refractor from 'refractor/core';
import {
ApplySchemaAttributes,
assertGet,
command,
CommandFunction,
CreateExtensionPlugin,
extension,
ExtensionTag,
findNodeAtSelection,
findParentNodeOfType,
GetAttributes,
getMatchString,
getStyle,
InputRule,
isElementDomNode,
isNodeActive,
isNo... | the_stack |
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { Jobs } from "../operationsInterfaces";
import * as coreClient from "@azure/core-client";
import * as Mappers from "../models/mappers";
import * as Parameters from "../models/parameters";
import { AzureMediaServices } from "../azureMediaServices";... | the_stack |
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
/**
* Provides an Neptune Cluster Resource. A Cluster Resource defines attributes that are
* applied to the entire cluster of Neptune Cluster Instances.
*
* Changes to a Neptune Cluster can occur when you manually change a
* para... | the_stack |
import React from 'react';
import classNames from 'classnames';
import PropTypes from 'prop-types';
import MonthFoundation, { MonthAdapter, MonthDayInfo, MonthFoundationProps, MonthFoundationState } from '@douyinfe/semi-foundation/datePicker/monthFoundation';
import { cssClasses, numbers } from '@douyinfe/semi-foundati... | the_stack |
import fs from 'fs'
import path from 'path'
import { Plugin } from '../plugin'
import chalk from 'chalk'
import {
FS_PREFIX,
SPECIAL_QUERY_RE,
DEFAULT_EXTENSIONS,
DEFAULT_MAIN_FIELDS,
OPTIMIZABLE_ENTRY_RE
} from '../constants'
import {
isBuiltin,
bareImportRE,
createDebugger,
injectQuery,
isExternal... | the_stack |
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | the_stack |
import Extension from "../service/extension";
import {
Options,
EAction,
Site,
SiteSchema,
Plugin,
ButtonOption,
NoticeOptions,
EDownloadClientType,
ESizeUnit,
EDataResultType,
Request,
EButtonType,
ECommonKey,
Dictionary,
EPluginPosition
} from "@/interface/common";
import { APP } from "@... | the_stack |
import { deriveSharedKey } from '@/connection/deriveSharedKey'
import * as identity from '@/connection/identity'
import {
AcceptInvitationMessage,
ChallengeIdentityMessage,
ClaimIdentityMessage,
ConnectionMessage,
DisconnectMessage,
EncryptedMessage,
ErrorMessage,
isNumberedConnectionMessage,
Numbere... | the_stack |
/// <reference types="./markdown-it-footnote" />
/// <reference types="./markdown-it-table-of-contents" />
/// <reference types="./markdown-it-container-pandoc" />
import express from 'express';
import markdown from 'markdown-it';
import * as Url from 'url';
import * as user from '../util/user';
import * as userUtils... | the_stack |
import * as url from 'url';
import * as path from 'path';
import { Protocol as Crdp } from 'devtools-protocol';
import { logger } from 'vscode-debugadapter';
import * as utils from '../utils';
import { ITarget } from './chromeConnection';
import { IPathMapping } from '../debugAdapterInterfaces';
import { pathToRegex }... | the_stack |
import "mocha";
import * as expect from "expect";
import { CambridgeZ88Core } from "../../../src/renderer/machines/cambridge-z88/CambridgeZ88Core";
import {
DefaultCambridgeZ88StateManager,
loadWaModule,
SilentAudioRenderer,
} from "../helpers";
import { setEngineDependencies } from "../../../src/renderer/machine... | the_stack |
import { BPI } from '../bpi/bpi';
import { expect } from 'chai';
import { Workstep } from '../bpi/components/workgroup/workstep';
import { Workgroup } from '../bpi/components/workgroup/workgroup';
import { BpiMessage } from '../bpi/components/messaging/bpiMessage';
import { MockMessagingComponent } from '../bpi/compone... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
import * as Models from "../models";
import * as Mappers from "../models/zonesMappers";
import * as Parameters from "../models/parameters";
import { DnsManagementClientContext } from "../dnsManagementClientContext";
/*... | the_stack |
import { ChallengeRegistry } from "@connext/contracts";
import {
AppInstanceJson,
Bytes32,
ChallengeUpdatedEventPayload,
ConditionalTransactionCommitmentJSON,
IBackupService,
IStoreService,
ILoggerService,
MinimalTransaction,
SetStateCommitmentJSON,
StateChannelJSON,
StateProgressedEventPayload,
... | the_stack |
import * as fs from 'fs';
import * as cxschema from '@aws-cdk/cloud-assembly-schema';
import * as cxapi from '@aws-cdk/cx-api';
import { App, Aws, CfnResource, ContextProvider, DefaultStackSynthesizer, FileAssetPackaging, Stack } from '../../lib';
import { evaluateCFN } from '../evaluate-cfn';
const CFN_CONTEXT = {
... | the_stack |
import { fabric } from 'fabric';
import { Handler } from '.';
import { WorkareaLayout, WorkareaObject, FabricImage } from '../utils';
import { VideoObject } from '../objects/Video';
class WorkareaHandler {
handler: Handler;
constructor(handler: Handler) {
this.handler = handler;
this.initialize();
}
/**
*... | the_stack |
import ProjectConfig from "@dxatscale/sfpowerscripts.core/lib/project/ProjectConfig";
import { jest, expect } from "@jest/globals";
import ProjectValidation from "../src/ProjectValidation"
describe("Given a sfdx-project.json, it should be validated against the scehma", () => {
it("should not throw an error for a va... | the_stack |
import * as stream from "stream"
import * as path from "path"
import { getVariableData } from "../../db/model/Variable"
import {
initGrapherForSvgExport,
buildSvgOutFilename,
} from "../../baker/GrapherImageBaker"
import { createGunzip, createGzip } from "zlib"
import * as fs from "fs-extra"
import getStream fr... | the_stack |
import { test } from '@japa/runner'
import { ApplicationContract } from '@ioc:Adonis/Core/Application'
import { setup, cleanup, getDb, getBaseSchema, setupApplication, fs } from '../../test-helpers'
let db: ReturnType<typeof getDb>
let app: ApplicationContract
test.group('Schema', (group) => {
group.each.setup(asyn... | the_stack |
import * as util from 'util';
import * as moment from 'moment';
import * as _ from 'lodash';
// Local
import Messages = require('../messages');
const messages = Messages();
import logger = require('../core/logApi');
import pkgUtils = require('./packageUtils');
// Stripping CodeCoverage, HasPassedCodeCoverageCheck as ... | the_stack |
import * as React from 'react';
import { Label } from 'office-ui-fabric-react/lib/Label';
import { IChoiceGroupOption } from 'office-ui-fabric-react/lib/ChoiceGroup';
import { Spinner, SpinnerSize, SpinnerType } from 'office-ui-fabric-react/lib/Spinner';
import { Async } from 'office-ui-fabric-react/lib/Utilities';
imp... | the_stack |
interface Window {
safari: typeof safari;
}
declare namespace safari {
export var application: SafariApplication;
export var extension: SafariExtension;
export var self: SafariExtensionGlobalPage | SafariExtensionBar;
}
interface SafariEvent {
/**
* The type of the event.
* The string used to identify a p... | the_stack |
import Component from '@ember/component';
import { computed } from '@ember/object';
import { assert } from '@ember/debug';
import { readOnly } from '@ember/object/computed';
import { getOwner } from '@ember/application';
import { guidFor } from '@ember/object/internals';
import numbro from 'numbro';
import { merge } fr... | the_stack |
declare module FabricPlugin {
interface FabricPluginStatic {
/**
* API for interacting with the Crashlytics kit.
*
* https://docs.fabric.io/ios/crashlytics/index.html
*/
Crashlytics: Crashlytics;
/**
* API for interacting with the Answers kit.
... | the_stack |
import { TaskFieldsModel } from './../models/task-fields-model.d';
import { PdfFontFamily } from '@syncfusion/ej2-pdf-export';
import { PdfStringFormat, PdfPageCountField, PdfPageNumberField } from '@syncfusion/ej2-pdf-export';
import { PdfPageTemplateElement, RectangleF, PdfCompositeField, PointF } from '@syncfusion/e... | the_stack |
import * as protos from '../protos/protos';
import * as assert from 'assert';
import * as sinon from 'sinon';
import {SinonStub} from 'sinon';
import {describe, it} from 'mocha';
import * as cloudtasksModule from '../src';
import {PassThrough} from 'stream';
import {protobuf} from 'google-gax';
function generateSamp... | the_stack |
import { Injectable } from '@angular/core';
import { CoreConstants } from '@/core/constants';
import { CoreSite, CoreSiteWSPreSets } from '@classes/site';
import { CoreCourseAnyModuleData } from '@features/course/services/course';
import { CoreCourses } from '@features/courses/services/courses';
import { CoreApp } fro... | the_stack |
import { By, EditorView, InputBox, SideBarView, TextEditor, WebView } from "vscode-extension-tester";
import * as path from "path";
import { h5ComponentWithText } from "./helpers/CommonLocators";
import { EditorTabs } from "./helpers/dmn/EditorTabs";
import { assertWebElementIsDisplayedEnabled } from "./helpers/CommonA... | the_stack |
import Fs from 'fs'
import Path from 'path'
import Csurf from 'csurf'
import crypto from 'crypto'
import Mustache from 'mustache'
import Passport from 'passport'
import Bcrypt from 'bcryptjs'
import CookieParser from 'cookie-parser'
import PassportLocal from 'passport-local'
import AsyncHandler from 'express-async-hand... | the_stack |
import { ethers, network, upgrades, waffle } from "hardhat";
import { Signer } from "ethers";
import chai from "chai";
import { solidity } from "ethereum-waffle";
import "@openzeppelin/test-helpers";
import {
MockERC20,
MockERC20__factory,
MdexFactory,
MdexFactory__factory,
MdexPair,
MdexPair__factory,
Md... | the_stack |
const COLORS = {
grey_7: '#898989',
brick_20: '#B77B6A',
brick_21: '#8B574F',
brick_22: '#392421',
lime_8: '#7DC240',
lime_9: '#76B73D',
lime_4: '#CFEDB5',
lime_5: '#B6E490',
lime_6: '#9EDB6B',
lime_7: '#8ECF56',
lime_1: '#F3FBED',
lime_2: '#EBF8E1',
lime_3: '#E3F5D4',
orange_22: '#32221D',
... | the_stack |
export enum TokenType {
/** An operator. */
Operator,
/** An identifier. */
Identifier,
/** A string literal. */
String,
/**
* The start of a template until its first expression.
*
* See https://tc39.github.io/ecma262/#sec-template-literal-lexical-components for documentati... | the_stack |
/// <reference path="libs/mulThms.d.ts" />
module NavierStokes {
/*@ solver :: {v:FluidField<Mutable> | offset(v,"width") = 128 && offset(v,"height") = 128} + null */
let solver:FluidField<Mutable> = null;
/*@ nsFrameCounter :: number */
let nsFrameCounter = 0;
module TopLevelFuncs {
export functi... | the_stack |
import React from 'react'
import { getWindow } from 'ssr-window'
import { fireEvent } from '@testing-library/dom'
/* Internal dependencies */
import { TransitionDuration } from 'Foundation'
import { render } from 'Utils/testUtils'
import OverlayProps, { ContainerRectAttr, TargetRectAttr, OverlayPosition } from './Over... | the_stack |
import {
HttpClient,
HttpEvent,
HttpHeaders,
HttpParams,
HttpResponse,
} from '@angular/common/http';
import { Injectable, Injector } from '@angular/core';
import {
ODataActionResource,
ODataBatchResource,
ODataEntityResource,
ODataEntitySetResource,
ODataFunctionResource,
ODataMetadataResource,
... | the_stack |
import createDebugger = require('debug');
import jwt = require('jsonwebtoken');
import { Pool, PoolClient, QueryConfig, QueryResult } from 'pg';
import { ExecutionResult, OperationDefinitionNode, Kind } from 'graphql';
import * as sql from 'pg-sql2';
import { $$pgClient } from '../postgres/inventory/pgClientFromContext... | the_stack |
import React from "react";
import {GUI} from "dat.gui";
import {
AxesHelper,
Camera,
Clock,
Color,
GridHelper,
Material,
OrthographicCamera,
PerspectiveCamera,
Scene,
WebGLRenderer
} from "three";
import {OrbitControls} from "three/examples/jsm/controls/OrbitControls";
import {PA... | the_stack |
import { SiteBodyUpdate } from '../../../../api/content-rest-api/model/siteBodyUpdate';
import { SiteBodyCreate } from '../../../../api/content-rest-api/model/siteBodyCreate';
import { SitesApi as NewSitesApi } from '../../../../api/content-rest-api/api/sites.api';
import { AlfrescoApi } from '../../../../alfrescoApi';... | the_stack |
import {
Component,
Input,
Output,
EventEmitter,
ChangeDetectorRef,
OnChanges,
OnInit,
OnDestroy,
LOCALE_ID,
Inject,
TemplateRef,
ViewEncapsulation,
HostListener
} from '@angular/core';
import { MediaMatcher } from '@angular/cdk/layout';
import { Subject, Subscription... | the_stack |
import Ionicons from '@expo/vector-icons/build/Ionicons';
import * as Contacts from 'expo-contacts';
import * as ImagePicker from 'expo-image-picker';
import * as Linking from 'expo-linking';
import * as React from 'react';
import { Platform, RefreshControl, StyleSheet, Text, TouchableOpacity, View } from 'react-native... | the_stack |
import {
Backup,
Backups,
BACKUPS_PER_DAY,
BACKUPS_PER_NOTEBOOK,
clean,
cleanCells,
cleanConfig,
ClientBackup,
todayTs,
typedUpdate
} from "./client_backup";
import {NotebookCells, UpdateConfig} from "../data/messages";
import {CellComment, CellMetadata, NotebookCell, NotebookCon... | the_stack |
export type ListenerCallback = () => void;
export type ListenerMap = { [T in string]?: ListenerCallback };
export type Validator<T, Error> = (values: T) => ErrorType<T, Error> | undefined | Promise<ErrorType<T, Error> | undefined>;
export type ChildFormMap<T extends object, State, Error extends string> = {
[K in K... | the_stack |
import { getLogger } from 'pinus-logger';
import { MqttServer, MqttSocket } from '../protocol/mqtt/mqttServer';
import { EventEmitter } from 'events';
import { MasterSocket } from './masterSocket';
import * as protocol from '../util/protocol';
import * as utils from '../util/utils';
import * as Util from 'util';
import... | the_stack |
import React, { useState, useEffect, useRef, useContext } from 'react' // eslint-disable-line
import { FileExplorer } from './components/file-explorer' // eslint-disable-line
import './css/remix-ui-workspace.css'
import { FileSystemContext } from './contexts'
const canUpload = window.File || window.FileReader || windo... | the_stack |
import * as GLib from "@gi-types/glib";
export const PARAM_MASK: number;
export const PARAM_STATIC_STRINGS: number;
export const PARAM_USER_SHIFT: number;
export const SIGNAL_FLAGS_MASK: number;
export const SIGNAL_MATCH_MASK: number;
export const TYPE_FLAG_RESERVED_ID_BIT: GLib.Type;
export const TYPE_FUNDAMENTAL_MAX... | the_stack |
import {
LROsPut200SucceededParameters,
LROsPatch200SucceededIgnoreHeadersParameters,
LROsPut201SucceededParameters,
LROsPost202ListParameters,
LROsPut200SucceededNoStateParameters,
LROsPut202Retry200Parameters,
LROsPut201CreatingSucceeded200Parameters,
LROsPut200UpdatingSucceeded204Parameters,
LROsPu... | the_stack |
import { PathAccessRole } from '@textile/hub';
export interface CreateFolderRequest {
/**
* Storage bucket to create the empty folder
*/
path: string;
/**
* Path in the bucket to create the empty folder
*/
bucket: string;
}
export interface ListDirectoryRequest {
/**
* Path in the bucket to f... | the_stack |
import {
cmp as cmp_,
onConsentChange as onConsentChange_,
} from '@guardian/consent-management-platform';
import type { Callback } from '@guardian/consent-management-platform/dist/types';
import type { TCFv2ConsentState } from '@guardian/consent-management-platform/dist/types/tcfv2';
import { setCookie, storage } fr... | the_stack |
import * as React from 'react';
import { AbstractDataSource } from './AbstractDataSource';
import { DataItem, DataItemKind, DataSourceActionResult, MediaItem, SearchQuery, SearchResult } from '../types';
import { EventEmitter } from '../common/EventEmitter';
import type { EditorRegistry } from '../editors/EditorRegistr... | the_stack |
import { useContentGqlHandler } from "../utils/useContentGqlHandler";
import { mocks as changeRequestMock, richTextMock } from "./mocks/changeRequest";
import { createSetupForContentReview } from "../utils/helpers";
describe(`Total comments count test`, () => {
const options = {
path: "manage/en-US"
};... | the_stack |
import {setup} from '#testHelpers'
test('click element', async () => {
const {element, getClickEventsSnapshot, getEvents, user} = setup('<div />')
await user.pointer({keys: '[MouseLeft]', target: element})
expect(getClickEventsSnapshot()).toMatchInlineSnapshot(`
pointerdown - pointerId=1; pointerType=mouse;... | the_stack |
import {isChromeOS} from 'chrome://resources/js/cr.m.js';
import {loadTimeData} from 'chrome://resources/js/load_time_data.m.js';
import {DragManager, DragManagerDelegate, PLACEHOLDER_GROUP_ID, PLACEHOLDER_TAB_ID} from 'chrome://tab-strip.top-chrome/drag_manager.js';
import {TabElement} from 'chrome://tab-strip.top-chr... | the_stack |
import {
IResultRoomEvents,
ISearchRequestBody,
ISearchResponse,
ISearchResult,
ISearchResults,
SearchOrderBy,
} from "matrix-js-sdk/src/@types/search";
import { IRoomEventFilter } from "matrix-js-sdk/src/filter";
import { EventType } from "matrix-js-sdk/src/@types/event";
import { SearchResult ... | the_stack |
import passport, { Profile } from 'passport'
import { createAndSetToken } from './vulcan-lib/apollo-server/authentication';
import { Strategy as CustomStrategy } from 'passport-custom'
import { getUser } from './vulcan-lib/apollo-server/context';
import { Users } from '../lib/collections/users/collection';
import { get... | the_stack |
import * as vscode from 'vscode';
import { WorkspaceFolder, DebugConfiguration, ProviderResult, CancellationToken } from 'vscode';
import { DebugSessionClass } from './debugadapter';
import * as Net from 'net';
import { DecorationClass, Decoration } from './decoration';
import {LogSocket, LogCustomCode, LogSocketComman... | the_stack |
import {withTask} from 'react-palm/tasks';
import {default as Console} from 'global/console';
import {generateHashId, getError, isPlainObject, toArray} from '../utils/utils';
import {
EXPORT_FILE_TO_CLOUD_TASK,
ACTION_TASK,
DELAY_TASK,
LOAD_CLOUD_MAP_TASK,
GET_SAVED_MAPS_TASK
} from '../tasks/tasks';
import {... | the_stack |
import { LokiEventEmitter } from "./event_emitter";
import { UniqueIndex } from "./unique_index";
import { ResultSet } from "./result_set";
import { DynamicView } from "./dynamic_view";
import { IRangedIndex, RangedIndexFactoryMap } from "./ranged_indexes";
import { ComparatorMap } from "./comparators";
import { clone,... | the_stack |
import { commonStartEffect, releaseAllEffect, ports } from './common/initial'
import { appInstanceMap } from '../create_app'
import microApp from '..'
import { defer } from '../libs/utils'
describe('micro_app_element', () => {
let appCon: Element
beforeAll(() => {
commonStartEffect(ports.micro_app_element)
... | the_stack |
import { GlobalProps } from 'ojs/ojvcomponent';
import { ComponentChildren } from 'preact';
import AsyncValidator = require('../ojvalidator-async');
import Validator = require('../ojvalidator');
import Converter = require('../ojconverter');
import { Validation } from '../ojvalidationfactory-base';
import { DataProvider... | the_stack |
import { getSharedSecret as secpGetSharedSecret, utils, getPublicKey, Point, CURVE } from 'noble-secp256k1';
import { computeAddress, hexlify, hexZeroPad, isHexString, sha256, BigNumber } from '../ethers';
import { RandomNumber } from './RandomNumber';
import { assertValidPoint, lengths, recoverPublicKeyFromTransaction... | the_stack |
import assert from "assert";
import Blockchain from "../../src/blockchain";
import { Tipset } from "../../src/things/tipset";
import IpfsHttpClient from "ipfs-http-client";
import { StartDealParams } from "../../src/things/start-deal-params";
import { StorageMarketDataRef } from "../../src/things/storage-market-data-re... | the_stack |
import {
isNamedNode,
resolveLocalIri,
internal_isValidUrl,
} from "../datatypes";
import {
UrlString,
Url,
SolidClientError,
Thing,
ThingLocal,
ThingPersisted,
SolidDataset,
WithChangeLog,
IriString,
hasServerResourceInfo,
} from "../interfaces";
import { DataFactory, subjectToRdfJsQuads } fr... | the_stack |
import { Action, ActionFunctionAny, createActions, handleActions } from 'redux-actions';
import DetailState from './SpanDetail/DetailState';
import { TNil } from '../../../types';
import { Log, Span, Trace } from '../../../types/trace';
import TTraceTimeline from '../../../types/TTraceTimeline';
import filterSpans fro... | the_stack |
import { DataGrid, SelectionModel } from '@lumino/datagrid';
import { LabIcon, addIcon } from '@jupyterlab/ui-components';
import { EditorModel } from './model';
export class PaintedGrid extends DataGrid {
constructor(options: PaintedGrid.IOptions) {
super(options);
this._extraStyle = options.extraStyle || P... | the_stack |
import { defineComponent, getCurrentInstance, ref, h, nextTick, watch, onUnmounted, WatchStopHandle, VNode } from 'vue'
import { AnyObject, VcComponentInternalInstance, VcComponentPublicInstance } from '@vue-cesium/utils/types'
import { useCommon } from '@vue-cesium/composables'
import { VcCollectionPoint, VcCollection... | the_stack |
import * as d3 from 'd3';
// import { Area } from 'd3';
interface ConfigI {
minValue: number;
maxValue: number;
circleThickness: number;
circleFillGap: number;
circleColor: string;
waveHeight: number;
waveCount: number;
waveRiseTime: number;
waveAnimateTime: number;
waveRise : b... | the_stack |
import { ComparisonOperator, GraphWidget, MathExpression, Metric, MetricOptions, Statistic, TreatMissingData, IWidget } from '@aws-cdk/aws-cloudwatch';
import { Rule, Schedule } from '@aws-cdk/aws-events';
import { LambdaFunction } from '@aws-cdk/aws-events-targets';
import { Tracing } from '@aws-cdk/aws-lambda';
impor... | the_stack |
import { InMemoryFile as InMemoryProjectFile } from "@atomist/automation-client/lib/project/mem/InMemoryFile";
import { InMemoryProject } from "@atomist/automation-client/lib/project/mem/InMemoryProject";
import { doWithAllMatches, findValues } from "@atomist/automation-client/lib/tree/ast/astUtils";
import * as assert... | the_stack |
import {BlockFrame} from '@/services/data/graphics/graphics-types';
import {
ConnectedSpace,
ConnectedSpaceBlockGraphics,
ConnectedSpaceBlockGraphicsRect,
ConnectedSpaceGraphics,
ReportGraphics,
SubjectGraphics,
TopicGraphics
} from '@/services/data/tuples/connected-space-types';
import {Report, ReportId} from '... | the_stack |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found at https://github.com/ChromeDevTools/devtools-frontend/blob/master/LICENSE
// Minor refactor and modifications made by @angrykoala for wendigo
export default function Selecto... | the_stack |
import { Component, Input, OnDestroy, OnInit } from '@angular/core';
import { FormArray, FormControl, FormGroup, Validators } from '@angular/forms';
import {
CodeSpec,
EnvironmentSpec,
ExperimentMeta,
ExperimentSpec,
Specs
} from '@submarine/interfaces/experiment-spec';
import { ExperimentFormService } from '... | the_stack |
import { createRule, getAttrSpecs } from '@markuplint/ml-core';
import {
ariaSpec,
checkAria,
getComputedRole,
getImplicitRole,
getPermittedRoles,
getRoleSpec,
htmlSpec,
isValidAttr,
} from '../helpers';
type Options = {
checkingValue?: boolean;
checkingDeprecatedProps?: boolean;
permittedAriaRoles?: boole... | the_stack |
'use strict';
import * as fastEquals from 'fast-deep-equal/es6';
import match, {Matcher} from "./match";
export function deepEquals<T>(a: T, b: T, ignoreKeys?: (keyof T)[]): boolean {
if ((a === undefined && b !== undefined) || (b === undefined && a !== undefined)) {
return false;
}
if ((a === nul... | the_stack |
import React from 'react'
import styled from 'styled-components'
import {
makeUseTable,
// usePagination,
// useSortBy,
// useFilters,
// useGroupBy,
// useExpanded,
// useRowSelect,
} from '@tanstack/react-table'
import matchSorter from 'match-sorter'
import makeData from './makeData'
const Styles = st... | the_stack |
import _ from 'lodash';
import {addHash, unreachable} from '@statechannels/wallet-core';
import {SignedBy, StateWithBals, TestChannel} from '../../engine/__test__/fixtures/test-channel';
import {TestLedgerChannel} from '../../engine/__test__/fixtures/test-ledger-channel';
import {LedgerRequestStatus} from '../../model... | the_stack |
* OasisExplorer API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not e... | the_stack |
import { useSelector } from "react-redux";
import { AppState } from "../AppState";
import { Constants as C } from "../Constants";
import { NodeActionType } from "../enums/NodeActionType";
import { TypeHandlerIntf } from "../intf/TypeHandlerIntf";
import * as J from "../JavaIntf";
import { PubSub } from "../PubSub";
imp... | the_stack |
import { ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { BehaviorSubject, from as observableFrom, Observable, Subscription } from 'rxjs';
import {
concatMap,
distinctUntilChanged,
filter,
map,
reduce,
scan,
... | the_stack |
import ndarray, { NdArray } from "ndarray";
import prefixSum from "ndarray-prefix-sum";
import { Dimension, View, View1D, View2D, Views } from "../api";
import { Interval } from "../basic";
import { numBins, stepSize } from "../util";
import { BinConfig } from "./../api";
import { CUM_ARR_TYPE, HIST_TYPE } from "./../c... | the_stack |
import { Option, Some, None } from "./Option";
import { Vector } from "./Vector";
import { WithEquality, getHashCode,
areEqual, Ordering, ToOrderable } from "./Comparison";
import { contractTrueEquality } from "./Contract";
import { inspect } from "./Value";
import { HashMap } from "./HashMap";
import { HashSe... | the_stack |
import {
ClientHttp2Session,
ClientHttp2Stream,
connect as http2Connect,
constants as h2constants,
IncomingHttpHeaders as IncomingHttp2Headers,
SecureClientSessionOptions,
} from "http2";
import { URL } from "url";
import { asyncGuard, syncGuard } from "callguard";
import {
AbortError,
Decoder,
TimeoutError,... | the_stack |
import * as React from 'react';
import * as intl from 'react-intl-universal';
import _merge from 'lodash-es/merge';
import MUIDataTable from 'mui-datatables';
import { createStyles, withStyles } from '@material-ui/core';
export type SortDirection = 'asc' | 'desc';
export interface DataTableColumn {
key: string;
... | the_stack |
import "./App.css";
import OpenLogin from "openlogin";
import { useEffect, useState } from "react";
import { getStarkHDAccount, STARKNET_NETWORKS, sign, verify } from "@toruslabs/openlogin-starkkey";
import { binaryToHex, binaryToUtf8, bufferToBinary, bufferToHex, hexToBinary, removeHexPrefix } from "enc-utils";
import... | the_stack |
import * as msRest from "@azure/ms-rest-js";
import * as Models from "../models";
import * as Mappers from "../models/accessPoliciesMappers";
import * as Parameters from "../models/parameters";
import { TimeSeriesInsightsClientContext } from "../timeSeriesInsightsClientContext";
/** Class representing a AccessPolicies... | the_stack |
import _ from "lodash";
import { ModuleProcessor } from "./module-processor";
import AnsiConvert from "ansi-to-html";
/**
* @param html
*/
export function escapeHtml(html) {
const htmlMap = {
"<": "<",
">": ">"
};
return html.replace(/([<>])/g, (_m, a) => htmlMap[a]);
}
/**
* @param stats
*/
e... | the_stack |
declare module com {
export module google {
export module android {
export module gms {
export module internal {
export module firebase_ml_naturallanguage {
export class zzao<V> extends java.util.concurrent.Future<any> {
public static class: java.lang.Class<com.google.android.gms.internal.f... | the_stack |
import { Controller, Get, Post, Body, Query, Inject, forwardRef } from "@nestjs/common";
import { ApiOperation, ApiBearerAuth, ApiTags } from "@nestjs/swagger";
import { CurrentUser } from "@/common/user.decorator";
import { AuthService } from "@/auth/auth.service";
import { ConfigService } from "@/config/config.servi... | the_stack |
import {
ACTIONS_BYTE_TO_PAYLOAD as ABP,
ACTIONS_BYTE_TO_TEXT as ABT,
AUTH_ACTIONS as AA,
CONNECTION_ACTIONS as CA,
DEEPSTREAM_TYPES as TYPES,
EVENT_ACTIONS as EA,
MESSAGE_PART_SEPERATOR as y,
MESSAGE_SEPERATOR as x,
PRESENCE_ACTIONS as UA,
RECORD_ACTIONS as RA,
RPC_ACTIONS as PA,
TOPIC,
TOPIC... | the_stack |
import dedent from 'dedent'
import { MarkdownString } from 'vscode'
export enum DirectiveType {
Global = 'Global',
Local = 'Local',
}
export enum DirectiveDefinedIn {
FrontMatter = 'frontMatter',
Comment = 'comment',
}
const directiveAlwaysAllowed = [
DirectiveDefinedIn.FrontMatter,
DirectiveDefinedIn.Co... | the_stack |
import { Logger } from '../project';
import FetchClass from './fetch';
import { URL } from 'url';
import crypto = require('crypto');
import { JspmError, JspmUserError, bold, highlight } from '../utils/common';
import zlib = require('zlib');
import peek = require('buffer-peek-stream');
import fs = require('graceful-fs')... | the_stack |
import { ethers, network } from 'hardhat';
import { BigNumber, Signer } from 'ethers';
import { expect, use } from 'chai';
import { solidity } from 'ethereum-waffle';
import {
TestERC20__factory,
TestERC20,
FakeSwapRouter__factory,
FakeSwapRouter,
BadERC20__factory,
BadERC20,
ERC20SwapToPay,
ERC20FeePro... | the_stack |
import * as React from "react";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { TableOperation } from "boxed-expression-component/src/api";
import { DmnValidator } from "./DmnValidator";
import { AutoRow } from "../core";
import { createPortal } from "react-dom";
import { context as ... | the_stack |
import {expect} from 'chai'
import nock from 'nock' // WARN: nock must be imported before NodeHttpTransport, since it modifies node's http
import {InfluxDB, ClientOptions, FluxTableMetaData} from '../../src'
import fs from 'fs'
import {CollectLinesObserver} from './util/CollectLinesObserver'
import {CollectTablesObserv... | the_stack |
import * as Path from "path";
import * as Fs from "fs";
import { JsxRenderer, IndexPage, createElement } from "../../src";
import Template from "../jsx-templates/test1";
import Template2 from "../jsx-templates/test2";
import Template3 from "../jsx-templates/test3";
import { expect } from "chai";
import Template4 from "... | the_stack |
import { core, SfdxCommand, flags } from '@salesforce/command';
import * as fs from 'fs';
import * as path from 'path';
// Initialize Messages with the current plugin directory
core.Messages.importMessagesDirectory(__dirname);
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce... | the_stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.