text
stringlengths
10
953k
import { ElementVNode, TextVNode, VNode } from '../' import { postpatchHooks, prepatchHooks, updateHooks } from './hooks' import { ModuleCallbacks } from '../modules/ModuleCallbacks' import { patchVNodeChildren } from './patchVNodeChildren' import { replacePreviousElement } from './replacePreviousElement' import { upd...
import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { FormControl, FormGroupDirective, NgForm, Validators } from '@angular/forms'; import { ErrorStateMatcher } from '@angular/material/core'; import { select_HELPERS, Messages, Links } from './helpers.data'; export class MyErrorStateMatcher impl...
import cn from 'clsx' import s from './ProductView.module.css' import { FC, Suspense, lazy } from 'react' import type { Product } from '@commerce/types/product' import usePrice from '@framework/product/use-price' import { WishlistButton } from '@components/wishlist' import { ProductImages } from '@components/product' i...
namespace Ui { export interface RadioBoxInit extends PressableInit { value?: boolean; text?: string; content?: Element; group?: RadioGroup; onchanged?: (event: { target: RadioBox, value: boolean }) => void; ontoggled?: (event: { target: RadioBox }) => void; on...
import React from 'react'; import styles from './Layout.module.scss'; import Header from '../Header/Header'; interface LayoutProps { children?: JSX.Element[]; } const Layout: React.FC<LayoutProps> = ({ children }) => ( <div className={styles.layoutWrapper}> {/* <Header /> */} <main>{children}</main> <foote...
import { BaseCommand } from "../../baseCommand"; import { Formater, OUTPUT_FORMAT } from "../../formater"; import { getTargetArg, passphraseFlag } from "../../utils"; import { flags } from "@oclif/command"; import { CryptoAccountPassphrases } from "types"; import { PropertyVerifierType, createPropertyVerifierToken, JWT...
import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { HomeComponent } from './home.component'; import { AuthGuard } from '../../guard/auth.guard'; @NgModule({ imports: [ RouterModule.forChild([ { path: 'home', component: HomeComponent, pathMatch: 'full', canAct...
/// <reference types="react" /> declare const AstronautDarkSkinTone: ({ size, rem }: { size: number | string; rem?: boolean | undefined; }) => JSX.Element; export default AstronautDarkSkinTone;
/** * Converts `string` to [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles). * * @example * toKebabCase('camelCase') // => 'camel-case' * toKebabCase('some text') // => 'some-text' * toKebabCase('AllThe-small Things_together') // => 'all-the-small-thing-together' * * @param stri...
import { DynamicFormValueControlModelConfig, DynamicFormValueControlModel } from "./dynamic-form-value-control.model"; import { DynamicFormControlLayout } from "./misc/dynamic-form-control-layout.model"; import { serializable } from "../decorator/serializable.decorator"; export type DynamicDateControlValue = string | ...
/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; export namespace Components { interface AppDescri...
/* * Copyright (C) 2019 Toshiba Corporation * SPDX-License-Identifier: Apache-2.0 */ import { DCommandSaveAs } from "./d-command-save-as"; import { DControllers } from "./d-controllers"; import { DDialogInputText, DDialogInputTextOptions, DThemeDialogInputText } from "./d-dialog-input-text"; import { isString } ...
/* * Copyright (C) 2020 The Fryfire Authors * See LICENSE.md for licensing information */ import { Game } from "../game/Game"; import { Scenes } from "./Scenes"; import { Transition } from "./Transition"; import { UpdateRootNode, DrawRootNode, RootNode } from "./RootNode"; import { SceneNode } from "./SceneNode"; i...
// https://www.terraform.io/docs/providers/github/r/issue_label // generated from terraform resource schema import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; // Configuration export interface IssueLabelConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link ht...
import React, { useContext } from 'react'; import { useEffect } from 'react'; import { createContext, useState } from "react"; import { isLoginExpired, Passport } from '../data/admin'; const storageLoginKey = 'ftc-b2b'; interface AuthState { passport?: Passport; setLoggedIn: (p: Passport) => void; setLoggedOut:...
import { Injectable } from '@angular/core'; import {HttpClient} from '@angular/common/http'; import {Observable} from 'rxjs/Observable'; import {environment} from '../../../environments/environment'; @Injectable() export class TribunalService { constructor(private http: HttpClient) { } getTribunal(): Observable<...
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient.ts"; import { CreateDataRepositoryTaskRequest, CreateDataRepositoryTaskResponse } from "../models/models_0.ts"; import { deserializeAws_json1_1CreateDataRepositoryTaskCommand, serializeAws_json1_1CreateDataRepositoryTaskCom...
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'Araba Kiralama'; user = "Orkun Erkuş"; }
// The module 'vscode' contains the VS Code extensibility API // Import the module and reference it with the alias vscode in your code below import * as vscode from "vscode"; import * as cp from "child_process"; export function activate(_context: vscode.ExtensionContext) { console.log('"VS Code-Gleam" started'); v...
import { ExporterType } from '@redhat-cloud-services/insights-common-typescript'; import { TriggerExporterCsv } from '../Csv'; describe('src/utils/exporters/Trigger/Csv', () => { it('has csv type', () => { const exporter = new TriggerExporterCsv(); expect(exporter.type).toEqual(ExporterType.CSV); ...
import { Component, OnInit } from "@angular/core"; import { Log } from "src/app/log.model"; import { AuthService } from "../auth.service"; @Component({ templateUrl: "select-society-dialog.component.html", styleUrls: ["select-society-dialog.component.css"], }) export class SelectSocietyDialogComponent implements On...
/** * @license * Copyright 2020 Google LLC. 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 { sequence, fake } from './@jackfranklin/test-data-bot'; import { buildField, buildFields, buildGraphqlList, buildRestList, } from './helpers'; import Builder from './builder'; import Generator from './generator'; import Transformer from './transformer'; type TestUser = { id: number; userName: strin...
/* * 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...
import { Observable, isObservable } from 'rxjs'; /** * Create observable api */ export default function createObservableApi( api: Promise<any> ): Observable<any> { if (typeof api === 'undefined') { throw new TypeError('Undefined api in createObservableApi.'); } if (isObservable(api)) { return api; ...
import cn from 'classnames' import dynamic from 'next/dynamic' import s from './Layout.module.css' import { useRouter } from 'next/router' import React, { FC } from 'react' import { useUI } from '@components/ui/context' import { Navbar, Footer } from '@components/common' import { usePreventScroll } from '@react-aria/ov...
import "./project-form.styles.scss"; import React, { useContext, useState } from "react"; import { v4 } from "uuid"; import { firestore as db } from "../../firebase/firebase.utils"; import CurrentUserContext from "../../providers/current-user/current-user.provider"; import { firestore } from "firebase"; const ProjectF...
import { Fixtures } from "./fixtures"; import { test } from "ava"; import * as request from "request-promise"; import * as sinon from "sinon"; import { StatusAPIClient } from "../../src/v1/StatusAPIClient"; // Instantiate to access fixtures const fixtures = new Fixtures(); // Create sinon instance const mock = sinon....
import { MessageButton, TextChannel } from 'discord.js'; import { Time } from 'e'; import { ApplicationCommandOptionType, InteractionResponseType, InteractionType, MessageFlags } from 'mahoji'; import { SlashCommandInteraction } from 'mahoji/dist/lib/structures/SlashCommandInteraction'; import { CommandOption } from 'm...
export interface IConstructor<T> { new (...args: any[]): T; }
import { Injectable, BadRequestException } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import * as bcrypt from 'bcrypt'; import User from './user.entity'; import UserDTO from './user.dto'; import JwtUser from '../auth/jwtuser.entity'; @Injectable() c...
import { Space, Tooltip } from 'antd'; import React from 'react'; import Avatar from 'components/Avatar'; import Badge, { BadgeType } from 'components/Badge'; import { ConditionalWrapper } from 'components/ConditionalWrapper'; import HumanReadableNumber from 'components/HumanReadableNumber'; import Icon from 'componen...
<TS language="hu" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>A cím vagy címke szerkeszteséhez kattintson a jobb gombbal</translation> </message> <message> <source>Create a new address</source>...
<TS language="nb" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Høyreklikk for å redigere adressen eller merkelappen</translation> </message> <message> <source>Create a new address</source> ...
import { PageCachesInterface } from '../type'; import { LRUCaches } from './lru'; export async function createPageCaches( max: number, ): Promise<PageCachesInterface> { const constructorOptions = { max }; const cacheInstance = new LRUCaches(constructorOptions); await cacheInstance.init(); return cacheInstanc...
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.19.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do n...
import React from 'react'; import {Button, Text, View} from '../../components/UI'; import {useDispatch, useSelector} from 'react-redux'; import {getDemoSagas} from '../../store/actions'; import {RootState} from '../../types'; import {getSharedStyles} from '../../helpers'; import {makeContainerStyles} from '../../contai...
/* eslint-disable */ /* tslint:disable */ // @ts-ignore import icon from 'vue-svgicon' icon.register({ 'eye': { width: 64, height: 64, viewBox: '0 0 1024 1024', data: '<defs/><path pid="0" d="M941.677 391.71c9.338-14.006 6.225-32.681-6.225-43.575-14.006-10.894-32.681-7.781-43.575 6.225-1.557 1.556-174...
declare module '@capacitor/core' { interface PluginRegistry { CapacitorVideoPlayer: CapacitorVideoPlayerPlugin; } } export interface CapacitorVideoPlayerPlugin { /** * Echo * */ echo(options: capEchoOptions): Promise<capVideoPlayerResult>; /** * Initialize a video player ...
import ip from "ip"; // Author: Jesse Tane <jesse.tane@gmail.com> // NPMJS: https://npmjs.org/random-ip export class RandomIp { static getRandomIp(address: string, start?: number, end?: number) { const bytes = ip.toBuffer(address); const ipv6 = bytes.length === 16; const bytesize = 8; start = start |...
import { CoreRestClient } from 'azure-devops-extension-api/Core/CoreClient'; import { WebApiTeam } from 'azure-devops-extension-api/Core'; import { TeamMember } from 'azure-devops-extension-api/WebApi'; import { getClient } from 'azure-devops-extension-api/Common'; class AzureDevOpsCoreService { private _httpCoreCli...
import { Component, OnInit } from '@angular/core'; import {Gallery} from 'angular-gallery'; @Component({ selector: 'app-concept', templateUrl: './concept.component.html', styleUrls: ['./concept.component.scss'] }) export class ConceptComponent implements OnInit { images: [ {path: 'assets/images/leb/4 (2).j...
export * from './stitches.config';
'use strict'; import { FileIO, FileIOResult } from '../src/main'; //vvvv FILESYSTEM MOCKUP (integration tests touch the disk, not unit tests) import * as FS_PROMISES_MOCKUP from 'fs/promises'; jest.mock('fs/promises'); //NOTE: This horrendous 'any' cast is for TypeScript's compiler. It's only been // permitted b...
import { ComponentRef, ElementRef, EventEmitter, Renderer } from '@angular/core'; import { NavController } from './nav-controller'; import { NavOptions } from './nav-util'; import { NavParams } from './nav-params'; import { Content, Footer, Header, Navbar } from './nav-interfaces'; /** * @name ViewController * @descr...
import { Context, useProductFactory, ProductsSearchParams, UseProductFactoryParams } from '@vue-storefront/core'; import { ProductsResponse } from '../types'; const params: UseProductFactoryParams<ProductsResponse, any> = { productsSearch: async (context: Context, params: ProductsSearchParams): Promise<Produ...
import { describe, it, expect } from 'vitest'; import { render } from '@testing-library/svelte'; import { GoogleFonts } from '..'; import { googleFonts } from './__fixtures__/data.test.js'; import { getGoogleFontLinks, getRelLinks } from './__fixtures__/test-utils'; beforeEach(() => { render(GoogleFonts, { props: {...
import { SubstrateNetwork } from '../../../../SubstrateNetwork' import { SCALEDecoder } from '../../scale/SCALEDecoder' import { SCALEArray } from '../../scale/type/SCALEArray' import { SCALEInt } from '../../scale/type/SCALEInt' import { SubstrateCall } from '../decorator/call/SubstrateCall' import { SubstrateConstant...
version https://git-lfs.github.com/spec/v1 oid sha256:8ec23a7a2fb2a698d73a36859b1e2d4384b9b092da38b47bbd8d4fc66fd41480 size 1213540
import { expect } from 'chai'; import path from 'path'; import snapshot from '@smpx/snap-shot-it'; import { execute, setTestFolder } from './test-helpers'; // Test compiled source const SCRIPT_PATH = path.resolve(__dirname, '../dist/cli.js'); describe('CLI', () => { setTestFolder(); it('should validate --replac...
// -*- mode: typescript; indent-tabs-mode: nil; js-basic-offset: 4 -*- // // This file is part of ThingTalk // // Copyright 2019-2020 The Board of Trustees of the Leland Stanford Junior University // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance wit...
/** Copyright 2021 Forestry.io Holdings, 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 writ...
export const resolvers = { Query: { getAutocomplete: async (_, { term }, { rpc }) => { const result = await rpc.search.get_autocomplete({ args: [], kwargs: { term } }); return { autocomplete: result }; } } }
import React from 'react'; import { Button } from 'antd'; import { Link } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; import { ImgWelcome } from 'ui/assets'; const Welcome = () => { const { t } = useTranslation(); return ( <div className="h-full pt-[482px] relative" sty...
/** * @license * Copyright 2020 Google LLC. 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 {MDXLayoutRenderer} from "@/components/MDXComponents" import {getFileBySlug} from "@/lib/mdx" import {GetStaticProps, InferGetStaticPropsType} from "next" import {AuthorFrontMatter} from "types/AuthorFrontMatter" const DEFAULT_LAYOUT = "AuthorLayout" // @ts-ignore export const getStaticProps: GetStaticProps<{ ...
export interface CreateBoard { name: string; type?: string; filterId?: number; location?: { type?: string; projectKeyOrId?: string; }; }
import { Observable } from 'rxjs'; export interface MessageCenter { socket: SocketIOClient.Socket; receiveVideoCall$: Observable<ISignal>; agreeToVideoCall$: Observable<ISignal>; rejectVideoCall$: Observable<ISignal>; userOffline$: Observable<ISignal>; notAnswered$: Observable<ISignal>; sendVideoStream$:...
import { Card } from '../../../interfaces' import Set from '../Battle Styles' const card: Card = { set: Set, name: { en: "Cubone", fr: "Osselait", es: "Cubone", it: "Cubone", pt: "Cubone", de: "Tragosso" }, illustrator: "You Iribi", rarity: "Common", category: "Pokemon", hp: 70, types: ["Fighting...
import { NestFactory } from '@nestjs/core'; import { FastifyAdapter, NestFastifyApplication } from '@nestjs/platform-fastify'; import { AppModule } from './application/app.module'; //import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create<NestFastifyApplication>( ...
import { IApi } from '@zmi-cli/types' export default (api: IApi) => { api.describe({ key: 'htmlPlugin', config: { default: {}, schema(joi) { return joi.object() } } }) }
/* tslint:disable */ /* eslint-disable */ /** * Rosetta * Build Once. Integrate Your Blockchain Everywhere. * * The version of the OpenAPI document: 1.4.10 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class ma...
/* * 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...
// Type definitions for got 7.1 // Project: https://github.com/sindresorhus/got#readme // Definitions by: BendingBender <https://github.com/BendingBender> // Linus Unnebäck <https://github.com/LinusU> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 /// <ref...
import React from 'react'; import { FormikProps } from 'formik'; import { BuildServiceType, IgorService } from 'core/ci/igor.service'; import { IBuildTrigger } from 'core/domain'; import { HelpField } from 'core/help'; import { FormikFormField, TextInput, useLatestPromise } from 'core/presentation'; import { Refresha...
import { STU3_DomainResource } from './STU3_DomainResource' import { STU3_Element } from './STU3_Element' import { STU3_Quantity } from './STU3_Quantity' export class STU3_SampledData extends STU3_Element { static def : string = 'SampledData'; origin : STU3_Quantity ; period : string ; factor : strin...
import * as React from 'react' import { ToolbarText as StyledToolbarText, ToolbarTextComponentClass, ToolbarTextWrapper, ToolbarTextWrapperComponentClass } from './styled' export interface ToolbarTextProps { text: string theme?: { wrapper: string, text: string } wrapperComponent?: ToolbarTextWrapperComponentCla...
import { Injectable } from '@angular/core'; import { Headers, RequestOptions } from '@angular/http'; import { Observable } from 'rxjs/Rx'; import { ConfigSettingModel } from './config-setting.model'; import { BService, IResponse } from '../shared/service/base.service'; import { CrudService } from '../shared/service/cru...
import './configurator.scss';
import * as React from 'react'; import { View, StyleSheet } from 'react-native'; import { Colors, Button, withTheme, Theme } from 'react-native-paper'; import { DialogWithCustomColors, DialogWithLoadingIndicator, DialogWithLongText, DialogWithRadioBtns, UndismissableDialog, } from './Dialogs'; type State = {...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../../utilities"; /** * A notebook workspace resource */ export class NotebookWorkspace ext...
/** * @format * @file BytedTurnOffBluetooth byted-turn-off-bluetooth * @author 由 fe6 自动生成 */ import { IIconProps, IconWrapper } from '../runtime'; // 获取 SVG 的 HTML 字符串 export const getIconBytedTurnOffBluetoothSvgHtml = (props: IIconProps) => `<?xml version="1.0" encoding="UTF-8"?> <svg width="${props.size}" hei...
import { TestBed, async } from '@angular/core/testing'; import { SignatureAppComponent } from './viewer-app.component'; import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; describe('ViewerAppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [SignatureAppCompone...
import axios from "axios"; import XLSX from "xlsx"; import { getDateBefore, RKIError } from "../utils"; import { ResponseData } from "./response-data"; export interface FrozenIncidenceData { ags: string; name: string; history: { date: Date; weekIncidence: number; }[]; } export async function getFrozen...
/* * Copyright (c) 2020, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ import { expect } from 'chai'; import { Org } from '@salesforce/core'; import { testSetu...
import { Socket, Server } from 'socket.io'; import consola from 'consola'; export const io = new Server({ cors: { origin: '*', methods: ['GET', 'POST'] } }); function logSocketEvent(socket: Socket, event: string) { consola.log( `[${new Date().toISOString()}] socket.io - ${event}: id=${socket.id}, remoteAddress=...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { LoginCodeComponent } from './login-code.component'; describe('LoginCodeComponent', () => { let component: LoginCodeComponent; let fixture: ComponentFixture<LoginCodeComponent>; beforeEach(async(() => { TestBed.configureTesti...
import chalk from 'chalk' import execa from 'execa' import path from 'path' import globby from 'globby' import topo from 'batching-toposort' import { promises as fs } from 'fs' import arg from 'arg' import semver from 'semver' import pReduce from 'p-reduce' import redis from 'redis' import fetch from 'node-fetch' impor...
/** * based on * https://github.com/react-native-community/react-native-svg/blob/28235ea137a75097c011f11fee92bec8a97b4afa/lib/Matrix2D.js */ /** * Represents an affine transformation matrix, and provides tools * for constructing and concatenating matrices. * * This matrix can be visualized as: * * [ a c tx ...
import * as _ from 'lodash'; import { publishExternalAPI } from '../../src/angular_public'; import { createInjector } from '../../src/injector'; import { IQService, IRootScopeService } from "angular"; "use strict"; describe("$$q", () => { var $$q: IQService; var $rootScope: IRootScopeService; var fulfilled...
import { List } from 'immutable' import React from 'react' import { LadderPlayer } from '../../../common/ladder' import { LadderTable } from '../ladder' const PLAYERS: LadderPlayer[] = [] let curRating = 2200 const NOW = Date.now() for (let i = 0; i < 1000; i++) { // Generate a random name between 3 and 16 characte...
import { Plugin } from '@nuxt/types' import { NuxtAxiosInstance } from '@nuxtjs/axios' const plugin: Plugin = function ({ $axios }, inject) { const api = $axios.create({ timeout: 5000, headers: { 'Content-Type': 'application/json', 'X-Requested-With': 'XMLHttpRequest', }, xsrfCookieName: ...
import { Component } from '@angular/core'; @Component({ selector: 'app-load-spinner-dialog', templateUrl: './load-spinner-dialog.component.html', styleUrls: ['./load-spinner-dialog.component.scss'] }) export class LoadSpinnerDialogComponent{ constructor() { } }
import { format } from "d3-format"; import { timeFormat } from "d3-time-format"; import * as React from "react"; import { ema, discontinuousTimeScaleProviderBuilder, CandlestickSeries, LineSeries, Chart, ChartCanvas, XAxis, YAxis, OHLCTooltip, HoverTooltip, withDeviceRatio, ...
// @TODO: Find a way to create the docker-compose.yml in the user config directory // @TODO: Should be used to generate docker-compose.yml templates for the docker images or without using docker import * as generatePassword from 'password-generator'; import { DbTypes, Emulators } from '@vulture/common'; import * as in...
import { Component, OnInit } from '@angular/core'; import { Hero } from '../hero'; import { HeroService } from '../hero.service'; @Component({ selector: 'app-heroes', templateUrl: './heroes.component.html', styleUrls: ['./heroes.component.css'] }) export class HeroesComponent implements OnInit { heroes: Hero[]...
/* eslint-disable */ import { Injectable, Inject, Optional } from '@angular/core'; import { HttpClient, HttpResponse } from '@angular/common/http'; import { SDKModels } from './SDKModels'; import { BaseLoopBackApi } from '../core/base.service'; import { LoopBackConfig } from '../../lb.config'; import { LoopBackAuth } f...
import { Card } from '../../../interfaces' import Set from '../Team Magma vs Team Aqua' const card: Card = { name: { en: "Team Aqua's Corphish", }, illustrator: "Jungo Suzuki", rarity: "Common", category: "Pokemon", set: Set, dexId: [ 341, ], hp: 50, types: [ "Water", ], stage: "Basic", attacks:...
import { Component, OnInit } from '@angular/core'; // import {HttpClient} from '@angular/common/http'; @Component({ selector: 'app-user-profile', templateUrl: './layout-graph.component.html', styleUrls: ['./layout-graph.component.css'] }) export class GraphLayoutComponent implements OnInit { // constructor(pri...
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { environment } from '@env/environment'; import { WebCodeGenService } from '@xlayers/web-codegen'; import { SketchIngestorService } from '@xlayers/sketch-ingestor'; export interface SketchMSData { pages: SketchMSPag...
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest, HttpResponse } from '@angular/common/http'; import {Observable} from 'rxjs/Observable'; import {catchError, tap} from 'rxjs/operators'; import {_throw} from 'rxjs/observable/throw'; import {Injectable} from '@angular/core'; import {ServiceHelper} ...
import { Contracts } from "@payvo/profiles"; import { Avatar } from "app/components/Avatar"; import { Button } from "app/components/Button"; import { Icon } from "app/components/Icon"; import { Link } from "app/components/Link"; import { TableCell, TableRow } from "app/components/Table"; import { Tooltip } from "app/co...
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; declare interface RouteInfo { path: string; title: string; icon: string; class: string; } export const ROUTES: RouteInfo[] = [ { path: '/dashboard', title: 'Tableau de bord ', icon: 'fas fa-tachometer-alt ...
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import { HoverBox } from '@jupyterlab/apputils'; import { Message } from '@lumino/messaging'; import { PanelLayout, Widget } from '@lumino/widgets'; import { style } from 'typestyle/lib'; import { clickedItem, intera...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { DiscountCodesListComponent } from './discount-codes-list.component'; describe('DiscountCodesListComponent', () => { let component: DiscountCodesListComponent; let fixture: ComponentFixture<DiscountCodesListComponent>; beforeEach...
import * as Long from 'long'; import { Writer, Reader } from 'protobufjs/minimal'; /** * Wrapper message for `double`. * * The JSON representation for `DoubleValue` is JSON number. */ export interface DoubleValue { /** * The double value. */ value: number; } /** * Wrapper message for `float`. * ...
import { ChannelRpcMethod, ChannelRpcMethodsPayloadMap, EngineParams } from "@connext/vector-types"; export const constructRpcRequest = <T extends ChannelRpcMethod>( method: T, params: ChannelRpcMethodsPayloadMap[T], ): EngineParams.RpcRequest => { return { id: Date.now(), jsonrpc: "2.0", method, ...
import SDK from '../index'; import { Methods } from '../communication/methods'; import { PostMessageOptions } from '../types'; describe('Safe Apps SDK transaction methods', () => { const sdkInstance = new SDK(); let spy: jest.SpyInstance<void, [message: any, options?: PostMessageOptions]>; beforeEach(() => { ...
import { EnableRequest } from './EnableRequest.js' import { DisableRequest } from './DisableRequest.js' import { Heartbeat } from './Heartbeat.js' import { CommandRequest } from './CommandRequest.js' import { PlayerMessage } from './PlayerMessage.js' import { PlayerRequest } from './PlayerRequest.js' import { UpdateNam...
import { Routes, RouterModule } from '@angular/router'; import { VerificationMobile } from './verification-mobile.component'; import { ModuleWithProviders } from '@angular/core'; export const routes: Routes = [ { path: '', component: VerificationMobile } ]; export const routing: ModuleWithProv...