text
stringlengths
10
953k
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import * as MSAGL from "../../../MSAGL_JS/Scripts/msagl"; import "./styles.css"; import "../samples.css"; import * as sampleGraph1 from 'raw-loader!./samplegraph1.txt'; import * as sampleGraph2 from 'raw-loader!./samplegraph2.txt'; $(window).o...
import React, { useCallback } from 'react'; import { useDispatch } from 'react-redux'; import Items from 'shared/components/Items/items'; import css from './Report.module.css'; import { setReportChange } from 'store/app/actions'; import { ReportChange } from 'store/app/types'; import { useSelector } from 'react-redu...
/** * @license * Copyright 2020 Google Inc. * 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 * * Unless required by applicable law or...
import classNames from 'classnames'; import { ComponentClassNames } from '../../shared'; import { View } from '../../View'; import { useDeprecationWarning } from '../../../hooks/useDeprecationWarning'; /** * @deprecated These icons are being removed in the next major release. You can use the [react-icons](https://re...
export interface Account { id: number; name: string; type: string; currency: string; balance: number; initialBalance: number; includeInTotal: boolean; }
import * as React from 'react'; import { Announced } from 'office-ui-fabric-react/lib/Announced'; import { TagPicker, ITag } from 'office-ui-fabric-react/lib/Pickers'; import { Text } from 'office-ui-fabric-react/lib/Text'; import { IStackTokens, Stack } from 'office-ui-fabric-react/lib/Stack'; import { useBoolean } fr...
import {Controller, Delete, Get, Param, UseGuards} from '@nestjs/common'; import {AuthGuard} from '@nestjs/passport'; import {DebtsService} from '../../services/debts/debts.service'; import {ApiBearerAuth, ApiResponse, ApiUseTags} from '@nestjs/swagger'; import {ReqUser} from '../../../../common/decorators/request-user...
import {List, ListWrapper} from 'angular2/src/facade/collection'; import {isPresent, isFunction} from 'angular2/src/facade/lang'; import {DomAdapter} from './dom_adapter'; /** * Provides DOM operations in any browser environment. */ export class GenericBrowserDomAdapter extends DomAdapter { getDistributedNodes(el)...
/* * Copyright 2021 The Backstage Authors * * 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 * * Unless required by applicable law or ...
/// <reference path="../../typings.d.ts" /> import * as Knex from 'knex'; import * as fastify from 'fastify'; import * as HttpStatus from 'http-status-codes'; import * as crypto from 'crypto'; import { PersonMoldel } from '../models/person'; const personMoldel = new PersonMoldel(); const router = (fastify, { }, nex...
import { applyDecorators } from '@nestjs/common'; import { ApiProperty } from '@nestjs/swagger'; import { Exclude, Expose, Transform, TransformFnParams, } from 'class-transformer'; import { IsIn, IsOptional, ValidateIf } from 'class-validator'; import { SORT_VALUES } from '../types'; export interface ExcludeIf...
import * as TeamsGen from '../../../actions/teams-gen' import * as Container from '../../../util/container' import ReallyLeaveTeam from '.' import * as RouteTreeGen from '../../../actions/route-tree-gen' type OwnProps = Container.RouteProps<{ username: string teamname: string email: string navToChat?: boolean ...
export * from './flattenArray'; export * from './multiply'; export * from './curry';
export enum Options { Beginner = 'Beginner', Intermediate = 'Intermediate', Expert = 'Expert', } export type Difficulties = { [key in Options]: Difficulty; }; export type Difficulty = { width: number; height: number; minesQuantity: number; }; export const difficulties: Difficulties = { Beginner: { ...
<TS language="es_ES" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Botón derecho para editar dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { StarRatingComponent } from '../star-rating/star-rating.component'; import { NgbRatingModule, NgbRatingConfig } from '@ng-bootstrap/ng-bootstrap'; describe('StarRatingComponent in product', () => { let starRatingComponent: StarRatingCom...
import {Component, Inject, OnInit, Input} from '@angular/core'; import {StateService} from '@uirouter/angular'; @Component({ selector: 'shc-base', template: require('./template.pug')(), styles: [require('./styles.styl').toString()] }) export class BaseComponent implements OnInit { // Attributes ...
import { Button } from "../../../../components/button"; import { Description } from "../../../../components/description"; import { Title } from "../../../../components/title"; import { Container } from "./style"; export const Gallery = () => { return ( <Container> <Title>Gallery</Title> ...
export default function castToFloatLikeType( instanceOf: (string) => boolean, to: string ): (Value) => { successful: true; value: any } | { error: Error; successful: false } { if (instanceOf('xs:numeric')) { return (value) => ({ successful: true, value, }); } if (instanceOf('xs:boolean')) { return (val...
import type { Interpreter } from './Interpreter'; import { LoxInstance } from './LoxInstance' export class LoxClass implements Callable { public isCallable = true as const; public isLoxClass = true as const; public hiddenSlots = new Map<string, any>(); public constructor(public name: string, public superclass...
import React from "react"; import IncludeProps from "../../../utils/ViewDispatcher/IncludeProps"; import { DetailCMProduct } from "../../../queries/fragments/__generated__/DetailCMProduct"; import DetailedCMProduct from "../DetailedCMProduct"; import { initializeDetailCMProduct } from "../../../models/Detail/DetailCMPr...
import { isNullOrUndefined } from '@syncfusion/ej2-base'; import { WCharacterFormat, WParagraphFormat } from '../index'; import { WCellFormat } from '../index'; import { WBorder } from '../index'; import { WBorders } from '../index'; import { Page, Rect, Widget, ImageElementBox, LineWidget, ParagraphWidget, Bod...
export type Maybe<T> = T | undefined; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }; export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }; /*...
import { DataModel } from '~/models/abstract/DataModel'; import { DataModelAttributeMap } from '~/models/abstract/IDataModel'; import { ModelData } from '~/types/models-data/ModelData'; import { dateDeserializer, dateSerializer, emojiDeserializer, emojiSerializer, postCommentDeserializer, postCommentSeriali...
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import { CommandRegistry } from '@lumino/commands'; import { IDebugger } from '../tokens'; import { Panel, Widget } from '@lumino/widgets'; import { VariablesBodyTable } from './table'; import { VariablesHeader }...
// libs import React, { createContext, useCallback, useState, useContext } from 'react'; // services import api from '../services/apiClient'; // interfaces interface SignInCredentials { email: string; password: string; } interface AuthContextData { user: object; signIn(credentials: SignInCredentials): Promis...
import { createClient, Stanzas, Agent, Constants, } from 'stanza'; import crypto from 'crypto'; import Client from './Client'; import Base from './Base'; import Endpoints from '../../resources/Endpoints'; import PartyMessage from '../structures/PartyMessage'; import FriendPresence from '../structures/FriendPresence';...
/* * Copyright 2020 Spotify AB * * 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 * * Unless required by applicable law or agreed to i...
// This file can be replaced during build by using the `fileReplacements` array. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { production: false, httpUrl: 'http://localhost:3000' }; /* * For...
/** * Transaction Builder * =================== */ import { Address } from './address' import { Bn } from './bn' import { Constants as Cst } from './constants' import { HashCache, HashCacheLike } from './hash-cache' import { KeyPair } from './key-pair' import { PubKey } from './pub-key' import { Script } from './scr...
/** * * @license * Copyright 2017 SAP Ariba * * 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 * * Unless required by applicable law or ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { NgModule } from "@angular/core"; import { RouterModule, Routes } from "@angular/router"; import { AntikytheraComponent } from "./antikythera.component"; const routes: Routes = [ { path: '', component: AntikytheraComponent } ]; @NgModule({ imports: [RouterModule.forChild(routes)], ...
/* tslint:disable:no-unused-variable */ import { TestBed, async } from '@angular/core/testing'; import { ReplaySubject, BehaviorSubject, Observable } from 'rxjs'; import { AppSettingsService } from '../../../app-settings/app-settings.service'; import { PatientRelationshipResourceService } from '../../../openmrs-api/pa...
export { default } from "./worker-info";
/******************************************************************************* * Copyright IBM Corp. 2017 * * 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/li...
import { parseContentType } from '../utils/content-type-utils'; export type ParagraphElement = { type: 'paragraph'; children: TextElement[] }; export type HeadingElement = { type: 'heading', children: TextElement[], level: 1 | 2 | 3 | 4 | 5 | 5 | 6 }; export type LinkElement = { type: 'link', children: TextElement[],...
/** * @file 工具函数 * @author meixuguang */ import { computeLineStarts, skipTrivia, getLineAndCharacterOfPosition } from './scanner'; import { last, noop, map, createMapFromTemplate } from './core'; import * as ts from 'typescript'; import {Node} from 'typescript'; import {error} from './...
export function sheetToEntry(sheet: any): { cols: any[], data: any[] } { const cols = sheet.table.cols.map((col: any) => ({ label: col.label, type: col.type, })); const sanitizeCell = (cell: any, cellType: string) => { if (cell && cell.v) { if (cellType === "number") return cell.v; ...
import { name } from '../../../../../package.json'; import { createSchema } from '../../../../..'; import { toHTML } from '../../../../../test-helpers'; describe(`${name}/schema action mark`, () => { it('serializes to <span data-mark-type="action">', () => { const schema = makeSchema(); const node = schema.t...
import { combineReducers } from '@reduxjs/toolkit'; import { productsApi } from '../api/fakestore'; import cartReducer from '../redux/reducers/cartSlice'; import productsReducer from '../redux/reducers/productsSlice'; const rootReducer = combineReducers({ products: productsReducer, [productsApi.reducerPath]: produ...
import { AbilityFour, BuffFour } from 'lib/w3ts' import { TargetType } from "../enums/TargetType" import { EffectType } from "../enums/EffectType" export interface IAbilityTypeParam { four: AbilityFour | string, buffFour?: BuffFour, effectType?: EffectType, targetType?: TargetType, orderId?: number, orderIdAutoO...
/** * Elijah Cobb * elijah@elijahcobb.com * elijahcobb.com * github.com/elijahjcobb */ import {TAny} from "../TAny"; describe("OAny", (): void => { const t: Map<string, any> = new Map<string, any>(); t.set("Function", () => {}); t.set("Boolean True", true); t.set("Boolean False", false); t.set("String - E...
'use strict'; import { Strategy, StrategyOptions, ExtractJwt } from 'passport-jwt'; import { JWTAuthentication, validateJwtAuthConfig } from '../../config/authentication'; import * as _ from 'lodash'; import * as express from 'express'; import { Container } from 'typescript-ioc'; import { MiddlewareLoader } from '../....
import type { Connection } from 'vscode-languageserver/node'; import type { Position } from 'vscode-languageserver/node'; import type { Location } from 'vscode-languageserver/node'; import type { TextDocument } from 'vscode-languageserver-textdocument'; import type { SourceFile } from '../sourceFile'; import type { Lan...
/* Copyright (c) Microsoft Corporation. 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 Unless required by applicable law or agreed to in...
export declare type DefinitionTypeType = string; export declare type DefinitionTypeEnum = { _enum: DefinitionTypeType[]; } | { _enum: Record<string, DefinitionTypeType | null>; }; export declare type DefinitionTypeSet = { _set: Record<string, number>; }; declare type DefinitionTypeStructExtra = { _alias...
export { createArray, setInArray, sortByName, isXInArrayOf, extractProp, sortBy, itemsInArrOf } from './array'; export { renderIf, renderIfTrue, renderIfFalse, renderDefinedTrue, renderDefined, renderSwitch } from './react'; export { toCamel, capitalizeFirstLetter } from './string'; export { exists, defined } from './v...
import { getTestClient } from '../../../../utils/getTestClient' describe('connection-limit-postgres', () => { expect.assertions(1) const clients: any[] = [] afterAll(async () => { await Promise.all(clients.map((c) => c.$disconnect())) }) test('the client cannot query the db with 100 connections already...
/* * Copyright 2021 znai maintainers * * 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 * * Unless required by applicable law or agreed to...
export type JsonType = boolean | number | string | null | JsonArray | JsonMap; export interface JsonMap { [key: string]: JsonType; } export interface JsonArray extends Array<JsonType> {} export type JsonDTO<T, U extends keyof T> = { [P in U] : T[P] extends boolean ? boolean : T[P] extends string ? string :...
// Type definitions for auto-sni 2.1 // Project: https://github.com/dylanpiercey/auto-sni // Definitions by: Jan Wolf <https://github.com/janwo> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> import { Server } from "https"; declare namespace createServer { type ...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule} from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { HttpClientModule } from "@angular/common/http"; // For availing the services of translate we have to import `RxTranslateModule` and `TranslateM...
import * as React from 'react'; import { IProcessedStyleSet } from '@fluentui/react/lib/Styling'; import { classNamesFunction, getId, getRTL } from '@fluentui/react/lib/Utilities'; import { Callout } from '@fluentui/react/lib/Callout'; import { FocusZone, FocusZoneDirection } from '@fluentui/react-focus'; import { IC...
import { IsEmail, Validate } from 'class-validator'; import * as crypto from 'crypto'; import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'; // import { CustomEmail } from '../user/CustomEmail'; @Entity('follows') export class FollowsEntity { @PrimaryGeneratedColumn() id: number; @Column() followe...
export let defaultConfig = { plugins: [], pluginOpts: {}, command: {}, i18n: {}, storage: {}, event: {}, route: {}, view: { el: "#app", data: {}, methods: {}, }, version: "development", };
import * as os from "os"; import * as path from "path"; import * as asar from "asar"; import * as diff from "diff"; import * as fs from "fs-extra"; import natsort from "natsort"; import {baseDir} from "../global"; import {CURRENT_PLATFORM, Platforms} from "./platform"; /** * Patcher options */ export interface IPa...
import { AppState } from '..'; export const selectCurrentScreen = (state: AppState) => state.onboarding.screen; export const selectSecretKey = (state: AppState) => state.onboarding.secretKey; export const selectDecodedAuthRequest = (state: AppState) => state.onboarding.decodedAuthRequest; export const selectAuthReq...
import * as React from 'react'; import * as PropTypes from 'prop-types'; import { FileFormat1 as FileFormat } from '@sketch-hq/sketch-file-format-ts'; import { fromSJSON } from './jsonUtils/sketchImpl/json-to-sketch'; import { toSJSON } from './jsonUtils/sketchImpl/sketch-to-json'; import StyleSheet from './stylesheet'...
import styled from "styled-components"; export const Container = styled.div<{ selected: boolean }>` display: flex; border: 2px solid ${(props) => (props.selected ? "#25CD89" : "#16195C")}; border-radius: 10px; padding: 20px; margin-bottom: 15px; align-items: center; cursor: pointer; &:hover { bord...
import * as fs from 'fs'; import fetch from 'node-fetch'; import * as yargs from 'yargs'; import * as chalk from 'chalk'; const argv = yargs .command('league', 'The league you want to fetch the matches for', { year: { description: 'The league you want to fetch the matches for', ali...
/** * * * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as sho...
import * as env from './env.util'; export default { env };
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ReactiveFormsModule } from '@angular/forms'; import { FaIconComponent } from '@fortawesome/angular-fontawesome'; import { NgbPopover } from '@ng-bootstrap/ng-bootstrap'; import { TranslateModule } from '@ngx-translate/core'; import { MockCompon...
import { LabelledType, NamedType, Type } from "../fundamental/value"; import { GenericLabel, PrimitiveLabel } from "./label"; import { Position, ReporterState } from "./reporter"; export class SchemaReporter<Buffer, Inner, Options> extends ReporterState< Buffer, Inner, Options > { startDictionaryBody(): void {...
import { FinancialRatio } from './summary'; export interface RVContentDate { month?: RVMonth; quarter?: string; } export interface RVMonth { locale?: string; format?: string; } export interface RVFinancialRatioContent { [FinancialRatio.DISTANCE_TO_DEFAULT]?: string; [FinancialRatio.PROBABILITY_OF_DEFAULT...
import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; import 'dotenv/config'; const port = process.env.PORT || 8080; async function bootstrap() { const app = await NestFactory.create(AppModule); await app.listen(port); } bootstrap();
/*********************************************************** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License **********************************************************/ import * as React from 'react'; import 'jest'; import { shallow } from 'enzyme'; import { ModuleIdentit...
import { IsNotEmpty } from 'class-validator'; export class UserDto { @IsNotEmpty() id: number; @IsNotEmpty() username: string; }
import { CommandDispatcher } from '@generic-ui/hermes'; import { StructureId } from '../../../core/api/structure.id'; import { PagingConfig } from '../api/config/paging-config'; export declare class PagingDispatcher { private commandDispatcher; constructor(commandDispatcher: CommandDispatcher); setPaging(pa...
import React, { FC } from 'react'; import { Grid, Typography } from '@material-ui/core'; import useStyles from './style'; const Footer: FC = () => { const classes = useStyles(); const handleEmailClick = (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => { event.preventDefault(); windo...
import { Component, OnInit } from '@angular/core'; import {ROUTER_DIRECTIVES} from '@angular/router'; import {SpotifyService} from '../../services/spotify.service'; import {Artist} from '../../../Artist'; import {Album} from '../../../Album'; import {ActivatedRoute} from '@angular/router'; @Component({ moduleId...
import { Config as KnexConfig } from 'knex'; import { Config } from 'convict'; declare const _default: (config: Config<object>) => KnexConfig; export default _default; //# sourceMappingURL=connect.d.ts.map
import { ParametrosInterface } from "./parametros.interface"; export declare class ParametrosClase { private parametros; constructor(); getParametros(): ParametrosInterface; setParametros(params: ParametrosInterface): Promise<boolean>; todoInstalado(): boolean; checkParametrosOK(params: Parametr...
/* * 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 { Logger, SavedObjectsClientContract, SavedObject } from 'src/core/ser...
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils, } from "ethers"; import { FunctionFragment, Result, EventFragment }...
import React, { useState } from 'react'; import { Drawer, Button, Group } from '../../../index'; import { AuthenticationForm } from '../../../../demos/AuthenticationForm/AuthenticationForm'; const code = ` <Drawer transition="rotate-left" transitionDuration={250} transitionTimingFunction="ease" /> `; function D...
import * as D from "dynein" import PersistentStore from "./store.js" import { replaceMacrons } from "../utils/utils.js" import works from "../works/index.js" import type { Work, WorkSearchResult } from "../works/work.js" const $ = D.createSignal const store = new PersistentStore("vocabulator", 1, [ obj => { if (ob...
import { JwtStrategy } from './../../service/jwt.strategy'; import { Evaluate } from './evaluate.entity'; import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { EvaluateController } from './evaluate.controller'; import { EvaluateService } from './evaluate.service'; @Module({...
export * from './process-context'; export * from './process-context.module';
import * as React from 'react'; import { StyledIconProps } from '../../StyledIconBase'; export declare const MoneyCnyBoxDimensions: { height: number; width: number; };
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'ngx-revenues-expenses-stats', templateUrl: './revenues-expenses-stats.component.html', styleUrls: ['./revenues-expenses-stats.component.scss'] }) export class RevenuesExpensesStatsComponent implements OnInit { constructor() { } ngOn...
import { FieldTypeEnum } from "../src"; describe('FieldTypeEnum', () => { it('check supported type of FieldTypeEnum', () => { expect(Object.keys(FieldTypeEnum)).toEqual(["string", "number", "uint16_t", "uint32_t", "uint64_t", "bool", "account", "double"]); }); });
/* eslint-disable space-infix-ops */ /* eslint-disable no-loop-func */ import React from 'react'; import Helmet from 'react-helmet'; import { connect, ConnectedProps } from 'react-redux'; import { push } from 'react-router-redux'; import globals from '../../../../../Globals'; import Button from '../../../../Common/Bu...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** @jsx jsx */ import { jsx } from '@emotion/core'; import { useState, useEffect, Fragment } from 'react'; import { Dialog, DialogType, DialogFooter } from 'office-ui-fabric-react/lib/Dialog'; import { PrimaryButton, DefaultButton } from 'offi...
/* GENERATED FILE */ import { useContext } from "solid-js"; import { IconContext } from "../lib"; const renderPathFor = (weight: string, color: string) => { switch (weight) { case "bold": return ( <> <path d="M121.79109,39.64174,34.59885,146.95526A8,8,0,0,0,40.80776,160H215.19224a8,8,0,...
import type { Actor, IAction, IActorOutput, IActorTest } from './Actor'; import type { Bus } from './Bus'; /** * An ActionObserver can passively listen to {@link Actor#run} inputs and outputs for all actors on a certain bus. * * ActionObserver should not edit inputs and outputs, * they should be considered immutab...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Snarfcoin</source> <translation>बिटकोइन के संबंध में</translation...
import { createJBrowseTheme } from '@jbrowse/core/ui' import { featureSpanPx } from '@jbrowse/core/util' import { Feature } from '@jbrowse/core/util/simpleFeature' import { Region } from '@jbrowse/core/util/types' import { BaseFeatureDataAdapter } from '@jbrowse/core/data_adapters/BaseAdapter' import { getOrigin, g...
/* * MIT License * * Copyright (c) 2017-2019 Stefano Cappa * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
import { getAgent } from './setup' import { program } from 'commander' import inquirer from 'inquirer' import qrcode from 'qrcode-terminal' import { readStdin } from './util' import * as fs from 'fs' import * as json5 from 'json5' import { extractIssuer } from '@veramo/utils' const presentation = program.command('pres...
import { Config } from '@stencil/core'; export const config: Config = { namespace: 'mycomponent', globalStyle: 'src/components/my-component/my-component.css', outputTargets:[ { type: 'dist' }, { type: 'www', serviceWorker: null } ] };
import { Component, OnDestroy, OnInit, ViewChild, ElementRef } from '@angular/core'; import { Task } from 'app/workplace/models/task'; import { TaskService } from 'app/workplace/services/task.service'; import { Subscription } from 'rxjs'; import { SortingModel } from 'app/models/sorting'; import { Workbasket } from 'ap...
import { FileExtensionCountDTO } from '@/domain/dto/FileExtensionCountDTO'; import axios from 'axios'; export abstract class GithubScraperTemplate { protected path: string; protected fileExtensionCounts: FileExtensionCountDTO[]; constructor(path: string, fileExtensionCounts?: FileExtensionCountDTO[]) { this...
import { FunctionComponent, useEffect, useState } from 'react' import Button from './Button' import styles from './ConfirmDialog.module.scss' interface Props { prompt: string, entry?: string, action: string, onConfirmed: () => void, onCancelled: () => void } /** A dialog to confirm an action and perform a c...
import { Component, OnInit, Input } from '@angular/core'; import { GS1UiShowLogoIF } from './gs1-ui-components-classes/GS1UiShowLogoIF'; @Component({ selector: 'app-gs1-ui-show-logo', templateUrl: './gs1-ui-show-logo.component.html', styleUrls: ['./gs1-ui-show-logo.component.css'] }) export class GS1UiShowLogoCo...
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction, BaseContract, ContractTransaction, CallOverrides, } from "ethers"; import { BytesLike } from "@ethersproject/bytes"; import { ...
import * as WebGPU from "./webgpu-utils/webgpu-device"; type Texture = { path: string; gpuTexture: GPUTexture; } let linearSampler: GPUSampler; let texture: Texture; async function getTexture(path: string): Promise<GPUTexture> { if (!texture || texture.path !== path) { if (texture) { ...
/** * 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 { ReactNode } from 'react'; declare type DocsPreferredVersionName = string | null; declare type DocsPreferredVersionPluginSt...
import { Injectable } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import fs from 'fs'; @Injectable() export class DatabaseService { constructor(private configService: ConfigService) { } public get_config() { const config = { type: this.configService.get<string>('...