text
stringlengths
10
953k
import { Injectable } from '@nestjs/common'; import * as dialogflow from 'dialogflow'; import * as uuid from 'uuid'; import { CreateConversationDto } from './dto/create-conversation.dto'; @Injectable() export class RegisterService { async welcome (): Promise<any> { const sessionClient = await this.createSessionC...
import { isValidStringOrNumber, WithStyle } from '@medly-components/utils'; import React, { FC } from 'react'; import Text from '../Text'; import { LinkStyled } from './Link.styled'; import { Props } from './types'; export const Link: FC<Props> & WithStyle = React.memo( React.forwardRef(({ href, ...props }, ref) =...
import {Component, Inject} from "@angular/core"; import {MAT_SNACK_BAR_DATA, MatSnackBarRef} from "@angular/material/snack-bar"; @Component({ selector: 'timeout-snackbar', templateUrl: './timeout-snackbar.html', }) export class TimeoutSnackbarComponent { public text: string; public duration: number; constru...
import React from 'react'; import { PopoverProps } from 'react-native-ui-kitten'; import { PopoverShowcase } from './popoverShowcase.component'; type PopoverElement = React.ReactElement<PopoverProps>; export const TopEndPopover = (): PopoverElement => { return ( <PopoverShowcase placement='top end'/> ); };
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; import * as utilities from "../utilities"; ...
import { ReactElement, FunctionComponent } from 'react'; import { Element as SlateElement } from 'slate'; import { PortableTextFeatures } from '../types/portableText'; import { RenderBlockFunction, RenderChildFunction } from '../types/editor'; declare type ElementProps = { attributes: string; children: ReactEle...
// Copyright 2020-2022 OnFinality Limited authors & contributors // SPDX-License-Identifier: Apache-2.0 import fs from 'fs'; import path from 'path'; import {GithubReader} from './github-reader'; import {IPFSReader} from './ipfs-reader'; import {LocalReader} from './local-reader'; import {ReaderFactory} from './reader...
import { Node } from "babylonjs"; import { LiteGraph } from "litegraph.js"; import { GraphNode, ICodeGenerationOutput, CodeGenerationOutputType } from "../node"; export class CallNodeFunction extends GraphNode<{ function: string; cast_as_any: boolean; }> { /** * Constructor. */ public constructor() ...
export declare const firstLower: (s: string) => string;
import * as React from 'react'; import { TodoItem, TodoActions } from 'app/components/archive/TodoItem'; import { TodoModel } from 'app/models/TodoModel'; import * as style from './style.css'; export interface TodoListProps extends TodoActions { todos: TodoModel[]; completeAll: () => any; } export interface TodoLis...
import { Symptom } from './symptom'; import { User } from './user'; export class Report { private _symptoms: Symptom[]; private _user: User; private _end_date: Date; private _start_date: Date; get user(): User { return this._user; } set user(value: User) { this._user = value; } get symptom...
import { MiddlewareConsumer, Module, NestModule } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { LoggerMiddleware } from './middlewares/logger.middleware'; import { UsersModule } from './users/u...
import {withInstall} from "../_utils/install"; import WDialog from './WDialog'; export default withInstall(WDialog);
import { Equals, IsInt } from 'class-validator'; export class DeleteScheduledMessageResponseDTO { @IsInt() @Equals(204) status!: number; @Equals(undefined) body: undefined; }
import { EntityRepository, Repository } from 'typeorm'; import { Board } from './board.entity'; import { BoradStatus } from './boards-status.enum'; import { CreateBoardDto } from './dto/create-board.dto'; @EntityRepository(Board) export class BoardRepository extends Repository<Board> { async createBoard(createBoardD...
export enum Regions { "us-gov-west-1" = "us-gov-west-1", "ap-south-1" = "ap-south-1", "ap-northeast-3" = "ap-northeast-3", "ap-northeast-2" = "ap-northeast-2", "ap-southeast-1" = "ap-southeast-1", "ap-southeast-2" = "ap-southeast-2", "ap-northeast-1" = "ap-northeast-1", "ca-central-1" = "ca-central-1", ...
// Copyright 2020 The Nakama 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 agreed to ...
import { AxiosResponse } from "axios"; export declare const enum ArweaveErrorType { TX_PENDING = "TX_PENDING", TX_NOT_FOUND = "TX_NOT_FOUND", TX_FAILED = "TX_FAILED", TX_INVALID = "TX_INVALID", BLOCK_NOT_FOUND = "BLOCK_NOT_FOUND" } export default class ArweaveError extends Error { readonly type:...
import { Cmp738Component } from './cmp'; describe('Cmp738Component', () => { it('should add', () => { expect(new Cmp738Component().add738(1)).toBe(739); }); });
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
import * as d from '../declarations'; import { BUILD } from '@build-conditionals'; const hostRefs: WeakMap<d.RuntimeRef, d.HostRef> = /*@__PURE__*/new WeakMap(); export const getHostRef = (ref: d.RuntimeRef) => hostRefs.get(ref); export const registerInstance = (lazyInstance: any, hostRef: d.HostRef) => hostRef...
import * as React from 'react'; import { compose, withHandlers, withState, shouldUpdate } from 'recompose'; import { withRaf } from 'enhancers'; import { get } from 'lodash'; import styled from 'styled-components'; const NO_SUGGESTIONS_DESCRIPTION = 'no suggestions'; const enhance = compose( withState('description'...
import { MdiReactIconComponentType } from './dist/typings'; declare const ArrowTopRightThickIcon: MdiReactIconComponentType; export default ArrowTopRightThickIcon;
import { IncomingMessage, ServerResponse } from 'http' import DB from '@database' import enablePublicAccess from '@cors' const allAvos = async (req: IncomingMessage, res: ServerResponse) => { try { // Generally, you would not want this in your apps. // See more in 'cors.js' await enablePublicAccess(req, ...
import * as React from 'react'; import { createSvgIcon } from '@fluentui/react-icons-mdl2'; const StoreLogo16Icon = createSvgIcon({ svg: ({ classes }) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" className={classes.svg}> <path d="M1920 512v1260q0 30-11 57t-32 47-48 32-57 12H148q-30 ...
/** * Model of a Dashboard. */ export interface Dashboard { _links?: any; /** * Description of the dashboard. */ description?: string; /** * Server defined version tracking value, used for edit collision detection. */ eTag?: string; /** * ID of the Dashboard. Provided ...
/** * @packageDocumentation * @module Utils-Constants */ import BN from "bn.js" import { X, P, C, Network, Networks } from "../apis/evm" export const PrivateKeyPrefix: string = "PrivateKey-" export const NodeIDPrefix: string = "NodeID-" export const MainnetAPI: string = "api.avax.network" export const FujiAPI: str...
import * as PIXI from 'pixi.js' import * as mysql from 'promise-mysql' let connection; window.onload = () => { const app = new PIXI.Application({width:480, height:800}); document.body.append(app.view); get_connection(); app.stage.addChild(new PIXI.Text("asfasf", new PIXI.TextStyle({ fontSize: 26, fill: 0x...
import IFinder from "./IFinder"; import SingleStructure from "./SingleStructure"; import Sleep from "../helper/Sleep"; import {ServerEnum} from "../enum/ServerEnum"; const ENDPOINT_URI = "https://api.rsc.org/compounds/v1/"; class ChemSpiderFinder implements IFinder { private apiKey = ''; constructor(apiKey:...
import React, { CSSProperties } from 'react' import { graphql } from 'gatsby' import styled from 'styled-components' import { Page } from '../layout/Page' import BackButton from '../components/subcomponents/BackButton' import { routeLinks } from '../config/routing' import { HideDesktop, HideTablet } from '../component...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About MinersHeavenCoin</source> <translation type="unfinished"/> </message> <message> <loc...
import {CommandInteraction} from "discord.js"; import {EmbedHelper} from "../../../../helper/EmbedHelper"; import { TempHelper } from "../../../../helper/TempHelper"; export class TempCommand { protected embedHelper = new EmbedHelper() protected tempHelper = new TempHelper() public constructor(interaction:...
import { Scene, Mesh, Points, SphereBufferGeometry, BoxBufferGeometry, PlaneBufferGeometry, BufferGeometry, MeshBasicMaterial, Vector3, Matrix4, Quaternion, LineBasicMaterial, Line, MeshStandardMaterial, Material, BufferAttribute } from 'three' import { Body, BoxObstacle, CapsuleOb...
import { CancellationToken, SelectionRange, CodeAction, CodeActionContext, CodeActionKind, CodeLens, Color, ColorInformation, ColorPresentation, Command, CompletionContext, CompletionItem, CompletionList, Definition, DocumentHighlight, DocumentLink, DocumentSymbol, FoldingRange, FormattingOptions, Hover, Location, Posi...
export const Controller = (prefix: string = ''): ClassDecorator => { return (target: any) => { Reflect.defineMetadata('prefix', prefix, target); // Since routes are set by our methods this should almost never be true (except the controller has no methods) if (! Reflect.hasMetadata('routes', target)) { ...
import { RoomUser } from "../../interfaces/User.ts"; import Body from "../../interfaces/Body.ts"; export default class Room { static ids: string[] = []; private id: string; private players: RoomUser[]; public body: Body; constructor(users: RoomUser[]) { let id = Math.random().toString(36).substring(7);...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { DialogDonateComponent } from './dialog-donate.component'; describe('DialogDonateComponent', () => { let component: DialogDonateComponent; let fixture: ComponentFixture<DialogDonateComponent>; beforeEach(async () => { await TestBed....
import { Body, Controller, Delete, Get, HttpCode, NotFoundException, Param, Patch, Post, UseGuards, UsePipes, ValidationPipe } from '@nestjs/common'; import { JwtAuthGuard } from 'src/auth/guards/jwt.guard'; import { IdValidationPipe } from 'src/pipes/id-validation.pipe'; import { CreateProductDto } from './dto/create-...
export async function handleSomething():Promise<string> { return "this worked" } export const handleSomethingElse = async () => { return "this also worked" }
import webpack from 'webpack'; import WebpackDevServer from 'webpack-dev-server'; import { get } from 'lodash'; import { getPortPromise } from 'portfinder'; import { getSiteDevConfig } from '../config/webpack.site.dev'; import { getSitePrdConfig } from '../config/webpack.site.prd'; async function runDevServer( port:...
import React from 'react' import { shallow } from 'enzyme' import { contact } from '@/sagas/__stubs__/contact' import { PrimaryIdentification, mapStateToProps, mapDispatchToProps } from '../primary-identification' import { ReduxState } from '@/types/core' import { idCheck } from '@/sagas/__stubs__/id-check' import { Id...
import { botCache, Message, removeUserReaction } from "../../../deps.ts"; import { needReaction } from "../../utils/collectors.ts"; import { Embed } from "../../utils/Embed.ts"; import { createSubcommand } from "../../utils/helpers.ts"; createSubcommand("list", { name: "materials", aliases: ["mats"], arguments: ...
// This file is autogenerated. All changes will be overwritten. import { BigInteger } from "big-integer"; import { EntityLike, MessageIDLike } from "../define"; import { CustomMessage } from "./custom/message"; export namespace Api { type AnyLiteral = Record<string, any> | void; type Reader = any; // To be def...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { AllContactsComponent } from './all-contacts.component'; describe('AllContactsComponent', () => { let component: AllContactsComponent; let fixture: ComponentFixture<AllContactsComponent>; beforeEach(async(() => { TestBed.conf...
declare interface NavsURLs { releases: string; github: string; contribute: string; issues: string; v4: string; } declare module "*.svg" { const comp: React.FC<JSX.IntrinsicElements["svg"]>; export default comp; } declare module "@pkg" { const data: NPMPackage; export default data; ...
import React from 'react' import styled from 'styled-components' import { Image, Button } from 'polygon-moonwalkerswap-uikit' import { CommunityTag } from 'components/Tags' import useI18n from 'hooks/useI18n' import Card from './Card' import CardTitle from './CardTitle' const Balance = styled.div` color: ${({ theme ...
export class CarrinhoDeCompras { private readonly produtos: Produto[] = []; inserirProdutos(...produtos: Produto[]): void { produtos.forEach((produto) => this.produtos.push(produto)); } quantidadeProdutos(): number { return this.produtos.length; } valorTotal(): number { return this.produtos.r...
import React from 'react'; import { ComponentStory, ComponentMeta } from '@storybook/react'; import { Loading as LoadingComponent } from 'binyal'; export default { title: 'Components/Loading', component: LoadingComponent, argTypes: { style: { name: 'Style', description: 'Set the style of button',...
import BigNumber from '@waves/bignumber'; import { Asset, Money } from '@waves/data-entities'; import * as React from 'react'; import { Trans, useTranslation } from 'react-i18next'; import { AssetAmountInput } from 'assets/amountInput'; import { convertToSponsoredAssetFee } from 'assets/utils'; import { Tooltip } from ...
import { AppBar, Typography } from '@material-ui/core'; import useTheme from '@material-ui/core/styles/useTheme'; import Tabs from '@material-ui/core/Tabs'; import { ButtonFilled } from 'litmus-ui'; import React from 'react'; import { useTranslation } from 'react-i18next'; import { useSelector } from 'react-redux'; imp...
import {expect} from 'chai'; import {RefSet, Subset} from '../src/gc-container'; describe('Testing Subsets', function () { beforeEach(function () { class Ref extends RefSet<number, string> { constructor (iterable: ReadonlyArray<string>) { super(iterable, 0); } uid (): number { ...
export enum SenderType { Main, // Main process Renderer, // Renderer process }
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import "jest"; import { ConditionNode } from "../../../../../src/data-model/syntax-tree/element/operation/ConditionNode"; import { ConnectedOperationNode } from "../../../../../src/data-model/syntax-tree/element/operation/ConnectedOperationNode"; import { IndexRange } from "../../../../../src/data-model/syntax-tree/Ind...
/** * Catapult REST API Reference * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.7.15 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generat...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Component, ElementRef, Output, EventEmitter, ViewChild, Input, TemplateRef, OnInit } from '@angular/core'; import { isInputOrTextAreaElement, getContentEditableCaretCoords } from './mention-utils'; import { getCaretCoordinates } from './caret-coords'; /** * Angular Mentions. * https://github.com/dmacfarl...
import { Worker } from './worker'; import { QaSchedule } from '../schedule'; export class Tester extends Worker { initializeSchedule() { this.schedule = new QaSchedule( this.sprintDayCount, this.regressionTestDayCount, this.lunchTime, this.customEventsByDay, ); } }
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const biHeartHalf: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const ligatur...
import { Entity, Column, PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn, ManyToOne, JoinColumn } from 'typeorm'; import { FormInput } from './form-input.entity'; import { User } from './user.entity'; @Entity() export class FileRecord { @PrimaryGeneratedColumn('uuid') public id: string; @Column({ len...
import { getResourceNames } from './utils'; import type { State, Resource } from './types'; import type { ApiResourceErrors } from '../api/types'; export default < M extends string, T extends { [key in keyof T & string]?: T[key] }, K extends keyof T & string, R extends { [key in keyof R & string]?: R[key] }, ...
import { ReactPictureAnnotation } from "index"; import { IAnnotationState } from "./AnnotationState"; import { DefaultAnnotationState } from "./DefaultAnnotationState"; export default class DraggingAnnotationState implements IAnnotationState { private readonly context: ReactPictureAnnotation; constructor(context: ...
import { AfterViewInit, ChangeDetectorRef, Component, ElementRef, EventEmitter, HostBinding, Input, Output } from '@angular/core'; import { Nullable } from '@fundamental-ngx/core/shared'; import { ButtonType, GlyphPosition } from '@fundamental-ngx/core/button'; import { BaseComponent } ...
import { Select } from 'antd'; import { LabeledValue, SelectValue } from 'antd/es/select'; import React, { useCallback, useMemo } from 'react'; import { clone, isObject } from 'shared/utils/data'; import { ALL_VALUE } from 'types'; import SelectFilter, { Props as SelectFilterProps } from './SelectFilter'; const { Op...
import * as React from 'react'; import cx from 'classnames'; import { createSvgIcon } from '../utils/createSvgIcon'; import { iconClassNames } from '../utils/iconClassNames'; export const TableIcon = createSvgIcon({ svg: ({ classes }) => ( <svg role="presentation" focusable="false" viewBox="8 8 16 16" className=...
export interface MessageProtocol { sendMessage(msg: string): void; }
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { TermDetailsPage } from './term-details.page'; const routes: Routes = [ { path: '', component: TermDetailsPage } ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule], ...
import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core'; /** * @element ons-search-input * @directive OnsSearchInput * @selector ons-search-input * @description * [en]Angular directive for `<ons-search-input>` component.[/en] * [ja]`<ons-search-input>`要素のAngularディレクティブです。[...
import { CommandHandler } from '@nestjs/cqrs'; import { DeleteServiceCategoryCommand } from '../impl/delete-service-category.command'; import { ModuleRef } from '@nestjs/core'; import { DeleteCommandHandler } from 'src/shared/modules/app-cqrs/commands/handler/delete-command.handler'; import { ServiceCategoryEntity } f...
import { denormalize } from 'normalizr'; import { State } from '../reducer'; import { EndpointParams } from '../types'; import { getRequest } from './getRequest'; /** * Get the de-normalized result data of an endpoint, or undefined if not (yet) available. This value is automatically * bound when using {@link withApi...
namespace fgui { export class GTreeNode { public data: any; private _parent: GTreeNode; private _children: Array<GTreeNode>; private _expanded: boolean = false; private _level: number = 0; private _tree: GTree; public _cell: GComponent; public _resUR...
import { TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ RouterTestingMod...
import app from 'firebase/app'; import 'firebase/auth'; const config = { apiKey: process.env.REACT_APP_API_KEY, authDomain: process.env.REACT_APP_AUTH_DOMAIN, databaseURL: process.env.REACT_APP_DATABASE_URL, projectId: process.env.REACT_APP_PROJECT_ID, storageBucket: process.env.REACT_APP_STORAGE_BUCKET, m...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ro_RO" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About lovecoin</source> <translation>Despre lovecoin</translation> ...
import { StringUtils, UIDLUtils } from '@teleporthq/teleport-shared' import { StyleUtils, StyleBuilders, ASTUtils } from '@teleporthq/teleport-plugin-common' import * as types from '@babel/types' import { ComponentPluginFactory, ComponentPlugin, FileType, ChunkType, UIDLElementNodeReferenceStyles, UIDLStyle...
import { Agile } from '../agile'; import { shared } from '../shared'; import { Collection, CreateCollectionConfig, DefaultItem } from './collection'; export * from './collection'; export * from './collection.persistent'; export * from './group'; export * from './group/group.observer'; export * from './item'; export * ...
import { body } from "@pnp/queryable"; import { Event as IEventType, Calendar as ICalendarType } from "@microsoft/microsoft-graph-types"; import { _GraphQueryableCollection, _GraphQueryableInstance, graphInvokableFactory } from "../graphqueryable.js"; import { defaultPath, IDeleteable, deleteable, IUpdateable, updateab...
import {doGet} from "../apiHandler/apiHandler" import {PatreonResponse, RecentReplaysResponse, StreamResponse} from "../Models/types/Homepage" export const getTwitchStreams = (): Promise<StreamResponse> => doGet("/home/twitch") export const getPatreonProgress = (): Promise<PatreonResponse> => doGet("/home/patreon") ...
import { DraggableModule } from './draggable.module'; describe('DraggableModule', () => { let draggableModule: DraggableModule; beforeEach(() => { draggableModule = new DraggableModule(); }); it('should create an instance', () => { expect(draggableModule).toBeTruthy(); }); });
import { Schema, ArraySchema, MapSchema } from '@colyseus/schema' export enum PlayerNum { PlayerA, PlayerB } export enum GameState { WaitingForPlayers, Playing, Finished } export interface ICardSetsState extends Schema { gameState: GameState players: MapSchema deck: ArraySchema common: ArraySchema act...
import React, { useCallback, useMemo } from 'react'; import FeatherIcon from 'react-native-vector-icons/Feather'; import { View } from 'react-native'; import { Container, ProductContainer, ProductList, Product, ProductImage, ProductTitleContainer, ProductTitle, ProductPriceContainer, ProductSinglePr...
import { TIME_UNITS_PATTERN, parseTimeUnits } from "../constants"; import { ParsingContext } from "../../../chrono"; import { ParsingComponents } from "../../../results"; import { AbstractParserWithWordBoundaryChecking } from "../../../common/parsers/AbstractParserWithWordBoundary"; import { reverseTimeUnits } from ".....
import { db } from '../../../db'; import RecordingController, { _RecordingController } from '..'; import Recording from '../../../models/Recording'; import Category from '../../../models/Category'; import * as handler from '../../../test/db-handler'; jest.mock("../../../models/Recording/Recording.ts"); afterEach(as...
import React from 'react'; import { BrowserRouter as Router, Switch, Route } from 'react-router-dom'; import Navbar from './components/Navbar'; import Home from './pages/HomePage'; import Services from './pages/Services'; import Products from './pages/Products'; import SignUp from './pages/SignUp'; import Footer from ...
/** @noSelfInFile */ declare namespace vim.api { function nvim_err_writeln(...args: any): void; }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_MX" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Ozoncoin</source> <translation type="unfinished"/> </message> <message> <location li...
import { Component, Input, Output, EventEmitter, ElementRef, ContentChild, OnInit, ViewChild, AfterContentInit, HostListener, OnDestroy, HostBinding, TemplateRef, ApplicationRef, AfterViewInit } from "@angular/core"; import { NG_VALUE_ACCESSOR, ControlValueAccessor } from "@angular/forms"; // Observable...
import logs = require('@aws-cdk/aws-logs'); import { Construct, Stack } from '@aws-cdk/core'; import { ContainerDefinition } from '../container-definition'; import { LogDriver, LogDriverConfig } from "./log-driver"; /** * Specifies the awslogs log driver configuration options. */ export interface AwsLogDriverProps {...
import { connect, ConnectedProps } from 'react-redux'; import { MapStateToProps, Dispatch } from '../../../../../types'; import { RouterTriggerProps, EventTrigger } from '../../types'; import { NotFoundError } from '../../../../Error/PageNotFound'; import { getEventTriggerByName } from '../../../../../metadata/selector...
// Copyright IBM Corp. 2019. All Rights Reserved. // Node module: @loopback/core // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT import { bind, Binding, BindingFromClassOptions, BindingSpec, BindingTemplate, Constructor, Context, ContextT...
/* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { KParameter } from './KParameter'; import type { KType } from './KType'; import type { KTypeParameter } from './KTypeParameter'; export type KFunctionSamfundetUser = { inline?: boolean; operator?: boolean; infix?: boolean; ...
import { ExceptionFilter, Catch, ArgumentsHost, HttpException } from '@nestjs/common'; import { Request, Response } from 'express'; @Catch(HttpException) export class HttpExceptionFilter implements ExceptionFilter { catch(exception: HttpException, host: ArgumentsHost) { const ctx = host.switchToHttp(); ...
import { Component, OnInit, Inject } from '@angular/core'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material'; import { DialogData } from '../confirmacion-asistencia.component'; import { TutoriaConstants } from 'app/constants/constants'; import { PersonalDataService } from 'app/services/personal-data.ser...
/** * 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 { MasterBridge, MasterQueryResponse, MasterQueryRequest, } from '@romejs/core'; import { Diagnostics, INTERNAL_ER...
import {ChangeDetectionStrategy, Component, OnInit} from '@angular/core'; import {REQUEST_ALL_TABLES} from '../store/tables/table.actions'; import {Store} from '@ngrx/store'; import {AppState} from '../store'; @Component({ selector: 'app-orders-home', template: ` <router-outlet></router-outlet> `, changeDe...
import { Point } from "./Point"; import { Puzzle_truncated_square } from "./PuzzleTruncatedSquare"; export class Puzzle_iso extends Puzzle_truncated_square { constructor(nx, ny, size) { //盤面情報 super(nx, ny, size, "iso"); this.gridtype = "iso"; this.nx = nx; this.ny = ny; this.nx0 = this.nx; ...
import { Slider as EJ2Slider, SliderModel } from '@syncfusion/ej2-inputs'; import { Base } from './base-module'; import { InPlaceEditor } from '../base/inplace-editor'; import { NotifyParams, IComponent } from '../base/interface'; /** * The `Slider` module is used configure the properties of Slider type editor. */ e...
#!/usr/bin/env node // tslint:disable-next-line: no-reference /// <reference path='../../node_modules/cypress/types/cypress-npm-api.d.ts'/> import * as CypressNpmApi from "cypress"; import { slackRunner } from "../slack/slack-alert"; // tslint:disable: no-var-requires const marge = require("mochawesome-report-generator...
import { consoleLogger } from '@monorepo/common'; import { PluginStoreProvider } from '@openshift/dynamic-plugin-sdk'; import type { PluginStore } from '@openshift/dynamic-plugin-sdk'; import * as React from 'react'; import { Provider } from 'react-redux'; import type { UtilsConfig } from '../config'; import { isUtilsC...
import { combineReducers } from 'redux'; import { sitesList, ISitesListState } from './sitesList'; import { activeSite } from './activeSite'; export interface ISitesState { sitesList: ISitesListState, activeSite: string, } export const sites = combineReducers({ sitesList, activeSite, });