text
stringlengths
10
953k
/** * Copyright 2017 Google 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 i...
import { v4 as uuidV4 } from 'uuid'; import { Command } from 'packages/common/types/util/domain'; import { LoginSettings } from './types'; export enum AuthCommandTypes { LOGIN = 'LOGIN-b99351cf-06a9-4d0c-9a09-f09fd0b3cbe3', LOGOUT = 'LOGOUT-b99351cf-06a9-4d0c-9a09-f09fd0b3cbe3', } export type Login = Command<...
import SvgIcon, { SvgIconProps } from "@material-ui/core/SvgIcon"; export default function FileDownload(props: SvgIconProps) { return ( <SvgIcon viewBox="-2 -2 24 24" {...props}> <path d="M2 20a2 2 0 01-2-2V2a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H2zm16-6h-7v4h7v-4zm-9 0H2v4h7v-4zm9-6h-7v4h7V8z...
import { Component, ViewEncapsulation, ViewChild } from "@angular/core"; import { Location } from "@angular/common"; import { PurchaseOrderService } from "../putchase-order.service"; import 'style-loader!../../../datepick.css'; import { ModalDirective } from 'ng2-bootstrap'; import { Subject } from 'rxjs'; import { Inv...
import Image from 'next/image'; import styles from './styles.module.scss'; import { useTask } from '../../Contexts/TaskContext'; export function Tasks() { const { deleteTask, toggleTaskSituation, filterTasksBySituation } = useTask(); const filteredTasks = filterTasksBySituation(); return ( <div className=...
import { graphql, useStaticQuery } from "gatsby" import { FluidObject } from "gatsby-image" export interface Query { allFile: { nodes: { id: string name: string publicURL: string relativeDirectory: string childImageSharp: { fluid: FluidObject } }[] } } const use...
import {MongoObservable } from 'meteor-rxjs'; import { Order } from '../models/order.model'; export const Orders = new MongoObservable.Collection<Order>('orders');
import { Routes } from '@angular/router'; import { AspectConfigComponent } from './config/aspect/aspect-config.component'; import { PersonaConfigComponent } from './config/persona/persona-config.component'; import { MapsComponent } from './maps/maps.component'; export const rootRouterConfig: Routes = [ { path: '', ...
/** * * * OpenAPI spec version: 20190301 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
import { GQLUSER_STATUS, GQLUserStatusTypeResolver, } from "coral-server/graph/tenant/schema/__generated__/types"; import * as user from "coral-server/models/user"; import { BanStatusInput } from "./BanStatus"; import { SuspensionStatusInput } from "./SuspensionStatus"; import { UsernameStatusInput } from "./Usern...
import { ZuiComponent } from './component' /** Menu Item Group Component */ export declare class ZMenuItemGroup extends ZuiComponent { /** Group title */ title: string }
import { NgModule } from '@angular/core'; export * from './piwik-functions'; export * from './angular-piwik-components'; @NgModule({}) export class Angular2PiwikModule {}
import { forwardRef, Module } from '@nestjs/common'; import { JwtModule } from '@nestjs/jwt'; import { PassportModule } from '@nestjs/passport'; import { ApiConfigService } from '../../shared/services/api-config.service'; import { CitizenModule } from '../citizen/citizen.module'; import { UserModule } from '../user/us...
import {Product} from "./Product" import {SpecialOfferType} from "./SpecialOfferType" export class Offer { public constructor(public readonly offerType: SpecialOfferType, public readonly product: Product, public readonly argument: number) { } getProduct(): Pr...
import { Document, Schema, model } from 'mongoose'; export interface Reaction extends Document { guildID: string; messageID: string; channelID: string; userID: string; id: string; emoji: string; emojiType: string; roleID: string; uses: number; expiresAt?: Date; type: number; active: boolean; } const React...
// ###### CustomLink ######## // export interface CustomLink { label: string; href: string; targetBlank?: boolean; } // ########## PostDataType ######## // export interface TaxonomyType { id: string | number; name: string; href: string; count?: number; thumbnail?: string; desc?: string; color?...
import { HttpClientModule } from '@angular/common/http'; import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { RouteReuseStrategy } from '@angular/router'; import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; import { AppRoutingModule } from './app-...
// Copyright (c) 2021 Microsoft // // 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 i...
import { BrowserModule } from "@angular/platform-browser"; import { NgModule } from "@angular/core"; import { FormsModule } from "@angular/forms"; import { AppComponent } from "./app.component"; import { GameControlComponent } from "./game-control/game-control.component"; import { OddComponent } from "./odd/odd.compon...
import { Config } from '@stencil/core'; export const config: Config = { namespace: 'WCStencilPractice', outputTargets: [ { type: 'dist', esmLoaderPath: '../loader', }, { type: 'dist-custom-elements-bundle', }, { type: 'docs-readme', }, { type: 'www', ...
// Copyright 2017-2022 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Registry } from '@polkadot/types-codec/types'; import type { Check } from './types'; import fs from 'fs'; import path from 'path'; import { assert, hexToU8a, stringCamelCase, stringify, u8aToHex } from ...
import CollectionConfigInterface from '../lib/CollectionConfigInterface'; import whitelistAddresses from './whitelist.json'; const CollectionConfig: CollectionConfigInterface = { // The contract name can be updated using the following command: // yarn rename-contract NEW_CONTRACT_NAME // Please DO NOT change it ...
/** * @license * Copyright 2017 Google LLC * * 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 ...
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; // Firebase imports import * as firebase from 'firebase'; import { AngularFireAuth } from '@angular/fire/auth'; import { AngularFireDatabase } from '@angular/fire/database'; import { auth } from 'firebase/app'; // Observable ...
/* * @Author: yehuozhili * @Date: 2021-03-14 04:29:09 * @LastEditors: yehuozhili * @LastEditTime: 2021-07-27 15:33:35 * @FilePath: \dooringx\packages\dooringx-lib\src\core\markline\calcRender.ts */ import { innerDragState } from '../innerDrag/state'; import { newMarklineDisplay } from './normalMode'; import { mar...
import GameCore from '../GameCore' import Entity from './Entity' import Component from './Component' import RenderableComponent from './Components/RenderableComponent' import TouchInputComponent from './Components/TouchInputComponent' import SpriteComponent from './Components/SpriteComponent' import {IRenderer} from '....
/* * 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 { GetServerSidePropsContext } from "next"; import { signIn } from "next-auth/react"; import { useRouter } from "next/router"; import { useEffect } from "react"; import { checkPremiumUsername } from "@calcom/ee/lib/core/checkPremiumUsername"; import stripe from "@calcom/stripe/server"; import { getPremiumPlanPri...
import { Links } from './links'; import { Page } from './page'; import { ClassificationSummary } from './classification-summary'; export interface ClassificationPagingList { classifications: ClassificationSummary[]; _links?: Links; page?: Page; }
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { ContainerRuntimeFactoryWithDefaultDataStore, DataObject, DataObjectFactory, } from "@fluidframework/aqueduct"; import { assert } from "@fluidframework/common-utils"; import { IContainer } from "...
import React from 'react'; import { ComponentDocs } from '../../../site/src/types'; import { Divider } from './Divider'; const docs: ComponentDocs = { category: 'Layout', examples: [ { label: 'Standard Divider', Example: () => <Divider />, }, ], }; export default docs;
export { default } from './Logo'; export * from './Logo';
import React from 'react'; import styled from 'styled-components/macro'; import StoreIcon from 'app/assets/icon-bg-merchant.svg'; import AddItem from './AddItem'; const Wrapper = styled.div` border-bottom: 1px solid #eee; display: flex; padding: 16px 0 21px; `; const WrapImg = styled.div` flex: 0 0 14%; `; ...
<TS language="ka" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>დააჭირეთ მარჯვენა ღილაკს მისამართის ან იარლიყის ჩასასწორებლად</translation> </message> <message> <source>Create a new address</sour...
import React from 'react'; import ProductImage from '@/components/ProductImage'; import * as S from './styles'; type Props = { uri: string | null; }; const Photo: React.FC<Props> = ({ uri }) => { if (uri) { return <ProductImage uri={uri} width={160} height={160} />; } return ( <S.Container> <S...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import Backoff from './Backoff'; import BackoffFactory from './BackoffFactory'; import FullJitterBackoff from './FullJitterBackoff'; import FullJitterLimitedBackoff from './FullJitterLimitedBackoff'; export de...
export * from './create-end-user.dto'
export { ButtonsPresentationComponent } from './buttons/buttons-presentation.component'; export { ButtonsBorderedPresentationComponent } from './buttons/bordered/buttons-bordered-presentation.component'; export { ButtonsFilledPresentationComponent } from './buttons/filled/buttons-filled-presentation.component'; export ...
import { Injectable } from "@angular/core"; import { LoadingType } from "./loading-type"; import { Subject } from "rxjs"; import { startWith } from "rxjs/operators"; @Injectable({ providedIn: 'root' }) export class LoadingService { loadingSubject = new Subject<LoadingType>(); getLoading() { return t...
import * as path from 'path' export const input = ` // @flow import * as React from 'react' import { useSubscription } from '@apollo/react-hooks' import gql from 'graphql-tag' const subscription = gql\` subscription Test( # @graphql-typegen extract $episode: Episode! ) { reviewAdded(episode: $episode) { epi...
import {Raf} from '../raf/raf'; import {DomWatcher} from './dom-watcher'; import {noop} from '../func/noop'; export interface ScrollRenderFixConfig { /** * Callback run immediately before the document is manually scrolled. * Run during the RAF postWrite step. */ beforeScrollCallback?: () => void; /** ...
/* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import { Bucket } from './Bucket'; export type BucketList = Array<Bucket>;
declare module 'react-native-zlib' { /** Inflate provided array of bytes. */ export function inflateBase64(data: string): Promise<string>; /** Inflate provided array of bytes. */ export function inflate(data: number[]): Promise<number[]>; /** Inflate provided array of bytes. */ export function inflateGz...
import * as React from 'react'; import { Box } from '@material-ui/core'; import { Welcome } from './Welcome'; import { DealsChart } from './DealsChart'; import { HotContacts } from './HotContacts'; import { LatestNotes } from './LatestNotes'; import { DealsPipeline } from './DealsPipeline'; import { CompaniesMap } fro...
import { AppPage } from './app.po'; import { browser, logging } from 'protractor'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getTitleText()).toEqual('facilit...
import colors from 'common/colors'; const styles = ({ columnWidth, rowHeight }) => ({ container: { minWidth: columnWidth, background: colors.lightGrey, borderRight: `1px solid ${colors.grey}`, overflowY: 'auto', display: 'flex', flexGrow: 1, flexShrink: 1, flexDirection: 'column', ...
// Copyright 2017-2021 @axia-js/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useContext } from 'react'; import store from 'store'; import styled, { ThemeContext } from 'styled-components'; import { ThemeDef } from '@axia-js/react-components/types'; import Dropdown fr...
import * as Boom from 'boom'; import * as Hapi from 'hapi'; import { BaseController } from '../../shared'; import { Task, ITask } from '../../models'; export class TaskController extends BaseController { constructor() { super('Task not found'); } public getTaskById(request: Hapi.Request, reply: Hapi.IReply...
// Copyright Contributors to the Amundsen project. // SPDX-License-Identifier: Apache-2.0 import * as React from 'react'; import ShimmeringResourceLoader from '../ShimmeringResourceLoader'; import { UpIcon, DownIcon } from '../SVGIcons'; import './styles.scss'; // export type SortDirection = 'asc' | 'desc'; // expo...
export const arraySum = (elements: Array<number>) => { return elements.reduce((prev, curr) => prev + curr); }
import Document from './utils/impl/Document'; import * as https from 'https'; import AutoLoader from './AutoLoader'; class UserSettings { static maxNumberOfProblems: number = 10; private static hasNetWork: boolean; // Cache the settings of all open documents documentSettings: Map<string, Thenable<UserSettings>> = n...
import { Request, Response } from "express"; import { CreateComplimentService } from "../services/CreateComplimentService"; class CreateComplimentController { async handle(request: Request, response: Response) { const { tag_id, user_receiver, message } = request.body; const { user_id } = request; const ...
import Message from "./Message"; export default class MimicryObjectAssociatedMessage extends Message { public hostUID: number; constructor(hostUID = 0) { super(); this.hostUID = hostUID; } }
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import React from "react" import styled from "styled-components" import { Flex, HTML, Join, Spacer, Text, color } from "@artsy/palette" import { createFragmentContainer, graphql } from "react-relay" import { FeatureHeaderDefault_feature } from "v2/__generated__/FeatureHeaderDefault_feature.graphql" import { DESKTOP_NAV...
import * as t from '@babel/types'; import { convertFunctionTypeAnnotation } from './convertFunctionTypeAnnotation'; import { baseNodeProps } from '../utils/baseNodeProps'; export function convertDeclareFunction(node: t.DeclareFunction) { if (!t.isTypeAnnotation(node.id.typeAnnotation)) throw new Error('typeAnno...
/** * 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 React, {useState} from 'react'; import clsx from 'clsx'; import { ThemeClassNames, useAnnouncementBar, useScrollPosit...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { Tela2Component } from './tela2.component'; describe('Tela2Component', () => { let component: Tela2Component; let fixture: ComponentFixture<Tela2Component>; beforeEach(async(() => { TestBed.configureTestingModule({ decl...
import locale from '../locale/hy_AM'; export default locale;
import React, { useEffect } from 'react' import { RouteComponentProps } from '@reach/router' import Card from '@material-ui/core/Card' import Grid from '@material-ui/core/Grid' import { createStyles, Theme, withStyles, WithStyles, } from '@material-ui/core/styles' import Table from '@material-ui/core/Table' imp...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 //@ts-ignore import { BrowserBehavior } from '..'; /** * This interface contains methods on {@link DefaultBrowserBehavior} that were * incorrectly omitted from {@link BrowserBehavior}, plus new methods that ...
import * as React from "react"; function Thing2() { return <div>the snozzberries taste like snozzberries</div>; } export default Thing2;
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0"> <context> <name>dialogWPAPersonal</name> <message> <source>WPA Personal Config</source> <translation>WPA Config ca nhân</translation> </message> <message> <source>&amp;Close</source> <translation>&amp...
import * as React from "react"; import { IEmojiProps } from "../../styled"; const SvgFamily56 = (props: IEmojiProps) => ( <svg viewBox="0 0 72 72" width="1em" height="1em" {...props}> <g fill="#debb90"> <circle cx={47} cy={11} r={3} /> <path d="M52 23.6l1.9 38.2c.1 1.1-.7 1.8-1.5 1.8s-1.4-.6-1.5-1.3L...
import { ModelService } from "../Intraday/model.service" import { createConnection } from "typeorm"; import { IntradayTimeSeries } from "../Intraday/IntradayTimeSeries.entity"; import { getAllSymbols } from "../MarketSymbols/model.service" const dateList = [ '2018-12-26', '2018-12-27', '2018-12-28', '2018-12-31', '2...
import { SummaryType } from '../../../../types/resume.types'; import { processDatabaseQuery } from '../db-query'; import { selectSummaryByUserIdSql } from './resume.sql'; import { resumeSummaryMapper } from './resume.mapper'; import { resumeSummarySchema } from './resume.schema'; export const selectSummaryByUserId = (...
import { IsEmail, IsNotEmpty, MinLength } from 'class-validator'; export class SignUpDto { @IsNotEmpty() name: string; @IsEmail() email: string; @IsNotEmpty() @MinLength(5) password: string; }
<TS language="hu_HU" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>A cím vagy a címke jobb gombbal szerkeszthető</translation> </message> <message> <source>Create a new address</source> <...
import {Observable} from "rxjs"; export interface ICassandraClient { execute(query: IQuery): Observable<any>; paginate(query: IQuery, completions: Observable<string>): Observable<any>; } export type IQuery = [string, any]
import { Storage } from '@google-cloud/storage'; import { Datastore, DatastoreOptions } from '@google-cloud/datastore'; import { getServiceUnavailable, getInternalError, VerdaccioError } from '@verdaccio/commons-api'; import GoogleCloudStorageHandler from './storage'; import StorageHelper, { IStorageHelper } from './st...
import { Currency } from '@/models/Currency'; import { isBlank } from '@/util/Filters'; import { Log } from '@/util/Logger'; import { DetailsList, DetailsListLayoutMode, IColumn, IObjectWithKey, Selection, SelectionMode } from '@fluentui/react'; import * as React from "react"; import { ImportWizardStepProps } from "../...
/** * Copyright Zendesk, Inc. * * Use of this source code is governed under the Apache License, Version 2.0 * found at http://www.apache.org/licenses/LICENSE-2.0. */ import React, { HTMLAttributes, ChangeEventHandler, useCallback, useState, useMemo, forwardRef } from 'react'; import PropTypes from 'pr...
//@ts-ignore import { Device, Properties } from "adbkit"; export interface DeviceInfo extends Device { infos: Properties[], available: boolean }
import { RolePreference, UserRole, UserType } from 'model/user'; import React from 'react'; interface Props { roles: any[]; rolePreference?: UserRole; } const UserTypeLozenge: React.FC<any> = (props) => { let bestType = props.rolePreference.roleId; let bestRole = null; if (props.roles) { const isAdmin ...
import { range } from "d3-array"; import { randomNormal } from "d3-random"; interface PathInputs { sigma: number; drift: number; } export default function (size: number, options?: PathInputs) { const { sigma = 0.1, drift = 0 } = options || {}; const t = range(0, +size, 1), data = [{ x: 0, y: 0 }], nor...
import { HttpClientTestingModule, HttpTestingController, } from '@angular/common/http/testing'; import { Type } from '@angular/core'; import { TestBed } from '@angular/core/testing'; import { B2BUser, ConverterService, OccEndpointsService, SearchConfig, } from '@spartacus/core'; import { B2B_USERS_NORMALI...
// eslint-disable-next-line import { FunctionalComponent, h } from '@stencil/core'; interface IconProps { color?: string; onClick?: () => void; size?: string; } export const IconChevronDownThick: FunctionalComponent<IconProps> = (props: IconProps) => ( <svg class="icon-chevron-down-thick" height={props.size ?...
import dotenv from "dotenv" import { sign } from "jsonwebtoken" import { join } from "path" import { JwtClaims } from "plumier" import supertest from "supertest" import { getConnection } from "typeorm" import { User } from "../src/api/user/user-entity" dotenv.config({ path: join(__dirname, ".env-test") }) export func...
/** @pattern ^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$ */ export type UUID = string;
/* tslint:disable:no-unused-variable */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { DebugElement } from '@angular/core'; import { DiscountFlightCardComponent } from './discount-flight-card.component'; describe('DiscountFlightCardCo...
import { IPane, IPaneContent, PaneSplitAxis, } from './types' import { setCurrentPane, addContentToCurrentPane, setPaneCurrentContent, removePaneContent, splitPane, } from './operations' interface IPanesContents { [paneId: string]: string[] } const getPaneFixtures = ( seeds: st...
<TS language="be_BY" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Правы клік, каб рэдагаваць адрас ці метку</translation> </message> <message> <source>Create a new address</source> <tran...
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ import UI_BtnBuildAndUpgrade from "./UI_BtnBuildAndUpgrade"; import * as fgui from "ue" export default class UI_RoadRenovationCard { public m_CompanyRoomCard:fgui.GImage; public m_Image:fgui.GLoader; public m_upgrade:fgui.GImag...
import {ZnpVersion} from './tstype'; import * as Constants from '../constants'; import {NvItem} from './tstype'; const {NvItemsIds} = Constants.COMMON; export default { znpHasConfiguredInit: (version: ZnpVersion): NvItem => { return { id: version === ZnpVersion.zStack12 ? NvIte...
import nock from 'nock'; import { useController } from '@rest-hooks/core'; import { act } from '@testing-library/react-hooks'; import Resource from '../Resource'; import useSuspense from '../../hooks/useSuspense'; import type { Paginatable, RestEndpoint, FetchGet } from '../types'; import { makeRenderRestHook, makeCac...
export * from "./generate"; export * from "./utils";
import { $TSAny, JSONUtilities } from 'amplify-cli-core'; import * as fs from 'fs-extra'; import * as path from 'path'; import { ExecutionContext, getCLIPath, nspawn as spawn } from '..'; import { getBackendAmplifyMeta } from '../utils'; import { getLayerVersion, listVersions } from '../utils/sdk-calls'; import { multi...
import { Action, Dispatch } from 'redux'; import { Music } from '../../typings/models.d'; import { MusicState } from '../../typings/state.d'; import { getMusic } from '../../api/server'; import { mapper } from '../../utils/mapper'; // Action Types for Discriminated Unions export const FETCH_ALL_MUSIC_STARTED = 'FETCH_...
declare let tinymce: any; export default () => { tinymce.init({ selector: '.tiny-text', theme: 'mobile', toolbar: [ 'styleselect', 'undo', 'redo', 'bold', 'bold', 'italic', 'underline', 'styleselect', 'removeformat', 'link', 'unlink', 'image', 'fontsizeselect', 'bullist', 'numlist', 'forecolor' ], pl...
// We expose all protobuf.js types, in case someone needs them. // // However, they're not part of the stable API, so do not take a dependency on // them lightly. export { tensorflow as protos } from './gen/protos'; import { tensorflow } from './gen/protos'; export const Example = tensorflow.Example; export type Examp...
import 'core-js/es/promise';
import { IGatewayContext } from "../types"; /* * Copyright 2019 Tobias Kavsek * * 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 * * ...
/*! * Copyright 2019 VMware, Inc. * SPDX-License-Identifier: BSD-2-Clause */ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { RouterModule } from '@angular/router'; import { ClarityModule } from '@cl...
"use strict"; import hash from "hash.js"; //const _ripemd160 = _hash.ripemd160; import { arrayify, BytesLike } from "@ethersproject/bytes"; import { SupportedAlgorithm } from "./types"; import { Logger } from "@ethersproject/logger"; import { version } from "./_version"; const logger = new Logger(version); export ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { useEffect } from "react" import ms from "ms" interface IPollingOptions { /** * This function sets up an interval in ms and fetches * the query each time the specified interval passes. * * @note This is in the `QueryResult<TData, TVariables>` object */ startPolling(pollInterval: number): voi...
import {BaseIfc} from "./BaseIfc" import {IfcRelAssociatesMaterial} from "./IfcRelAssociatesMaterial.g" import {IfcExternalReferenceRelationship} from "./IfcExternalReferenceRelationship.g" import {IfcMaterialProperties} from "./IfcMaterialProperties.g" import {IfcMaterialLayer} from "./IfcMaterialLayer.g" import {IfcL...
import HtmlTsInputValidatorResult from "./Core/HtmlTsInputValidatorResult"; import {HtmlTsInputTextValidatorMapType, HtmlTsInputValidatorBaseTypes} from "./Core/HtmlTsInputValidatorTypes"; import HtmlTsValidateArray from "../../Validate/HtmlTsValidateArray"; import AbstractHtmlTsInputValidator from "./Core/AbstractHtml...
import { Express, Request, Response } from "express"; import { Logger, Checks, LogLevelDesc, LoggerProvider, IAsyncProvider, } from "@hyperledger/cactus-common"; import { IEndpointAuthzOptions, IExpressRequestHandler, IWebServiceEndpoint, } from "@hyperledger/cactus-core-api"; import { registerWebServi...
import styled from "styled-components"; const RemoveFavoriteButton = styled.button` background: var(--red); color: var(--white); border: none; padding: 0.7rem 3rem; border-radius: 0.5rem; `; export default RemoveFavoriteButton;