text
stringlengths
10
953k
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Comp4736Component } from './comp...
/** * The basic structure of every project */ export interface Account { /** * The name of the project * @type {string} */ name: string; /** * The username of the project * @type {string} */ username: string; /** * The password of the account * @type {string} */ password: string...
export const BreadLoaf = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" class="sndvll-food-icons icon-bread-loaf"> </svg>`
/* * Copyright (c) 2020, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ import * as http from 'http'; import { parse as parseQueryString } from 'querystring'; i...
import React from "react"; import './index.scss'; interface Props { onClick?: () => void; // 点击封面或题目 coverImg?: string; // 封面 playCount?: number; // 收听量 title?: string; // 题目 author?: string; // 作者 } const Album: React.FC<Props> = ({ onClick, coverImg, playCount, title, a...
import { VideoTile } from '@azure/communication-react'; import { mergeStyles, Persona, PersonaSize, Stack } from '@fluentui/react'; import React from 'react'; const renderPersona = (): JSX.Element => ( <Persona styles={{ root: { margin: 'auto' } }} size={PersonaSize.size56} hidePersonaDetails={true} ...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { RouteDeps } from '../../types'; import { wrapError } from '../../uti...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
export const Types = { isObject(value: any): boolean { var type = typeof value; return value != null && (type === 'object' || type === 'function'); }, isPlainObject(value: any) { if (Object.prototype.toString.call(value) !== '[object Object]') { return false; } const prototype = Object...
import fetchMock from 'fetch-mock' import { exampleData_apiSubreddit } from '../model' import {Action} from 'redux' import {ThunkDispatch} from 'redux-thunk' import configureStore from 'redux-mock-store' import thunk from 'redux-thunk' import { actionNames, asyncActions } from '../action' describe('[Selector, mapD...
import { BaseEntity, Column, Entity, OneToMany, PrimaryGeneratedColumn, } from 'typeorm'; import * as bcrypt from 'bcrypt'; import { RefreshToken } from 'src/auth/entity/refresh-token.entity'; import { Book } from 'src/book/entity/book.entity'; @Entity() export class User extends BaseEntity { @...
export interface Schema { error?: string; info?: { [key: string]: any; }; success: boolean; target?: Target; } export interface Target { configuration?: string; project?: string; target?: string; }
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import path from 'path'; import { Size } from '../../../types'; import { Layou...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="es_419" sourcelanguage="en"> <context> <name>AboutDialog</name> <message> <location filename="../about.cc" line="+35"/> <source>About Transmission</source> <translation>Acerca de Transmission</translation> ...
import { AppComponentBase } from 'shared/app-component-base'; import { Injector, OnInit } from '@angular/core'; import { PaginationDTO } from './pagination/pagination-DTO'; import { FormBuilder, Validators } from '@angular/forms'; import { FilterRequest } from '@app/service/api/model/common-DTO'; import { Observable } ...
import React, { PureComponent } from 'react'; import styled from 'styled-components'; import { Button, ButtonColor, ButtonProps, IconButton } from '../../components/Button'; import { media } from '../../core/BreakPoints'; import { gray600, gray800, white } from '../../core/Colors'; import { elevation5 } from '../../co...
import React from 'react' import { NoProfileAvatarIcon } from '@pancakeswap-libs/uikit' import { Profile } from 'state/types' import styled from 'styled-components' export interface ProfileAvatarProps { profile: Profile } const TeamAvatar = styled.img` border: 1px solid ${({ theme }) => theme.card.background}; ...
import { Component, EventEmitter, OnInit, Output } from '@angular/core'; import { CommonService } from "../../utility/shared-service/common.service"; @Component({ selector: 'app-school-code', templateUrl: './school-code.component.html', styleUrls: ['./school-code.component.css'], providers: [CommonService] }) ...
import { Transaction, MultioutRecipientAmount } from '..'; export declare function getRecipientAmountsFromMultiOutPayment(transaction: Transaction): Array<MultioutRecipientAmount>;
import { input } from '../../../Formula' import { Data } from '../../../Formula/type' import { equal, greaterEq, percent, sum } from '../../../Formula/utils' import { ArtifactSetKey } from '../../../Types/consts' import { cond, sgt, st } from '../../SheetUtil' import { ArtifactSheet, IArtifactSheet } from '../ArtifactS...
import {SubSequenceSearch} from "../../access-data/dao/SubSequenceSearch"; export function DownloadGenesDirectSearchAction(listOfGenesToDownload, email) { return function (dispatch) { return new SubSequenceSearch().downloadGenesFromListToUnfiltered(listOfGenesToDownload, email) .then((response)...
import { Message } from 'discord.js'; import * as nodeFetch from 'node-fetch'; import { DependencyContainer } from '../interfaces/dependency-container'; import { Personality } from '../interfaces/personality'; import { MessageType } from '../types'; export const commandString = 'TELL ME A JOKE'; export const apiEndpo...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import type {DocMetadataBase, VersionMetadata} from '../types'; import type { NormalizedSidebarItem, NormalizedSidebar, Norm...
import React, { useContext } from 'react'; import { NavBar } from 'components/nav-bar'; import { parseSettings } from 'lib/settings-parser'; import toggleApi from 'lib/toggl-api'; import googleSheetsApi from 'lib/google-sheets-api'; import { Container, Grid, Cell } from 'elements'; import { Controls } from './control...
export * from "./ComputeOptimizer"; export * from "./ComputeOptimizerClient"; export * from "./commands"; export * from "./models";
export { ApiService } from './api'; export { GqlService } from './gql/gql.service'; export { DbService } from './db.service'; export { QueryService } from './query.service'; export { WindowService } from './window.service'; export { NotifyService } from './notify/notify.service'; export { DonationService } from './dona...
export * from "./createSaleorClient"; export * from "./types"; export { createFetch } from "../apollo/client";
import { Model } from './model'; import { Callable, Commands, Commandable, Constructor, MethodOf, PropertyOf, RuntimeDecorator, isCallable, $evaluable, } from '../reflectable'; import { $reference, getProperty, isReference } from '../property'; import { $observable } from '../observable'; /** * View...
import { Component, OnInit } from '@angular/core'; import {Song} from '../../../model/song/song'; import {SongService} from '../../../services/song/song.service'; import {TokenStorageService} from '../../../auth/token-storage.service'; import {NgbModal, NgbModalConfig} from '@ng-bootstrap/ng-bootstrap'; import {Activat...
export * from './Landing';
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RemoveConsultantsDialogAcceptedComponent } from './remove-consultants-dialog-accepted.component'; describe('RemoveConsultantsDialogAcceptedComponent', () => { let component: RemoveConsultantsDialogAcceptedComponent; let fixture: Co...
export default class RedisConstants { public static readonly REDIS_KEY = 'LOVE:'; public static readonly GUILD_KEY = 'guild:'; public static readonly CHANNEL_KEY = 'channel:'; public static readonly USER_KEY = 'user:'; public static readonly PREFIX_KEY = 'prefix:'; public static readonly SPAM_KE...
import {SettingsComponentProps} from "../../containers/Settings"; import {useCallback, useMemo, useState} from "react"; import * as React from "react"; import XenObjectHeader from "../../components/XenObjectHeader"; import {Badge, Col, Nav, NavItem, NavLink, Row, TabContent, TabPane} from "reactstrap"; import { Templ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="en"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Neutrino</source> <translation>About Neutrino</tra...
import { ComponentFixture, fakeAsync, flushMicrotasks, inject, TestBed, tick, flush, } from '@angular/core/testing'; import { ChangeDetectionStrategy, Component, Directive, Inject, Injector, NgModule, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core'; import {By} from '@ang...
import { Process } from '../logic/Process'; import { Parameters, IReferences } from 'pip-services3-commons-node'; export declare class BatchSyncProcess<T> extends Process { constructor(processType: string, references?: IReferences, parameters?: Parameters); }
import React from 'react' import { CommitRow } from './CommitRow' import { RenderItem, RowList } from './RowList' import { GitHubPushedCommit } from '@devhub/core' export interface CommitListRowProps { isRead: boolean maxHeight?: number commits: GitHubPushedCommit[] } export const CommitListRow = React.memo((...
import {DayRunner} from './day_runner'; export class Day1 implements DayRunner { private depthMeasurements: number[]; private windowSize: number; constructor(windowSize = 1) { this.depthMeasurements = []; this.windowSize = windowSize; } private parseInput(input: string) { input.split('\n').forE...
import React from 'react'; import PropTypes from 'prop-types'; export const HTMLContent = ({ content, className }) => ( <div className={className} dangerouslySetInnerHTML={{ __html: content }} /> ); export const Content = ({ content, className }) => <div className={className}>{content}</div>; Content.propTypes = {...
import {random} from 'lodash'; import {Col} from 'reactstrap'; import React, {useState} from 'react'; import {Icon} from '@instinct-web/core'; import {Card} from '../../components/card/Card'; const YOUTUBE_IDS = [ 'NkRkuI0ZgX0', 'UoG4vGyniVI', 'GQugkwnjFJM', 'DZiaXEIQgkE', 'ZAR49HnDo5c', 'AnycCuYSW7A', '...
import { ProtocolService } from '@airgap/angular-core' import { ICoinProtocol, MainProtocolSymbols, ProtocolSymbols, SubProtocolSymbols } from '@airgap/coinlib-core' import { NetworkType } from '@airgap/coinlib-core/utils/ProtocolNetwork' import { Component } from '@angular/core' import { Router } from '@angular/router...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { ReporteEgreProgComponent } from './rep-egre-programa.component'; const routes: Routes = [ { path: '', component: ReporteEgreProgComponent } ]; @NgModule({ imports: [RouterModule.forCh...
import { Module } from '@nestjs/common'; import { DomainModule } from 'src/domain/domain.module'; import { UsersService } from './users.service'; @Module({ imports: [DomainModule], providers: [UsersService], exports: [UsersService] }) export class UsersModule {}
import { CSSProperties, MouseEventHandler } from 'react'; export interface IconProps { /** Name of icon */ name?: IconName, /** Width of the icon in pixels. Will overwrite the width from size */ width?: number, /** Height of the icon in pixels. Will overwrite the height from size */ height?: number, /** ...
"use strict"; import { assertEquals } from "https://deno.land/std@0.121.0/testing/asserts.ts"; import { AwesomeOscillator } from "../../src/oscillators/AwesomeOscillator.ts"; let input = { high: [ 24.63, 24.69, 24.99, 25.36, 25.19, 25.17, 25.01, 24.96, 25.08, 25.25, 25.21, 25.37, 25.61, 25.58, 25.46, 25.33, ...
import {hashElement} from 'folder-hash'; const hashAlg = 'sha512'; export const digestDirectory = async (path: string, excludeFiles: string[]): Promise<string> => { const result = await hashElement(path, { algo: hashAlg, files: {exclude: [...excludeFiles]}, folders: {ignoreRootName: true} ...
import { Template } from "./template" import { Contract, Transaction } from "./instantiate" import { address as Address, crypto, keyring, mtx as Mtx, opcode as Opcode, outpoint as Outpoint, script as Script, tx as Tx, witness as Witness } from "bcoin" import { fromSecret, sign } from "./crypto" ex...
import React from 'react'; import { View, StyleSheet, Platform, Pressable, ActivityIndicator, ViewStyle, StyleProp, TextStyle, } from 'react-native'; import Icon from '../Icon'; import Text from '../Text'; import fonts from '../config/fonts'; import { androidRipple, InlinePressableProps, RneFuncti...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="kmr"> <context> <name>Account</name> <message> <location filename="../pages/Account.qml" line="55"/> <source>Set the label of the selected account:</source> <translation type="unfinished"></translation> ...
/* * Squidex Headless CMS * * @license * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ import { Pipe, PipeTransform } from '@angular/core'; import { SimulatedRuleEventDto } from '@app/shared'; @Pipe({ name: 'sqxRuleClass', pure: true, }) export class RuleClassPipe implements Pipe...
import * as React from 'react'; import classNames from 'classnames'; interface Props { items?: Array<any>; name?: string; } function FilterRadio({ items, name }: Props) { const itemsList = items.map((item) => { let count; if (item.count) { count = <span className="filter-list__counter">{item.coun...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; import {AppRoutingModule, routingComponents} from './app-routing.module'; import {ReactiveFormsModule} from '@angular/forms'; @NgModule({ imports: [ Browse...
import {mount} from 'enzyme'; import * as React from 'react'; import {serverConfigStore} from 'app/utils/stores'; import { Profile, ProfileApi, WorkspaceAdminApi} from 'generated/fetch'; import {AdminReviewWorkspace} from './admin-review-workspace'; import {ProfileApiStub, ProfileStubVariables} from 'testing/stubs/pro...
export * from './lib/client' export * from './lib/connect' export * from './lib/store' export * from './lib/client-options' import { MqttClient } from './lib/client' export { MqttClient as Client } export { QoS, PacketCmd, IPacket, IConnectPacket, IPublishPacket, IConnackPacket, ISubscription, ISubscrib...
import React from 'react'; import {useDictionaries} from "../../hooks/useDictionaries"; export const Dictionaries: React.FC = () => { useDictionaries(); return null };
version https://git-lfs.github.com/spec/v1 oid sha256:2eefddd929860bbbd932a63764eb951be283f05eb37f51ddf49406099e89d6fc size 2447196
import * as React from "react"; import Dashboard from "./Main"; import { PrivateRoute } from "./../../routes/router"; import LoginForm from "./Form/LoginForm"; import SignUpForm from "./Form/signUpForm"; import ColorToggle from "../../components/colorToggleComponent/colorToggleParent"; import EmployeeList from "./.....
export { cyan, bold } from "https://deno.land/std@v0.3.1/colors/mod.ts";
import { ModalBox as ModalBoxModule } from '../../ExternalModulesShim'; import { exportGlobally } from '../../GlobalExports'; import { IQueryResult } from '../../rest/QueryResult'; import { $$, Dom } from '../../utils/Dom'; import { DomUtils } from '../../utils/DomUtils'; import { SVGDom } from '../../utils/SVGDom'; im...
import Link from "next/link"; import { TagContent } from "../lib/tags"; type Props = { tag: TagContent; }; export default function Tag({ tag }: Props) { return ( <Link href={"/posts/tags/[[...slug]]" + location.search} as={`/posts/tags/${tag.slug}${location.search}`}> <a>{"#" + tag.name}</a> </Link> ...
import * as ts from "typescript"; import * as lua from "../../../LuaAST"; import { FunctionVisitor, TransformationContext } from "../../context"; import { AnnotationKind, getTypeAnnotations } from "../../utils/annotations"; import { annotationInvalidArgumentCount, annotationRemoved } from "../../utils/diagnostics"; imp...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../types"; import * as utilities from "../utilities"; /** * D...
import moment from "moment-timezone" import { copyDencoState, DencoState, getDefense, init } from "../.." import { getAccessDenco, hasSkillTriggered, startAccess } from "../../core/access" import { initContext } from "../../core/context" import DencoManager from "../../core/dencoManager" import { activateSkill, getSkil...
import NFTProviderPage from './NFTProviderPage' export { NFTProviderPage }
import {Injectable} from '@angular/core'; import {AngularFireDatabase, FirebaseListObservable} from 'angularfire2/database'; import {Observable} from 'rxjs/Observable'; import 'rxjs/add/operator/catch'; import 'rxjs/add/observable/empty'; import 'rxjs/add/observable/throw'; export interface Product { // Unique Id ...
import { Selector, ParametricSelector } from 'reselect'; import { NamedSelector, NamedParametricSelector } from './types'; import { defineDynamicSelectorName, getSelectorName, isDebugMode, } from './helpers'; export type Defined<T> = Exclude<T, undefined>; export type RequiredSelectorBuilder<S, R, D> = () => Na...
import { isObject } from '../utils'; const line = function ( options: any, serie: any, coordinateSystem: any, ) { if (isObject(options.grid) && !Array.isArray(options.grid)) { console.log(options); } else if (Array.isArray(options.grid)) { options.grid = options.grid.map((gri: any, index: number) => ...
// src/redux/modules/editorWindow/processEditor/types.ts export const SET_PROCESS_LIST = 'editorWindow/processEditor/SET_PROCESS_LIST'; export const SELECT_PROCESS = 'editorWindow/processEditor/SELECT_PROCESS'; // export const PROCESS_EDITOR_DIALOG_OPEN = 'editorWindow/processEditor/PROCESS_EDITOR_DIALOG_OPEN'; export...
export * from './login.dto'; export * from './register.dto'; export * from './user.dto';
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { HubError, HubErrorCode } from '@decentralized-identity/hub-node-core'; /** * Maps an error thrown by the MongoDB SDK to an appropriate `HubError`. * * @param error An error thrown by the MongoDB SDK. *...
import { Context } from './context/context' import * as fs from './fs/node' import { forOwn, snakeCase } from './util/underscore' import { Template } from './template/template' import { Tokenizer } from './parser/tokenizer' import { Render } from './render/render' import Parser from './parser/parser' import { TagImplOp...
import { Control } from "gui/2D/controls/control"; import { Vector2 } from "core/Maths/math.vector"; import * as React from "react"; import { GlobalState } from "../globalState"; import { Image } from "gui/2D/controls/image"; import { TextBlock } from "gui/2D/controls/textBlock"; import { CoordinateHelper, DimensionPro...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import React from 'react'; import { render, fireEvent, screen } from '@botframework-composer/test-utils'; import assign from 'lodash/assign'; import { ArrayFieldItem } from '../ArrayFieldItem'; import { fieldProps } from './testUtils'; funct...
import { DataSource } from "apollo-datasource"; import DataLoader from "dataloader"; export interface Book { isbn: string title: string year: number | null similarBooks?: string[] } export class BooksDataSource implements DataSource { private loader?: DataLoader<string, Book>; initialize() { this.load...
import * as path from "path"; import * as shell from "shelljs"; import * as constants from "../constants"; import * as semver from "semver"; import * as projectServiceBaseLib from "./platform-project-service-base"; import { DeviceAndroidDebugBridge } from "../common/mobile/android/device-android-debug-bridge"; import {...
import {Component, OnInit, OnDestroy, Input, HostListener} from "@angular/core" import {YtsService} from "../service/yts.service" import {ActivatedRoute} from "@angular/router" import {environment} from "../../environments/environment" import {MatIconRegistry} from "@angular/material" import {DomSanitizer} from "@angul...
import { Component, OnInit, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { Day } from '../../prestation.component'; import { FormGroup, FormControl, AbstractControl, Validators, ValidatorFn } from '@angular/forms'; import { CodeChantierService, CodeChan...
import { chunk } from "./chunk.ts"; import { expect, test } from "../dev_deps.ts"; test("chunk", () => { const table: [...Parameters<typeof chunk>, ReturnType<typeof chunk>][] = [ [0, [], [[]]], [0, [1], [[]]], [0, [1, 2, 3], [[]]], [1, [1, 2, 3], [[1], [2], [3]]], [2, [1, 2, 3], [[1, 2], [3]]], ...
import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { routes } from './child-detail.routes'; import { ChildDetailComponent } from './child-detail.component'; @NgModule({ declarations: [ ChildDetailComponent, ], impor...
import { SelectedFilter } from "./SelectedFilter"; export declare type SourceFilterType = string | Array<string> | boolean; export declare class ImmutableQuery { index: any; query: any; static defaultIndex: any; constructor(index?: any); buildQuery(): void; hasFilters(): boolean; hasFiltersO...
import { List as _List_ } from "@aws-sdk/types"; import { _EndpointGroup } from "./_EndpointGroup"; export const _EndpointGroups: _List_ = { type: "list", member: { shape: _EndpointGroup } };
import { DEFAULT_BAD_SAMPLES, DEFAULT_GOOD_SAMPLES, DEFAULT_CHARS_TO_INCLUDE, UPPERCASE_CHARS } from '../utils/constants' import { cleanAndExtractWordsFromTextToScore, getCharCodeMap, getDefaultBigramMatrixFromJSON } from '../utils/helpers' import { createEmptyBigramMatrix, getBigramCutoffScores, runTextThroughBigramMa...
/** * Convert a string to a hex string encoded with UTF-8 * @param {number} value * @return {string} */ export function toHex(value: number): string { let hex = value.toString(16); if ((hex.length % 2) > 0) { hex = '0' + hex; } return Buffer .from(hex, 'hex') .toString('utf-8'); }
import { HttpClient } from '@angular/common/http'; import { NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { NbActionsModule, NbButtonModule, NbCardModule, NbIconModule } from '@nebular/theme'; import { NgSelectModule } from '@ng-select/ng-select'; import ...
import * as Mock from '../MockEnvironment'; import { ResultFolding } from '../../src/ui/ResultFolding/ResultFolding'; import { IResultFoldingOptions } from '../../src/ui/ResultFolding/ResultFolding'; import { FakeResults } from '../Fake'; import { $$ } from '../../src/utils/Dom'; import { IQueryResult } from '../../src...
class Node<T> { next: Node<T> | null; private _value: T; constructor(value: T) { this._value = value; this.next = null; } get value(): T { return this._value; } } export default Node;
import { Injectable, HostListener } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; // Menu export interface Menu { path?: string; title?: string; type?: string; params?: any; megaMenu?: boolean; image?: string; active?: boolean; badge?: boolean; badgeText?: string; children?: Menu[]; } @Injec...
import { Network } from '#/App/Domain/Type/Network'; export type ModuleAppConfig = { modules : { app? : { network? : Network, } } }
import { getDataFromSyncStoragePromise, getTabsPromise, sendMessageToTabs, } from '.'; import { SHORTCUT_DECREASE_PLAYBACK_RATE, SET_PLAYBACK_RATE, SHORTCUT_INCREASE_PLAYBACK_RATE, SHORTCUT_SKIP_FORWARD, SKIP_FORWARD, SHORTCUT_SKIP_BACKWARD, SKIP_BACKWARD, } from '../constants'; export const handle...
import {app, BrowserWindow, globalShortcut} from 'electron'; import * as path from 'path'; import * as url from 'url'; // Initialize remote module require('@electron/remote/main').initialize(); let win: BrowserWindow = null; const args = process.argv.slice(1), serve = args.some(val => val === '--serve'); function ...
import { Controller, Get, HttpStatus, HttpCode, Post, Delete, Patch, Param, Query, Body, UseGuards, Request, } from '@nestjs/common'; import { JwtService } from '@nestjs/jwt'; import { ApiTags, ApiResponse } from '@nestjs/swagger'; import { JwtAuthGuard } from '../auth/jwt-auth.guard'; import { ...
// <copyright file="IRequestApproval.ts" company="Microsoft"> // Copyright (c) Microsoft. All rights reserved. // </copyright> import { Guid } from "guid-typescript"; export interface IRequestApproval { userId: Guid; timesheetDate: Array<Date>, status: number; managerComments: string; }
import { overArgs } from "lodash"; export default overArgs;
type BaseProps = { networks?: any; viewType?: "list" | "grid"; useTestNetworks?: boolean; walletsDisplayType?: string; selectedNetworkIds?: string[]; isFilterChanged?: boolean; }; export type FilterWalletsHookProps = { update: (key: string, value: any) => void; disabled: boolean; } & BaseProps; export type Fi...
export declare type OneOrMany<T> = Array<T> | T;
/* Copyright 2015, 2016 OpenMarket Ltd Copyright 2018 New Vector Ltd Copyright 2019 Michael Telatynski <7t3chguy@gmail.com> Copyright 2020 The Matrix.org Foundation C.I.C. 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 c...
import { ITraverseContext } from '../helpers/chevrotain/cst'; import { CstElement, IRecognitionException } from 'chevrotain'; import { TurtleParser } from '../turtle/TurtleParser'; export declare function addIfClauseErrorsToErrors({ cst, namespacesMap, fullCtx, errors, semanticErrors, }: { cst: CstElement; name...
/* eslint-disable @typescript-eslint/no-explicit-any */ import * as vscode from 'vscode'; import { Httpgd } from './httpgd'; import { HttpgdPlot, IHttpgdViewer, HttpgdViewerOptions, PlotId, ExportFormat, HttpgdState } from './httpgdTypes'; import * as path from 'path'; import * as fs from 'fs'; import * as ejs from '...
import "react-native"; import React from "react"; import { Stopwatch } from "../src"; import renderer from "react-test-renderer"; describe("Stopwatch", () => { it("renders correctly", () => { renderer.create(<Stopwatch />); }); });
import type { ISlow } from "../../../../Interfaces/Options/Interactivity/Modes/ISlow"; import type { RecursivePartial } from "../../../../Types/RecursivePartial"; export declare class Slow implements ISlow { get active(): boolean; set active(_value: boolean); factor: number; radius: number; construc...