text
stringlengths
10
953k
import * as React from 'react'; import { NextPage, GetStaticProps } from 'next'; import MarkdownDocs from '../../src/components/MarkdownDocs'; import { PreparedMarkdown, prepareMarkdown } from '../../src/utils/parseMarkdown'; const pageFilename = 'components/rx-table'; const requireDemo = require.context('../../src...
import {Component, OnInit} from '@angular/core'; import {MatTableDataSource} from '@angular/material'; import {AngularFireDatabase} from '@angular/fire/database'; @Component({ selector: 'app-dashboard', templateUrl: './dashboard.component.html', styleUrls: ['./dashboard.component.scss'] }) export class Das...
/* tslint:disable */ /* eslint-disable */ import React, { FunctionComponent } from 'react'; import { ViewProps } from 'react-native'; import { Svg, GProps, Path } from 'react-native-svg'; import { getIconColor } from './helper'; interface Props extends GProps, ViewProps { size?: number; color?: string | string[];...
import React from "react"; import { IconProps } from "../lib"; declare const Pause: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>; export default Pause;
import { DaprClient } from "../../../src"; const host = "127.0.0.1"; const port = "50001"; describe('DaprClient', () => { it('should allow us to create a DaprClient', () => { const client = new DaprClient(host, port); expect(client.getDaprHost()).toEqual(host); expect(client.getDaprPort()).toEqual(port)...
import { useReducer, useEffect } from "react"; import reducer, { evolveNextGeneration, initGameState } from "./game-ducks"; import { countCells, liveCellCounter } from "./game-utils"; const useGame = (defaultGridSize: number) => { const [gameState, dispatch] = useReducer( reducer, defaultGridSize, initGa...
import * as React from "react"; import styled from "styled-components"; import { inject } from "@patternplate/component-utility"; import { Icon, IconSize } from "@patternplate/component-icon"; export interface LinkProps { className?: string; href: string; title?: string; grow?: boolean; external?: boolean; ...
import React from "react"; import { MuiThemeProvider } from "@material-ui/core/styles"; import { Global, css } from "@emotion/core"; import { ThemeProvider } from "emotion-theming"; import CssBaseline from "@material-ui/core/CssBaseline"; import { StylesProvider } from "@material-ui/styles"; // @ts-ignore import getPag...
import { IsString, MaxLength, MinLength, Matches } from "class-validator"; export class AuthCredentialsDto { @IsString() @MinLength(4) @MaxLength(20) username: string; @IsString() @MinLength(8) @MaxLength(20) @Matches( /((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/, ...
import React, { useMemo } from 'react' import { useSelector } from 'react-redux' import { StoreState } from '../../../store' // ______________________________________________________ // type ContainerProps = { videoScale: number } type Props = { width: number height: number cx: number cy: number r: number }...
// Import here Polyfills if needed. Recommended core-js (npm i -D core-js) // import "core-js/fn/array.find" // ... export default class AudioSampleSorter { private _foundSamples: Array<FoundSample>; constructor( private _inputFolderePath: string, private _outputFolderPath: string ) { this._foun...
import { uuid } from 'uuidv4'; import IUserTokensRepository from '@modules/users/repositories/IUserTokensRepository'; import UserToken from '../../infra/typeorm/entities/UserToken'; class FakeUserTokensRepository implements IUserTokensRepository { private userTokens: UserToken[] = []; public async generate(user...
import { createSlice, createAction } from '@reduxjs/toolkit' import { Login } from '../../models' export interface StateAuth { login: Login logged: boolean } const initialState: StateAuth = { login: { token: undefined, user: undefined }, logged: false } export const loginAction = createAction<Login>...
import * as React from 'react' import { Link } from 'react-router-dom' // Components import Button from '../components/Button' import RecentPodcasts from '../components/RecentPodcasts' import StatsCard from './Stats/StatsCard' import RSSLogo from '../../images/feed.svg' import { updateTitle } from '../utils' import Sp...
// Type definitions for ag-grid v5.4.0 // Project: http://www.ag-grid.com/ // Definitions by: Niall Crosby <https://github.com/ceolter/> // Definitions: https://github.com/borisyankov/DefinitelyTyped export interface OriginalColumnGroupChild { getColumnGroupShow(): string; getId(): string; }
import { Component, Host, h } from '@stencil/core'; @Component({ tag: 'people-header', styleUrl: 'people-header.css', shadow: true, }) export class PeopleHeader { render() { return ( <Host> <h1 class="text-xl font-serif"> <slot></slot> </h1> </Host> ); } }
// This file defines the different config types. // // For each possible kind of config value, we have two types: // // One that ends with UserConfig, which represent the config as // written in the user's config file. // // The other one, with the same name except without the User part, represents // the resolved valu...
import { HttpClientTestingModule } from '@angular/common/http/testing'; import { TestBed } from '@angular/core/testing'; import { MemberProfile } from 'bungie-models'; import { of } from 'rxjs'; import { MOCK_RESP_ACTIVITIES_COMBINED } from '../../testing-utils/objects/member-activities.mock'; import { getBungieStartD...
import { Config } from '@stencil/core'; export const config: Config = { namespace: 'framer', outputTargets: [ { type: 'dist', }, { type: 'docs-readme' }, { type: 'www', serviceWorker: null // disable service workers } ] };
import { ReactElement, ReactText } from 'react'; export type FlexFlow = 'row' | 'column'; export type Box = { flex: number; // 0 < flex <= 1; root node has flex: 1 flow: FlexFlow; }; type WithBlockDimensions<T> = T & { box: Box }; type WithFlex<T> = T & { flex: number }; export type WithSubTree<T> = T & { subTre...
import { forwardRef, useMemo, ReactNode } from 'react'; import { FocusRing } from 'react-aria'; import styled, { css } from 'styled-components'; import { NavLink as RRNavLink, Link as RRLink, LinkProps, matchPath, } from 'react-router-dom'; import { useStaleReload } from '../../utils/routing'; import { routes...
import { CommonConfigurator } from '@spartacus/product-configurator/common'; import { Configurator } from '../../model/configurator.model'; import { ConfiguratorActions } from '../actions/index'; export const initialState: Configurator.Configuration = { configId: '', interactionState: { currentGroup: null, ...
import { Project } from '@/springboot/domain/Project'; import { RestProject, toRestProject } from '@/springboot/secondary/RestProject'; import { AxiosHttp } from '@/http/AxiosHttp'; import { ReactService } from '@/springboot/domain/client/ReactService'; export default class ReactRepository implements ReactService { ...
import React, {useEffect, useState} from "react"; import {Card} from 'react-bootstrap'; import {Icon} from "@blueprintjs/core"; import {TermBuffer, writeString} from "../../../stepper/io/terminal"; import {PureTerminal} from "./PureTerminal"; import {useDispatch} from "react-redux"; import {AppStore} from "../../../sto...
import { FileItemProps } from "../../../file-item/components/FileItem/FileItemProps"; import { FileItemContainerProps } from "../../../file-item/components/FileItemContainer/FileItemContainerProps"; import { DropzoneProps } from "../Dropzone/DropzoneProps"; export interface DropzoneUIProps extends DropzoneProps, ...
import { Board } from 'src/boards/board.entity'; import { BaseEntity, Column, Entity, OneToMany, PrimaryGeneratedColumn, Unique, } from 'typeorm'; @Entity() @Unique(['username']) // Unique로 정의해주면 findOne으로 찾아서 검증할 필요가 없어짐 export class User extends BaseEntity { @PrimaryGeneratedColumn() id: number; @...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="cs"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About 611</source> <translation>O 611u</translation> ...
import { HttpHeaders } from '../headers'; import type { HttpError, HttpResponse } from '../types'; import { Client } from './client'; export class FetchClient extends Client { async fetch<T>(): Promise<HttpResponse<T>> { const controller = new AbortController(); if (this.timeout > 0) { setTimeout(() =>...
import {TestBed} from '@angular/core/testing'; import {AuthorizationService} from './authorization.service'; describe('AuthorizationService', () => { beforeEach(() => TestBed.configureTestingModule({})); it('should be created', () => { const service: AuthorizationService = TestBed.get(AuthorizationSe...
<TS language="fr" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Cliquer à droite pour modifier l'adresse ou l'étiquette</translation> </message> <message> <source>Create a new address</source> ...
import { dispatchPromiseResult, isFSA, isFunction, isThenable } from './utils'; /*** * Middleware that takes care of handling both promises and thunks * to manage async interactions (e.g. get information from a backend service). */ function createThunkPromiseMiddleware(extraArguments: object = {}): any { return (...
import * as React from 'react' import * as Path from 'path' import { ICommitMessage } from '../../lib/app-state' import { IGitHubUser } from '../../lib/databases' import { Dispatcher } from '../../lib/dispatcher' import { ITrailer } from '../../lib/git/interpret-trailers' import { IMenuItem } from '../../lib/menu-item...
function f(a = 1, b) { }
import { shallowEqual } from '../utils/shallowEqual' import { StateSubscriber, EffectSubscriber } from '../types' type SubscribeType = 'state' | 'effect' export class Container<T> { private stateSubscribers: StateSubscriber<T>[] = [] private effectSubscribers: EffectSubscriber[] = [] public subscribe(type: 'st...
import { Component, OnInit } from "@angular/core"; @Component({ selector: "app-navigation", templateUrl: "./navigation.component.html", styleUrls: ["./navigation.component.css"] }) export class NavigationComponent implements OnInit { constructor() {} ngOnInit() {} }
/// <reference types="react" /> import { IPaymentPlan } from '@alma/client/dist/types/entities/eligibility'; export declare function PlanIntro({ plan }: { plan: IPaymentPlan | null; }): JSX.Element;
import React from 'react'; import { useFonts } from 'expo-font'; import { Nunito_600SemiBold, Nunito_700Bold, Nunito_800ExtraBold, } from '@expo-google-fonts/nunito'; import Routes from './src/routes'; const App: React.FC = () => { const [fontsLoaded] = useFonts({ Nunito_600SemiBold, Nunito_700Bold, ...
import {CanDeactivate} from '@angular/router'; import {FormControl, FormGroup} from '@angular/forms'; export interface FormComponent{ userForm : FormGroup; } export class PreventUnsavedChangesGuard implements CanDeactivate<FormComponent>{ canDeactivate(component : FormComponent){ if (!component.userForm.dirt...
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { AppComponent } from './app.component'; import { HeroDetailComponent } from './hero-detail.component'; import { HeroesComponent } from './heroes...
import { Configuration } from '../configuration'; import revert from './revert'; export default async function (configPath?: string) { revert.call(this, configPath).catch((reason) => { console.error(reason); Object.setPrototypeOf(this, new Configuration(configPath || './config.json')); });...
import { injectable, inject } from 'tsyringe'; import AppError from '@shared/errors/AppError'; import ICacheProvider from '@shared/container/providers/CacheProvider/models/ICacheProvider'; import IHashProvider from '../providers/HashProvider/models/IHashProvider'; import IUsersRepository from '../repositories/IUsersR...
import { NpmPackage, INpmPackageInit } from './NpmPackage'; export * from './NpmPackage'; /** * Creates a new [NpmPackage] for the given directory. */ export const pkg = (input?: string | INpmPackageInit) => NpmPackage.create(input);
import React from 'react' import { createIcon } from '../createIcon' export const Pillar = createIcon({ path: ( <> <path d="M5.4003 18.25L9.13463 22V18.25H19.0931V5.74995L15.3586 2V14.5001H5.4003V18.25Z" fill="black" ></path> <path ...
export function isNotNullOrUndefined<T>( value: T | null | undefined ): value is T { return value !== null && typeof value !== "undefined"; }
// Copyright 2017-2020 @polkadot/app-accounts authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. import { DeriveBalancesAll } from '@polkadot/api-derive/types'; import { ActionStatus } from '@polkadot/react-components/...
/* GENERATED FILE */ import React, { forwardRef } from "react"; import { IconWeight, IconProps, PaintFunction, renderPathForWeight, } from "../lib"; import IconBase, { RenderFunction } from "../lib/IconBase"; const pathsByWeight = new Map<IconWeight, PaintFunction>(); pathsByWeight.set("bold", (color: string...
import {AccordionModule} from "ngx-bootstrap/accordion"; import {CollapseModule} from "ngx-bootstrap/collapse"; import {ColorPickerModule} from "ngx-color-picker"; import {DragDropModule} from "@angular/cdk/drag-drop"; import {EffectsModule} from "@ngrx/effects"; import {NgModule} from "@angular/core"; import {PopoverM...
import { Button, Dropdown, DropdownContent, DropdownDivider, DropdownItem, DropdownMenu, DropdownProps, DropdownTrigger, Icon, withOther, } from '../..' import React, { useState } from 'react' export default { title: 'Components/Dropdown', component: Dropdown, } export const Toggable = () => {...
import { Component } from "@angular/core" import { WebService } from './web.service'; @Component({ selector: 'messages', template: ` <h1 *ngIf="activeName != '' ">Message by : {{activeName}}</h1> <div class="list-group"> <div *ngFor="let message of webService...
import { Component, OnInit, Input } from '@angular/core' import { ProductQualityQueryDto } from '@core/product/product-quality-query-dto' import { ProductQualityItem } from '@core/product/product-quality-item' import { PagingData } from '@core/common-entity/paging-data' import { ProductService } from '@core/product/pro...
export interface CreateOrUpdateDepartmentInput { name : string; id: number; }
import { PropertyValue, PropertyFilter, PropertyFilterAst as Ast } from "@promaster-sdk/property"; import { exhaustiveCheck } from "ts-exhaustive-check/lib-cjs"; export function filterPrettyPrintSimple(f: PropertyFilter.PropertyFilter): string { if (f.ast === null) { return ""; } let result = ""; result = ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* * Copyright (C) 2019 Toshiba Corporation * SPDX-License-Identifier: Apache-2.0 */ import { DListDataMapped } from "./d-list-data-mapped"; import { DListDataSelection, DListDataSelectionOptions } from "./d-list-data-selection"; import { DListItemAccessor, DListItemAccessorOptions } from "./d-list-item-accessor"; ...
import {parseLine} from '../src/parse' test('parse mypy line', () => { const result = parseLine(`bingo/configuration/util.py:56: error: Incompatible return value type (got "bool", expected "str") [return-value]`) expect(result).toBeTruthy() if (!result) { return } expect(result.path).toEqual('bingo/co...
declare module "serialijse" { export type IgnoreSpec = string | RegExp export interface SerializeContext { index: any[], objects: any[] } export interface SerializeOptions { ignored?: IgnoreSpec[]|IgnoreSpec errorHandler?: (context: SerializeContext, options: SerializeOptio...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { TestCasesFormComponent } from './test-cases-form.component'; describe('TestCasesFormComponent', () => { let component: TestCasesFormComponent; let fixture: ComponentFixture<TestCasesFormComponent>; beforeEach(async(() => { T...
import React, { forwardRef } from 'react'; import type { IconBaseProps } from '../icon/IconBase'; import IconBase from '../icon/IconBase'; const Mouse = forwardRef<HTMLSpanElement, IconBaseProps>(({ svgProps, ...restProps }, ref) => { return ( <IconBase aria-label="mouse" {...restProps} ref={ref}> <svg xml...
import { IProductCategory } from 'app/shared/model/product-category.model'; import { Size } from 'app/shared/model/enumerations/size.model'; export interface IProduct { id?: number; name?: string; description?: string | null; price?: number; itemSize?: Size; imageContentType?: string | null; image?: stri...
import useStyles from './style' import React, { useEffect, useState } from 'react' import useEditorModel, { EditMusic, MusicUpdateData } from './model' import clsx from 'clsx' import { Checkbox, Chip, IconButton, Table, TableBody, TableCell, TableHead, TableRow, Tooltip } from '@material-ui/core' impo...
import { copy } from "https://deno.land/std@0.112.0/io/util.ts"; for (const filename of Deno.args) { const file = await Deno.open(filename); await copy(file, Deno.stdout); file.close(); }
import React from 'react' import renderer from 'react-test-renderer' import { useWalletsContext } from '../../../contexts/WalletsContext' import ChangeAccountMonikerDialog from '../../../components/AccountMenuButton/ChangeAccountMonikerDialog' const onClose = jest.fn() const updateAccount = jest.fn() const account = ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Isibeli</source> <translation>Acerca de Isibeli</translation> </...
import { Module } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; import { GraphQLModule } from '@nestjs/graphql'; import { TypeOrmModule } from '@nestjs/typeorm'; import { MapsModule } from './maps/maps.module'; import ormConfig from './orm.config'; import ormConfigProd from './orm.config.prod'; ...
import fs from 'fs' export default function(ast: any, options: any, cb: Function) { if (!options.description) { ast.description = '' return cb() } fs.readFile(options.description, options.encoding, function(err, data) { if (err) { return cb(err) } ast.description = data cb() })...
import {Component} from '@angular/core'; @Component({ selector: 'projects', templateUrl: "../projects.html", }) export class ProjectsComponent implements OnInit { }
import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { Routes } from '@angular/router'; import { HeroesComponent, HomeComponent } from './components'; import { AppAuthGuard } from './app.authguard'; const routes: Routes = [ { path: '', redirectTo: '/home', pat...
/** * Associate the CreationPolicy attribute with a resource to prevent its status from reaching create complete until * AWS CloudFormation receives a specified number of success signals or the timeout period is exceeded. To signal a * resource, you can use the cfn-signal helper script or SignalResource API. AWS Clo...
// @FIXIME: Uses `export from` syntax require('./utils/polyfill') import App from './app.vue' export { App } export { ComponentPlugin } from './components' export { router } from './router' export { i18n } from './services/i18n' export { store } from './services/store'
import { CalendarIcon } from "@heroicons/react/solid"; import React from "react"; import "react-calendar/dist/Calendar.css"; import "react-date-picker/dist/DatePicker.css"; import PrimitiveDatePicker from "react-date-picker/dist/entry.nostyle"; import classNames from "@lib/classNames"; type Props = { date: Date; ...
// ==LICENSE-BEGIN== // Copyright 2017 European Digital Reading Lab. All rights reserved. // Licensed to the Readium Foundation under one or more contributor license agreements. // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file exposed on Github (readium) in the proj...
import { Ability, AbilityBuilder, AbilityClass, ExtractSubjectType, InferSubjects, } from '@casl/ability'; import { Injectable } from '@nestjs/common'; import { JwtAccessTokenInput } from '../auth/dto/jwtToken.input'; import { Order } from '../order/entities/order.entity'; import { Product } from '../product/...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="kk_KZ" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About AUXYCOIN</source> <translation type="unfinished"/> </message> <message> <location li...
// Credits to the Remix team for the Form implementation: // https://github.com/remix-run/remix/blob/main/packages/remix-react/components.tsx#L865 import { ActionSubmission } from "./createAction"; import { ComponentProps, createEffect, mergeProps, onCleanup, splitProps, JSX } from "solid-js"; export interface FormAc...
import React from 'react'; import { Tabs, TabList, Tab, TabPanels, TabPanel, Box } from '@chakra-ui/core'; import capsize from 'capsize'; import renderToStyleRules from 'capsize/src/renderToStyleRules'; import { useAppState } from './AppStateContext'; import tabStyles from '../tabStyles'; import Code from './Code'; c...
import { IMockedMethodInfo } from './mocked-method-info.interface'; import { IMockedPropertyInfo } from './mocked-property-info.interface'; import { Nullable } from 'frl-ts-utils/lib/types/nullable'; /** Represents a mock proxy. */ export interface IMock<T> { /** Specifies the mocked object. */ readonly subjec...
import { CmsContentEntryHookPluginArgs } from "@webiny/api-headless-cms/types"; import { runContentEntryLifecycleHooks } from "./runContentEntryLifecycleHooks"; export const afterRequestReviewHook = async ( args: CmsContentEntryHookPluginArgs ): Promise<void> => { await runContentEntryLifecycleHooks("afterRequ...
import React from 'react'; import { TodoItem } from './5TodoItem'; import { useQuery } from './flamingo-hooks'; // TodoList fetches the data for all its children. // This is similar to the SmartComponent/DumbComponent // paradigm in Redux. Queries are extremely flexible, // making them great for this sort of data fetc...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hu" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Chicks</source> <translation>A Chicks-ról</translation> </message> <message> <location ...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { TodoIndexComponent } from './components/todo-index/todo-index.component'; const routes: Routes = [ { path: '', component: TodoIndexComponent } ]; @NgModule({ imports: [RouterModule.forChild(routes...
export * from './DaoMembersForm';
// Copyright 2020 The Oppia Authors. 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 ap...
export class JsonapiConfig { public url: string = 'http://yourdomain/api/v1/'; public params_separator? = '?'; public unify_concurrency? = true; public cache_prerequests? = true; public cachestore_support? = true; public parameters? = { page: { number: 'page[number]', ...
import { TestBed } from '@angular/core/testing'; import { provideMockActions } from '@ngrx/effects/testing'; import { hot, cold, } from 'jasmine-marbles'; import { Observable, of, } from 'rxjs'; import { daffTransformErrorToStateError } from '@daffodil/core/state'; import { DaffOrder } from '@daffodil/order'; ...
import { faCog } from '@fortawesome/free-solid-svg-icons/faCog'; import { faSignOutAlt } from '@fortawesome/free-solid-svg-icons/faSignOutAlt'; import { faSortDown } from '@fortawesome/free-solid-svg-icons/faSortDown'; import { faUserCircle } from '@fortawesome/free-solid-svg-icons/faUserCircle'; import { FontAwesomeIc...
/* * 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. */ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under...
import { Observable } from 'rxjs'; import { switchMap } from 'rxjs/operators'; import { fromFetch } from 'rxjs/fetch'; import { cfg } from '../cfg'; import { ApiResult } from '../types'; export interface MasterInsertDoc<T> { readonly app:string; readonly docId:string; readonly token:string; readonly da...
import { ElementRef, OnDestroy } from '@angular/core'; import { NbFooterRowComponent, NbHeaderRowComponent, NbRowComponent } from '../cdk/table/row'; import * as ɵngcc0 from '@angular/core'; export declare const NB_ROW_DOUBLE_CLICK_DELAY: number; /** * Cells container. Adds the right class and role. */ export declare...
declare module "@honeybadger-io/react" { import { Component } from "react"; import Honeybadger from "@honeybadger-io/js"; interface Props { honeybadger: Honeybadger; children: React.ReactNode; ErrorComponent?: React.ReactNode | Function; } class ErrorBoundary extends Component<Props> {} names...
import {expect} from "chai" import {StaticLayoutProvider} from "@bokehjs/models/graphs/static_layout_provider" import {ColumnDataSource} from "@bokehjs/models/sources/column_data_source" describe("StaticLayoutProvider", () => { describe("default props", () => { it("should create an empty dict", () => { ...
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ // The file contents for the current environment will overwrite these during build. // The build system defaults to the dev environment which uses `environment.ts`...
export interface WrappingRule { /** * Max binding names per line before wrapping for imports. 0 for no limit. Default to _1_. */ readonly maxBindingNamesPerLine?: number; /** * Max default and binding names per line before wrapping for imports. 0 for no limit. Default * to _2_. */ readonly maxDef...
export type DataWrapper<T> = { data: T | null; error: any | null; isFetching: boolean; receivedAt: string | null; //possibly invalidate }; export function getEmptyDataWrapper() { return { data: null, error: null, isFetching: false, receivedAt: null, }; } export function receiveDataWrappe...
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient"; import { DescribeUserHierarchyGroupRequest, DescribeUserHierarchyGroupResponse } from "../models/models_0"; import { deserializeAws_restJson1DescribeUserHierarchyGroupCommand, serializeAws_restJson1DescribeUserHie...
import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { UserModule } from './core/user/user.module'; import { AuthModule } from './core/auth/auth.module'; import { ResultModule } from './core/result/result.module'; import { ThrottlerModule } from '@nestjs/throttler'; import { ...
import { recordArtworkView } from "lib/components/record_artwork_view" import { data as sd } from "sharify" import { getContextPageFromClient } from "lib/getContextPage" import { OwnerType } from "@artsy/cohesion" import { mediator } from "lib/mediator" import type { ArtworkEventOptions, BuyerPremiumEventOptions, ...
import * as React from 'react'; import { Link } from 'react-router-dom'; import Typography from '@material-ui/core/Typography'; import * as theme from './footer.scss'; export const Footer = React.memo(() => { return ( <footer className={theme.footer}> <nav className={theme.bottomNav}> ...
import React, { useState, useEffect, FC } from 'react'; import { useRouteMatch } from 'react-router-dom'; import TonClient from '/src/TonClient'; import { MainNetIcon, DevNetIcon, FldNetIcon, NetworkIcon } from '/src/components/icons'; import { OptionsList } from '/src/components'; import { MAIN_NETWORK, DEV_NETWORK,...
import { Arguments, Argv } from 'yargs'; import { ConfigurationParameters } from '../configure'; import { ContentType } from 'dc-management-sdk-js'; import dynamicContentClientFactory from '../../services/dynamic-content-client-factory'; import { ArchiveLog } from '../../common/archive/archive-log'; import paginator fr...
import { TextDecoder } from "text-encoding"; import { writeFile, getAppRootDirectory, env, randomString, ensureFilePathExists, stripIllegalCharacters, } from "@flux-player/utils"; import { join } from "path"; import { Album } from "../album"; export type ID3FrameID = /** * The title of...