text
stringlengths
10
953k
import { Comment } from "../../../models"; export enum CommentsTypes { LOAD_REQUEST = "@stories/LOAD_REQUEST", LOAD_SUCCESS = "@stories/LOAD_SUCCESS", lOAD_FAILURE = "@stories/lOAD_FAILURE" } export interface CommentState { readonly data?: Comment[]; readonly loading: boolean; readonly error: boolean; }
import { CSSProperties, FC } from 'react'; import './styles.css'; interface Props { id?: string; className?: string; style?: CSSProperties; value: boolean; disabled?: boolean; color: string; onChange?: (val: boolean) => void; } /** * Switch component. */ export declare const Switch: FC<Pro...
/* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ import { Contract, Signer } from "ethers"; import { Provider } from "ethers/providers"; import { IERC1155 } from "./IERC1155"; export class IERC1155Factory { static connect( address: string, signerOrProvider: Signer | Provider ): IERC1155 { ...
import {Component, OnInit} from '@angular/core'; import {Messages} from '../../messages'; import {Data} from '../data'; import {FormData} from '../../../domain/form-data'; @Component({ selector: 'app-multiauthpane', templateUrl: './multiauthpane.component.html' }) export class MultiauthpaneComponent implements OnI...
import React, { useCallback, useState } from 'react' import { gql, useMutation } from '@apollo/client' import { Link, Alert, AnchorLink, Checkbox } from '@sourcegraph/wildcard' import { LoaderButton } from '../components/LoaderButton' import { SourcegraphIcon } from './icons' import styles from './TosConsentModal....
/* ===============LICENSE_START======================================================= Acumos Apache-2.0 =================================================================================== Copyright (C) 2019 AT&T Intellectual Property & Tech Mahindra. All rights reserved. ===============================================...
declare module "*.svg" declare module "*.png" declare module "*.jpg" declare module "*.gif"
export { stream2Form } from './src/stream2form';
import React from 'react'; import { Animated, StyleSheet } from 'react-native'; import AnimatedText from '../AnimatedText'; import { InputLabelProps } from '../types'; const InputLabel = (props: InputLabelProps) => { const { parentState, labelBackground } = props; const { label, error, onLayoutAnimat...
import React, { memo, ReactNode } from 'react'; import { Grid, Box } from '@material-ui/core'; import { observer } from 'mobx-react'; interface ILoadCardInfoColumnOwnProps { title: string; value: ReactNode; } const LoadCardInfoColumn = observer(({ title, value }: ILoadCardInfoColumnOwnProps) => ( <Grid contain...
import * as isect from '@libs/geom/intersect'; import * as dist from '@libs/geom/distance'; export const intersect = isect.intersect; export const project = isect.project; export const distance = dist.distance;
/*! * @license * Copyright 2019 Alfresco Software, Ltd. * * 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 app...
import { Module } from '@nestjs/common'; import { AppController } from './app.controller'; import { AppService } from './app.service'; // mysql module import { Connection } from 'typeorm'; import { MySqlModule } from './mysql/mysql.module'; import { CatModule } from './module/cat/cat.module'; @Module({ imports: [ ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FlexLayoutModule } from '@angular/flex-layout'; import { MatSidenavModule } from '@angular/material'; import { PipRootLayoutComponent } from './root-layout.component'; @NgModule({ declarations: [ PipRootLayoutComp...
import styled from 'styled-components/macro' export const AppStyled = styled.div` display: flex; justify-content: space-around; ` export const AppBg = styled.div` min-height: calc(100vh - 80px); background-image: url('/images/bg2.png'); background-position: center; background-repeat: no-repeat; backgroun...
export declare const CSS_UTILITY: { rtl: string; };
import { Box, Avatar, Typography, Link, useTheme } from '@material-ui/core' import useTranslation from 'next-translate/useTranslation' import React from 'react' import { useGetStyles } from './styles' import { formatTokenAmount, getVoteAnswer } from '../../misc/utils' import useIsMobile from '../../misc/useIsMobile' im...
import { GrafanaTheme, GrafanaThemeType } from '../../types/theme'; export function getTestTheme(type: GrafanaThemeType = GrafanaThemeType.Dark): GrafanaTheme { return ({ type, isDark: type === GrafanaThemeType.Dark, isLight: type === GrafanaThemeType.Light, colors: { panelBg: 'white', }, ...
import { fromBase64url, toBase64url } from './utils' import CID from 'cids' import { createJWE, decryptJWE, Encrypter, Decrypter } from 'did-jwt' interface JWERecipient { encrypted_key?: string // eslint-disable-line @typescript-eslint/camelcase header?: Record<string, any> } export interface DagJWE { aad?: str...
import { Injectable, NgZone } from '@angular/core'; import { ElectronProvider } from '@app/provider'; import { VisibleFlag } from '@app/type/app.type'; import { IpcRenderer, Remote } from 'electron'; import { Observable, Subject } from 'rxjs'; export interface Shortcut { accelerator: string; passive: boolean; ...
/** * @fileoverview Disallows invalid custom element names * @author Michael Stramel <https://github.com/stramel> */ import {Rule} from 'eslint'; import * as ESTree from 'estree'; import validate = require('validate-element-name'); //------------------------------------------------------------------------------ //...
/* * This is an enhanced version of useScript by "useHooks.com": * https://usehooks.com/useScript/ */ import { useEffect, useState } from 'react'; export type UseScriptValue = [ state: ScriptStatus, setSource: (src?: string) => void ]; export type ScriptStatus = 'unloaded' | 'loading' | 'active' | 'error'; ex...
import { Component } from '@angular/core'; @Component({ selector: 'app-root', template: `<app-add-employee></app-add-employee>`, styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'Paylocity'; }
import { Service } from 'egg'; export default class ErrorService extends Service{ async getErrors(filter:any){ let aggregate:Array<any> = []; if(filter){ let match:any = {}; if(filter.type){ match.type = filter.type; } if(filter.appke...
/* eslint-disable prettier/prettier */ import React, { useState } from 'react'; import { MemoryRouter as Router, Switch, Route } from 'react-router-dom'; import { Button, Layout, Tabs} from 'antd'; import './App.global.css'; import styled from '@xstyled/styled-components'; import SideMenu from './components/SideMenu'...
/// <reference types="react" /> declare const PointDocs: () => JSX.Element; export default PointDocs; //# sourceMappingURL=point.d.ts.map
import { Component } from '@angular/core'; @Component({ selector: '<%= selector %>', <% if(inlineTemplate) { %>template: ` <nz-layout> <nz-sider style="overflow: auto; height: 100vh; position: fixed; left: 0"> <div class="logo"></div> <ul nz-menu [nzTheme]="'dark'" [nzMode]="'inline'"> ...
import React from 'react'; import { useRouteMatch, useHistory } from 'react-router-dom'; import { Trans } from '@lingui/macro'; import { Grid } from '@material-ui/core'; import { Restore as RestoreIcon, Add as AddIcon } from '@material-ui/icons'; import { Back, Flex } from '@stai/core'; import WalletCreateCard from '.....
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ export {NgtscCompilerHost} from './src/compiler_host'; export {absoluteFrom, absoluteFromSourceFile, basename, dirnam...
import * as DatastoreEntity from "@google-cloud/datastore/build/src/entity"; import {decoratorMeta} from "./decoratorMeta"; import {IEntityMetaOptions} from "./types"; export class BaseEntity { public _id: any; public _namespace: string | undefined; public _kind: string; public _ancestorKey?: Datast...
import React, { useState } from 'react'; import { Box, Button, IconCircleMinus, } from '@aragon/ui'; import BigNumber from 'bignumber.js'; import { removeLiquidity } from '../../utils/web3'; import { BalanceBlock, MaxButton, PriceSection } from '../common/index'; import { toBaseUnitBN } from '../../utils/number'; im...
import { useRouter } from 'next/router' import React, { Fragment } from 'react' import css from 'styled-jsx/css' import Button from '../atoms/Button' import PaginationButton from '../molecules/PaginationButton' const styles = css` .pagination { width: 50%; display: flex; justify-content: center; marg...
import { NgModule } from '@angular/core'; import { AlifeFileToBase64Directive } from './alife-file-to-base64.directive'; @NgModule({ imports: [ ], declarations: [AlifeFileToBase64Directive], exports: [AlifeFileToBase64Directive] }) export class AlifeFileToBase64Module { }
import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app.module'; if (process.env.NODE_ENV === 'production') { enableProdMode(); } platformBrowserDynamic().bootstrapModule(AppModule) .then(/*success => {}*/)...
import { Injectable } from '@angular/core'; import { CanActivate } from '@angular/router'; import { Store } from '@ngxs/store'; import { AuthState } from '../state/auth.state'; @Injectable({ providedIn: 'root' }) export class AuthGuard implements CanActivate { constructor(private store: Store) { } canActivate(...
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import {Contact} from './contact/Model/contact'; @Injectable({ providedIn: 'root' }) export class ContactApiService { url='https://localhost:44342/api/Contact'; constructor(private httpClient:HttpClient) { } getConta...
import clsx from "clsx"; import { realButtonVariants, realButtonSizes, RealButtonProps } from "components"; export const RealIconButton = ({ type = "button", className = "", variant = "dark", size = "md", children, ...props }: RealButtonProps) => { return ( <button type={type} className=...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import marked from 'marked'; import {convertEntityToCharacter} from 'utils/text_formatting'; import RemoveMarkdown from 'utils/markdown/remove_markdown'; import EmojiMap from 'utils/emoji_map'; import Re...
export interface PurchaseFileResponse { success: boolean }
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { FormControl, FormGroup } from '@angular/forms'; import { IComponentConfig, IComponent } from './../config'; @Component({ selector: 'cms-address', templateUrl: './cms-address.component.html', styleUrls: ['./cms-address.component...
import { Injectable } from '@angular/core'; import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; /** * Options for the video playback using the `play` function. */ export interface VideoOptions { /** * Set the initial volume of the video playback, where 0.0 is 0% volume and 1.0 is 100%. *...
// GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY import { SetupContext } from 'vue'; import PlaneFillSvg from '@airclass/icons-svg/lib/asn/PlaneFill'; import AntdIcon, { AntdIconProps } from '../components/AntdIcon'; const PlaneFill = (props: AntdIconProps, context: SetupContext) => { const p = { .....
/** * @license * Copyright 2020 Dynatrace 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 ag...
import { Networks } from "../constants/blockchain"; const switchRequest = () => { return window.ethereum.request({ method: "wallet_switchEthereumChain", params: [{ chainId: "0x141" }], }); }; const addChainRequest = () => { return window.ethereum.request({ method: "wallet_addEthere...
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { TimeTable } from 'app/student/timetable/models/TimeTable'; import { CourseService } from 'app/student/course/services/course.service'; import { AdminService } from '../services/admin-service.service'; ...
import { Channel, NonPositionScaleChannel } from '../../channel'; import { FieldDef } from '../../fielddef'; import { LegendType } from '../../vega.schema'; import { UnitModel } from '../unit'; export declare function symbols(fieldDef: FieldDef<string>, symbolsSpec: any, model: UnitModel, channel: Channel, type: Legend...
import { Strategy } from 'passport-local'; import { PassportStrategy } from '@nestjs/passport'; import { Injectable } from '@nestjs/common'; import { AuthenticationService } from './authentication.service'; import User from '../users/user.entity'; @Injectable() export class LocalStrategy extends PassportStrategy(Stra...
import * as React from 'react'; function DonateButton({ handleClick, text, disabled }: any) { return ( <div> <input type="submit" name="submit" onClick={handleClick} className="f6 link pointer dim bn br-pill pv3 ph4 white bg-teal fw7 mt4" disabled={disabled} ...
import { SwaggerModelPropertyDefine } from "./SwaggerModelPropertyDefine"; export class SwaggerModelProperty implements SwaggerModelPropertyDefine{ private _isDate: boolean = false; private _isDateTime: boolean = false; private _isString: boolean = false; private _isEmail: boolean = false; private _isGuid: b...
namespace pxt { // keep in sync with RefCounted.h in Codal export const REF_TAG_STRING = 1 export const REF_TAG_BUFFER = 2 export const REF_TAG_IMAGE = 3 export const REF_TAG_NUMBER = 32 export const REF_TAG_ACTION = 33 } namespace pxt.HWDBG { import Cloud = pxt.Cloud; import U = pxt.Ut...
const HOST_URL = "http://localhost:3000" export const sendTwilio = (name: string, gender: string, birth: string)=> fetch(`${HOST_URL}/auth/user`, { headers: { "Content-Type" : "application/json" }, method: "POST", body: JSON.stringify({ name, gender, birth }) }) export const confirm = (name: string,...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-bug-list', templateUrl: './bug-list.component.html', styleUrls: ['./bug-list.component.scss'] }) export class BugListComponent implements OnInit { constructor() { } ngOnInit() { } }
// Copyright IBM Corp. 2018. All Rights Reserved. // Node module: oasgraph // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT /** * Functions to translate JSON schema to GraphQL (input) object types. */ // Type imports: import { PreprocessingData } from ...
import type { HardhatRuntimeEnvironment } from 'hardhat/types'; import { Manifest, getAdminAddress } from '@openzeppelin/upgrades-core'; import { Contract } from 'ethers'; import { getProxyAdminFactory } from './proxy-factory'; export type ChangeAdminFunction = (proxyAddress: string, newAdmin: string) => Promise<void>...
import React from 'react'; import { createPortal } from 'react-dom'; import './scss/app-loading.scss'; interface IProps {} interface IState {} const AppPortal = (props: IProps, state: IState) => { return createPortal( <section className="app-loading"> <section className="app-spinner"> <p></p> ...
import { BaseModel } from 'app/models/BaseModel'; import { Condition } from './condition'; export class LoyaltyPointConditionModel extends BaseModel { key?: string; name?: string; pointValue?: number = 0; note?: string; conditions: Condition; constructor(item = null) { super(); ...
import { Directive, ElementRef, HostListener, Input, OnInit, Renderer2 } from '@angular/core'; @Directive({ selector: '[svgPanZoom]' }) export class SvgPanZoomDirective implements OnInit { private panning = false; private originalCTM: SVGMatrix; private originalPoint: { x: number, y: number }; private zoom...
import { EthAbiDecodeParametersType } from "./abi"; export declare type AbiByFunc = { [func: string]: any; }; export declare function getAbiFunctions(abi: Array<any>): AbiByFunc; export declare function getArgTypes(fnAbi: { inputs: Array<{ name: string; type: string; }>; }): Array<EthAbiDeco...
import * as express from 'aws-xray-sdk-express'; import captureMySQL = require('aws-xray-sdk-mysql'); import capturePostgres = require('aws-xray-sdk-postgres'); import { expectType } from 'tsd'; import * as AWSXRay from '../lib'; expectType<typeof express>(AWSXRay.express); expectType<typeof captureMySQL>(AWSXRay.capt...
import * as assert from 'assert'; import * as sinon from 'sinon'; import appInsights from '../../../../appInsights'; import auth from '../../../../Auth'; import { Logger } from '../../../../cli'; import Command, { CommandError } from '../../../../Command'; import config from '../../../../config'; import request from '....
/* eslint-disable react/destructuring-assignment, prefer-const, @typescript-eslint/no-unused-vars */ import React, { CSSProperties, LegacyRef, ReactNode } from 'react'; import { cssClasses, strings } from '@douyinfe/semi-foundation/modal/constants'; import Button from '../button'; import ModalFoundation, { ModalAdapter...
/** * A collection of helper functions and utility methods related to the rich text editor */ declare class TextEditor { /** * Create a Rich Text Editor. The current implementation uses TinyMCE * @param options Configuration options provided to the Editor init * @param content Initial HTML or t...
import { ngPackagr } from 'ng-packagr'; import { root } from './helpers'; ngPackagr() .forProject(root(`./packages/@ngx-meta/${process.argv[2]}/ng-package.json`)) .withTsConfig(root('./tools/build/tsconfig.package.json')) .build() .catch(() => (process.exitCode = 1));
import React from "react"; import { Tooltip } from "@patternfly/react-core"; import { ExclamationTriangleIcon } from "@patternfly/react-icons"; import { global_warning_color_100 } from "@patternfly/react-tokens"; import styled from "styled-components"; export const Warning: React.FC<{ className?: string }> = ({ classN...
/** * title: Basic Usage * desc: * * title.zh-CN: 基础用法 * desc.zh-CN: */ import React from 'react'; import {} from 'xy-hooks'; export default () => { return <div>template</div>; };
import { DispatchAction, InitialState, rootReducer } from './root-reducer' import { createStore } from 'redux' export const store = createStore<InitialState, DispatchAction, null, null>( rootReducer, )
import React from 'react'; import { Box, Button, Container, Dialog, Typography } from '@material-ui/core'; import { Formik, Form, Field } from 'formik'; import { Checkbox } from 'formik-material-ui'; import { useTranslation } from 'react-i18next'; import * as Yup from 'yup'; import { SubmitButton } from '..'; import ...
export interface Subscription { unsubscribe: Function }
import { TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ imports: [ RouterTestingModule ], ...
import React from 'react' import clsx from 'clsx' import styles from './styles.module.scss' import logo from 'images/logo.png' import { globalHistory } from '@reach/router' import { Link } from 'gatsby' import { FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon } from 'react-share' interface Props { ...
import React from 'react'; import faker from 'faker'; import { includes, range, uniqBy } from 'lodash'; import { Button } from 'z-frontend-elements'; import { Checkbox, InputWithIcon } from 'z-frontend-forms'; import { Box, Flex } from 'zbase'; import { storiesOf } from '../.storybook/storyHelpers'; import DataManage...
import urlJoin from 'url-join' import axios from 'axios'; import config from '../config.json' import moment from 'moment' import { manageEntitiesState } from './esm' function ajaxService() { const { getLoginData, getFromBag, getCurrentEntity } = manageEntitiesState() function getHeaders() { const logi...
import { defineMacro, defineMacroPlugin } from 'vite-plugin-macro' import { join } from 'path' import { run } from './common' import glob from 'fast-glob' export function pluginLoad() { return defineMacroPlugin({ name: 'macro-load', typesPath: join(__dirname, 'load-macros.d.ts'), exports: { '@load'...
/* * Copyright (C) 2017-2018 Erisson and others. * * 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 */ import { ContainerModule } from "inversify";...
import { useCallback } from 'react'; import useBasisCash from './useBasisCash'; import useHandleTransactionReceipt from './useHandleTransactionReceipt'; const useRedeemOnBoardroom = (description?: string) => { const basisCash = useBasisCash(); const handleTransactionReceipt = useHandleTransactionReceipt(); cons...
import { storiesOf } from '@storybook/html'; import { withHits } from '../.storybook/decorators'; storiesOf('Metadata/Stats', module) .add( 'default', withHits(({ search, container, instantsearch }) => { search.addWidgets([instantsearch.widgets.stats({ container })]); }) ) .add( 'with sorte...
import * as React from 'react' import * as Kb from '../../../common-adapters' import * as Styles from '../../../styles' type Props = { fullname: string onClick: () => void username: string width: number } class Friend extends React.PureComponent<Props> { render() { const p = this.props return ( ...
import { Column, Entity, ManyToOne, PrimaryGeneratedColumn } from 'typeorm'; import { Guild } from './Guild'; /* tslint:disable:member-access variable-name */ @Entity() export class GuildConfig { @PrimaryGeneratedColumn() id: number; @ManyToOne((type) => Guild, (guild) => guild.configs) guild: Guild; @Column()...
import styled from 'styled-components'; export const Container = styled.div` position: relative; border-top: 1px solid #ddd; flex-grow: 1; width: 100%; display: flex; flex-direction: column; `; export const TreeContainer = styled.div` position: relative; width: 100%; overflow-y: auto; overflow-x: ...
import React from 'react' import styled from 'styled-components' import { Link as HistoryLink } from 'react-router-dom' import { ArrowLeft } from 'react-feather' import QuestionHelper from '../QuestionHelper' import useI18n from '../../hooks/useI18n' import { RowBetween } from '../Row' const Tabs = styled.div` displ...
export = { before: function (browser) { browser.adminUIApp = browser.page.adminUIApp(); browser.adminUISigninScreen = browser.page.adminUISignin(); browser.adminUIListScreen = browser.page.adminUIListScreen(); browser.adminUIItemScreen = browser.page.adminUIItemScreen(); browser.adminUIInitialFormScreen = br...
<TS language="ro" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Click dreapta pentru a modifica adresa o eticheta</translation> </message> <message> <source>Create a new address</source> ...
import { Command } from "../../types"; export const insult: Command = { description: "Insults a user", example: "!insult @bbarber9#5232", action: function({ message }) { const mentionedUser = message.mentions.users.first(); if (!mentionedUser) { return; } let userId = mentionedUser.id; ...
import { useEffect, useState } from "react"; import { api } from "../services/api"; import { MovieCard } from "./MovieCard"; interface MovieProps { imdbID: string; Title: string; Poster: string; Ratings: Array<{ Source: string; Value: string; }>; Runtime: string; } interface GenreResponseProps { ...
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { ReverbComponent } from './reverb.component'; xdescribe('ReverbComponent', () => { let component: ReverbComponent; let fixture: ComponentFixture<ReverbComponent>; beforeEach(waitForAsync(() => { TestBed.configureTestin...
/* Sourced from 0x.js */ import * as ethUtil from 'ethereumjs-util'; import { ECSignature } from '../types'; export const signatureUtils = { isValidSignature(data: string, signature: ECSignature, signerAddress: string): boolean { const dataBuff = ethUtil.toBuffer(data); // const msgHashBuff = eth...
import React, { useMemo } from 'react' import styled from 'styled-components' import Fuse from 'fuse.js' import { useSelect, SelectSearchOption } from 'react-select-search' import { useLongAssetsList } from 'hooks/useAssetList' import useDefaultsFromURL from 'state/trade/hooks' import { Search as SearchIcon } from 'co...
/* Copyright 2018 Telenor Digital AS 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 writing, sof...
import ReactConfetti from 'react-confetti' import { Button, Link, Text, useTheme } from '@chakra-ui/react' import { AirdropFoxIcon } from 'Atoms/Icons/AirdropFoxIcon' import { ClaimInfo } from '../ClaimInfo' import { State } from 'state/ClaimProvider' import { bn, fromBaseUnit } from 'utils/math' import { useHistory } ...
module StockChart { export function mixins(target: Object, ...sources) { if (target === undefined || target === null) { throw new TypeError('Cannot convert undefined or null to object'); } let output = Object(target); for (let index = 0; index < sources.length; index++) { let source = so...
import { SchemasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchemasClient"; import { ListRegistriesRequest, ListRegistriesResponse } from "../models/index"; import { deserializeAws_restJson1ListRegistriesCommand, serializeAws_restJson1ListRegistriesCommand, } from "../protocols/Aws_restJs...
export default 'SvgrURL'; export const ReactComponent = 'svg';
import { Component, OnInit } from '@angular/core'; import { MatApprovedPickerRenderComponent } from 'src/app/components/utils/mat-approved-picker-render/mat-approved-picker-render.component'; import { MatServicesPickerRenderComponent } from 'src/app/components/utils/mat-service-picker-render/mat-service-picker-render.c...
interface ShouldBeValidField { validate(data: any, key: string): void; }
import { EventEmitter } from 'events'; import { Archetype } from './Archetype'; import { ComponentInstanceFor, ComponentType, ComponentInstance, } from './Component'; import { Game } from './Game'; import { logger } from './logger'; export interface ArchetypeManagerEvents { archetypeCreated(archetype: Archetyp...
// (C) 2007-2014 GoodData Corporation import "isomorphic-fetch"; import fetchMock from "fetch-mock"; import get from "lodash/get"; import range from "lodash/range"; import cloneDeep from "lodash/cloneDeep"; import { expectColumns, expectMetricDefinition } from "../helpers/execution"; import { ExperimentalExecutionsMod...
import { Column, ObjectID, ObjectIdColumn } from 'typeorm'; export abstract class BaseModel { @ObjectIdColumn() id: ObjectID; @Column() active: boolean; @Column() createdAt: Date; @Column() createdBy: string; @Column() updatedAt: Date; @Column() updatedBy: string; @Column() deletedAt: Date;...
/* * 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 expect from '@kbn/expect'; import { TIMELINE_PREPACKAGED_URL } from '...
import { getPathsRelativeToConfig, IApiCliConfig, IIgnoreRunnable, InvalidOpticConfigurationSyntaxError, IOpticTaskRunnerConfig, OpticConfigurationLocationFailure, readApiConfig, } from '@useoptic/cli-config'; import { IHttpInteraction } from '@useoptic/domain-types'; /////////////////////////////////////...