text
stringlengths
10
953k
// allow specify unknown properties in object literal type Object<T> = T & { [others: string]: any; } export interface Custom { name: string // category name files: Object<{ [id: string]: Object<{ name: string // page name content: string // markdown }> }> } export interface Prop { descrip...
import { CommonModule } from '@angular/common'; import {NgModule} from '@angular/core'; import { MatButtonModule, MatCardModule, MatDatepickerModule, MatDialogModule, MatDividerModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatNativeDateModule, MatProgressSpinnerModule, MatSidenavM...
// THIS FILE IS AUTO GENERATED import { IconTree, IconType } from '../lib' export declare const BiBook: IconType;
/*--------------------------------------------------------------------------------------------- * Copyright (c) 2019 Bentley Systems, Incorporated. All rights reserved. * Licensed under the MIT License. See LICENSE.md in the project root for license terms. *--------------------------------------------------------------...
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Observable, of } from 'rxjs'; import { catchError, map, tap } from 'rxjs/operators'; import { Hero } from './hero'; import { MessageService } from './message.service'; import {environment} from '../en...
import Type from '../../dist/boolean/object'; describe('boolean', function() { it(`true`, () => { expect(Type(true)).toBeFalse(); }); it(`false`, () => { expect(Type(false)).toBeFalse(); }); }); describe('string', function() { it(`primitive`, () => { expect(Type('str')...
import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * GetHostnameSuggestionInput shape */ export interface GetHostnameSuggestionInput { /** * <p>The layer ID.</p> */ LayerId: string; /** * The maximum number of times this operati...
export interface SlashCommandPayload { token?: string; api_app_id?: string; team_id?: string; team_domain?: string; enterprise_id?: string; enterprise_name?: string; channel_id?: string; channel_name?: s...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About TokenOfHope</source> <translation>&amp;О TokenOfHope</translation> ...
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { NgModule } from '@angular/core'; import { NbButtonModule, NbLayoutModule, NbSidebarModule } from '@devsaur-nebular/theme'; import { SidebarRoutingModule ...
import axios from "axios"; const URL = process.env.REACT_APP_URL_PRODUCTION ?? process.env.REACT_APP_BASE_URL; export const api = axios.create({ baseURL: `${URL}`, });
import { HttpClient, HttpErrorResponse, HttpHeaders, HTTP_INTERCEPTORS } from '@angular/common/http'; import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { Pipe, PipeTransform } from '@angular/core'; import { TestBed, inject, async } from '@angular/core/test...
/** * @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 {Injector} from '../../di'; import {ErrorHandler} from '../../error_handler'; import {Type} from '../../interf...
import React, { FC } from 'react'; import { Group } from '@rediagram/cdk'; import { DOT } from '@ts-graphviz/react'; import { useAssertProvider } from '../../hooks/assert-provider'; export type GCPGroupProps = { title: string; description?: string; fillcolor: string; color?: string; style?: 'filled'; borde...
import {ICallback} from "../context/callback"; import {IFilter} from "../filter/filter"; import {Handle} from "./handle"; import {MetadataStore} from "../api/metadata.store"; export class HandleFactory<TData, TScope, TMetadata> { private filters: IFilter[]; public callback: (handle: Handle) => void; constructo...
import { Context, Next } from 'koa'; import { IParamMiddleware } from 'koa-router'; export function isAuthenticatedUser(): IParamMiddleware { return async function (id: string, ctx: Context, next: Next) { if (ctx.state.user.userId && ctx.state.user.userId === id) { return await next(); } ctx.statu...
import { SignedTransaction, RootTransaction } from '../contracts/transaction'; export default class InvalidTransactionSeedError extends Error { constructor(seed: string, transaction: SignedTransaction | RootTransaction, iterationCount?: number); }
import React from 'react'; import LoremIpsum from ':storybook/components/LoremIpsum'; import Text from '../Text'; import Timeline from '.'; import Item from './Item'; import Button from '../Button'; import StatusLabel from '../StatusLabel'; export default { title: 'Core/Timeline', parameters: { inspectComponen...
import { Class, FilterFieldComparison } from '@nestjs-query/core'; /** @internal */ export declare function getOrCreateIntFieldComparison(): Class<FilterFieldComparison<number>>;
import { Format } from '@/string-literal' export type Table = { id: number createdOn: string verifiedOn: string numTeams: number format: Format url: String // 例:https://www.mk8dx-lounge.com/TableImage/0.png tier: String // Tierはシーズン毎に変動する可能性があるためリテラル定義しない teams: Team[] tableMessageId: string update...
import { Injectable } from '@angular/core'; import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { environment } from '../../../environments/environment'; @Injectable() export class AuthInterceptor implements HttpInterceptor { ...
import * as assert from 'assert' import * as brorand from 'brorand' import * as hashjs from 'hash.js' import * as elliptic from 'elliptic' import * as addressCodec from 'ripple-address-codec' import { derivePrivateKey, accountPublicFromPublicGenerator } from './secp256k1' import * as utils from './utils' const Ed2551...
/* eslint-disable camelcase */ import { chart_global_FontFamily, chart_global_letter_spacing, chart_global_FontSize_sm, chart_global_label_Padding, chart_global_label_stroke, chart_global_label_text_anchor, chart_global_layout_Padding, chart_global_layout_Height, chart_global_layout_Width, chart_glo...
import { JobVacancy } from '@models/JobVacancy'; import { User } from '@models/User'; export class Chat { public id: number; public employer_id: number; public user_id: number; public job_vacancy_id: number; public job: JobVacancy; public employer: User; public user: User; }
import { useMemo } from 'react'; import { useSelector } from 'react-redux'; import BN from 'bn.js'; import { selectMyTokenDetails, selectTokenBalances } from 'store/selectors'; import { parseBigNumObject } from 'util/helpers'; import { SelectOption } from 'components/_General/_FormikElements/Select'; type Tokens = ...
<TS language="el_GR" version="2.0"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Δεξί-κλικ για επεξεργασία της διεύθυνσης ή της ετικέτας</translation> </message> <message> <source>Create a new address</source>...