text
stringlengths
10
953k
/** * 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 agr...
import { ConflictException, HttpException, HttpStatus, Injectable, InternalServerErrorException, BadRequestException } from '@nestjs/common'; import { CreateRolHijoDto, UpdateRolHijoDto } from './dto'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { RolHijo as RolHijoE...
import { isTollFreeImpl } from './isTollFreeImpl'; import { ParsedPhoneNumber } from './parsedPhoneNumber'; /** * Internal implementation for valid(). Takes a ParsedPhoneNumber object instead of a * string. */ export function validImpl(parts: ParsedPhoneNumber) { if (parts.npa.endsWith('11')) { // NPAs that e...
// File for Dependencies used in normal development of the application import { Application, Context, Router, } from "https://deno.land/x/oak@v6.4.0/mod.ts"; export { Application, Context, Router };
import React from 'react'; import { BrowserRouter, Switch, Route } from 'react-router-dom'; import Landing from './pages/Landing'; import OrphanagesMap from './pages/OrphanagesMap'; function Routes(){ return( <BrowserRouter> <Switch> <Route path="/" exact component={Landing} /> <Route path="/app" component={Orp...
/*- * #%L * Arcade Analytics * %% * Copyright (C) 2018 - 2019 ArcadeAnalytics * %% * 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 ...
export const actionsEnums = { UPDATE_USERPROFILE_NAME : 'UPDATE_USERPROFILE_NAME ', UPDATE_USERPROFILE_FAVOURITE_COLOR: 'UPDATE_USERPROFILE_FAVOURITE_COLOR', MEMBER_REQUEST: 'MEMBER_REQUEST', MEMBER_REQUEST_COMPLETED: 'MEMBER_REQUEST_COMPLETED' }
import { strictEqual } from "assert"; import { Disposable } from "../../src/common/disposable.js"; describe("Disposable", function () { it("should call dispose for all registered disposables", function () { const disposable = new Disposable(); let disposed = 0; disposable.register({ dispose() { disposed+...
import { SET_GLOBALS, UPDATE_GLOBALS, GLOBALS_UPDATED } from '@storybook/core-events'; import { logger } from '@storybook/client-logger'; import deepEqual from 'fast-deep-equal'; import { Globals, GlobalTypes } from '@storybook/csf'; import { ModuleFn } from '../index'; import { getEventMetadata } from '../lib/events...
import React from "react" import styled from "styled-components" import Img from "gatsby-image" import { Link } from "gatsby" import { deviceMax, deviceMin, H2, H3, P } from "../Primitives" interface Props { color: string title: string subTitle: string image: any } const ResourceHero = (props: Props) => { r...
import { ChangeDetectionStrategy, Component, EventEmitter, OnDestroy, OnInit, Output, TemplateRef, ViewChild } from '@angular/core'; import { ChatService } from '@shared/module/poe/chat'; import { TradeFetchResultEntry, TradeFetchService } from '@shared/module/poe/trade'; import { TradeExchangeRequest, TradeExchangeRes...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ViewByIdProductComponent } from './view-by-id-product.component'; describe('ViewByIdProductComponent', () => { let component: ViewByIdProductComponent; let fixture: ComponentFixture<ViewByIdProductComponent>; beforeEach(async(()...
import { PlayerDao, PlayerEntity } from "@cph-scorer/database-provider"; import { Injectable } from "@nestjs/common"; import { InjectRepository } from "@nestjs/typeorm"; import { Repository } from "typeorm"; @Injectable() export class PlayerService { public readonly dao: PlayerDao; constructor( @InjectReposit...
import { create as createLedger } from '@shapeshiftoss/hdwallet-ledger' import { Events, Keyring, HDWallet } from '@shapeshiftoss/hdwallet-core' import { LedgerDevice, LedgerU2FTransport } from './transport' import TransportU2F from '@ledgerhq/hw-transport-u2f' export type DeviceID = string export class U2FLedgerAdap...
// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import { SubmittableExtrinsic } from '@polkadot/api/types'; import BN from 'bn.js'; import React, { useCallback, useState } from 'react'; import { Button, Extrinsic, InputAddress, InputNumber, Modal, TxButton ...
import { ErrorKey } from '../errors'; import { IIslamicHoliday, IslamicHoliday } from '../holidays'; import { Category, Cycle } from '../types'; import { IslamicHolidayType, IslamicHolidayTypeKeyStrings } from '../types'; import { IBaseFactory, BaseFactory } from './base-factory'; export interface IIslamicFactory exte...
import { PackageJson, PackageJsonInfo, MapOfStrings } from '../../commons/types'; /** * Class which implements the logic for generating valid package.json files. * * @export * @class PackageJsonGenerator */ export class PackageJsonGenerator { /** * Generates content of package json * * @param {Package...
import { RequestHandler } from "express"; import verifyTokenHandler from "./verify-token-middleware"; import verifyProfessionalFromToken from "./professional-exists-middleware"; export default [verifyTokenHandler, verifyProfessionalFromToken] as RequestHandler[];
import React from "react"; import ButtonLinkBasic from "../../../components/v1/Buttons/LinkBasic"; export default { component: ButtonLinkBasic, title: "Risedle V1/Buttons/Link Basic", }; export const LinkBasic = () => <ButtonLinkBasic href="/">Label</ButtonLinkBasic>;
import { Component, h, Host } from '@stencil/core'; @Component({ tag: 'dvn-missing-parameters', }) export class DvnMissingParameters { render() { return ( <Host style={{ width: '100%' }}> <div class="d-flex flex-column justify-content-center align-items-center"> <dvn-icon iconName="ui...
import {sinon} from "test-drive-react"; import * as React from "react"; import {Class} from "../../src/"; import {flatten, isArray, map} from "lodash"; // a type that adds spy type to each field export type Spied<T extends { [k: string]: Function }> = { [P in keyof T]: T[P] & sinon.SinonSpy; }; // helper to s...
export interface IModel { readonly id?: string; }
/* * Copyright 2018 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license"...
// Copyright IBM Corp. 2018,2020. All Rights Reserved. // Node module: @loopback/rest // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT import {inject, Provider} from '@loopback/core'; import {RequestBodyParser} from '../body-parsers'; import {RestBindings...
// THIS FILE IS AUTO GENERATED import { IconTree, IconType } from '../lib' export declare const MdAllOut: IconType;
import * as React from 'react'; import { defaultMappedProps } from './defaultMappedProps'; import { ComposePreparedOptions, GenericDictionary, MergePropsResult } from './types'; import { mergeSlotProp } from './mergeSlotProp'; export const NullRender = () => null; /** * Helper utility which resolves the slots and sl...
import { abstract } from "../common"; import { nativeClass, NativeClass } from "../nativeclass"; import { float32_t, int32_t } from "../nativetype"; import type { Abilities } from "./abilities"; import { Actor, ActorUniqueID, DimensionId } from "./actor"; import { AttributeId, AttributeInstance } from "./attribute"; im...
import React from "react"; import { Editor } from "react-live"; import theme from "prism-react-renderer/themes/oceanicNext"; interface Props { isFullPage?: boolean; onChange: (code: string) => void; code: string; } const SandboxEditor = ({ isFullPage, onChange, code }: Props) => { return ( <Editor s...
import { HudComponent } from '../enums'; import { Color, Point, Size } from '../utils'; import { Hud } from './Hud'; import { LoadingPrompt } from './LoadingPrompt'; import { Screen } from './Screen'; import { Sprite } from './Sprite'; const activeTimerBars: Timerbar[] = []; const drawText = (text, position, options)...
import * as request from 'request'; import Notice from '../notice'; export interface ReporterOptions { projectId: number; projectKey: string; host: string; timeout: number; request?: request.RequestAPI<request.Request, request.CoreOptions, request.RequiredUriUrl>; ignoreWindowError?: boolean...
/// <reference types="react" /> import * as PropTypes from 'prop-types'; export declare type ProgressIndeterminateBarProps = { className?: string | null; [key: string]: any; }; declare const ProgressIndeterminateBar: { (props: ProgressIndeterminateBarProps): JSX.Element; propTypes: { className: ...
import { Injector, Directive, Component } from '@angular/core'; import { ComponentBase } from '@rivenfx/ng-common'; @Component({ template: '', }) // tslint:disable-next-line:component-class-suffix export abstract class AppComponentBase extends ComponentBase { constructor(public injector: Injector) { super(in...
import React, { ChangeEvent, FormEvent, useContext, useEffect, useState, } from 'react' import { useDispatch, useSelector } from 'react-redux' import { Redirect } from 'react-router-dom' import { Form } from 'react-bootstrap' import { LanguageContext } from '../../context/langContext' import { languages } fr...
import { CreditCardSummaryItem_order } from "v2/__generated__/CreditCardSummaryItem_order.graphql" import { StepSummaryItem, StepSummaryItemProps, } from "v2/Components/StepSummaryItem" import { createFragmentContainer, graphql } from "react-relay" import { CreditCardDetails } from "./CreditCardDetails" const Cred...
import React from 'react'; import './spinner.css'; // See https://forums.meteor.com/t/any-recommendations-for-a-spinner-to-use-with-react-apps/22510/4 // See https://github.com/lukehaas/css-loaders export default function Loader() { return <div className="loader">Loading...</div>; }
import { PoNotification } from './../po-notification.interface'; import { PoToasterType } from './po-toaster-type.enum'; /** * @docsPrivate * * Interface para os dados do serviço do po-toaster. */ export interface PoToaster extends PoNotification { /** ID do toaster */ componentRef?: any; /** Posição para ...
import { NgModule } from '@angular/core'; import { HttpErrorHandler } from '@spartacus/core'; import { CartPersistenceModule } from './cart-persistence.module'; import { CartConnector } from './connectors/cart/cart.connector'; import { CartEntryConnector } from './connectors/entry/cart-entry.connector'; import { CartVa...
import React, { useCallback, useState } from 'react'; import ActionButton from '~components/composed/ActionButton'; import NavButton from '~components/composed/NavButton'; import { useConnectWalletToDApp, useCurrentDapp, useUpdateActiveAccount } from '~hooks/useController'; import ChevronRightIcon from '@material-ui/ic...
/** * @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...
/* tslint:disable */ /* eslint-disable */ /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.te...
/** * title: 嵌套子表格 * desc: 嵌套子表格的例子,点击展开按钮可以在展开区域展示子表格。 */ import { Table } from '@sensoro-design/react'; const columns = [ { title: 'Name', dataIndex: 'name', }, { title: 'Salary', dataIndex: 'salary', }, { title: 'Address', dataIndex: 'address', }, { title: 'Email', d...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Injectable } from '@nestjs/common'; import { CsvExporterProvider, Exportable } from '../../lib'; class SampleDTO { constructor(name: string, phone: string) { this.name = name; this.phone = phone; } @Exportable({ /** Replace csv column name to fullName instead of name */ name: 'fullName'...
import {Component, Input, Output, EventEmitter, OnChanges, SimpleChanges, ViewContainerRef, ComponentRef, ChangeDetectionStrategy, OnDestroy, ComponentFactoryResolver, SimpleChange} from '@angular/core'; import {Subscription} from 'rxjs'; import {filter} from 'rxjs/operators'; import {FormField} from '../../form_fiel...
export enum ERROR { OUT_OF_GAS = 'out of gas', STACK_UNDERFLOW = 'stack underflow', STACK_OVERFLOW = 'stack overflow', INVALID_JUMP = 'invalid JUMP', INVALID_OPCODE = 'invalid opcode', OUT_OF_RANGE = 'value out of range', REVERT = 'revert', STATIC_STATE_CHANGE = 'static state change', INTERNAL_ERROR =...
import { Card, Popper } from "@material-ui/core"; import ChannelsAvailabilityMenuContent from "@saleor/components/ChannelsAvailabilityMenuContent"; import { PluginBaseFragment } from "@saleor/fragments/types/PluginBaseFragment"; import { makeStyles } from "@saleor/macaw-ui"; import { isPluginGlobal } from "@saleor/plug...
/* eslint-disable react/jsx-props-no-spreading */ import Document from 'next/document'; import { ServerStyleSheet } from 'styled-components'; export default class MyDocument extends Document { static async getInitialProps(ctx) { const sheet = new ServerStyleSheet(); const originalRenderPage = ctx.renderPage;...
<TS language="es_CL" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Haga clic para editar la dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> <...
/* This file is generated by createIcons.js any changes will be lost. */ import { IconType } from '../createIcon'; declare const TtyIcon: IconType; export default TtyIcon;
import React from 'react'; import {join, concat} from 'ramda'; import {collectTruePropKeys} from 'commons'; import {DazzlerProps, PresetColor, PresetSize} from '../../../commons/js/types'; type ButtonProps = { /** * Text or component to display. */ label: JSX.Element; /** * The number of ti...
export interface ILoginValues { token: string; expiration: Date; id: string; userName: string; } export class LoginValues { constructor ( public token: string, public expiration: Date, public id: string, public userName: string ) {} }
import { Construct } from '@aws-cdk/cdk'; import { IFunction } from './function-base'; /** * Properties for a new Lambda version */ export interface VersionProps { /** * SHA256 of the version of the Lambda source code * * Specify to validate that you're deploying the right version. * * @d...
import { Action } from '@ngrx/store'; import { NavigationExtras } from '@angular/router'; export const GO = '[Router] Go'; export const BACK = '[Router] Back'; export const FORWARD = '[Router] Forward'; export class Go implements Action { readonly type = GO; constructor( public payload: { path: any[]; ...
import { Component, OnInit } from '@angular/core'; import { Http } from '@angular/http'; import { DataserviceService } from './services/dataservice.service'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent implements OnInit ...
import * as config from "config"; interface IConfig { homeserverUrl: "https://yashfiichat.eastus.cloudapp.azure.com"; pantalaimon: { use: false; username: 'drbot'; password: '12345678'; }; accessToken: "syt_ZHJib3Q_WbpKtNthdHDXZyWlnYwC_2G0ZcG"; autoJoin: true; dataPath: ...
import S101Client from './S101Client' export { S101Client }
/* * Copyright 2015 Palantir Technologies, 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 req...
/** * 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 {AnyNode} from "@romefrontend/ast"; import {HydrateData, HydrateTypeFactory} from "../Evaluator"; import T, {SerialTypeFact...
export type Defined<T> = T extends (undefined | null) ? never : T; export type DefinedProps<T, P extends keyof T = keyof T> = { [K in P]-?: Defined<T[K]>; }; export type Prefix<T, P extends string> = { [K in keyof T as `${P}${Capitalize<string & K>}`]: T[K]; }; export type Retype<O, T, K extends string = str...
/* eslint-disable max-len */ /** * Test Swagger * v1 * example.com/api-base-path */ import {NgModule} from '@angular/core'; import {EffectsModule as NgrxEffectsModule} from '@ngrx/effects'; import {StoreModule as NgrxStoreModule} from '@ngrx/store'; import {GoodsService} from '../../../controllers/Goods'; import ...
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "../../types/mod.ts"; export type AccountLimitType = | "MAX_HEALTH_CHECKS_BY_OWNER" | "MAX_HOSTED_ZONES_BY_OWNER" | "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER" | "MAX_TRAFFIC_POLICIES_BY_OWNER" | "MAX_TRAFFIC_POLICY_INSTANCES...
/* * Copyright The OpenTelemetry 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
export * from './abstract.dto'; export * from './commune.dto'; export * from './departement.dto'; export * from './gare.dto'; export * from './point.dto'; export * from './tarif.dto';
namespace FudgeCore { export class TextureDefault extends TextureBase64 { public static texture: TextureBase64 = new TextureDefault("TextureDefault", TextureDefault.get(), MIPMAP.MEDIUM); private static get(): string { } } }
import styled from '@emotion/styled'; import { useTheme } from '@nextui-org/react'; import AuthorSection from '../../components/AuthorSection'; import MainHeader from '../../components/Header/MainHeader'; import PostCard from '../../components/PostCard'; import SEO from '../../components/SEO'; import useInfiniteScroll...
import { Component, ChangeDetectionStrategy, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; @Component({ selector: 'l-confirmation-dialog', templateUrl: './confirmation-dialog.component.html', styleUrls: ['./confirmation-dialog.component.scss'], changeD...
export { default as SkillsCard } from './SkillsCard'; export { default as HobbiesCard } from './HobbiesCard'; export { default as GuestbookCard } from './GuestbookCard'; export { default as BioCard } from './BioCard';
import * as mongoose from "mongoose" import * as express from "express" import Shadow from "../index" declare namespace iShadow { type App = Shadow interface LooseObject { [key: string]: any } interface Schema { name: string schema: mongoose.Schema collection: string } interface Mode...
/** * 存储在 `localStorage` 中数据的键名 */ export enum StorageKey { /** 用户登录凭证 */ Token = 'token', /** 用户登录凭证有效期(时间戳) */ TokenExpiration = 'token_expiration', /** 用户头像的 URL */ AvatarUrl = 'avatar_url', /** 用户昵称 */ NickName = 'nickname', }
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-success-alert', templateUrl: './success-alert.component.html', //styleUrls: ['./success-alert.component.css'] styles:[` p{color:green;} `] }) export class SuccessAlertComponent implements OnInit { constructor() { } ngOnIni...
export class PushRecordDto { name: string; startTime: number; value: string; label: string; location: string; dev: boolean; }
declare module Utils { function RandomRange(min: number, max: number): number; function RandomColor(includeAlpha?: boolean): string; class Vector2 { x: number; y: number; constructor(x: number, y?: number); equals(obj: Vector2): boolean; } } //# sourceMappingURL=utils.d.t...
import { Signer } from "../Signer"; import base64url from "base64url"; import secp256k1 from "secp256k1"; import { SignatureConfig, SIG_CONFIG } from "../../constants"; import keccak256 from "keccak256"; export default class Secp256k1 implements Signer { readonly ownerLength: number = SIG_CONFIG[SignatureConfig.ETHE...
import ClientModel from '../../models/ClientModel'; interface StatementsResultOptions { readonly format?: string; readonly attachments?: boolean; readonly langs?: string[]; readonly client: ClientModel; } export default StatementsResultOptions;
/*! * Copyright Unlok, Vaughn Royko 2011-2019 * http://www.unlok.ca * * Credits & Thanks: * http://www.unlok.ca/credits-thanks/ * * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the moddin...
import Mapbox from "lib/mapbox"; import Adapter from "adapters/adapter"; import { ChartsModel, ChartsRaw } from "model/charts"; import { EventModel, EventRaw } from "model/events"; import { InfosModel, InfosRaw } from "model/infos"; import { EventsRaw } from "../model/events"; import Resolvers from "lib/resolvers"; ex...
import React from 'react'; import { storiesOf } from '@storybook/react'; import YomiFuda from './index'; import { create } from '@helper/factory'; import { YomiFuda as YomiFudaType } from '@src/types'; const yomiFuda = create<YomiFudaType>('yomiFuda'); const props = { yomiFuda, answered: false, duration: 1, }; ...
// Type definitions for Google API Client // Project: https://code.google.com/p/google-api-javascript-client/ // Definitions by: Frank M <https://github.com/sgtfrankieboy> // Definitions: https://github.com/borisyankov/DefinitelyTyped /** * The OAuth 2.0 token object represents the OAuth 2.0 token and any associated...
import * as convertSourceMap from "convert-source-map"; import * as ESTree from "estree"; export class BundleItem { public ast?: ESTree.Program; public lookupName?: string; public transformedScript = false; constructor(public moduleName: string, public filename?: string, public source...
import test, { Test } from "tape-promise/tape"; import { v4 as internalIpV4 } from "internal-ip"; import express from "express"; import bodyParser from "body-parser"; import http from "http"; import { AddressInfo } from "net"; import { Containers, K_DEFAULT_VAULT_DEV_ROOT_TOKEN, K_DEFAULT_VAULT_HTTP_PORT, Vau...
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { Type } from '@angular/core'; import { fakeAsync, TestBed, tick } from '@angular/core/testing'; import * as Sentry from '@sentry/browser'; import { ApiError } from '../models/api-error'; import { InviteAcceptance } ...
import { ClientCommunicator } from "../Communicator/ClientCommunicator"; import { ApiPaths } from "../Api/ApiPaths"; export class UserClient { constructor(private clientCommunicator: ClientCommunicator) { } public addUser(username: string, email: string) { return this.clientCommunicator.post(ApiPaths.ADD_U...
import { Global, Module } from '@nestjs/common'; import { Transaction } from './shared-di-container.config'; import { CqrsModule } from '@nestjs/cqrs'; @Global() @Module({ imports: [CqrsModule], providers: [Transaction], exports: [CqrsModule, Transaction], }) export class SharedModule {}
// Internal modules let AmorphicContext = require('./AmorphicContext'); let Logger = require('./utils/logger'); let logMessage = Logger.logMessage; let uploadRouter = require('./routers/uploadRouter').uploadRouter; let initializePerformance = require('./utils/initializePerformance').initializePerformance; let amorphicE...
/* Fully speced schema */ export default { version: '0.0.1', indexes: { primary: { hash: 'pk', sort: 'sk' }, // gs1: { hash: 'gs1pk', sort: 'gs1sk', project: ['gs1pk', 'gs1sk', 'name']} gs1: { hash: 'gs1pk', sort: 'gs1sk', project: 'keys' } }, models: { User: { ...
import {Column, Entity, Index, ManyToOne, OneToMany, PrimaryGeneratedColumn, TableInheritance, Unique} from 'typeorm'; import {DirectoryEntity} from './DirectoryEntity'; import {MediaDimension, MediaDTO, MediaMetadata} from '../../../../../common/entities/MediaDTO'; import {OrientationTypes} from 'ts-exif-parser'; impo...
/* * Copyright (C) 2019 Toshiba Corporation * SPDX-License-Identifier: Apache-2.0 */ import { DNoteSmall, DNoteSmallOptions, DThemeNoteSmall } from "./d-note-small"; export interface DNoteSmallNoItemsFoundOptions< THEME extends DThemeNoteSmallNoItemsFound = DThemeNoteSmallNoItemsFound > extends DNoteSmallOptions<...
export class Span { public props public constructor(props?) { this.props = props } public render() { return `${this.children}` } public get children() { return Array.isArray(this.props.children) ? this.props.children .map(child => (child.render ? child.render() : child)) ...
export default AccessibilitySharp; declare function AccessibilitySharp(props: any): any; declare namespace AccessibilitySharp { namespace defaultProps { const style: {}; const color: string; const height: string; const width: string; const cssClasses: string; const ti...
import { Store } from 'le5le-store'; import { Pen, PenType } from './models/pen'; import { Node } from './models/node'; import { Line } from './models/line'; import { Options } from './options'; import { Layer } from './layer'; import { s8 } from './utils/uuid'; import { find } from './utils/canvas'; declare const wi...
import { PrismaService } from './../../prisma/prisma.service'; import { Injectable, UnauthorizedException } from "@nestjs/common"; import { ConfigService } from "@nestjs/config"; import { PassportStrategy } from "@nestjs/passport"; import { validate } from "class-validator"; import { ExtractJwt, Strategy } from "passpo...
/*----------------------------------------------* * * * GLOBAL INTERFACES * * * *-----------------------------------------------*/ interface EventEmitter { addListener(event: string | symbol, list...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { AppTranslationModule } from '../../app.translation.module'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { NgaModule } from '../../theme/nga.module'; import { NgbDropdownModule, NgbModalModule...
import { sincos } from "@thi.ng/math"; import { setC, setC4, setC6 } from "@thi.ng/vectors"; import { Mat } from "./api"; /** * Constructs a M22 rotation matrix for given `theta`. * * @param out * @param theta */ export const rotation22 = (out: Mat, theta: number) => { const [s, c] = sincos(theta); return...
import { ComponentType } from 'react'; import { Route as RouteOrig, RouteProps, } from 'react-router'; export { // components MemoryRouter, Navigate, Outlet, Router, // hooks useBlocker, useHref, useInRouterContext, useLocation, useLocationPending, useLocationListen, useMatch, useNaviga...
import { Injectable } from '@angular/core'; import { Actions, ofType, createEffect } from '@ngrx/effects'; import { NzMessageService } from 'ng-zorro-antd'; import { SHOW_SUCCESS_MESSAGE, SHOW_FALIURE_MESSAGE } from './actions'; import { tap } from 'rxjs/operators'; @Injectable() export class MessageEffects { const...
import {exec} from '@actions/exec' import {promisify} from 'util' import {writeFile as nodeWriteFile} from 'fs' import path from 'path' import {getChangedFiles, revParse} from '../src/git' import tmp from 'tmp' describe('getChangedFiles', () => { it('returns changed files between commits', async () => { const wr...
import React from 'react'; import {findDOMNode} from 'react-dom'; import { FormItem, FormControlProps, FormBaseControl, FormControlSchema, FormControlSchemaAlias } from './Item'; import {Schema, Action, Api} from '../../types'; import {ComboStore, IComboStore} from '../../store/combo'; import {default as CTab...
import { Npcs } from '../../Enums.ts' import NpcBase from './npcBase.ts' import Coffee from '../items/coffee.ts' import IronSword from '../items/ironSword.ts' import IronDagger from '../items/ironDagger.ts' import IronHelm from '../items/ironHelm.ts' import BronzeHelm from '../items/bronzeHelm.ts' import BronzeLegs fro...
/** * ID: 02115 * Title: Find All Possible Recipes from Given Supplies * Difficulty: Medium * Description: You have information about n different recipes. You are given a string array recipes and a 2D string array ingredients. The i th recipe has the name recipes[i], and you can create it if you have all the nee...