text
stringlengths
10
953k
import { style } from '@vanilla-extract/css' import { theme } from '@island.is/island-ui/theme' export const card = style({ display: 'flex', height: '100%', width: '100%', flexDirection: 'column', cursor: 'pointer', boxSizing: 'border-box', minHeight: 146, textDecoration: 'none', position: 'relative'...
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { DemoModule } from './demo'; platformBrowserDynamic().bootstrapModule(DemoModule);
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule, Routes } from '@angular/router'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { NgAceAdminModule } from 'ng-ace-admin'; import { AccordionsComponent } from './accordions.component'; c...
import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { ApiService } from './api.service'; import { Profile, User } from '../models'; import { map } from 'rxjs/operators'; @Injectable() export class ProfilesService { constructor( private apiService: ApiService ) { } get(user...
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * 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 ...
import { StyleSheet } from "react-native"; const styles = StyleSheet.create({ container: { padding: 40, backgroundColor: '#8257e5', }, topBar: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' }, header: { flexDirection: 'row', alignItems: 'center', ...
import exit from "exit"; import logger, { LogLevel } from "@kosko/log"; export class CLIError extends Error { public readonly name = "CLIError"; public readonly output?: string; public readonly code?: number; public constructor( msg: string, { output, code }: { output?: string; code?: number } = {} ...
export class AccessTokenPayload { username: string; role: string; sub: string; iat?: number; exp?: number }
import * as React from 'react'; import { BLOCKS, SLATE_OBJECT_TYPES } from '../../../constants'; const { BLOCKQUOTE } = BLOCKS; const { BLOCK } = SLATE_OBJECT_TYPES; const UNDERLINE_TAGS = { blockquote: BLOCKQUOTE, }; /** * 序列化、反序列化规则 * @param options 预留的参数 */ export function createHtmlRule(options) { return {...
import FakeAppointmentsRepository from '@modules/appointments/repositories/fakes/FakeAppointmentsRepository'; import ListProviderDayAvailabilityService from '@modules/appointments/services/ListProviderDayAvailabilityService'; let fakeAppointmentsRepository: FakeAppointmentsRepository; let listProviderDayAvailabilitySe...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-pricing', templateUrl: './pricing.component.html', styleUrls: ['./pricing.component.css'] }) export class PricingComponent implements OnInit { constructor() { } // Footer style classname = "footer-area footer-area-v1 footer-are...
/* * Copyright 2022 Fernando Boucquez * * 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 agre...
import { BigNumber } from "@0x/utils"; import { Asset } from "./Asset"; import { WalletType } from "./WalletType"; export class BorrowRequest { public walletType: WalletType; public borrowAsset: Asset; public borrowAmount: BigNumber; public collateralAsset: Asset; public depositAmount: BigNumber; construc...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { AdminElectionDetailComponent } from './admin-election-detail.component'; describe('AdminElectionDetailComponent', () => { let component: AdminElectionDetailComponent; let fixture: ComponentFixture<AdminElectionDetailComponent>; beforeE...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sq" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About WJN</source> <translation type="unfinished"/> </message> <message> <location line="+39"...
import React from 'react'; import {unstyled} from '../shared'; import {useLink, LinkLikeComponentProps} from '../../utilities/link'; // Every component needs a `Props` interface for our styleguide to build the props explorer // It'd be great if we could do `type Props = React.ComponentProps<LinkLikeComponent>` // but ...
export const stringToColor = (s?: string): string => { if (!s) return DEFAULT_COLOR; const hash = Array.from(s.substring(0, 5)) .reduce((acc, cur) => { acc = cur.charCodeAt(0) + ((acc << 5) - acc); return (acc & acc); }, 0); const asIndex = ((hash % COLOR_PALETTE.le...
import { Note } from 'lib'; /** * Describes About note which contains * only one route with root key */ export interface AboutNotes { root: Note; } /** * unique local hubs key */ export const ABOUT_HUB_KEY = Symbol();
import React, { ReactElement } from "react" import * as style from "./footer.module.scss" export const Footer = (): ReactElement => { return ( <footer className={style.footer}> © {new Date().getFullYear()} Roberts Ivanovs </footer> ) }
/** * <p>Specifies settings for publishing event data to an Amazon Kinesis data stream or an Amazon Kinesis Data Firehose delivery stream.</p> */ export interface _EventStream { /** * <p>The unique identifier for the application to publish event data for.</p> */ ApplicationId: string; /** * <p>The Ama...
import * as React from 'react'; import {NavigationContainerRef} from '@react-navigation/native'; export const navigationRef = React.createRef<NavigationContainerRef>(); export function navigate(name: string, params?: Object) { navigationRef.current?.navigate(name, params); } export function goBack() { navigation...
import { customElement } from '@polymer/decorators'; import '@polymer/paper-fab'; import { html, PolymerElement } from '@polymer/polymer'; import { scrollToY } from '../utils/scrolling'; import './footer-nav'; import './footer-rel'; import './footer-social'; import './lkim-icons'; @customElement('footer-block') export...
export { default as generateID } from './genetrateID'; export { default as getValidationsError } from './getValidationsError';
import { Authenticate } from 'wmt-marketplace-auth'; export declare var Headers: Authenticate.Custom;
import { Component, OnInit } from '@angular/core'; import { FormGroup, FormBuilder } from "@angular/forms" import { RxwebValidators } from '@rxweb/reactive-form-validators'; @Component({ selector: 'app-alphaNumeric-message-validator', templateUrl: './alpha-numeric-message.component.html' }) export class AlphaN...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( [<path fill="#F0F1F2" d="M12 4c-3.866 0-7 3.134-7 7 0 .042.0004.0839.0011.1257C3.2753 11.5694 2 13.1358 2 15c0 2.2091 1.7909 4 4 4h11c2.7614 0 5-2.2386 5-5 0-2.1267-1.3277-3.9432-3.1995-4.666C18.0531 6.27...
import * as React from 'react'; import * as Popper from 'popper.js'; import { CSSModule } from '../index'; export type UncontrolledProps<T = {}> = React.HTMLAttributes<HTMLElement> & { target: string | HTMLElement; container?: string | HTMLElement; delay?: number | {show: number, hide: number}; className?: str...
/** generates points along a sin wave, with increasing height toward the center. */ export default function generateSinPoints({ width, height, numberOfWaves = 10, pointsPerWave = 10, }: { width: number; height: number; numberOfWaves?: number; pointsPerWave?: number; }) { const waveLength = width / nu...
<TS language="it" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Fare click col pulsante destro per modificare l'indirizzo o l'etichetta</translation> </message> <message> <source>Create a new add...
import { MessageEmbed } from 'discord.js'; import { Discord, SimpleCommand, SimpleCommandMessage } from 'discordx'; import fetch from 'node-fetch'; import { Headers } from 'node-fetch'; function inrange(x: any, min: any, max: any): Boolean { return x >= min && x <= max; } @Discord() export abstract ...
import { Component, OnInit } from '@angular/core'; import { DataService } from 'src/app/services/data.service' @Component({ selector: 'app-consola', templateUrl: './consola.component.html', styles: [ ] }) export class ConsolaComponent implements OnInit { public options: any; public content: string; con...
import api from "../../utils/api"; import store from "store"; import { applyMiddleware } from "redux"; export const GET_JOBS_ERROR = "GET_JOBS_ERROR"; export const GET_JOBS_LOADING = "GET_JOBS_LOADING"; export const GET_JOBS_SUCCESS = "GET_JOBS_SUCCESS"; export const GET_USER_ERROR = "GET_USER_ERROR"; export const GET...
import { Typography, Box, Chip } from '@material-ui/core'; import React from 'react'; import { IPictogramResponse } from '../../hooks/network'; import { Link as RouterLink } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; const LinkChip: React.FC<{ label: string }> = ({ label }) => <Chip label...
import { NestFactory } from '@nestjs/core'; import {ExpressAdapter, NestExpressApplication} from '@nestjs/platform-express'; import * as express from 'express'; import * as functions from 'firebase-functions'; import * as admin from 'firebase-admin'; import { ServiceAccount } from 'firebase-admin'; import { AppModule }...
// This file is automatically generated. // Please do not change this file! interface CssExports { 'page': string; } declare const cssExports: CssExports; export = cssExports;
/* * Copyright 2018 Simon Edwards <simon@simonzone.com> * * This source code is licensed under the MIT license which is detailed in the LICENSE.txt file. */ import * as child_process from 'child_process'; import * as constants from 'constants'; import * as fs from 'fs'; import * as _ from 'lodash'; import { Extensi...
import { getCurrentBrowser } from '../utils/get-current-browser'; window.addEventListener('message', (event) => { // Only accept messages from same frame if (event.source !== window) return; const msg = event.data; // Only accept messages from the Muster Client if (typeof msg !== 'object' || msg === null || ...
import * as React from "react"; function SvgLocalOffer(props: React.SVGProps<SVGSVGElement>) { return ( <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props} > <path d="M21.41 11.58l-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ import { ClientSecretCredential, TokenCachePersistenceOptions } from "../../../../identity/src"; import { MsalTestCleanup, msalNodeTestSetup } from "../../../../identi...
import React, { useState } from 'react'; import { useSelector } from 'react-redux'; import { AppState } from 'store/reducers'; import Lenke from 'nav-frontend-lenker'; import { Bilde } from '../../../common/bilde/Bilde'; import HomeIcon from 'ikoner/home.svg'; import { HoyreChevron } from 'nav-frontend-chevron'; import...
import * as kong from "@pulumi/kong"; const consumer = new kong.Consumer("my-consumer", { username: "my-username-1", customId: "123" }); export const consumerId = consumer.id;
import { html } from 'lit-html'; import { domEventHandler } from '../utils'; import players from '../assets/players.json'; const getRandomUser = () => { const index = Math.floor(Math.random() * players.length); return players[index]; }; const onRandomClick = (handler) => { const randomUser = getRandomUser(); ...
/** * @license Angular v6.0.3 * (c) 2010-2018 Google, Inc. https://angular.io/ * License: MIT */ export * from './browser/browser';
import type { Slots, VNode } from 'vue'; export function getPropsSlot( slots: Slots, props: unknown, prop = 'default' ): VNode | string | undefined { return props[prop] ?? slots[prop]?.(); }
import { NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkManagerClient.ts"; import { CreateConnectionRequest, CreateConnectionResponse } from "../models/models_0.ts"; import { deserializeAws_restJson1CreateConnectionCommand, serializeAws_restJson1CreateConnectionCommand, ...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. import * as path from 'path'; import { RushConfiguration } from '../RushConfiguration'; import { Event, EventHooks } from '../EventHooks'; describe('EventHooks', () ...
import { Injectable } from "@angular/core"; @Injectable({ providedIn: "root", }) export class HeaderConstant { authorization = "Authorization"; brand = "x-brandid"; request = "x-requestid"; userAgent = "user-agent"; userId = "x-userid"; cartId = "x-cartid"; userSessionId = "x-user-sessionid"; searchS...
import { ArrayVector, Field, FieldType, MutableDataFrame, SelectableValue } from '@grafana/data'; import { calculateUniqueFieldValues, filterByValue, getColumns, getFilteredOptions, getTextAlign, rowToFieldValue, sortNumber, sortOptions, valuesToOptions, } from './utils'; function getData() { const...
/** * Created by: Oleksandr Bezrukov * Creation date: 2 March 2020 * * Declare main types and interfaces for AppBar component. * Create function which connect actions * and/or variables from the redux-store to the component. */ /** External imports */ import { connect } from 'react-redux'; import { compose } fr...
import { Component, OnInit } from '@angular/core'; import { NzModalService } from 'ng-zorro-antd'; import { ApiData } from 'src/app/data/interface.data'; import { SettingsConfigService } from 'src/app/routes/service/settings-config.service'; import { QuotaFormComponentComponent } from './quota-form-component/quota-form...
import { Select } from "./fields/Select"; import { ArrayEnumSelect } from "./fields/ArrayEnumSelect"; import { StorageUploadField } from "./fields/StorageUploadField"; import { TextField } from "./fields/TextField"; import { SwitchField } from "./fields/SwitchField"; import { DateTimeField } from "./fields/DateTimeFiel...
import firebase from 'firebase/app'; import 'firebase/auth'; import 'firebase/database'; const firebaseConfig = { 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...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { EuiHeader, EuiHeaderBreadcrumbs, EuiHeaderSection, EuiPage, ...
import { Crumb, HashHistoryManager, StateNavigator, State } from 'navigation'; // History Manager class LogHistoryManager extends HashHistoryManager { addHistory(url: string) { console.log('add history'); super.addHistory(url, false); } } // Configuration const config = [ { key: 'people',...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import * as React from 'react'; import { Image, ImageName } from '../react-common/image'; import { ImageButton } from '../react-common/imageButton'; import { getLocString } from '../react-common/locReactSide';...
import { Component } from "@angular/core"; import { NavController, NavParams, Platform } from "ionic-angular"; import { UtilsProvider } from "../../../providers/utils/utils"; import { ApiProvider } from "../../../providers/api/api"; import { AppConfigs } from "../../../providers/appConfig"; import { DashboardPage } fro...
import { newE2EPage } from '@stencil/core/testing'; describe('radial-menu-center', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<radial-menu-center></radial-menu-center>'); const element = await page.find('radial-menu-center'); expect(element).toHaveCla...
// smithy-typescript generated code import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerEx...
/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import styled from 'styled-components' export const Container = styled.div` display: flex; flex-direction: column; align-items: center; ` export const Or = styled.div` margin-left: 8px; ma...
import {BundlesRequestBuilderGetQueryParameters} from './bundlesRequestBuilderGetQueryParameters'; import {RequestOption} from '@microsoft/kiota-abstractions'; /** Configuration for the request such as headers, query parameters, and middleware options. */ export class BundlesRequestBuilderGetRequestConfiguration { ...
import { CommonModule } from "@angular/common"; import { NgModule } from "@angular/core"; import { MaterialModule } from "src/app/modules/material.module"; import { QrParserRoutingModule } from "./qr-parser-routing.module"; import { QrParserComponent } from "./qr-parser.component"; import { QrService } from "./qr-servi...
import { Component, OnInit } from '@angular/core'; import {LocalDataSource} from 'ng2-smart-table'; import {NbToastrService} from '@nebular/theme'; import {APIService} from '../../../../../service/apiservice.service'; import {first} from 'rxjs/operators'; @Component({ selector: 'ngx-ca-tecate', templateUrl: './caT...
import { Component, Inject, OnInit } from '@angular/core'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; import { FornecedoresListagemComponent } from '../../containers/fornecedores-listagem/fornecedores-listagem.component'; import { Fornecedores } from '../../models/fornecedores.model'; imp...
import * as test from 'tape'; import generateRandomNumber from './generateRandomNumber'; test('generateRandomNumber', t => { t.equals( generateRandomNumber(300, 100) < 100, false, 'will never drop below the specified minimum' ); t.equals( generateRandomNumber(300, 100) > 300, false, 'will...
//@ts-check ///<reference path="devkit.d.ts" /> declare namespace DevKit { class DuplicateRecordApi { /** * DynamicsCrm.DevKit DuplicateRecordApi * @param entity The entity object */ constructor(entity?: any); /** * Get the value of alias * @param alias the alias value * @param isMultiOptionSet t...
/** * @author mrdoob / http://mrdoob.com/ * @author Joe Pea / http://github.com/trusktr */ import { Color } from '../../math/Color' import { Matrix4 } from '../../math/Matrix4' import { Vector2 } from '../../math/Vector2' import { Vector3 } from '../../math/Vector3' import { Light } from '../../lights/Light' import...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.21.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do n...
import { Component, OnInit } from '@angular/core'; import { JwtHelperService } from '@auth0/angular-jwt'; import { User } from './shared/models/user'; import { AuthService } from './shared/services/auth.service'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component...
import { Decoration, DecorationSet } from 'prosemirror-view' import { Node } from 'prosemirror-model' export default function (doc: Node): DecorationSet { const hexColor = /(#[0-9a-f]{3,6})\b/ig const decorations: Decoration[] = [] doc.descendants((node, position) => { if (!node.text) { return } ...
import ObjectID from 'bson-objectid'; import { insertErms } from './insert-erms'; // Builds a block function getCodeBlock(label: string, content?: string) { return `\`\`\`${label} ${typeof content !== 'undefined' ? content : ''} \`\`\`\n`; } // Builds a section function getSeedSection(content: string, label: string...
export enum AnalyticsMessageMethod { TASK = 'TASK', TASK_RESULT = 'TASK_RESULT', DETECT = 'DETECT', PUSH_DETECT = 'PUSH_DETECT', DATA = 'DATA' } export class AnalyticsMessage { public constructor( public method: AnalyticsMessageMethod, public payload?: any, public requestId?: number ) { } ...
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { API } from '../../app/globals'; /* Generated class for the QuestionsDataProvider provider. See https://angular.io/guide/dependency-injection for more info on providers and Angular DI. */ @Injectable() export ...
export * from './FooterApp'
import {By} from '@angular/platform-browser'; import {TestBed, fakeAsync, tick, ComponentFixture} from '@angular/core/testing'; import {DebugElement, LOCALE_ID} from '@angular/core'; import {PaginationControlsComponent} from './pagination-controls.component'; import {getPageLinkItems, ComponentTestComponent, overrideTe...
export const ObjectClean = (obj:any) => { for (const propName in obj) { if (obj.hasOwnProperty(propName)) { if (obj[propName] === null) { delete obj[propName]; } } } return obj; }; export const ObjectArrayKeysJoin = (obj:any) => { for (const propName in obj) { if (obj.hasOwnPro...
import { GetLocationProjectDto } from './dto/get-location-project'; import { RealIP } from 'nestjs-real-ip'; import { GetProjectDto } from './../project/dto/get-project.dto'; import { ApiOperation, ApiTags } from '@nestjs/swagger'; import { Controller, Get, Param, Query, Request } from '@nestjs/common'; impor...
import { nextTick } from 'vue-demi' import { useCounter } from '../../shared/useCounter' import { useSetup } from '../../.test' import { events } from './internal' import { useEventBus } from '.' describe('useEventBus', () => { const emptyMap = new Map() it('on event and off listener', () => { const { on, off ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// This is half of the contraption, the rest is in jsii-calc // // @see https://github.com/aws/jsii/issues/2256 /** * This struct is intentionally private. Any type that implements it will get * a copy of it's properties hoisted in by jsii. */ interface InternalDiamondTip { readonly hoistedTop?: string; } export...
export default class SignatureReferenceTransform extends DataElement { constructor(algorithm: any); } import DataElement from "./data-element";
import * as chain from '../chain/types' export type ComparisonType = { total: number, percentageOfMarketCap?: number } export type AssetType = { id: chain.AssetType, value: number, marketCap: number, compare?: (targetAsset: AssetType) => ComparisonType } export type WalletType = chain.WalletType & { ra...
const pmakRegex = /PMAK-[\da-z]{24}-[\da-z]{34}/ export function pmakValidator(apiKey: string): boolean { return pmakRegex.test(apiKey) }
import { Multimedia } from '@/components/Multimedia' import { resolveStrapiPath } from '@/strapi/client' import { Heading, Stack, Text } from '@chakra-ui/react' import React from 'react' import ReactMarkdown from 'react-markdown' interface Props { content: string } const renderers = { paragraph: (props: { childre...
export { CompaniesModule } from './companies.module'; export { CompanyListComponent } from './company-list/company-list.component';
import { List, showToast, ToastStyle, preferences, Icon, ImageLike, ActionPanel, Detail, useNavigation, } from "@raycast/api"; import { useState, useEffect } from "react"; import { Client, Queue, QueueSlot, Results } from "sabnzbd-api"; export default function SlotList() { const [init, setInit] = u...
import React, { useEffect, useState } from "react"; import { FaWhatsapp } from "react-icons/fa"; import { FiClock, FiInfo } from "react-icons/fi"; import { MapContainer, Marker, TileLayer } from "react-leaflet"; import { useParams } from 'react-router-dom'; import mapMarkerImg from '../images/map-marker.svg'; import m...
import { combineReducers, createStore } from 'redux'; import { composeWithDevTools } from 'redux-devtools-extension'; import { colors } from './game/colors/colorsReducers'; import players from './game/players/playersReducer'; import { playersQuantities } from './game/quantities/quantitiesReducer'; const rootReducer = ...
import { PinpointEmailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointEmailClient"; import { ListDeliverabilityTestReportsRequest, ListDeliverabilityTestReportsResponse } from "../models/index"; import { deserializeAws_restJson1ListDeliverabilityTestReportsCommand, serializeAws_restJs...
export class Ratings { constructor(username, npo, date, rating){ this.username = username; this.npo = npo; this.date = date; this.rating = rating; } username: string; npo: string; rating: number; date?: Date; }
import { createGlobalStyle } from 'styled-components' import olympic from 'src/assets/fonts/olympic-branding.ttf' import cocogoose from 'src/assets/fonts/cocogoose.otf' const GlobalStyle = createGlobalStyle` @font-face { font-family: "olympic"; src: url(${olympic}); url(${olympic}) format("ttf") } @font-face { fon...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import React, { memo, useCallback } from 'react'; import { EuiToolTip, EuiBut...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. import * as React from "react"; import { Graphics } from "../../../core"; import { renderGraphicalElementSVG } from "../../../app/renderer"; export class PolarLineTestView extends React.Component< {}, { slider1: number;...
export { default as ErrorBoundary } from "./ErrorBoundary"; export * from "./ErrorBoundary";
import { Piece } from '@sapphire/pieces'; import type { Awaitable } from '@sapphire/utilities'; import type { Message } from 'whatsapp-web.js'; import { PreconditionError } from '../errors/PreconditionError'; import type { UserError } from '../errors/UserError'; import { err, ok, Result } from '@sapphire/result'; impor...
import { IGatsbyState, IDeleteCacheAction, ICreateClientVisitedPage, } from "../types" // The develop server always wants these page components. const defaults = new Set<string>() defaults.add(`component---cache-dev-404-page-js`) defaults.add(`component---src-pages-404-js`) export const clientVisitedPageReducer...
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { QrPage } from './qr.page'; describe('QrPage', () => { let component: QrPage; let fixture: ComponentFixture<QrPage>; beforeEach(async(() => { TestBed.configureTestingMod...
import { ValueObject } from './value-object'; export abstract class JsonValueObject extends ValueObject<string> { get value(): any { return super.value; } set value(value: any) { super.value = typeof value === 'string' ? JSON.parse(value) : value; } toString(): strin...