text
stringlengths
10
953k
import { Observable } from "rxjs"; import { DynamicFormControlModel, DynamicFormControlModelConfig } from "./dynamic-form-control.model"; import { DynamicFormControlLayout } from "./misc/dynamic-form-control-layout.model"; export interface DynamicFormValueControlModelConfig<T> extends DynamicFormControlModelConfig { ...
import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'dateCount' }) export class DateCountPipe implements PipeTransform { transform(value: any, args?: any): any { if (value) { const seconds = Math.floor((+new Date() - +new Date(value)) / 1000); if (seconds < 29) // less than 30 s...
import { removeElement, applyStyle } from '../util/dom-manip' import { whenTransitionDone } from '../util/dom-event' import { Rect } from '../util/geom' /* An effect in which an element follows the movement of a pointer across the screen. The moving element is a clone of some other element. Must call start + handleMov...
import { extendTheme } from '@chakra-ui/react'; import colors from './colors'; import Button from './components/button'; import fonts from './fonts'; const customTheme = extendTheme({ fonts, colors, components: { Button, }, }); export default customTheme;
import * as bare from "@bare-ts/lib" export interface Person { readonly name: string readonly gender: 0 | 1 | 2 } export function readPerson(bc: bare.ByteCursor): Person export function writePerson(bc: bare.ByteCursor, x: Person): void export function encodePerson(x: Person): Uint8Array export function dec...
import { StyleSheet} from 'react-native' import { theme } from '../../global/styles/theme' export const styles = StyleSheet.create({ container:{ width: 48, height: 48, borderRadius: 8, alignItems: 'center', justifyContent: 'center', marginRight: 22, }, avat...
/** * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.o...
import { Component, Input, OnChanges, OnInit } from '@angular/core'; @Component({ selector: 'ngx-table-data', styleUrls: ['./tableData.component.scss'], templateUrl: './tableData.component.html', }) export class TableData implements OnInit ,OnChanges{ @Input() title1: string; @Input() Moyenne1: string;...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; import { AngularComponent } from './angular.component'; @NgModule({ imports: [CommonModule, HttpClientModule], declarations: [AngularComponent], exports: [AngularComp...
<TS language="el" 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> ...
import ContestRecord from 'shared/types/contestRecord'; import NewUserProfile from '../types/newUserProfile'; import ParticipationInfo from '../types/participationInfo'; import accessToAtCoder from './accessToAtCoder'; interface ContestStandings { StandingsData: [ { UserScreenName: string; Rank: numb...
import { Component } from '@angular/core'; @Component({ selector: 'app-not-found', templateUrl: './not-found.component.html' }) export class NotFoundComponent { }
exports.pedersencommitment= require("./lib/pedersen"); exports.anonymousaddress = require("./lib/anonymous_address");
import { Component } from '@angular/core'; @Component({ selector: 'my-app', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { }
import Vue from 'vue'; import {LocalStorage, SessionStorage} from "quasar"; import pkg from '../package.json'; export interface Config { /** * API路径 */ host: string, /** * 资源路径 (m3u8与截图) */ resourceHost: string, /** * RTMP推流路径 */ rtmpHost: string, /** * 聊天室路径 */ imHost: string, ...
let process = require('process'); import { ConfigParams } from 'pip-services3-commons-node'; import { LocationsMongoDbPersistence } from '../../src/persistence/LocationsMongoDbPersistence'; import { LocationsPersistenceFixture } from './LocationsPersistenceFixture'; suite('LocationsMongoDbPersistence', ()=> { let...
import { Pipe, PipeTransform } from '@angular/core'; import { SimilarityService } from './similarity.service'; import { ImageElement } from '../common/final-object.interface'; @Pipe({ name: 'similarityPipe' }) export class SimilarityPipe implements PipeTransform { constructor( public similarityService: Simi...
import React from 'react'; import Login from './pages/Login'; function App() { return ( <Login /> ); } export default App;
import React from "react"; import { View, StyleSheet } from "react-native"; interface CenterProps {} /** * Centers the Children */ const Center: React.FC<CenterProps> = ({ children }) => { return <View style={styles.main}>{children}</View>; }; const styles = StyleSheet.create({ main: { flex: 1, alignItem...
import nodemailer from 'nodemailer'; const transporter = nodemailer.createTransport({ service: process.env.EMAIL_SERVICE, auth: { user: process.env.EMAIL_USER, pass: process.env.EMAIL_PASS, } }); export const options = { from: process.env.EMAIL_USER, to: '', subject: "Recover y...
import { componentOptions } from '../../../utils' export const Name = 'CubeIcon' export const Options = componentOptions({ name: Name, props: { type: String }, computed: { rootClass(): string { return `cubeic-${this.type}` } } })
// This file can be replaced during build by using the `fileReplacements` array. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. const prefix: string = 'https://'; export const environment = { production: false, accountUrl...
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { AccountService } from 'src/app/services/account/account.service'; @Component({ selector: 'app-home', templateUrl: './home.component.html', styleUrls: ['./home.component.scss'] }) export class Hom...
import {mount, ReactWrapper} from 'enzyme'; import * as React from 'react'; import Iframe from 'react-iframe'; import {act} from 'react-dom/test-utils'; import {registerApiClient as registerApiClientNotebooks} from 'app/services/notebooks-swagger-fetch-clients'; import {registerApiClient} from 'app/services/swagger-fe...
/** * @file IconShoppingCartAdd 添加购物车 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime'; export default IconWrapper( 'IconShopping-cart-add', true, (h: IconHelper, props: ISvgIconP...
import * as mongoose from 'mongoose'; export declare const productcategorieSchema: mongoose.Schema<mongoose.Document<any, {}>, mongoose.Model<any, any>, undefined>;
import React from 'react'; import { observer } from 'mobx-react'; import { useStores } from '../stores/RootStore'; import moment from 'moment'; import 'moment/locale/sv'; import { Grid } from 'semantic-ui-react'; import * as _ from 'lodash'; import { useLongPress } from './UseLongPress'; import { useHistory } from 'rea...
/* jQWidgets v12.0.4 (2021-Apr) Copyright (c) 2011-2021 jQWidgets. License: https://jqwidgets.com/license/ */ /* eslint-disable */ /// <reference path="jqwidgets.d.ts" /> import '../jqwidgets/jqxcore.js'; import '../jqwidgets/jqxdockpanel.js'; import { Component, Input, Output, EventEmitter, ElementRef, OnChanges, S...
import SockJS from 'sockjs-client'; import Stomp from 'webstomp-client'; import { Observable } from 'rxjs'; import { Storage } from 'react-jhipster'; import { websocketActivityMessage } from 'app/modules/administration/administration.reducer'; import { getAccount, logoutSession } from 'app/shared/reducers/authenticat...
import { Everything } from "../interfaces"; import { Props, HardwareFlags, FarmwareConfigs } from "./interfaces"; import { selectAllSequences, findSequence, maybeGetDevice } from "../resources/selectors"; import { getStepTag } from "../resources/sequence_tagging"; import { enabledAxisMap } from "../devices/components...
/** * @file FourArrows 四个箭头 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper('four-arrows', (props: ISvgIconProps) => ( '<?xml version="1.0" encoding="UTF-8"?>' + '<sv...
import {Specification, SpecificationObject} from "./specification"; import {Validator} from "./validator"; // Create a copy of an object with sensitive fields removed export function copyWithoutSensitive( specification: Specification, value: any ): any { if(arguments.length < 2){ throw new Error("Funct...
import { StyleSheet, TextStyle, ViewStyle } from 'react-native' import { Theme } from '../../style' export interface ButtonStyles { container: ViewStyle defaultHighlight: ViewStyle primaryHighlight: ViewStyle ghostHighlight: ViewStyle warningHighlight: ViewStyle wrapperStyle: ViewStyle largeRaw: ViewStyle...
import {EntityPropertyType} from '@/erdiagram/parser/types/entity-relationship-model-types'; import {TableColumnDescriptor} from '@/erdiagram/converter/database/model/database-model-types'; import CaseConverter from '@/erdiagram/converter/common/case-format/CaseConverter'; import SqlTypeResolver from '@/erdiagram/conve...
import React from 'react'; import { ValidationType } from '../Form/FormProps'; export interface IFieldProps { id?: string; name?: string; label?: string | React.ReactNode; value?: any; onChange?: (e: any) => void; [x: string]: any; } export interface IWithFormFieldProps { /** default validation rules */...
export * from './appointment'; export * from './classroom'; export * from './link'; export * from './subject'; export * from './teacher'; export * from './account'; export * from './kwt';
import { Component } from '@angular/core'; // import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) // export class AppComponent implements OnInit { export class AppComponent { title = 'Rate My Meeting R...
<TS language="uk" 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> ...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { MessageValidateComponent } from './message-validate.component'; describe('MessageValidateComponent', () => { let component: MessageValidateComponent; let fixture: ComponentFixture<MessageValidateComponent>; beforeEach(async(() =...
declare namespace ಠ_ಠ.clutz.a { function messesWithB (b : ಠ_ಠ.clutz.ns.B ) : void ; } declare module 'goog:a.messesWithB' { import messesWithB = ಠ_ಠ.clutz.a.messesWithB; export default messesWithB; } declare namespace ಠ_ಠ.clutz.ns { class A extends A_Instance { } class A_Instance { private noStructuralT...
import React, { Component } from 'react'; import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native'; import PSRow from './PSRow'; import { border, fontSize, palette } from '../styles/variables'; import { CommerceTypes } from '@brandingbrand/fscommerce'; import { Loading } from '@brandingbrand/fscomponents'...
import { Word } from "../types"; function getDeckId(bookId) { switch (bookId) { case "01": return "1939635284"; case "02": return "1892756252"; case "03": return "1899668880"; default: throw new Error("No media files matched."); } } function getMediaUrl(word: Word) { retu...
import { lightRed, lightBlue, normalTextStyle, toastDepth } from "./constants"; import RoundRectangle from "phaser3-rex-plugins/plugins/roundrectangle.js"; import { wrapString } from "./stringFormat"; export const showToast = (scene: Phaser.Scene, message: string, isError: boolean) => { const toastBackground = scene....
/* eslint-disable */ /* tslint:disable */ /* * --------------------------------------------------------------- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ## * ## ## * ## AUTHOR: acacode ## * ## S...
import classNames from '../../_util/classNames'; import PropTypes, { withUndefined } from '../../_util/vue-types'; import BaseMixin from '../../_util/BaseMixin'; import { hasProp } from '../../_util/props-util'; import Track from './common/Track'; import createSlider from './common/createSlider'; import * as utils from...
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { TypeOrmCrudService } from '@nestjsx/crud-typeorm'; import { Repository } from 'typeorm'; import { JobEntity } from '../entities/job.entity'; import { JobRepository } from '../repositories/job.repository'; @Inject...
import React from 'react'; interface HeaderProps { name: string; } const Header: React.FC<HeaderProps> = (props) => { return <h1>{props.name}</h1>; }; export default Header;
/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. */ import * as React from 'react'; import Screener from 'screener-storybook/src/screener'; import { storiesOf } from '@storybook/react'; import { FabricDecoratorTall } from '../utilities'; import { TeachingBubble } from 'offic...
import ContentBuilder, { ResponseContent } from './base' export class BuyResponseContentBuilder extends ContentBuilder { // purchaseResult === 'DECLINED' private getDeclinedPurchaseResult (): ResponseContent { const product = this.getProduct() if (this.isJP()) { return { ...
import type { NextPage } from "next"; import { Card } from "../../src/components/ui/card"; import Layout from "../../src/layout/layout"; import { Heading, Avatar, Text, Button } from "@chakra-ui/react"; import Image from "next/image"; import { CustomButton } from "../../src/components/ui/button"; const VerifyRequestPa...
import { logger } from '@libp2p/logger' import errCode from 'err-code' import { codes } from '../errors.js' import { randomBytes } from '@libp2p/crypto' import { pipe } from 'it-pipe' import first from 'it-first' import { equals as uint8ArrayEquals } from 'uint8arrays/equals' import { PROTOCOL_NAME, PING_LENGTH, PROTOC...
import { approximateDistance } from '@bit/garlictech.universal.gtrack.geometry'; import { cloneDeep, concat as _concat, filter, flatten, intersection, isEmpty, isEqual, map as _map, omit, pull, pullAll, slice, uniq, uniqWith, without, } from 'lodash'; import * as fp from 'lodash/fp'; impor...
import { Stack } from '@chakra-ui/react' import { RiContactsLine, RiDashboardLine, RiGitMergeLine, RiInputMethodLine } from 'react-icons/ri' import { NavSection } from './NavSection' import { NavLink } from './NavLink' export function SidebarNav() { return ( <Stack spacing="12" align="flex-start"> ...
import INavigation, { ContentPaint, NavigationReason, NavigationStatus, } from '@ulixee/hero-interfaces/INavigation'; import { createPromise } from '@ulixee/commons/lib/utils'; import { TypedEventEmitter } from '@ulixee/commons/lib/eventUtils'; import { IBoundLog } from '@ulixee/commons/interfaces/ILog'; import L...
import { getPath } from './getPath'; describe('getPath', () => { it('should generate the correct path', () => { expect( getPath('test' as any, [ 1, [1, 2], { data: 'test', kidding: { test: 'data' }, foo: { bar: {} }, what: [{ bill: { haha: 'te...
import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'; import { ApiProperty } from '@nestjs/swagger'; @Entity() export class Car { @ApiProperty({ example: 99 }) @PrimaryGeneratedColumn('uuid') id: string; @ApiProperty({ example: 'Toyota' }) @Column() brand: string; @ApiProperty({ example: 'C...
import 'google-closure-library/closure/goog/labs/i18n/listsymbolsext'; import alias = goog.labs.i18n.ListFormatSymbols_dsb; export default alias;
import { Box, Button, Flex, Image, LargePagination, Link, Sans, Serif, Spinner, StackableBorderBox, } from "@artsy/palette" import { PurchaseHistory_me } from "v2/__generated__/PurchaseHistory_me.graphql" import React, { useState } from "react" import { RelayRefetchProp, createRefetchContainer, grap...
import { BettererRunNames, BettererRuns } from '@betterer/betterer'; import { BettererError } from '@betterer/errors'; import { promises as fs } from 'graceful-fs'; import * as path from 'path'; import { createFixtureFS } from './fs'; import { createFixtureLogs } from './logging'; import { Fixture, FixtureFactory, Fix...
// (C) Copyright 2015 Martin Dougiamas // // 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 { AssociationDescriptor } from './association'; import { AttributeDescriptor } from './attribute'; import { ResourceDescriptor } from './resource'; export interface ClassDescriptor extends ResourceDescriptor { numberOfInstances: number; attributes: AttributeDescriptor[]; associations: AssociationDes...
import * as React from "react"; export interface Props extends React.SVGProps<SVGSVGElement> { size?: number; } const FolderAddOutline = ( { size = 24, ...props }: Props, svgRef: React.Ref<SVGSVGElement> ) => { return ( <svg fill="none" viewBox="0 0 24 24" stroke="currentColor" widt...
import { Controller } from '@nestjs/common'; @Controller('home-bank-state') export class HomeBankStateController {}
import { column, migration } from '../../../src'; export default migration({ async up(queryInterface) { await queryInterface.createTable('user', { id: column.int.primaryKey().autoIncrement(), name: column.varChar.notNull().comment('User Name'), age: column.tinyInt.notNull().comment('Less than 1...
import { Component, OnInit, ViewChild, ElementRef, NgZone } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import ListaSimpleEnlazada from './impl-estructuras/lista-simple-enlaz'; import ListaPadre from './impl-estructuras/lista-padre'; import Pila from './impl-estructuras/pila'; import Cola fr...
import * as React from "react"; import {scopedClassMaker} from '../helpers/classes'; import {createContext, Fragment, useEffect, useState} from "react"; import Icon from "../icon/icon"; import './tree.scss' import {useContext} from "react"; const sc = scopedClassMaker('ireact-tree') export interface DataProp { label:...
import * as React from 'react'; import cxs from 'cxs'; import cx from 'classnames'; import { ResizeSensor } from '@blueprintjs/core'; import { useState } from 'react'; const styles = { container: cxs({ display: 'flex', margin: '24px', }), narrowContainer: cxs({ display: 'block', }), leftContainer...
import { bytesToTrits, valueToTrits } from '@iota/converter' import leveldown from 'leveldown' import { describe, Try } from 'riteway' import { createPersistenceAdapter, PersistenceAdapterParams, PersistenceBatchTypes, } from '../src/persistenceAdapterLevel' const isolate = (() => { let i = -1 ret...
export { AccountIcon } from './AccountIcon.dist' export { AnalyticsIcon } from './AnalyticsIcon.dist' export { ArrowDownIcon } from './ArrowDownIcon.dist' export { ArrowDownRightIcon } from './ArrowDownRightIcon.dist' export { ArrowLeftIcon } from './ArrowLeftIcon.dist' export { ArrowRightIcon } from './ArrowRightIcon....
import React, { InputHTMLAttributes } from 'react'; import './styles.css'; interface InputPropos extends InputHTMLAttributes<HTMLInputElement> { label: string; name: string; } const Input: React.FC<InputPropos> = ({ label, name, ...rest }) => { return ( <div className="input-block"> <...
// Generated by the ProjectIt Language Generator. import { model, MobxModelElementImpl, observablepart, PiElement, PiUtils } from "@projectit/core"; import { EntityMetaType } from "./internal"; /** * Class AppliedFeature is the implementation of the concept with the same name in the language definition file. * It us...
import { Component, OnInit, AfterViewInit } from '@angular/core'; import { ScriptLoaderService } from '../../../_services/script-loader.service'; @Component({ selector: 'app-sparkline-chart', templateUrl: './sparkline-chart.component.html', }) export class SparklineChartComponent implements OnInit, AfterViewInit {...
import { useEffect, useState } from "react"; import { api } from "../services/api"; import { MovieCard } from "./MovieCard"; import { GenreResponseProps } from "../App"; import '../styles/content.scss'; interface ContentProps { selectedGenreId: number; selectedGenre: GenreResponseProps; } interface MovieProps { ...
import { RouterModule } from '@angular/router'; import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { TagsModule } from '../tags.module'; import { DevUIApiComponent } from 'ng-devui/shared/devui-api/devui-api.component'; import { DevUICodeboxModule } from 'ng-devui/shared/d...
import React, { PureComponent } from 'react'; import { connect, MapDispatchToProps, MapStateToProps } from 'react-redux'; import { StoreState } from 'app/types'; import { ClickOutsideWrapper } from '@grafana/ui'; import { VariableLink } from '../shared/VariableLink'; import { VariableInput } from '../shared/VariableInp...
/// <reference path="../../entities/character.ts" /> /// <reference path="../../entities/inventory.ts" /> /// <reference path="../../entities/weapon.ts" /> module CharacterBuilder.WeaponsList { import IScope = angular.IScope; import Character = Entities.Character; import Inventory = Entities.Inventory; ...
import {NgModule} from '@angular/core'; import {RouterModule} from '@angular/router' import {ConfirmDialogDemo} from './confirmdialogdemo'; @NgModule({ imports: [ RouterModule.forChild([ {path:'',component: ConfirmDialogDemo} ]) ], exports: [ RouterModule ] }) export class ConfirmDialogDemoRoutingModu...
import {ActionKey} from 'data/ACTIONS' export const FIRE_SPELLS: ActionKey[] = [ 'FIRE_I', 'FIRE_II', 'FIRE_III', 'FIRE_IV', 'FLARE', 'DESPAIR', 'HIGH_FIRE_II', ] /** Defining these lists separately since Gauge will need to treat the spells that must do damage to affect gauge differently from Umbral Soul */ ex...
/** * Copyright 2018, OpenCensus Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
import { Component } from '@angular/core'; import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; import { RatingComponent } from '../rating/rating.component'; import { RatingModule } from '../rating/rating.module'; @Component({ selector: 'r...
/** * @file CalendarThirtyTwo 日历 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import React from 'react'; import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper( 'calendar-thirty-two', true, (props: ISvgIconProps) =...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-editcont', templateUrl: './editcont.component.html', styleUrls: ['./editcont.component.scss'] }) export class EditcontComponent implements OnInit { constructor() { } ngOnInit() { } }
export { checkType } function checkType<Type>(_: Type) {}
/* * Copyright 2022 Salto Labs 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 applicable ...
export type LayoutProps = { children: JSX.Element; title: string; }; export type LayoutType = (props: LayoutProps) => JSX.Element;
import { Api, KinesisStream, StackContext } from "@serverless-stack/resources"; export function MyStack({ stack }: StackContext) { // create a kinesis stream const stream = new KinesisStream(stack, "Stream", { consumers: { consumer1: "consumer1.handler", consumer2: "consumer2.handler", }, });...
import { GT } from "@graphql/index" import AccountDetailPayload from "@graphql/admin/types/payload/account-detail" import AccountStatus from "@graphql/admin/types/scalar/account-status" import { Accounts } from "@app" import { mapError } from "@graphql/error-map" const AccountUpdateStatusInput = GT.Input({ name: "A...
import { ExposedPromise } from '../../utils/exposed-promise' import { Logger } from '../../utils/Logger' import { generateGUID } from '../../utils/generate-uuid' import { BeaconEvent, BeaconEventHandlerFunction, BeaconEventType, WalletInfo } from '../../events' import { BEACON_VERSION } from '../../constants' import {...
// // Copyright (c) Microsoft. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // import { Router } from 'express'; import asyncHandler from 'express-async-handler'; const router: Router = Router(); import { Operations, Repository } from '../business'; import { Er...
import { makeAuthHandlers } from './handler' describe('authorization handlers', () => { describe('returnJwt', () => { test('should set request and response with created jwt', () => { const makeJwt = jest.fn(() => 'fake jwt') const handler = makeAuthHandlers(makeJwt) const fakeRequest: any = { ...
declare module 'material-ui-color' { enum ColorFormat { "plain", "hex", "hsl", "rgb", "hsv" } type Raw = string | number | object | string[] | number[] interface ColorObject { css: React.CSSProperties; value: number; hex: string; raw: Raw name: string; alpha: numbe...
/** * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Paul Luna <paulluna0215@gmail.com> */ import * as React from 'react'; import { Vec2 } from 'mol-math/linear-algebra'; import { getEventListener } from './line-graph-controls'; import PointComponent from './p...
import * as React from "react"; function SvgExtendDown() { return ( <svg id="gz-svg-extend-down" viewBox="0 0 540 540" width="1em" height="1em"> <path id="extend-down" fill="currentcolor" d="M269.868 474.103L0 204.234l66.958-66.958L269.862 340.18 473.042 137 540 203.958l-203.18 203....
#!/usr/bin/env deno --allow-all import { assertEquals } from "https://deno.land/std@0.51.0/testing/asserts.ts"; import { BufferReader } from "./../buffer_reader/mod.ts"; import { sleep } from './util.ts'; const test = Deno.test; const run = Deno.run; test('cmd/loading_test', async function() { let process = run({ ...
import { transform } from 'babel-core'; import { exec, spawn } from 'child_process'; import { serialize } from 'cookie'; import { readdirSync, readFileSync, statSync, unlink } from 'fs'; import { createWriteStream, mkdirp, readFile, readJSON, readJSONSync } from 'fs-extra'; import { compile } from 'handlebars'; import ...
declare const _default: { darkMode: string; colorBy: string; color: string[]; gradientColor: string[]; aria: { decal: { decals: ({ color: string; dashArrayX: number[]; dashArrayY: number[]; symbolSize: number; ...
import { Entity, Column, ManyToMany, JoinTable, OneToOne, JoinColumn, ManyToOne, Index, OneToMany, } from 'typeorm'; import { BaseEntity } from '../../share/entity/base.entity'; import {CategorieLiveEntity} from "./categorie-live.entity"; import {UserEntity} from "./user.entity"; @Entity() export class Liv...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { TypeCreatorComponent } from './type-creator.component'; describe('TypeCreatorComponent', () => { let component: TypeCreatorComponent; let fixture: ComponentFixture<TypeCreatorComponent>; beforeEach(async(() => { TestBed.conf...
export { Option, Options, ParameterType, ParameterHint, ParameterScope, BindOption, SourceFileMode } from './options'; export { insertPrioritySorted, removeIfPresent } from './array'; export { Component, AbstractComponent, ChildableComponent } from './component'; export { Event, EventDispatc...
import { IoTSecureTunnelingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, } from "../IoTSecureTunnelingClient"; import { OpenTunnelRequest, OpenTunnelResponse } from "../models/index"; import { deserializeAws_json1_1OpenTunnelCommand, serializeAws_json1_1OpenTunnelCommand, } from "../protocols/A...