text
stringlengths
10
953k
import { useLocalStorage } from "@rehooks/local-storage"; import { useApiClient, useQuery } from "common-ui"; import { FormikContextType } from "formik"; import { InputResource, PersistedResource } from "kitsu"; import { compact, omit, orderBy, toPairs } from "lodash"; import { useMemo } from "react"; import * as yup f...
export { default } from './SignInModal'
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.13.9 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do no...
/* * Copyright 2020 Adobe. All rights reserved. * This file is licensed to you 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 appli...
import { ElMessage } from 'element-plus'; import 'element-plus/theme-chalk/el-message.css'; import 'element-plus/theme-chalk/el-badge.css'; export function Msg(msg: string, type: any) { ElMessage({ message: msg, grouping: true, offset: 30, type: type, }); }
import { ElementRef, OnInit } from '@angular/core'; import { Http } from '@angular/http'; import { MarkdownService } from './markdown.service'; import './prism.languages'; export declare class MarkdownComponent implements OnInit { private mdService; private el; private http; private _path; private _...
/** * Copyright 2020 Colin Doig. Distributed under the MIT license. */ import JsonMember from '../JsonMember'; import PriceLadderType from '../sport/enum/PriceLadderType'; export interface IPriceLadderDescriptionOptions { type: PriceLadderType | string; } export default class PriceLadderDescription extends Js...
import React, { FunctionComponent, useState } from "react"; import { shortenAddress } from "../../../../common/address"; import { truncHashPortion } from "../../../../common/hash"; import { CoinUtils } from "../../../../common/coin-utils"; import { Coin } from "@chainapsis/cosmosjs/common/coin"; import { IntlShape, For...
/* Copyright 2018 Set Labs 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 agreed to in writing, so...
// THIS CODE WAS AUTOMATICALLY GENERATED // DO NOT EDIT THIS CODE BY HAND // YOU CAN REGENERATE IT USING yarn generate:lib type Lib = | 'es5' | 'es6' | 'es2015' | 'es7' | 'es2016' | 'es2017' | 'es2018' | 'es2019' | 'es2020' | 'esnext' | 'dom' | 'dom.iterable' | 'webworker' | 'webworker.impo...
import Head from 'next/head'; import { LeaderboardCard } from '../components/LeaderboardCard'; import { LeaderboardHeader } from '../components/LeaderboardHeader'; import { Sidebar } from '../components/Sidebar'; import styles from '../styles/pages/Leaderboard.module.css'; import users from '../../users.json'; export...
import React from 'react'; import {render} from 'react-dom'; import App from './components/App'; const styles = require('./scss/styles.scss'); import UploadView from './components/views/UploadView'; render ( <UploadView />, document.getElementById('root') );
/* eslint-disable @typescript-eslint/no-explicit-any */ import { lazy } from 'react' import { AnyConfigurationModel } from '@jbrowse/core/configuration/configurationSchema' import { readConfObject, isConfigurationModel, } from '@jbrowse/core/configuration' import { Region, TrackViewModel, DialogComponentType,...
import { IconDefinition } from '../types'; declare const DesktopOutline: IconDefinition; export default DesktopOutline;
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core"; import { NativeScriptCommonModule } from "nativescript-angular/common"; import { LiveListRoutingModule } from "./livelist-routing.module"; import { LiveListComponent } from "./livelist.component"; import { GridViewModule } from 'nativescript-grid-view/angular...
import { Operation, Operators } from './operation'; /** * Create greater-or-equal operation * * @param argument Operation argument * @returns Greater-or-equal operation * * @example * import {ge} from 'rsql-builder'; * * const op1 = ge(300); // '>=300' * const op2 = ge('Taran*'); // '>=Tarant*' * const op...
import { Module } from '@nestjs/common'; import configuration from './configuration'; import { AppConfigService } from './config.service'; import { ConfigModule, ConfigService } from '@nestjs/config'; /** * Import and provide app configuration related classes. * * @module */ @Module({ imports: [ ConfigModule...
import * as React from 'react'; import { BaseComponent, classNamesFunction, IClassNames } from '../../Utilities'; import { IGroupDividerProps } from './GroupedList.types'; import { SelectionMode } from '../../utilities/selection/index'; import { Check } from '../../Check'; import { Icon } from '../../Icon'; import { Gr...
import { ConflictHandlerType, GraphQLTransform } from '@aws-amplify/graphql-transformer-core'; import { SearchableModelTransformer } from '../'; import { ModelTransformer } from '@aws-amplify/graphql-model-transformer'; import { anything, countResources, expect as cdkExpect, haveResource } from '@aws-cdk/assert'; impor...
import { t, isEvent } from '../common'; const NS = { base: 'sys.net', peer: { base: 'sys.net/peer', data: 'sys.net/peer/data', connection: 'sys.net/peer/conn', local: 'sys.net/peer/local', }, group: { base: 'sys.net/group', }, fs: { base: 'sys.net/fs', }, }; /** * Flag filters f...
import * as React from 'react'; import { useEffect, useRef } from 'react'; import SearchBar from '../SearchBar/SearchBar'; import Button, { ButtonLevel } from '../Button/Button'; import CommandService from '@joplin/lib/services/CommandService'; import { runtime as focusSearchRuntime } from './commands/focusSearch'; con...
export const SET_LOADING_MODAL_CONTENT = 'SET_LOADING_MODAL_CONTENT' export const TOGGLE_MODE = 'TOGGLE_MODE' export const SET_DETAILS_TAB = 'SET_DETAILS_TAB' export const setLoadingModalContent = (content: string | null) => ({ type: SET_LOADING_MODAL_CONTENT, payload: content }) export const toggleMode = () => (...
import { Module } from 'vuex' import { RootState } from '@/store' import mutations from '@/store/app/mutations' import { path } from '@/store/app/types' import { mutation } from '@/utils/mutation' import state, { IAppState } from '@/store/app/state' export * from '@/store/app/state' export const store: Module<IAppSta...
/* IMPORT */ import * as moment from 'moment'; import * as vscode from 'vscode'; import Config from '../config'; import Consts from '../consts'; import Document from '../todo/document'; import Utils from '../utils'; /* TIMER */ class Timer { item; itemProps; config; data; intervalId; constructor () { this...
import React, { useState } from "react"; import { useTitle, useLogout, ITreeMenu, CanAccess, useRouterContext, } from "@pankod/refine-core"; import { AntdLayout, Menu, useMenu, Grid, Icons } from "@pankod/refine-antd"; import { antLayoutSider, antLayoutSiderMobile } from "./styles"; import { StoreS...
import { getInterpolationArgsLength } from '@angular/compiler/src/render3/view/util'; import { Injectable } from '@angular/core'; import {TipoDocumento} from '../../app/models/tipo-documento'; import { HttpClientModule, HttpClient, HttpHeaders } from '@angular/common/http'; import { environment } from 'src/environment...
import type { DIconProps } from '../Icon'; import { DeleteOutlined as AntIcon } from '@ant-design/icons-svg'; import { DIcon } from '../Icon'; export function DeleteOutlined(props: Omit<DIconProps, 'dIcon'>) { return <DIcon {...props} dIcon={AntIcon} />; }
/* eslint-disable */ import Long from "long"; import _m0 from "protobufjs/minimal"; export const protobufPackage = "externalMessage.v1"; /** Object to encapsulate encrypted data */ export interface ExternalMessage { to: string; deeplink: string; } const baseExternalMessage: object = { to: "", deeplink: "" }; ex...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { URLBuilder, URLQuery } from "../url"; export interface SanitizerOptions { /** * Header names whose values will be logged when logging is enabled. Defaults to * Date, traceparent, x-ms-client-request-id, and x-ms-request id. A...
import "styled-components"; import { theme } from "@styles/theme"; export type Theme = typeof theme; declare module "styled-components" { export interface DefaultTheme extends Theme {}; };
import React from 'react'; import { withTheme } from 'styled-components'; import { mergeStyles, Theme } from '@lapidist/styles'; import { BoxProps } from '../box'; import { panelHeadingStyles } from './styles'; import { Heading, HeadingSize } from '../heading'; export * from './styles'; export type PanelHeadingPropTy...
const { NODE_ENV } = process.env; const CONFIG = { env: NODE_ENV, isProduction: NODE_ENV !== 'test' && NODE_ENV !== 'development', isTest: NODE_ENV === 'test', isDevelopment: NODE_ENV === 'development', siteName: 'Next-Boiler', i18n: { defaultLocale: 'en', locales: ['en', 'de'], }, } as const; ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { BalanceDialogComponent } from './balance-dialog.component'; describe('BalanceDialogComponent', () => { let component: BalanceDialogComponent; let fixture: ComponentFixture<BalanceDialogComponent>; beforeEach(async(() => { Te...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="af_ZA" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Mysticoin</source> <translation type="unfinished"/> </message> <message> <location l...
import { EventEmitter } from 'events'; import { UseGuards } from '@nestjs/common'; import { SubscribeMessage, WebSocketGateway, WsException } from '@nestjs/websockets'; import * as color from 'bash-color'; import { PluginsService } from './plugins.service'; import { Logger } from '../../core/logger/logger.service'; imp...
import {computeTrimmedArray, deepEquals, MAX_JS_PRECISION, Precision} from "../../../code" import {Pev} from "./types" const arePevsEqual = (pevA: Pev, pevB: Pev, precision: Precision = MAX_JS_PRECISION): boolean => deepEquals(computeTrimmedArray(pevA), computeTrimmedArray(pevB), precision) export { arePevsEq...
import { IUrl } from "../../utils/url/IUrl"; import { urlFromExpressRequest } from "../../utils/url/urlFromExpressRequest"; import { Request as ExpressRequest } from "express"; import { Headers, headers } from "./headers"; import { IMaybe } from "../../utils/maybe/IMaybe"; import { loadBalancer, LoadBalancer } from "./...
import {NgModule} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {AppComponent} from './app.component'; import {HomePageComponent} from './component/home-page/home-page.component'; import {ProductTableComponent} from './component/product-table/product-table.component'; import {Pr...
import { FormGroup } from '@angular/forms'; import { Injectable } from '@angular/core'; @Injectable({ providedIn: 'root' }) export class FormErrorService { private messages() { return { 'email': 'This email address is invalid', 'required': 'This field is required' }; ...
import * as React from 'react'; import { DefaultButton } from 'office-ui-fabric-react/lib/Button'; import { FocusTrapZone } from 'office-ui-fabric-react/lib/FocusTrapZone'; import { Link } from 'office-ui-fabric-react/lib/Link'; import { TextField } from 'office-ui-fabric-react/lib/TextField'; import { Toggle, IToggle...
import { StompHeaders } from './stomp-headers'; import { closeEventCallbackType, debugFnType, frameCallbackType, messageCallbackType, wsErrorCallbackType } from './types'; import { Versions } from './versions'; /** * Configuration options for STOMP Client, each key corresponds to * field by the same name in {@link Cl...
export * from './action' export * from './peggyContractAction' export * from './transformer'
import { ReportHandler } from 'web-vitals' const reportWebVitals = (onPerfEntry?: ReportHandler): void => { if (onPerfEntry && onPerfEntry instanceof Function) { import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { getCLS(onPerfEntry) getFID(onPerfEntry) getFCP(onPerfEnt...
export declare function isNullOrUndefined(object: any): object is null | undefined; export declare function extractJsonObject(str: string): any;
/** * @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 'reflect-metadata'; import {InjectorDef, defineInjectable} from '@angular/core/src/di/defs'; import {Injecta...
import {Email, Mailbox} from '../models/mail'; import {Observable} from 'rxjs/Rx'; import {DatabaseService} from './db'; import {IStorageService} from './istorage'; import {ParsedMail} from '../models/parsedmail'; export class MailService { constructor ( private storage: IStorageService, private d...
/* eslint-disable @typescript-eslint/no-unused-vars */ /* * 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 *...
export default { TILE_SIZE: 50, PLAYER_SPEED: 100 }
import { ChangeDetectorRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { NgbButtonLabel } from './label'; /** * Allows to easily create Bootstrap-style checkbox buttons. * * Integrates with forms, so the value of a checked button is bound to the underlying form control * ei...
import { storiesOf } from "@storybook/react" import React from "react" import { graphql } from "react-relay" import { RootQueryRenderer } from "Artsy/Relay/RootQueryRenderer" import RelayFillwidth, { Fillwidth } from "../Artwork/Fillwidth" function FillwidthExample(props: { artistID: string }) { return ( <RootQ...
import React from "react"; import { useMutation, useQuery, useQueryClient } from "react-query"; import { wsFetch, wsMutation } from "../../createWebsocket"; import { PaginatedBaseUsers } from "../types"; import { Avatar } from "./Avatar"; import { Button } from "./Button"; interface BlockedFromRoomUsersProps {} expor...
import Setting, { SettingItem as InternalSettingItem } from 'lib/models/Setting'; import Plugin from '../Plugin'; import { SettingItem, SettingSection } from './types'; /** * This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it w...
import { ExitCode } from '@src/index'; /** * Export package(s) to the whole monorepo. * * @param {string[]} packages * @returns {Promise<ExitCode>} */ declare const exportPackages: (packages: string[]) => Promise<ExitCode>; export default exportPackages;
import ListCountriesService from './ListCountriesService' import MockListCountriesRepository from './mocks/MockListCountriesRepository' describe('CreateCountries', () => { it('Should be able to create a country', () => { }) })
import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { CoreModule } from './core/core.module'; import { SimpleNotificationsModule } from ...
// Copyright 2020-present the denosaurs team. All rights reserved. MIT license. export interface DomainRecord { target: string; proxied?: boolean; } export type CNAMEs = { [name: string]: DomainRecord; }; export type RestrictedNames = RegExp[];
/** * Copyright 2020 Baidu Inc. 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 * * Unless required by applica...
import { StyleSheet } from 'react-native'; import { AppColors, AppSizes } from '@theme'; /* Styles ==================================================================== */ const styles = StyleSheet.create({ container: { // height: Sizes.screen.heightHalf + 100, height: AppSizes.moderateScale(400), ...
import { User } from "@src/entities/User"; import { AccountServices } from "../account/"; import { NormalizedAccount } from "../account/Normalize"; export interface NormalizedUser { id: string name: string age: number accounts?: NormalizedAccount[] } export interface NormalizeDependencies { account: Account...
import { storiesOf } from '@storybook/angular'; import { withKnobs, text } from '@storybook/addon-knobs/angular'; import { DiComponent } from './di.component'; storiesOf('Custom|Dependencies', module) .add('inputs and inject dependencies', () => ({ component: DiComponent, props: { title: 'Component dep...
import Background from './Background'; import Border from './Border'; import Box from './Box'; import Display from './Display'; import Font from './Font'; import Position from './Position'; import Shadow from './Shadow'; import Style from './Style'; export { Background, Border, Box, Display, Font, Position,Shadow }; e...
import { TextFieldBase, secureProperty } from './text-field-common'; import { textProperty } from '../text-base'; import { hintProperty, placeholderColorProperty, _updateCharactersInRangeReplacementString } from '../editable-text-base'; import { Color } from '../../color'; import { colorProperty, Length, paddingTopProp...
export interface ComplainModel { id?: Number; title: string; description: string; amount: string; photo?: string; photo_extension?: string; photo_url?: string; }
import { IWorldRenderData } from './IWorldRenderData'; import { SearchEntry } from '../display/SearchEntryType'; export function CalculateTotalRenderable (entry: SearchEntry, renderData: IWorldRenderData): void { renderData.numRendered++; renderData.numRenderable++; if (entry.node.dirtyFrame >= renderData...
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewChild } from "@angular/core"; import { FormGroup } from "@angular/forms"; import { NgbDatepicker, NgbDatepickerConfig } from "@ng-bootstrap/ng-bootstrap"; import { DynamicDatePickerModel, DynamicFormControlComponent, DynamicFormCo...
/* * @license Apache-2.0 * * Copyright (c) 2019 The Stdlib 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 ap...
/** * @license * Copyright 2018 Google Inc. 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 * * Unless required by a...
import * as React from 'react'; import './TermsList.css'; import Term from './Term'; import type { TermType } from 'core/api'; type Props = { isReadOnlyEditor: boolean; locale: string; terms: Array<TermType>; addTextToEditorTranslation: (arg0: string) => void; navigateToPath: (arg0: string) => v...
import { WebPlugin } from '@capacitor/core'; import { PhotopickerPlugin, PhotopickerResponse, PhotopickerOptions } from './definitions'; export class PhotopickerWeb extends WebPlugin implements PhotopickerPlugin { constructor() { super({ name: 'Photopicker', platforms: ['web'], }); } async ...
/* * Copyright 2018 TWO SIGMA OPEN SOURCE, LLC * * 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 appl...
import { createAjv } from "./helpers"; describe("int32", () => { it("should be true if value is an integer and is in range", () => { const ajv = createAjv(); const validator = ajv.compile({ type: "integer", format: "int32" }); expect(validator("-2147483648")).toBe(true); expect(va...
import { Column, CreateDateColumn, Entity, Index, PrimaryGeneratedColumn, UpdateDateColumn, } from 'typeorm'; export enum MovieStatus { WillReleased = 'WILL_RELEASE', Released = 'RELEASED', Inactive = 'INACTIVE', } @Entity() export class Movie { @PrimaryGeneratedColumn() public id: number; @I...
export { default as createApp } from './createApp'; export { App, FrintProvider } from './App';
export * from './types' export * from './actions'
/** * @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 { BuildEvent, Builder, BuilderConfiguration, BuilderContext, } from '@angular-devkit/architect'; impo...
import React from 'react'; import { gql, useQuery } from '@apollo/client'; import LaunchTile from '../components/launch-tile'; import { LAUNCH_TILE_DATA } from '../pages/launches'; import * as LaunchDetailTypes from '../pages/__generated__/LaunchDetails'; export const GET_LAUNCH = gql` query GetLaunch($launchId: ID...
import { Component, ViewChild } from '@angular/core' import { MaterialComponent } from '../MaterialComponent'; //@ts-ignore import DateTimeComponent from 'formiojs/components/datetime/DateTime.js'; //@ts-ignore import { momentDate } from 'formiojs/utils/utils.js'; import {FormControl} from '@angular/forms'; @Component(...
<TS language="cs" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Pravým tlačítkem myši můžeš upravit označení adresy</translation> </message> <message> <source>Create a new address</source> ...
import { KairosDBTarget } from "../../beans/request/target"; export declare type ValidatorResponse = ValidatorSuccessResponse | ValidatorFailureResponse; export interface ValidatorSuccessResponse { valid: true; } export interface ValidatorFailureResponse { valid: false; reason: string; } export declare clas...
import * as sendRequest from 'request'; export interface RequestResult { status: number; contentType: string; content: string; } export function request(method: string, url: string): Promise<RequestResult> { return new Promise<RequestResult>((resolve, reject) => { sendRequest(url, { method }, (error, res,...
export const mapFilterType = (type: any, value: any, key: string) => { const normalizedName = type.name.toLowerCase() switch (normalizedName) { case 'string': return { or: [ { [key]: { equalTo: value } }, { [key]: { ...
import {NgModule} from "@angular/core"; import {ClearancesComponent} from "./clearances.component"; import {CommonModule} from "@angular/common"; import {DialogModule, DataTableModule} from 'primeng/primeng'; @NgModule({ imports: [DialogModule, DataTableModule, CommonModule], exports: [ClearancesComponent], decl...
import { Button, Grid, Icon, Paper, Snackbar } from '@material-ui/core'; import { OpenDialogOptions, SaveDialogOptions } from 'electron'; import * as fs from 'fs'; import * as React from 'react'; import { dialog, BrowserWindow } from '@electron/remote'; import QczekClass, { DEFAULT_MODULE_PARAMS, tModuleParams } from '...
import { createElement, KeyboardEventArgs, L10n } from '@syncfusion/ej2-base'; import { NumericTextBox } from '@syncfusion/ej2-inputs'; import { CheckBox } from '@syncfusion/ej2-buttons'; import { DocumentEditorContainer } from '../document-editor-container'; import { DocumentEditor } from '../../document-editor/docume...
import Breadcrumb from './breadcrumb' import { App, Device, Request, Logger, User, Thread, Stackframe, FeatureFlag } from './common' declare class Event { public static create( maybeError: any, tolerateNonErrors: boolean, handledState: HandledState, component: string, errorFramesT...
const tsxFoo = "$dico.tsx.foo"; const tsxBar = "$dico.tsx.bar";
import { Router, Request, Response } from 'express'; import container from '../dependency-injection'; import StatusController from '../controllers/StatusGetController'; export const register = (router: Router) => { const controller: StatusController = container.get('Apps.mooc.controllers.StatusGetController'); rou...
export const IconBellRinging = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <path stroke="none" d="M0 0h24v24H0z" fill="none"/> <path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" /> <path d="M9 17v1a3 3 0 0 0 6 0v-1" /> <path d="M21 6.727a11.05 11.0...
import { AutoScaling } from './index.namespace'; export default AutoScaling;
// Copyright 2015-2021 Nkisi 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 agreed to...
import { Region } from './region'; import { Location } from './location'; import { RandomizerSettings } from './randomizerSettings'; import { RegionCollection } from './regionCollection'; import { LocationCollection } from './locationCollection'; import { ItemCollection } from './itemCollection'; import { MersenneTwist...
import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; // Partition default templates const AWS_TEMPLATE = "ec2-instance-connect.{region}.amazonaws.com"; const AWS_CN_TEMPLATE = "ec2-instance-connect.{region}.amazonaws.com.cn"; const AWS_ISO_TEMPLATE = "ec2-instance-connect.{region}.c2s.ic.gov"; const AWS_IS...
import { Injectable } from '@angular/core'; import { Observable, Subject } from 'rxjs'; import { HttpClient } from '@angular/common/http'; import { catchError, tap } from 'rxjs/operators'; import firebase from 'firebase'; import { environment } from '../environments/environment'; import Auth = firebase.auth.Auth; expo...
import { useEffect, useState } from "react"; import { MemoryRouter } from "./MemoryRouter"; export type MemoryRouterEventHandlers = { onHashChangeStart?: (url: string, options: { shallow: boolean }) => void; onHashChangeComplete?: (url: string, options: { shallow: boolean }) => void; onRouteChangeStart?: (url: ...
import * as GitHubApi from "@octokit/rest"; export interface GitCommitFile { path: string; content: string | Buffer; } export interface GitCommitPushOptions { owner: string; repo: string; files: GitCommitFile[]; fullyQualifiedRef: string; forceUpdate?: boolean; commitMessage?: string; ...
import IFeaturedBooksBusiness = require('./interfaces/IFeaturedBooksBusiness'); import IFeaturedBooksModel = require('./../model/interfaces/IFeaturedBooksModel'); import IFeaturedBooksRepository = require('./../repository/FeaturedBooksRepository'); import FeaturedBooksRepository = require("../repository/FeaturedBooksRe...
import { createRequire } from 'module' export const require: NodeRequire = createRequire(import.meta.url); export default require;
import * as React from 'react'; import styles from './DirectorySearchBox.module.scss'; import { IDirectorySearchBoxProps } from './IDirectorySearchBoxProps'; import { Fabric, TextField, SearchBox } from 'office-ui-fabric-react'; import { RxJsEventEmitter } from '../../../RxJsEventEmitter/RxJsEventEmitter'; import IEve...
import * as React from 'react'; import { StyledComponentProps } from '../styles'; export interface CssBaselineProps extends StyledComponentProps<never> { /** * You can wrap a node. */ children?: React.ReactNode; /** * Enable `color-scheme` CSS property to use `theme.palette.mode`. * For more details,...
import { Component, OnInit, Output, EventEmitter } from '@angular/core'; import { AuthService } from '../../auth/auth.service'; @Component({ selector: 'app-sidenav', templateUrl: './sidenav.component.html', styleUrls: ['./sidenav.component.scss'] }) export class SidenavComponent implements OnInit { userIsAuth...