text
stringlengths
10
953k
jest.useFakeTimers() /* eslint-disable import/first */ import { mocked } from 'ts-jest' import * as subscribe from '../../src/subscribe' import { rootCallback } from '../../src/subscribe-callback' import { Context } from '../../src/context' import createClientAdapter from '../../src/subscribe-adapter' /* eslint-enabl...
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { Hash } from "@aws-sdk/hash-node"; im...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import ...
/** * Use this enumeration to set the status of a call to an Endpoint */ export enum EndpointStatus { LOADING, SUCCESS, NORESULTS, ERROR }
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs, enums } from "../../types"; import * as utilities from "../../utilities"; /*...
export { default as PlaceGeographic1 } from './PlaceGeographic1' export { default as PlaceGeographic2 } from './PlaceGeographic2' export { default as PlaceGeographic3 } from './PlaceGeographic3' export { default as PlaceGeographic4 } from './PlaceGeographic4' export { default as PlaceGeographic5 } from './PlaceGeograph...
/* * @Description: * @Version: 1.0 * @Autor: Tabbit * @Date: 2021-05-11 08:27:22 * @LastEditors: Tabbit * @LastEditTime: 2021-05-11 08:31:02 */ export interface UserWsUpdateToDoJudgeMessage { type: string; taskID: string; taskToDoID: string; outcome: boolean; }
import PropTypes from 'prop-types'; import React, { useCallback, useState } from 'react'; import { addMonths, isAfter, isSameMonth, setDate } from '../utils/dateUtils'; import CalendarCore, { CalendarProps as CalendarCoreProps, CalendarState } from '../Calendar/Calendar'; import { ValueType } from './types'; import...
// /src/navigation/apps/materialiconsoutlined/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgAppsOutlined = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"> <path d="M0 0h24v24H0V0z" fill="none"/> <path d="M4 8h4V4H4v4zm6 12h4v-4h-...
import { Component } from '@angular/core'; /** * This class represents the lazy loaded ProducerComponent. */ @Component({ moduleId: module.id, selector: 'sd-producer', templateUrl: 'producer.component.html', styleUrls: ['producer.component.css'], }) export class ProducerComponent {}
// Code generated by protoc-gen-tstypes. DO NOT EDIT. declare namespace simple { export enum Corpus { UNIVERSAL = "UNIVERSAL", WEB = "WEB", IMAGES = "IMAGES", LOCAL = "LOCAL", NEWS = "NEWS", PRODUCTS = "PRODUCTS", VIDEO = "VIDEO", } export interface ...
// Steam client updated to a version that crashes when you call setAppBadge const steam = navigator.userAgent.includes('Steam'); export function setAppBadge(num?: number | undefined) { if ('setAppBadge' in navigator && !steam) { navigator.setAppBadge(num); } } export function clearAppBadge() { if ('clearApp...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
import { AST_NODE_TYPES, TSESTree, } from '@typescript-eslint/experimental-utils'; import * as tsutils from 'tsutils'; import * as ts from 'typescript'; import * as util from '../util'; export default util.createRule({ name: 'return-await', meta: { docs: { description: 'Enforces consistent returning ...
import Item from '../../types/Item'; export const BlackStagHammer: Item = { "id": 104302, "name": "BlackStagHammer", "buildsInto": [ 104402, 104403 ], "requirements": { "Hammer": 1, "Short Rod": 1, "Leather": 1 }, "stats": { "attackPower": 56 }, "rarity": "Rare", "code": "사슴망치", "stackable": fal...
import { GitCommit } from "./Commit"; /** All Text diff values will be this shape */ export interface TextDiff { /** The value before the PR's applied changes */ before: string; /** The value after the PR's applied changes */ after: string; /** A string containing the full set of changes */ diff...
export class Utils { public static EventCoordinatesInSVG(evt:MouseEvent, element:Element, positionRatio:number=1):Location2D { let rect = element.getBoundingClientRect(); return {x: (evt.clientX - rect.left)/positionRatio, y:(evt.clientY - rect.top)/positionRatio} } } export interface Location2...
import * as React from 'react'; import { Chart } from "react-google-charts"; import LoadingIcon from './LoadingIcon' import "../styles/chart.css" const InformationCpu = () => { const [CPUusage, setCPUusage] = React.useState(""); const [procesorName, setProcesorName] = React.useState(""); const [architectu...
import * as fs from 'fs-extra'; import * as path from 'path'; import { parseJsonSchemaToOptions } from '@angular/cli/utilities/json-schema'; import { dedent } from 'tslint/lib/utils'; import { Schematic } from '@angular-devkit/schematics/collection-schema'; import { CoreSchemaRegistry } from '@angular-devkit/core/src/j...
import { Component } from '@angular/core'; import { Network } from '@ngx-pwa/offline'; @Component({ selector: 'app-root', template: ` <p> <ng-container *ngIf="online$ | async; else offline">Online</ng-container> <ng-template #offline>Offline</ng-template> </p> <router-outlet></router-outlet...
import { Structure as _Structure_ } from "@aws-sdk/types"; export const _WorkflowExecution: _Structure_ = { type: "structure", required: ["workflowId", "runId"], members: { workflowId: { shape: { type: "string", min: 1 } }, runId: { shape: { type: "string", ...
import { ArrayMaxSize, IsArray, IsJSON, IsOptional, IsString, MaxLength, } from "class-validator"; export default class BulkVMInput { @IsString() @MaxLength(10000) readonly code: string; @IsJSON() @IsString() @IsOptional() @MaxLength(100 * 1000) readonly state: string; @IsJSON() @IsSt...
import { DebugProtocol } from '@vscode/debugprotocol'; import { debug, DebugAdapterTracker, DebugSession, ProviderResult, window } from 'vscode'; import { AbstractDataExtractor } from '../data-extractor/abstractDataExtractor'; import { JavaDataExtractor } from '../data-extractor/javaDataExtractor'; import { PanelViewIn...
import { VerbEntityGlobal } from 'core/verbs'; import { VerbQuiz, VerbTenses } from './test-fill-gap.vm'; import { Verb, VerbCorrect, createDefaultVerbCorrect } from 'common/model'; import { trimObject, lowObject } from 'common/business'; // TODO: maybe add some defensive programming here? edge cases / errors ? export...
/** * Copyright 2015 CANAL+ Group * * 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 t...
import { EntityRepository, Repository } from 'typeorm'; import { CreateTaskDto } from './dto/create-task.dto'; import { GetTasksFilterDto } from './dto/get-tasks-filter.dto'; import { updateTaskStatusDto } from './dto/update-task-status.dto'; import { TaskStatus } from './task-status.enum'; import { Task } from './task...
/*! * Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved. * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") * * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. * Unless required ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa_IR" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Numus</source> <translation type="unfinished"/> </message> <message> <location line=...
import axios, { CancelTokenStatic } from 'axios'; import { RestAPIClass as API } from '../src/'; import { RestClient } from '../src/RestClient'; import { Signer, Credentials, DateUtils } from '@aws-amplify/core'; jest.mock('axios'); axios.CancelToken = <CancelTokenStatic>{ source: () => ({ token: null, cancel: null ...
import { Component } from '@angular/core'; import { StateService } from '../../../@core/data/state.service'; @Component({ selector: 'ngx-theme-settings', styleUrls: ['./theme-settings.component.scss'], template: ` `, }) export class ThemeSettingsComponent { layouts = []; sidebars = []; constructo...
import { useState, useRef, useEffect } from 'react' import { Color } from 'three' import { Canvas } from 'react-three-fiber' import dynamic from 'next/dynamic' import GUI from '../components/gui' import Fakeblob from '../components/fakeblob' const Stats = dynamic(() => import('../components/stats'), { ssr: false }) c...
import { equalsTo } from '@mockdog/core-matchers' import { fileContent } from '../fileContent' describe('fileContent', function () { it('should return false when file is null or undefined', function () { expect(fileContent(equalsTo('none'))(undefined)).toBeFalsy() }) it('should return false when file buffer...
import React from 'react'; import {StyleSheet, Text, View, TouchableOpacity, Image} from 'react-native'; import {AppNavigationProps} from '../../navigation/Routes'; import {responsiveScreenFontSize as rf} from 'react-native-responsive-dimensions'; import HeaderBar from '../../components/HeaderBar'; const AdminAdvisorM...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sr" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Pesacoin</source> <translation>О Pesacoin-у</translation> </mess...
export class CepConsulta { cep: string; logradouro: string; complemento: string; bairro: string; localidade: string; uf: string; }
/* eslint-disable @typescript-eslint/no-empty-interface */ /** A known unit of measure. */ export enum KnownUnitOfMeasure { /** No unit of measure. */ None = "None", /** The degrees celsius unit of measure. */ DegreesCelsius = "DegreesCelsius", /** The kilometers per hour unit of measure. */ KilometersPerH...
import { Injectable } from '@angular/core'; import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, UrlTree } from '@angular/router'; import { Observable } from 'rxjs'; @Injectable({ providedIn: 'root' }) export class SetupGsmNotCompletedGuard implements CanActivate { canActivate( next: ActivatedRou...
/** Type declaration for ambient System. */ declare const System: any; // Apply the CLI SystemJS configuration. System.config({ paths: { 'node:': 'node_modules/', }, map: { 'rxjs': 'node:rxjs', 'main': 'main.js', 'lodash': 'node:lodash/lodash.min.js', // Angular specific mappings. '@angu...
import type { ThemingGlobalState } from './types'; export const themeSelector = (state: ThemingGlobalState) => state.theming.currentTheme; export const themesSelector = (state: ThemingGlobalState) => state.theming.themes; export const globalStylesSelector = (state: ThemingGlobalState) => state.theming.globalSt...
import { IIterable, IIterator, IRetroable, IterableOrArrayLike } from '@lumino/algorithm'; /** * A generic B+ tree. * * #### Notes * Most operations have `O(log32 n)` or better complexity. */ export declare class BPlusTree<T> implements IIterable<T>, IRetroable<T> { /** * Construct a new B+ tree. * ...
import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule, { cors: true, }); await app.listen(4000); } bootstrap();
export { default as CompiledStyles } from './CompiledStyles.svelte';
import { Callout } from '@rocket.chat/fuselage'; import { usePermission, useTranslation } from '@rocket.chat/ui-contexts'; import React, { FC } from 'react'; import Page from '../../../components/Page'; import PageSkeleton from '../../../components/PageSkeleton'; import { AsyncStatePhase } from '../../../hooks/useAsyn...
import _pick from 'lodash/pick'; import { Loc } from './types'; export const stringifyLoc = (loc: Loc) => loc.join(','); export const parseLoc = (loc: string) => loc.split(',').map(Number) as Loc; /** * the tiny id generator */ export const randomId = () => (Date.now().toString(36) + Math.floor(Math.random() * 36 ...
/// <reference types="Cypress" /> describe("Recipes", () => { beforeEach(() => { cy.exec( 'docker exec recipe-server sqlite3 recipes.db "delete from recipes"' ); }); it("Can add a book recipe", () => { cy.addBookRecipe(); }); it("Can view a book recipe", () => { cy.addBookRecipe(); ...
/** * @license * Copyright 2013 Palantir Technologies, 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...
import once from '@tinkoff/utils/function/once'; import semver from 'semver'; // reference https://github.com/vercel/next.js/blob/canary/packages/next/server/config.ts#L736 export const shouldUseReactRoot = once(() => { // eslint-disable-next-line import/no-extraneous-dependencies const reactVersion = require('rea...
/** * @file PoutingFace 愤怒 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper('pouting-face', (props: ISvgIconProps) => ( '<?xml version="1.0" encoding="UTF-8"?>' + '<sv...
import { ToolBarActionComponent } from './toolbaraction.component'; import { ToolbarComponent } from './toolbar.component'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; import { IconLoaderService } from '../../../index'; import { CommonIconComponent } ...
import { getRepository } from "typeorm"; import { Team } from "../../models/Team"; import { ServiceError } from "../../util/ServiceError"; interface CreateTeamServiceDTO { name: string abbr: string description: string foundationAt?: Date } export async function CreateTeamService({ name, abbr, descriptio...
import React, { FunctionComponent, useContext } from 'react'; import { useHistory } from 'react-router-dom'; import { AuthContext } from '../../context/auth/AuthContext'; import { AuthActions } from '../../context/auth/AuthReducer'; import { AlertContext } from '../../context/alert/AlertContext'; import { AlertActions...
import {CustomColDefinition} from './custom-col-definition'; import {CustomCol} from './custom-col'; export interface CustomDataMap { id?: string; customColDefinition: CustomColDefinition; customCol: CustomCol; }
import { PositionType } from "../types/position/PositionType"; declare module "*/positions.json" { const value: PositionType; export default value; }
import { MovieContextProvider } from './context/ApiContext'; import { SideBar } from './components/SideBar'; import { Content } from './components/Content'; import './styles/global.scss'; export function App() { return ( <div style={{ display: 'flex', flexDirection: 'row' }}> <MovieContextProvider> ...
///<reference path="../../../headers/common.d.ts" /> import _ from 'lodash'; import flatten from '../../../core/utils/flatten'; import TimeSeries from '../../../core/time_series2'; import TableModel from '../../../core/table_model'; var transformers = {}; transformers['timeseries_to_rows'] = { description: 'Time s...
import IconButton from '@material-ui/core/IconButton'; import Snackbar from '@material-ui/core/Snackbar'; import SnackbarContent from '@material-ui/core/SnackbarContent'; import { makeStyles } from '@material-ui/core/styles'; import { SvgIconProps } from '@material-ui/core/SvgIcon'; import CheckCircleIcon from '@materi...
/// <reference path="../../js/jquery.d.ts" /> import baseExtension = require("./baseExtension"); import utils = require("../../utils"); import baseView = require("./baseView"); import genericDialogue = require("./genericDialogue"); export class Shell extends baseView.BaseView { static $element: JQuery; static ...
import { Stack, Box, Heading, Text, Button, Link } from "@chakra-ui/react"; import NLink from "next/link"; export default function Hero() { return ( <Stack as={Box} textAlign={"center"} spacing={{ base: 8, md: 14 }} py={{ base: 20, md: 36 }} > <Heading fontWeight={600} ...
export * from './console/ConsoleOutputLink'; export * from './InstanceActions'; export * from './InstanceDetails'; export * from './InstanceDetailsHeader'; export * from './InstanceDetailsPane'; export * from './InstanceInsights'; export * from './InstanceLinks'; export * from './console/ConsoleOutputLink';
import { Pipe, PipeTransform, SecurityContext, VERSION } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; @Pipe({ name: 'truncate' }) export class TruncatePipe implements PipeTransform { transform( value: string, limit = 25, completeWords = false, ellipsis = '...' ) { if (co...
import { Component, OnInit } from '@angular/core'; import { FaceRecognitionService } from '../services/face-recognition.service'; import { AbstractCameraService } from '../services/abstract-camera.service'; import { environment } from '../../environments/environment'; @Component({ selector: 'app-typography', templ...
import { h } from 'vue'; import IconWrapper from './IconWrapper'; import type {IconProps} from './IconWrapper'; import './style'; export default (props?: IconProps) => ( <IconWrapper {...props} > <svg width="200" height="200" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M906.667 96A2...
// Do not submit the search form unless the search query is at least 3 characters long document.querySelector('#search_bar').addEventListener('submit', (event: Event) => { event.preventDefault(); const form = event.currentTarget as HTMLFormElement; const input = form.querySelector('input[type="text"]') as HTMLIn...
import { defineComponent, ComponentPublicInstance, ref, computed, reactive, nextTick, watchEffect, inject } from 'vue'; import TPopup from '../popup/index'; import { usePrefixClass } from '../hooks/useConfig'; import { useSliderPopup } from './hooks/useSliderPopup'; import { sliderPropsInjectKey } from './util/contans...
import * as pako from "pako" import * as base64 from "base-64" import { PayloadDelegateABC } from "./PayloadDelegateABC" function btoa(data) { try { return window["btoa"](data) } catch (e) { return base64.encode(data) } } function atob(data) { try { return window["atob"](da...
import { Criterion, NamedCriteriaBag } from "../../criteria/public"; import { Instance } from "../../entity/blueprint/instance"; import { define } from "../../entity/blueprint/property"; import { Class } from "@entity-space/utils"; import { Expand, Expansion } from "../../expansion/public"; interface Brand { id: n...
import styled from 'styled-components/native'; import { getBottomSpace } from 'react-native-iphone-x-helper' import { Platform } from 'react-native' export const Container = styled.View` flex: 1; /* align-items: center; */ justify-content: center; padding: 0 20px ${Platform.OS === 'android' ? 0 : 40}px; `; ex...
import * as React from 'react'; import { Tooltip } from './index'; import { makeStyles } from '@fluentui/react-make-styles'; const useStyles = makeStyles({ exampleList: { display: 'flex', flexDirection: 'row', alignItems: 'flex-start', margin: '16px 0', gap: '16px', }, targetContainer: { ...
export const calendarAvails = [ // Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec [ 'empty', 'empty', 'empty', 'empty', 'empty', 'empty', 'empty', 'empty', 'empty', 'empty', 'empty', 'empty' ], // 2021 [ 'avail', 'avail', 'avail', 'avail', 'avail', 'empty', ...
import React from 'react'; import { usePrefixCls } from '@gio-design/components'; import classNames from 'classnames'; import { ToolBarProps } from './interfaces'; const ToolBar: React.FC<ToolBarProps> = (props) => { const { children, className, style = {}, float = 'left' } = props; const prefix = usePrefixCls('...
import React from 'react'; import styled from 'styled-components'; import color from '../styles/color'; import getVariantColor, { VariantType } from '../utils/getVariantColor'; import Text from '../components/Text'; import Link from '../components/Link'; import Grid from '../components/Grid'; import GridCell from '.....
/* tslint:disable */ /* eslint-disable */ /** * cirquick * Backend for Cirquick * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ /** * * @export * @inte...
// /src/image/filter_hdr/materialiconstwotone/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgFilterHdrTwotone = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"> <path d="M0 0h24v24H0V0z" fill="none"/> <path d="M5 16h3.04l-1.52-2.03...
/* Copyright 2021 Quirin Götz <codeworks@supercable.onl> 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 ...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-page-notfound', templateUrl: './page-notfound.component.html', styleUrls: ['./page-notfound.component.css'] }) export class PageNotfoundComponent implements OnInit { constructor() { } ngOnInit(): void { } }
import { password,prop, } from "@rxweb/reactive-form-validators" export class LoginInfo { @prop() newPassword: string; @prop() oldPassword: string; }
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import { float } from '../native/primitive'; import { AFGBuildableFactory } from './AFGBuildableFactory'; export interface AFGBuildableGenerator extends AFGBuildableFactory { /** * Amount of power this generator produces in MW. */ mPowerProduction: float; mPowerProductionExponent: float; /** * Curr...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as utilities from ".....
import './style.css' const app = document.querySelector<HTMLDivElement>('#app')! app.innerHTML = ` <h1>Hello Vite!</h1> <a href="https://vitejs.dev/guide/features.html" target="_blank">Documentation</a> `
import { RedisTimeSeriesFactory } from "../../factory/redisTimeSeries"; import { Label } from "../../entity/label"; import { redisOptions, startupOptions } from "../../__tests_config__/data"; const factory = new RedisTimeSeriesFactory(redisOptions, startupOptions); const rtsClient = factory.create(); const sensor1 = ...
/** * Hashes a value * @param value the value to hash * @param radix the base-n to hash into (default 16) */ export const hash = (value: string = '', radix: number = 16): string => { const string = String(value) let h = 0 string.split('').forEach((char: string) => { /* eslint-disable no-bitwise */ h =...
import { Component, OnInit, Input, Output } from '@angular/core'; import { routerTransition } from '../../router.animations'; import {BlueprismService} from '../../services/BlueprismService'; import { DataLoadService } from '../../services/DataLoadService'; import 'rxjs/add/operator/map'; import { BlueprismModel } from...
// note: this is a placeholder code export const addNumbers = (...numbers: number[]) => { return numbers.reduce((a, b) => a + b); };
import React, {useEffect} from 'react'; import {withRouter} from 'react-router-dom'; import {connect} from 'react-redux'; import TepidSidebar from '../components/TepidSidebar'; import PageHeader from '../components/PageHeader'; import DashboardPrinter from '../components/DashboardPrinter'; import {fetchDestinationsIf...
import { Controller, Get, Post, Body, Patch, Param, Delete, BadRequestException, HttpException, HttpStatus, UseFilters } from '@nestjs/common'; import { UsersService } from './users.service'; import { CreateUserDto } from './dto/create-user.dto'; import { UpdateUserDto } from './dto/update-user.dto'; import { HttpExcep...
import TestUtil from "./Utils"; import TeamService from "../components/Team/service"; describe("TeamService testing", () => { afterEach(() => {}); describe("Team can be deleted by Id", () => { it("should delete a team and returns the id", async () => { const res = await TeamService.addTeam( Test...
import { Structure as _Structure_ } from "@aws-sdk/types"; export const CancelBundleTaskInput: _Structure_ = { type: "structure", required: ["BundleId"], members: { BundleId: { shape: { type: "string" } }, DryRun: { shape: { type: "boolean" }, locationNam...
export * from './TableRow'; export * from './useTableRowStyles'; export * from './TableRow.types'; export * from './useTableRow';
import Ajv = require('ajv'); import { StrykerOptions, strykerCoreSchema } from '@stryker-mutator/api/core'; import { tokens, commonTokens } from '@stryker-mutator/api/plugin'; import { noopLogger, normalizeWhitespaces } from '@stryker-mutator/util'; import { Logger } from '@stryker-mutator/api/logging'; import { coreT...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import fs = require("fs-extra"); import yaml = require("js-yaml"); import request = require("request"); import path = require("path"); import {LoadOptions} from "js-yaml"; import {RecursiveNestingError} from "./errors/recursive-nesting.error"; function isUrl(s) { const regexp = /^(ftp|http|https):\/\/.*/i; ret...
import loginPage from '../../../Page objects/Login.page'; import backendConfigurationPropertiesPage, { PropertyCreateUpdate, } from '../../../Page objects/BackendConfiguration/BackendConfigurationProperties.page'; import { expect } from 'chai'; import { generateRandmString } from '../../../Helpers/helper-functions'; ...
/// <reference types="jest" /> import { SchematicTestRunner, UnitTestTree, } from '@angular-devkit/schematics/testing'; import { Schema as ApplicationOptions, Style, } from '@schematics/angular/application/schema'; import { Schema as WorkspaceOptions } from '@schematics/angular/workspace/schema'; import { CL...
import { LitElement, html, css } from 'lit'; import { property, state } from 'lit/decorators.js'; import { StoreBase } from '../store.js'; import '../elements/e-page.js'; import '../elements/e-button.js'; export class POrderColor extends StoreBase { render() { return html` <e-page> <h1 slot="header...
import React from 'react'; import { Form } from 'react-final-form'; import * as Yup from 'yup'; import 'date-fns'; import DateFnsUtils from '@date-io/date-fns'; import { MuiPickersUtilsProvider } from '@material-ui/pickers'; import { KeyboardDatePicker, makeValidate } from '../src'; import { customRender, fireEvent...
import { buildCssSelector } from './buildCssSelector'; import { getClickableAncestor, isVisible } from './element'; import { nodeToDoc, nodeToHtmlSelector } from './serialize'; import * as types from '../types'; type EventCallback = types.Callback<types.ElementEvent>; type ConstructorOptions = { attribute: string; ...
import { applyDecorators, UseFilters, UsePipes } from '@nestjs/common'; import { SubscribeMessage } from '@nestjs/websockets'; import { SocketClusterExceptionFilter } from '../exceptions/ws-exception-filter'; import { SocketValidationPipe } from '../pipes'; import { JoinPathInterceptor } from '../utils/JoinPathIntercep...
import { describe, it } from '@ephox/bedrock-client'; import { Cell } from '@ephox/katamari'; import { TinyAssertions, TinyHooks, TinySelections } from '@ephox/wrap-mcagar'; import Editor from 'tinymce/core/api/Editor'; import * as DeleteCommands from 'tinymce/core/delete/DeleteCommands'; describe('browser.tinymce.co...