text
stringlengths
2.5k
6.39M
kind
stringclasses
3 values
import { readFileSync, writeFileSync, existsSync } from 'fs' import * as utillib from 'util' import * as ts from '../../node_modules/typescript/lib/typescript' import * as Path from 'path' import { UInt64 } from "../int64" import { OpInfo } from "../ir/op" import { RegSet, RegInfo, RegInfoEntry, emptyRegSet, ...
the_stack
import { isLaunchInsideApp, setTransparentBackground, showActionSheet, showModal, showNotification, showPreviewOptions, useStorage, request, sleep, } from '@app/lib/help' import {FC} from 'react' import {WtextProps, WstackProps} from '@app/types/widget' /**手机卡数据列表*/ interface PhoneDatas { data: { ...
the_stack
// (Re-)generated by schema tool // >>>> DO NOT CHANGE THIS FILE! <<<< // Change the json schema instead import * as wasmlib from "wasmlib"; import * as sc from "./index"; export function on_call(index: i32): void { return wasmlib.onCall(index); } export function on_load(): void { let exports = new wasmlib.S...
the_stack
import React, { useRef, useEffect, useState } from 'react'; import { MDXProvider } from '@mdx-js/react'; import { Title, Text, List, ListItem, Button, ButtonRow, TextArea, } from '@thumbtack/thumbprint-react'; import * as tokens from '@thumbtack/thumbprint-tokens'; import { ScrollMarkerSecti...
the_stack
import { createStyleProvider } from "./builder"; import { EnumTextTransform, EnumTextDecorationLine } from "./builder/types"; import { Platform } from "react-native"; import { getPlatformFontWeight } from "./builder/utils"; export const Colors = { primary: "#4762E7", "primary-10": "#F1F3FC", "primary-50": "#E2E8...
the_stack
import { AbstractContract, RevertError, expect, encodeMetaTransferFromData, encodeMetaBatchTransferFromData, encodeMetaApprovalData, GasReceiptType, ethSign, createTestWallet } from './utils' import { BigNumber, utils, ContractTransaction, EventFilter } from 'ethers' import { ERC1155MetaMintBurnMo...
the_stack
import * as XrmMock from "../xrm-mock/index"; import Control, { CreateMethods as ControlCreateMethods } from "./control"; export type BooleanControlComponent = XrmMock.IAttBooleanControlComponents | XrmMock.IAttBooleanControlComponents[]; export type DateControlComponent = XrmMock.IAttDateControlComponents | XrmMock.I...
the_stack
import { ApplyPluginsType, dynamic } from '/Users/mtianyan/tyRepos/Python/OnlineMooc/tyadmin/node_modules/@umijs/runtime'; import { plugin } from './plugin'; const routes = [ { "path": "/xadmin/login", "component": dynamic({ loader: () => import(/* webpackChunkName: 'layouts__UserLayout' */'/Users/mtianyan/t...
the_stack
import { PROF_COLS, UNICODE_BLOCK } from "../src/constants"; import { SelectionBroker } from "../src/selection-broker"; import { TextView } from "../src/text-view"; import { MySelection } from "./selection"; import { anyToString, interpolate } from "./util"; import { InstructionSelectionHandler } from "./selection-hand...
the_stack
import * as zrUtil from 'zrender/src/core/util'; import LinearGradient, { LinearGradientObject } from 'zrender/src/graphic/LinearGradient'; import * as eventTool from 'zrender/src/core/event'; import VisualMapView from './VisualMapView'; import * as graphic from '../../util/graphic'; import * as numberUtil from '../../...
the_stack
import { lazy } from 'react' import Plugin from '@jbrowse/core/Plugin' import DisplayType from '@jbrowse/core/pluggableElementTypes/DisplayType' import AdapterType from '@jbrowse/core/pluggableElementTypes/AdapterType' import ViewType from '@jbrowse/core/pluggableElementTypes/ViewType' import AddIcon from '@material-u...
the_stack
namespace corgio { export enum CorgiFlags { None = 0, HorizontalMovement = 1 << 0, VerticalMovement = 1 << 1, UpdateSprite = 1 << 2, CameraFollow = 1 << 3, All = ~(~0 << 4) } export let _corgi_still: Image[] = [ img` . . 4 . . . 4 . . ...
the_stack
import { MASK_TYPES, MSAA_QUALITY } from '@pixi/constants'; import { Rectangle, Matrix } from '@pixi/math'; import { Renderer, MaskData, RenderTexture, Filter, Texture, BaseTexture, CanvasResource, SpriteMaskFilter } from '@pixi/core'; import { Graphics } from '@pixi/graphics'; import { Sprite } from '@pixi/sprite'...
the_stack
import { Resolvers } from '@apollo/client'; import { AddressZero, HashZero } from 'ethers/constants'; import { bigNumberify, LogDescription } from 'ethers/utils'; import { ClientType, ColonyVersion, Extension, TokenClientType, extensions, getExtensionHash, ColonyClientV5, ROOT_DOMAIN_ID, getHistoricCo...
the_stack
import { Component, OnInit, Input, Output, ViewChild, ElementRef, EventEmitter, HostListener, AfterViewInit } from '@angular/core'; import { TYPE_MSG_IMAGE } from 'src/chat21-core/utils/constants'; import { NavParams, ModalController } from '@ionic/angular'; import { DomSanitizer, SafeResourceUrl } from '@angular/platf...
the_stack
// Type definitions for blockly // Project: https://developers.google.com/blockly/ // Definitions by: Troy McKinnon <https://github.com/trodi> // Definitions: https://github.com/borisyankov/DefinitelyTyped declare module Blockly { class Block extends Block__Class { } /** Fake class which should be extended to avo...
the_stack
import { Column, CompositeColumn, Ranking, ReduceColumn, StackColumn, createAggregateDesc, createGroupDesc, createImpositionBoxPlotDesc, createImpositionDesc, createImpositionsDesc, createNestedDesc, createRankDesc, createReduceDesc, createScriptDesc, createSelectionDesc, createStackDesc...
the_stack
import {IApp} from '../../IApp'; import IDisplayContext = etch.drawing.IDisplayContext; import Point = etch.primitives.Point; import {SamplerBase} from './SamplerBase'; declare var App: IApp; export class Recorder extends SamplerBase { public Sources : Tone.Simpler[]; public Recorder: any; //public Prima...
the_stack
import * as assert from 'assert'; import * as fs from 'fs-extra'; import * as sinon from 'sinon'; import * as uuid from 'uuid'; import { Constants } from '../src/Constants'; import * as helpers from '../src/helpers'; import { userSettings } from '../src/helpers'; import { BlobServiceClient } from '../src/services/stora...
the_stack
import { TestBed } from "@angular/core/testing"; import { Glue42Initializer } from "../glue-initializer.service"; import { Subject, Observable, Subscription } from "rxjs"; import { Glue42NgConfig, Glue42NgFactory, Glue42NgSettings } from "../types"; import { GlueConfigService } from "../glue-config.service"; des...
the_stack
import * as nodeGit from 'nodegit'; import { CloneOptions, Commit, DiffDelta, DiffFile, FetchOptions, Oid, Repository, Revwalk, StatusFile } from 'nodegit'; import * as path from 'path'; import { GitAuthenticationFailError, GitCloneOptions, GitCommitOptions, GitError, GitErrorCodes, gitErrorRege...
the_stack
module android.widget { import Canvas = android.graphics.Canvas; import Rect = android.graphics.Rect; import Animatable = android.graphics.drawable.Animatable; import AnimationDrawable = android.graphics.drawable.AnimationDrawable; import Drawable = android.graphics.drawable.Drawable; import LayerDrawable = android.gra...
the_stack
import { EventDispatcher, MOUSE, Matrix4, OrthographicCamera, PerspectiveCamera, Quaternion, Spherical, TOUCH, Vector2, Vector3, } from 'three' export type CHANGE_EVENT = { type: 'change' | 'start' | 'end' } export enum STATE { NONE = -1, ROTATE = 0, DOLLY = 1, PAN = 2, TOUCH_ROTATE = ...
the_stack
import { Props, Type, Container, ElementContainer, Instance, TextInstance, HydratableInstance, PublicInstance, HostContext, UpdatePayload, NoTimeout, isElementContainer, } from './types' import { HostConfig } from 'react-reconciler' import { FacetProp, isFacet, Unsubscribe } from '@react-facet/c...
the_stack
import { Injectable } from '@angular/core'; import { CoreCourse } from '@features/course/services/course'; import { CoreUser } from '@features/user/services/user'; import { CoreNavigator } from '@services/navigator'; import { CoreSites, CoreSitesReadingStrategy } from '@services/sites'; import { CoreDomUtils } from '@s...
the_stack
import { Component, EventEmitter, Input, OnChanges, Output, OnInit, OnDestroy, ElementRef, SimpleChanges, NgZone, Injector } from '@angular/core'; import { DOCUMENT } from '@angular/common'; import { Subscription, timer } from 'rxjs'; export interface CircleProgressOptionsInterface { class?: string; background...
the_stack
import { BytecodeEventHandlerDescriptor, BytecodeHelpers, BytecodeNode, BytecodeOptions, BytecodeTimelines, Curve, HaikuBytecode, IHaikuClock, IHaikuComponent, IHaikuContext, ParsedValueCluster, ParsedValueClusterCollection, TwoPointFiveDimensionalLayoutProperty, } from './api'; import Config,...
the_stack
import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext"; import { Project } from "@atomist/automation-client/lib/project/Project"; import { logger } from "@atomist/automation-client/lib/util/logger"; import * as k8s from "@kubernetes/client-node"; import * as dockerfileParser from "docker-file-pa...
the_stack
import { Component, OnInit, OnDestroy, ViewChild, KeyValueChanges, KeyValueDiffer, KeyValueDiffers } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; import { IndexeddbService } from '../indexeddb.service'; import { DialogPassCom...
the_stack
declare module "web3-eea" { import type Web3 from "web3"; import type { TransactionConfig, TransactionReceipt } from "web3-eth"; import type BN from "bn.js"; export default function EEAClient(web3: IWeb3Instance, chainId: number): IWeb3InstanceExtended; export interface IWeb3Instance { cur...
the_stack
import typescript = require('typescript'); import path = require('path'); import fs = require('fs'); import os = require('os'); import loaderUtils = require('loader-utils'); import objectAssign = require('object-assign'); import makeResolver = require('./resolver'); import 'colors' import {hasOwnProperty, pushArray, a...
the_stack
import { validateSimpleSwapApp, generateValidationMiddleware } from "@connext/apps"; import { AppInstanceJson, MethodParams, SimpleTwoPartySwapAppName, WithdrawAppName, WithdrawAppState, Opcode, UninstallMiddlewareContext, ProtocolName, MiddlewareContext, ProtocolNames, DepositAppState, Protocol...
the_stack
import * as RIVAProto from "./RIVAProto"; import * as BaseTypes from "./BaseTypes"; import * as ImgCache from "./ImgCache"; import * as GraphDraw from "./GraphDraw"; // // Our app is always one of these states: // // Connecting - Waiting to get the web socket connected. In this case we put up a // transparent div t...
the_stack
import { List, Map as IMMap } from 'immutable'; import * as BackUtils from '../backend/backUtils'; import { Context, ContextSet } from '../backend/context'; import { ShEnv } from '../backend/sharpEnvironments'; import { CodeSource, ShValue, SVAddr, SVFunc, SVInt, SVNone, SVObject, SVStr...
the_stack
import * as React from "react"; import * as utils from "../utils/utils"; import * as strings from "spfxReactGridStrings"; import {connect} from "react-redux"; import * as _ from "lodash"; import { SharePointLookupCellFormatter } from "../components/SharePointFormatters"; import WebSelector from "../components/WebSelec...
the_stack
import { TFunction } from "i18next"; import { computed, runInAction, when } from "mobx"; import PropTypes from "prop-types"; import React from "react"; import { WithTranslation, withTranslation } from "react-i18next"; import styled, { DefaultTheme, withTheme } from "styled-components"; import Cartesian2 from "terriajs-...
the_stack
import {IGameState, init, setDifficulty, refresh, guess, clampDifficulty, createLevels} from './index'; import * as I from 'immutable'; import {spy} from 'sinon'; import {assert} from 'chai'; // tslint:disable:max-line-length describe('Game', () => { // Set up the types for a test game record. const levels = I....
the_stack
import { Feature, FeatureCollection, Geometry, Polygon, MultiLineString, MultiPolygon, Position, PolygonCoordinates, } from '../geojson-types'; export class ImmutableFeatureCollection { featureCollection: FeatureCollection; constructor(featureCollection: FeatureCollection) { this.featureCollec...
the_stack
import { callIfFunction, getDeepClone, getFullPath, getMergedObject, getValueAtPath, getNewEmptyObject, isCloneable, isEmptyPath, isSameValueZero, splice, throwInvalidFnError, } from './utils'; const { isArray } = Array; const slice = Function.prototype.bind.call(Function.prototype.call, Array.pr...
the_stack
'use strict'; import { workspace, window, ExtensionContext, languages, commands } from 'vscode'; import { Planning } from './planning/planning'; import { PddlWorkspace } from 'pddl-workspace'; import { PDDL, PLAN, HAPPENINGS } from 'pddl-workspace'; import { PddlConfiguration, PDDL_CONFIGURE_COMMAND } from './configu...
the_stack
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; /** * Reference to another subresource. */ export interface SubResource extends BaseResource { /** * Resource ID. */ id?: string;...
the_stack
import { FieldType } from '@terascope/types'; import { isArrayLike } from './arrays'; import { getTypeOf } from './deps'; let supportsBigInt = true; try { if (typeof globalThis.BigInt === 'undefined') { supportsBigInt = false; } } catch (err) { supportsBigInt = false; } /** A native implementation...
the_stack
import type { b64string } from '@tanker/crypto'; import { generichash, tcrypto, utils } from '@tanker/crypto'; import { InternalError, InvalidArgument, PreconditionFailed } from '@tanker/errors'; import type { SecretProvisionalIdentity, PublicProvisionalIdentity, PublicProvisionalUser } from '../Identity'; import type...
the_stack
import { ComponentOptions } from '../Base/ComponentOptions'; import { IQueryResult } from '../../rest/QueryResult'; import { HighlightUtils, StringAndHoles } from '../../utils/HighlightUtils'; import { Initialization } from '../Base/Initialization'; import { Utils } from '../../utils/Utils'; import { $$ } from '../../u...
the_stack
import getModuleInfos from './parse-graphql/get-module-infos'; import * as fs from 'fs'; import * as path from 'path'; // @ts-ignore import * as shelljs from 'shelljs'; import configureDebug from 'debug'; import { Source, buildSchema } from 'graphql'; import { pascalCase } from 'pascal-case'; import getModuleNames from...
the_stack
import chalk from 'chalk' import ora from 'ora' import { find, cloneDeep } from 'lodash' import { prompt } from 'inquirer' import { table, getBorderCharacters } from 'table' import untildify from 'untildify' import { existsSync } from 'fs-extra' import { createManifest } from './helpers' import { ServerClient } from 'p...
the_stack
import { promises as fs } from 'fs' import ora from 'ora' import path from 'path' import { flattenAllApexs } from '../blobs/apex' import { generateBuild, VendorDirectories, writeBuildFiles } from '../blobs/build' import { BlobEntry } from '../blobs/entry' import { combinedPartPathToEntry, diffLists, listPart, serializ...
the_stack
import * as path from "path"; import {expect} from "chai"; import * as fs from "fs"; import Ast, {ts, ScriptTarget, ModuleResolutionKind} from "ts-morph"; import {TsToCSharpGenerator} from "./TStoCSharpGenerator"; import {GenOptions} from "./GenerateOptions"; import {Context} from "./Context"; console.log(""); console...
the_stack
import { expect } from 'chai'; import { each, every } from '@phosphor/algorithm'; import { IMessageHandler, IMessageHook, Message, MessageLoop } from '@phosphor/messaging'; import { PanelLayout, Widget } from '@phosphor/widgets'; class LogHook implements IMessageHook { messages: string[] = []; messag...
the_stack
import {Manifest} from '../../manifest.js'; import {assert} from '../../../platform/chai-web.js'; import {PolicyRetentionMedium, PolicyAllowedUsageType} from '../policy.js'; import {assertThrowsAsync} from '../../../testing/test-util.js'; import {mapToDictionary} from '../../../utils/lib-utils.js'; import {TtlUnits, Pe...
the_stack
import type { Color } from "../../core/util/Color"; import type { ColorSet } from "../../core/util/ColorSet"; import type { Bullet } from "../../core/render/Bullet"; import type { Root } from "../../core/Root"; import type { Easing } from "../../core/util/Ease"; import { HierarchyDefaultTheme } from "./HierarchyDefaul...
the_stack
import * as vscode from 'vscode'; import * as myExtension from '../extension/extension'; import * as chai from 'chai'; import * as chaiAsPromised from 'chai-as-promised'; import * as sinon from 'sinon'; import * as sinonChai from 'sinon-chai'; import * as path from 'path'; import { version as currentExtensionVersion } ...
the_stack
import * as fs from 'fs'; import * as net from 'net'; import * as events from 'events'; import * as rpc from 'transparent-rpc'; import express from 'express'; import sockaddr from 'sockaddr'; import JsonDatagramSocket from '../util/json_datagram_socket'; import userToShardId from './shard'; import * as proto from './p...
the_stack
interface Bip32 { public: number private: number } export interface Network { messagePrefix?: string bip32: Bip32 pubKeyHash: number scriptHash?: number wif: number dustSoftThreshold?: number dustThreshold?: number feePerKb?: number ethereum?: boolean } const networks: { [key: string]: Network }...
the_stack
import { BN } from "bn.js"; import * as testUtils from "./helper/testUtils"; import { settleOrders } from "./helper/settleOrders"; import { market, TOKEN_CODES } from "./helper/testUtils"; import { BrokerVerifierContract } from "./bindings/broker_verifier"; import { DarknodeRegistryContract } from "./bindings/darkno...
the_stack
import { IJSONSchema } from '@opensumi/ide-core-common/lib/json-schema'; import { Color } from './color'; import { ITokenColorizationSetting } from './theme.service'; export const ISemanticTokenRegistry = Symbol('ISemanticTokenRegistry'); export const TOKEN_TYPE_WILDCARD = '*'; export const TOKEN_CLASSIFIER_LANGUAGE...
the_stack
import { throttle } from 'throttle-debounce'; export type TDraggableOptions = { /** * CSS selector of blocks that can be dragged */ draggableSelector: string; /** * CSS selector where draggable blocks can be placed */ containerSelector: string; /** * DOM element inside of...
the_stack
import { AccessLevelList } from "../shared/access-level"; import { PolicyStatement } from "../shared"; /** * Statement provider for service [cognito-sync](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncognitosync.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/User...
the_stack
import Votes from '../lib/collections/votes/collection'; import { Tags } from '../lib/collections/tags/collection'; import type { KarmaChangeSettingsType } from '../lib/collections/users/custom_fields'; import moment from '../lib/moment-timezone'; import htmlToText from 'html-to-text'; import sumBy from 'lodash/sumBy';...
the_stack
import { flatMap } from 'lodash'; import type * as babel from '@babel/core'; import jsx from '@babel/plugin-syntax-jsx'; import { ArrayPattern, ArrowFunctionExpression, BlockStatement, Expression, FunctionDeclaration, FunctionExpression, Identifier, Node, ObjectPattern, SourceLocation, } from '@babe...
the_stack
import * as geom from "../format/geom"; import * as dbft from "../format/dragonBonesFormat"; export default function (data: dbft.DragonBones | null, textureAtlases: dbft.TextureAtlas[] | null = null): void { if (data) { for (const armature of data.armature) { if (armature.canvas) { ...
the_stack
import React, { useState } from "react"; import { Box, Button, IconButton, Popover, Tooltip, Typography, useMediaQuery, useTheme } from "@mui/material"; import { Add, Delete } from "@mui/icons-material"; import { AdditionalColumnDelegate, CollectionSize, Entity, EntityC...
the_stack
import { validate } from 'class-validator'; import { ArgumentValidationError } from 'type-graphql'; import { Brackets, DeepPartial, EntityManager, getRepository, Repository, SelectQueryBuilder } from 'typeorm'; import { ColumnMetadata } from 'typeorm/metadata/ColumnMetadata'; import { isArray } from 'util';...
the_stack
"use strict"; // uuid: f3413d18-79c1-4c02-92c6-8ecef7f9da79 // ------------------------------------------------------------------------ // Copyright (c) 2018 Alexandre Bento Freire. All rights reserved. // Licensed under the MIT License+uuid License. See License.txt for details // -------------------------------------...
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, beforeEach, afterEach} from 'mocha'; import * as instancesModule from '../src'; import {PassThrough} from 'stream'; import {GoogleAuth, protobuf} from 'g...
the_stack
import * as d3Selection from '../../src/d3-selection'; // --------------------------------------------------------------------------------------- // Some preparatory work for definition testing below // --------------------------------------------------------------------------------------- // Generic DOM related var...
the_stack
import { Action } from '@ngrx/store'; import { schema, normalize } from 'normalizr'; import { EntityMap } from '../reducers/normalize'; /** * Internal action namespace */ const ACTION_NAMESPACE = '[@@Normalize]'; /** * A map of schema names to object property names. * Used for removing child properties of an enti...
the_stack
/** * @license Copyright © 2013 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 { ArrayGetNullOptionalParams, ArrayGetNullResponse, ArrayGetInvalidOptionalParams, ArrayGetInvalidResponse, ArrayGetEmptyOptionalParams, ArrayGetEmptyResponse, ArrayPutEmptyOptionalParams, ArrayGetBooleanTfftOptionalParams, ArrayGetBooleanTfftResponse, ArrayPutBooleanTfftOptionalParams, Arr...
the_stack
import { Dataset, Attributes, AttributeInfo, PlyType } from "plywood"; interface VariableRow { VARIABLE_NAME: string; VARIABLE_VALUE: string; } let variablesData: VariableRow[] = [ { "VARIABLE_NAME": "auto_generate_certs", "VARIABLE_VALUE": "ON" }, { "VARIABLE_NAME": "auto_increment_increment", "VARIABLE_VALU...
the_stack
import { LinkedListNode, LinkedList } from "./list"; import { CancellationToken, CancelError } from "./cancellation"; import { isMissing, isInstance } from "./utils"; import { Cancelable } from "@esfx/cancelable"; import { getToken } from "./adapter"; import { Disposable } from "@esfx/disposable"; /** * Coord...
the_stack
// clang-format off import 'chrome://webui-test/cr_elements/cr_policy_strings.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 {LocalDataBrowserProxyImpl, SiteEntryElement, SiteSettingsPrefsBrowserP...
the_stack
import { Readable } from 'stream'; import { ActionContext, Bus } from '@comunica/core'; import type * as RDF from '@rdfjs/types'; import { DataFactory } from 'rdf-data-factory'; import 'jest-rdf'; import { RdfSourceQpf } from '../lib/RdfSourceQpf'; const arrayifyStream = require('arrayify-stream'); const quad = requir...
the_stack
import { define } from 'elements-sk/define'; import { html } from 'lit-html'; import { ParamSet, toParamSet, fromParamSet } from 'common-sk/modules/query'; import { ElementSk } from '../../../infra-sk/modules/ElementSk'; import { TaskSchedulerService, SearchJobsResponse, SearchJobsRequest, Job, JobStatus, } f...
the_stack
/** * number of valid bits */ type BitSize = "128" | "192" | "256"; /** * implementation of AES ( Advanced Encryption Standard ) in TypeScript */ export class AES { private static sBox = [ 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, ...
the_stack
import logger from '../logger' import * as TeamBuildingGen from '../actions/team-building-gen' import * as Constants from '../constants/wallets' import * as Container from '../util/container' import * as Types from '../constants/types/wallets' import * as WalletsGen from '../actions/wallets-gen' import HiddenString fro...
the_stack
import { shallow, mount } from 'enzyme'; import toJson from 'enzyme-to-json'; import * as React from 'react'; import { Spot } from 'domain/Spot'; import { Employee } from 'domain/Employee'; import { Shift } from 'domain/Shift'; import { RosterState } from 'domain/RosterState'; import moment from 'moment-timezone'; impo...
the_stack
import Container from '../../login/forms/container' import * as Kb from '../../common-adapters' import * as React from 'react' import * as Styles from '../../styles' import {RPCError} from '../../util/errors' import {StatusCode} from '../../constants/types/rpc-gen' import {Box2, Button, Icon, Text, Markdown} from '../....
the_stack
import Vue from 'vue'; import {autobind} from '../utils'; import Request from '../HTTP/Request'; import Response from '../HTTP/Response'; import RequestError from '../Errors/RequestError'; import ResponseError from '../Errors/ResponseError'; import ValidationError, {Errors} from '../Errors/ValidationError'; import ass...
the_stack
import {TypesFetcher} from '../typescript-worker/types-fetcher.js'; import {ImportMapResolver} from '../typescript-worker/import-map-resolver.js'; import {configureFakeCdn} from './worker-test-util.js'; import {assert} from '@esm-bundle/chai'; import {CachingCdn} from '../typescript-worker/caching-cdn.js'; import type...
the_stack
import * as k8s from "@kubernetes/client-node"; import * as http from "http"; import * as request from "request"; import { requestError } from "../support/error"; import { K8sDefaultNamespace } from "../support/namespace"; import { logObject } from "./resource"; /** Response from methods that operate on an resource. *...
the_stack
import { Room } from "matrix-js-sdk/src/models/room"; import { logger } from "matrix-js-sdk/src/logger"; import { RoomUpdateCause, TagID } from "../../models"; import { SortAlgorithm } from "../models"; import { sortRoomsWithAlgorithm } from "../tag-sorting"; import { OrderingAlgorithm } from "./OrderingAlgorithm"; im...
the_stack
import { DeepPartial } from '../utils/DeepPartial'; import { deepMerge } from '../utils/DeepMerge'; import { MatchEngine } from '../MatchEngine'; import { Agent } from '../Agent'; import { Logger } from '../Logger'; import { Design } from '../Design'; import { FatalError, MatchDestroyedError, MatchWarn, MatchEr...
the_stack
import { join } from 'path'; import { readVersionOfDependencies, scanSrcTsFiles, validateRequiredFilesExist, validateTsConfigSettings } from './build/util'; import { bundle, bundleUpdate } from './bundle'; import { clean } from './clean'; import { copy } from './copy'; import { deepLinking, deepLinkingUpdate...
the_stack
import { EventEmitter } from "events"; import { assert } from "node-opcua-assert"; import { BinaryStream } from "node-opcua-binary-stream"; import { createFastUninitializedBuffer } from "node-opcua-buffer-utils"; import { readMessageHeader } from "./read_message_header"; export function verify_message_chunk(messageC...
the_stack
import { Literal } from "./literal"; import { AnyStaticType, Trait, Type, TypeConstraint } from "./type"; import { Predicate } from "./logic"; import { SimulationGoal } from "./goal"; type Metadata = number; type uint32 = number; export enum OpTag { DROP = 1, LET, // meta name (value) PUSH_VARIABLE, // meta n...
the_stack
const { warn, error } = require("danger") const { promises: fs, createReadStream } = require("fs") const path = require("path") const { createHash } = require("crypto") const { spawn } = require("child_process") const schemaV1Path = path.join(process.cwd(), "src/schema/v1") const schemaV2Path = path.join(process.cwd(...
the_stack
import * as path from "path"; import * as assert from "assert"; import Sinon = require("sinon"); import { QuickPickItem, window } from "vscode"; import { AdbHelper } from "../../src/extension/android/adb"; import { IMobileTarget, IDebuggableMobileTarget, MobileTarget, } from "../../src/extension/mobileTarge...
the_stack
/** * @license * * This file is based on https://github.com/lodash/lodash and thus licensed as follows. * The code & license is based on https://github.com/lodash/lodash/tree/2da024c3b4f9947a48517639de7560457cd4ec6c * * The MIT License * * Copyright JS Foundation and other contributors <https://js.foundation...
the_stack
import { Injectable } from '@angular/core'; import { Subject, Subscription } from 'rxjs'; import { ILocalNotification } from '@ionic-native/local-notifications'; import { CoreApp } from '@services/app'; import { CoreConfig } from '@services/config'; import { CoreEventObserver, CoreEvents } from '@singletons/events'; i...
the_stack
import { observable, action } from 'mobx'; import { Injectable, Autowired } from '@opensumi/di'; import { IRecycleListHandler } from '@opensumi/ide-components'; import { IPreferenceViewDesc, IPreferenceSettingsService, ISettingGroup, ISettingSection, PreferenceProviderProvider, Emitter, Event, CommandS...
the_stack
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="es"> <context> <name>LC::Poshuku::WebKitView::CustomWebPage</name> <message> <location filename="customwebpage.cpp" line="237"/> <source>Unable to send the request to %1. Please try submitting it again.</source> ...
the_stack
import * as Octokit from '@octokit/rest' import * as fs from 'fs' import * as inquirer from 'inquirer' import { openUrl, getCurrentFolderName, userRanValidFlags } from '../utils' import * as url from 'url' import * as base from '../base' import * as git from '../git' import { produce } from 'immer' import { afterHooks...
the_stack
import { Utils } from '@rpgjs/common' import { Effect } from '@rpgjs/database' import { ItemLog } from '../logs' import { ItemModel } from '../models/Item' import { EffectManager } from './EffectManager' import { GoldManager } from './GoldManager' import { StateManager } from './StateManager' import { ATK, P...
the_stack
import { useCallbackRef, useDeepMemo, useEventCallback, useFirstMount, useIsomorphicLayoutEffect, } from '@fluentui/react-bindings'; import * as PopperJs from '@popperjs/core'; import * as React from 'react'; import { getReactFiberFromNode } from '../getReactFiberFromNode'; import { isBrowser } from '../isBr...
the_stack
import * as React from 'react'; import classNames from 'classnames'; import { Button, Heading, Text, Icon } from '@/index'; import { BaseProps, extractBaseProps } from '@/utils/types'; import config from './config'; import { Size, Day, View, Events } from './types'; import { compareDate, compareYearBlock, getDat...
the_stack
import * as vscode from "vscode"; import { BazelWorkspaceInfo, createBazelTask, getBazelTaskInfo, queryQuickPickPackage, queryQuickPickTargets, } from "../bazel"; import { exitCodeToUserString, IBazelCommandAdapter, parseExitCode, } from "../bazel"; import { BuildifierDiagnosticsManager, Buildifier...
the_stack
import * as DOM from 'vs/base/browser/dom'; import { Disposable, DisposableStore, toDisposable } from 'vs/base/common/lifecycle'; import { dirname } from 'vs/base/common/resources'; import { URI } from 'vs/base/common/uri'; import { MarkdownRenderer } from 'vs/editor/browser/core/markdownRenderer'; import { IEditorCons...
the_stack
declare module '@fullcalendar/resource-timeline' { import ResourceTimelineView from '@fullcalendar/resource-timeline/ResourceTimelineView'; export { ResourceTimelineView }; const _default: import("@fullcalendar/core").PluginDef; export default _default; } declare module '@fullcalendar/resource-timeline...
the_stack
import { HttpProvider } from 'web3-core' import { RelayProvider } from '@opengsn/provider/dist/RelayProvider' import { Address, AsyncDataCallback } from '@opengsn/common/dist/types/Aliases' import { RelayHubInstance, StakeManagerInstance, TestPaymasterEverythingAcceptedInstance, TestPaymasterPreconfiguredApprovalI...
the_stack