text
stringlengths
10
953k
import { IDatabase } from 'pg-promise'; import UserVO from '../../../shared/modules/AccessPolicy/vos/UserVO'; import ModuleDAO from '../../../shared/modules/DAO/ModuleDAO'; import IGeneratorWorker from '../../IGeneratorWorker'; export default class Patch20210225AjoutDateCreationCompteUtilisateur implements IGenerator...
import { Vec2 } from '@app/core'; import { Constraint, DiagramItem } from '@app/wireframes/model'; import { AbstractContext, AbstractControl } from '@app/wireframes/shapes/utils/abstract-control'; import { CommonTheme } from './_theme'; const DEFAULT_APPEARANCE = {}; DEFAULT_APPEARANCE[DiagramItem.APPEARANCE_STROKE...
import { MediaConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConnectClient"; import { AddFlowSourcesRequest, AddFlowSourcesResponse } from "../models/models_0"; import { deserializeAws_restJson1AddFlowSourcesCommand, serializeAws_restJson1AddFlowSourcesCommand, } from "../protoco...
import React from "react"; import { inject, observer } from "mobx-react"; import UIState from "UIState"; import classnames from "classnames"; import { LocalTaxi } from "@material-ui/icons"; @inject('state') @observer export class FieldD extends React.Component<{ state?: UIState }, {}>{ render() { const { ...
import * as React from "react" import { reduxForm, Field } from "react-redux-form-lite" import { FormattedMessage } from "gatsby-plugin-intl" import Form from "../../components/form" import TemplateExamplePage from "../../string-examples/template-example-page" import cn from "classnames" const validateIsRequired = (va...
import { create, tsx } from '@dojo/framework/core/vdom'; import { icache } from '@dojo/framework/core/middleware/icache'; import Card from '@dojo/widgets/card'; import Button from '@dojo/widgets/button'; import Example from '../../Example'; const factory = create({ icache }); export default factory(function ActionBut...
/** * @license * Copyright 2021 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...
// generated from terraform resource schema import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; /** * AWS SageMaker */ export interface SagemakerStudioLifecycleConfigConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/a...
import sofarYear from '../../src/time/sofarYear' import * as dayjs from 'dayjs' describe('sofarYear test', () => { test('今年至今的起止日期', () => { const arr = [dayjs().startOf('year'), dayjs()].map(v => v.format('YYYY-MM-DD')) expect(sofarYear()).toEqual(arr) }) })
import { NgModule } from "@angular/core"; import { Routes } from "@angular/router"; import { NativeScriptRouterModule } from "nativescript-angular/router"; import { ResultsComponent } from "./results.component"; import { ResultDetailComponent } from "./result-detail/result-detail.component"; const routes: Routes = [ ...
export { default } from './ScheduleModal';
const mockNow = 86400000 * 2 const mockId = 'test' const mockDays = 1 const mockGetScan = jest.fn() const mockGetTrades = jest.fn() const mockGetTradeCursor = jest.fn() const mockExchangeProvider: any = { getScan: mockGetScan, getTrades: mockGetTrades, getTradeCursor: mockGetTradeCursor, } jest.mock('../exchan...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ToasterModule} from 'angular2-toaster'; import { NotificationComponent } from './notification.component'; @NgModule({ imports: [ CommonModule, ToasterModule ], declarations: [ NotificationComponent ], exp...
namespace MultiTenancy.BasicSamples { export interface FilteredLookupInDetailForm { CustomerID: Northwind.CustomerEditor; OrderDate: Serenity.DateEditor; CategoryID: Serenity.LookupEditor; DetailList: FilteredLookupDetailEditor; } export class FilteredLookupInDetailForm ext...
import { APIBaseError, BadRequestError, ErrorUtils as BaseErrorUtils, isAPIError } from '@0x/api-utils'; import * as HttpStatus from 'http-status-codes'; import { APIErrorCodes, apiErrorCodesToReasons } from '../errors'; class ErrorUtils extends BaseErrorUtils { public generateError(err: Error): any { // ...
import Button from "antd/lib/button"; import Form, { WrappedFormUtils } from "antd/lib/form/Form"; import Col from "antd/lib/grid/col"; import Row from "antd/lib/grid/row"; import Input from "antd/lib/input"; import notification from "antd/lib/notification"; import Select from "antd/lib/select"; import BigNumber from "...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
import { EventData } from "data/observable"; import { topmost } from "ui/frame"; import { StackLayout } from "ui/layouts/stack-layout"; import { ItemEventData } from "ui/list-view"; import { MyDrawerViewModel } from "./MyDrawer-view-model"; /* *********************************************************** * Use the "loa...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { DisplayControllerComponent } from './display-controller.component'; describe('DisplayControllerComponent', () => { let component: DisplayControllerComponent; let fixture: ComponentFixture<DisplayControllerComponent>; beforeEach(...
export declare const soccer: string[];
export { SocketIOModule } from './socketio.module'; export { SocketIOModel, METHOD } from './socketio.model'; export { SocketIOQuery } from './socketio.query'; export { SocketIOResponse } from './socketio.response'; export { SocketIOAuthenticate } from './socketio.authenticate'; export { SocketIOConfig } from './socket...
import * as ec2 from '@aws-cdk/aws-ec2'; import * as iam from '@aws-cdk/aws-iam'; import { IResource, Lazy, Names, Resource } from '@aws-cdk/core'; import { Construct } from 'constructs'; import { ContainerDefinition, ContainerDefinitionOptions, PortMapping, Protocol } from '../container-definition'; import { CfnTaskDe...
import { bootstrap } from '@angular/platform-browser-dynamic'; import { provideForms, disableDeprecatedForms } from '@angular/forms'; import { HTTP_PROVIDERS } from '@angular/http'; import { RedditService } from './reddit.service'; import { AppComponent } from './app.component'; bootstrap(AppComponent, [disableDepr...
import { loadCultureFiles } from '../common/culture-loader'; import { TreeView } from '@syncfusion/ej2-navigations'; import * as dataSource from './dataSource.json'; /** * TreeView template sample */ (window as any).default = (): void => { loadCultureFiles(); // Render the TreeView using template option ...
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver"; import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types"; const regionHash: RegionHash = { "ap-northeast-1": { variants: [ { hostname: "compute-optimizer.ap-northeast-1.amazonaws.com", ...
import * as nodemailer from 'nodemailer'; import Mail = require('nodemailer/lib/mailer'); import { emailTemplate } from './invitation_email'; export class EmailService { transporter: Mail; adminEmail: string | undefined; from = 'Identity Kit POC <no-reply@gov.bc.ca>'; constructor(opts: { host: string; ...
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { BehaviorSubject, forkJoin, from, Observable, of, ReplaySubject, Subject, Subscription } from 'rxjs'; import { MarketStackService, MarketStackStock } from './market-stack.service'; import { concatMap, map, mergeMap, s...
import React from 'react'; import { Icon, IconProps } from '@chakra-ui/icon'; export const CheckmarkDoneIcon = (props: IconProps) => ( <Icon viewBox="0 0 512 512" fill="currentcolor" stroke="currentcolor" {...props} > <path fill="none" stroke="currentColor" strokeLinecap="roun...
import { Grid, Row, Col, Image, Button } from '@freecodecamp/react-bootstrap'; import { isEmpty } from 'lodash-es'; import React, { useEffect, useState } from 'react'; import { Trans, useTranslation } from 'react-i18next'; import { connect } from 'react-redux'; import { bindActionCreators, Dispatch } from 'redux'; impo...
import { invariant } from '@react-dnd/invariant' import { Action, DragDropManager, XYCoord, BeginDragPayload, BeginDragOptions, DragDropMonitor, HandlerRegistry, } from '../../interfaces' import { setClientOffset } from './local/setClientOffset' import { isObject } from '../../utils/js_utils' import { BEGIN_DRA...
/* * Public API Surface of ngx-lib/quantity-selector */ export * from './quantity-selector.module'; export * from './quantity-selector.component';
/** * @license * Copyright 2017 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 { Component, OnInit } from '@angular/core'; import { Movie } from './movie'; import { MovieService } from './movie.service'; @Component({ selector: 'mh-movie-list', templateUrl: './movie-list.component.html', styleUrls: ['./movie-list.component.css'] }) export class MovieListComponent implements OnInit {...
import * as React from 'react'; import { Carousel } from "antd"; import { ICarousel } from "../../interfaces/ICarousel"; import { connect } from 'react-redux'; import "antd/lib/carousel/style/index.less"; import './Carousel.less'; import { bindActionCreators, Dispatch } from "redux"; import { actions } from "../../uti...
export * from './sidebar-container/sidebar-container.component';
import * as _ from 'lodash'; import * as path from 'path'; import * as fs from 'fs'; import * as process from 'process'; // reuse http connections to aws to improve perf. Set it here before import of aws. process.env.AWS_NODEJS_CONNECTION_REUSE_ENABLED = '1'; const awsUserDir = process.env.HOME ? path.join(process.en...
import { createConnection } from "typeorm"; createConnection();
export function sequences(pendings: Array<(...args: any[]) => Promise<any>>, errors: boolean = true): Promise<any> { return new Promise((resolveSequence, rejectSequence) => { function next(output: any) { // Get first promise creator const promise: Promise<any> = pendings[0](output); ...
/* * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requi...
import { Channel } from './channel.interface'; class SubscriptionReceipt { readonly id = 0; readonly channel: Channel | null = null; /** * Sets read-only properties id and channel * * @param {number} id The subscription Id * @param {Channel} channel Channel class that issued the subscription receip...
import { Device, Twin } from "azure-iothub"; import * as IoTHub from "../infra/iotHub"; export class DeviceTwinRepository { async findById(deviceId: string): Promise<Twin> { const response = await IoTHub.deviceRegistry.getTwin(deviceId); return response.responseBody; } async update(twin: Twin, patch: an...
import { WeElement, h, tag } from 'omi' import { tw, sheet } from 'omi-twind' import '@omiu/button' import '@omiu/icon/ac-unit-outlined' import '@omiu/icon/accessible-rounded' import '@omiu/icon/add-ic-call-rounded' import '../docs/admin-docs' import './code-demo' import './code-demo/container' interface Props { } co...
import { PocActivationState } from '../enums/poc-activation-state.enum'; import { PocStatus } from '../enums/poc-status.enum'; import { IAddress } from './address.interface'; import { IPerson } from './person.interface'; import { IPocAddons } from './poc-addons.interface'; export interface IPoc { id: string; a...
import { NgModule, ModuleWithProviders } from '@angular/core' import { WidgetComponent } from './widget.component' import { FlexLayoutModule } from '@angular/flex-layout' import { HttpClientModule } from '@angular/common/http' import { MatButtonModule } from '@angular/material/button' import { MatCardModule } from '@an...
// 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`. export const environment = { production: false, firebaseConfig: { apiKey: "AIzaSyAgzkR1310...
import * as React from "react"; import { getHelloWorld } from "./api"; const { useState, useEffect } = React; const App: React.FunctionComponent = () => { const [serverMessage, setServerMessage] = useState<string>( "Calling backend..." ); useEffect(() => { getHelloWorld().then(json => setServerMessage(...
export default class Memory { public map = new Map<any, any>(); public get(key: any) { return this.map.get(key); } public set(key: any, value: any) { return this.map.set(key, value); } public clear() { this.map.clear(); } }
/* * 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 { EuiButtonIconProps } from '@elastic/eui'; import { cloneDeep, omit }...
import React from 'react' import { observer } from 'mobx-react' import moment from 'moment' import { Tag } from 'antd' import styles from './index.module.scss' interface IProps { message: ISocketStore.Message style: React.CSSProperties } function Message({ message, style }: IProps) { const time = moment(...
import { Component, View } from 'angular2/core'; import { ROUTER_DIRECTIVES } from 'angular2/router'; @Component({ selector: 'Action', }) @View({ directives: [ROUTER_DIRECTIVES], templateUrl: 'components/action' }) export class Action { }
import cn from "classnames"; import React, { PropsWithChildren } from "react"; import { styled } from "twin.macro"; import { Size } from "types"; import { Toggle } from "../Toggle"; import { getSwitchTextStyles, SwitchTextType } from "./SwitchText.style"; const SwitchText = styled.span<PropsWithChildren<SwitchTextTyp...
import { createInflate } from 'zlib' import connectBusboy from 'connect-busboy' import express from 'express' import { SegmentFile, SerssionReplayCall } from '../../types/serverEvents' import { EventRegistry } from '../eventsRegistry' export function createIntakeServerApp(events: EventRegistry) { const app = expres...
// Type definitions for event-stream v3.3.2 // Project: https://github.com/dominictarr/event-stream // Definitions by: David Gardiner <https://github.com/flcdrg> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// <reference types="node" /> import * as stream from 'stream'; interface MapStream ext...
import { CancelExecutor, CancelTokenSource, Canceler } from "../types" import Cancel from "./Cancel" interface ResolvePromise { (reason?: Cancel): void } export default class CancelToken { promise: Promise<Cancel> reason?: Cancel constructor(executor: CancelExecutor) { let resolvePromise: ResolvePromise ...
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { CreateUserDto } from './dto/create-user.dto'; import { UpdateUserDto } from './dto/update-user.dto'; import { Repository } from 'typeorm'; import { UserEntity } from './entities/user.entity'; @Injectable() export ...
import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; import { map, catchError } from 'rxjs/operators'; import { throwError } from 'rxjs'; import { environment } from '../../../environments/environment' @Injectable({ providedIn: 'root' }) export class AuthLogService { globalUser: String...
declare namespace java { namespace lang { namespace invoke { class MutableCallSite extends java.lang.invoke.CallSite { public constructor(arg0: java.lang.invoke.MethodType) public constructor(arg0: java.lang.invoke.MethodHandle) public getTarget(): java.lang.invoke.MethodHandle ...
import { BigNumber, createBigNumber } from 'utils/create-big-number'; import { BUY, INVALID_OUTCOME_ID, MODAL_ERROR, PUBLICTRADE, ZEROX_STATUSES, BUY_INDEX, SELL, } from 'modules/common/constants'; import { AppState } from 'appStore'; import { ThunkDispatch } from 'redux-thunk'; import { Action } from 're...
import { Injectable, UnauthorizedException } from "@nestjs/common"; import { PassportStrategy } from "@nestjs/passport"; import { InjectRepository } from "@nestjs/typeorm"; import {Strategy,ExtractJwt} from "passport-jwt"; import { JWTPayload } from "./jwt-payload.interface"; import { User } from "./user.entity"; impor...
import { UpdateUserDto } from "./update-user.dto"; export class UpdateUserWithAvatarDto extends UpdateUserDto { avatar: string; avatarType: string; }
<%# Copyright 2013-2017 the original author or authors from the JBooter project. This file is part of the JBooter project, see https://jbooter.github.io/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may...
import { ResolveMap } from "../../../types/graphql-utils"; import { removeAllUsersSessions } from "../../../utils/removeAllUsersSessions"; export const resolvers: ResolveMap = { Mutation: { logout: async (_, __, { session, redis }) => { const { userId } = session; if (userId) { removeAllUsersSessions(user...
import { concurrent, delay, drop, filter, map, pipe, toArray, toAsync, } from "../../src/index"; import { Concurrent } from "../../src/Lazy/concurrent"; import { callFuncAfterTime, generatorMock } from "../utils"; describe("drop", function () { describe("sync", function () { it("should be discar...
import { Request, Response } from 'express'; import { badRequest, internalServerError, notFound, ok } from '../services/util'; import { productModel, Product } from '../models/product'; const getProduct = (req: Request, res: Response): any => { const id = parseInt(req.params.id); { if (!id) ...
import { Component, OnInit, ViewContainerRef } from '@angular/core'; import { ToastsManager } from 'ng2-toastr/ng2-toastr'; import { CategoriaMigratoria } from '../../entidades/CRUD/CategoriaMigratoria'; import { CategoriaMigratoriaService } from './categoriamigratoria.service'; import 'rxjs/add/operator/toPromise'; i...
import styled, { css } from 'styled-components'; interface ContainerProps { type?: 'success' | 'error' | 'info'; hasDescription: boolean; } const toastTypeVariations = { info: css` background: #ebf8ff; color: #3172b7; `, success: css` background: #e6fffa; color: #2e656a; `, error: css` ...
import { StartConnectionOptions } from './SkillConnections'; export { SkillConnections } from './SkillConnections'; declare module 'jovo-platform-alexa/dist/src/core/AlexaSkill' { interface AlexaSkill { startConnection(options: StartConnectionOptions): AlexaSkill; } } export interface StartConnectionDirective...
export default { testPathIgnorePatterns: ['/node_modules/', '/tests/fixtures/'], transformIgnorePatterns: ['/node_modules/', '/tests/fixtures/'], modulePathIgnorePatterns: ['/node_modules/', '/tests/fixtures/'], };
import Bleet from "../../interfaces/Bleet"; import { GET_BLEETS, SET_LOADING_BLEETS, GET_BLEET_BY_ID, CREATE_BLEET } from "../types"; const initState = { bleets: [], bleet: {}, loading: true, error: null, }; type Actions = | { type: typeof GET_BLEETS; bleets: Bleet[]; } | { type: typ...
import React, { FC, memo, ReactNode } from 'react'; import { BareProps } from '@acala-dapp/ui-components/types'; import { Copy } from '@acala-dapp/ui-components'; import Identicon from '@polkadot/react-identicon'; import classes from './format.module.scss'; interface Props extends BareProps { address: string; wi...
import { DemoTypeaheadStaticComponent } from './demos/static/static'; import { DemoTypeaheadItemTemplateComponent } from './demos/item-template/item-template'; import { DemoTypeaheadFieldComponent } from './demos/field/field'; import { DemoTypeaheadAsyncComponent } from './demos/async/async'; import { DemoTypeaheadForm...
//----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //------------------------------------------------------------------------ export interface HireMetadata { candidates?: Applicant[]; jobs?: Job[]; candidatesAp...
/** * @license Angular v9.0.4 * (c) 2010-2020 Google LLC. https://angular.io/ * License: MIT */ import { ChangeDetectorRef } from '@angular/core'; import { DoCheck } from '@angular/core'; import { ElementRef } from '@angular/core'; import { InjectionToken } from '@angular/core'; import { Injector } from '@angular/...
import * as utils from './util'; import * as service from './service'; import * as models from 'powerbi-models'; import * as hpm from 'http-post-message'; declare global { interface Document { // Mozilla Fullscreen mozCancelFullScreen: Function; // Ms Fullscreen msExitFullscreen: Function; } in...
import { mediaquery } from '@styles/media'; import { ITAOAThemeUIContext } from '@types'; import styled from '@emotion/styled'; import * as CSS from 'csstype'; import React from 'react'; const StyledTable = styled.table((p: ITAOAThemeUIContext) => ({ position: 'relative', lineHeight: 1.65, color: p.theme.colors...
/// <reference types="qs" /> import { Request, Response, NextFunction } from 'express'; export declare const validateRequest: (req: Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs>, res: Response<any>, next: NextFunction) => void;
import { IPromise } from 'angular'; import { $q } from 'ngimport'; import { API } from 'core/api/ApiService'; import { IBuild, IJobConfig, IGcbTrigger } from 'core/domain'; export enum BuildServiceType { Jenkins = 'jenkins', Travis = 'travis', Wercker = 'wercker', Concourse = 'concourse', } export class Igor...
import { VNode, VNodeChild, isVNode } from './vnode' import { ReactiveEffect, shallowReadonly } from '@vue/reactivity' import { PublicInstanceProxyHandlers, ComponentPublicInstance, runtimeCompiledRenderProxyHandlers } from './componentProxy' import { ComponentPropsOptions, resolveProps } from './componentProps' ...
import { Datasource } from './dataSource'; export class Selection { private selectedRows: number; private selection: Set<number | string>; private lastRowSelected: number; private lastKeyKodeUsed: string; private dataSource: Datasource; constructor(dataSource: Datasource) { this.dataSo...
export * from './deliveryRequestDetails.component';
import * as t from 'io-ts'; import {RTTI_Extension, IExtension} from './RTTI_Extension'; import {RTTI_CodeableConcept, ICodeableConcept} from './RTTI_CodeableConcept'; import {RTTI_Element, IElement} from './RTTI_Element'; import {RTTI_Expression, IExpression} from './RTTI_Expression'; export interface IMeasure_Popula...
/** * @license * Copyright Google LLC 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 */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { filter, map, toArray } from 'rxjs/operators'; import...
export * from './add-account-owner.dto'; export * from './batch-gateway-transaction-request.dto'; export * from './call-current-project.dto'; export * from './cancel-gateway-batch.dto'; export * from './claim-ens-node.dto'; export * from './commit-p2p-payment-channel.dto'; export * from './compute-contract-account.dto'...
<TS language="ca" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Feu clic dret per a editar l'adreça o l'etiqueta</translation> </message> <message> <source>Create a new address</source> <...
import {Command, flags} from '@oclif/command' import fs from 'fs' import {SonarQubeResults as Mapper} from '@mitre/hdf-converters' import {checkSuffix} from '../../utils/global' export default class SonarQubeMapper extends Command { static usage = 'convert:sonarqube2hdf -n <sonar_project_key> -u <http://your.sonar.i...
/** * Function that prints any message. */ export type PrintFunction = (message?: any, ...optionalParams: any[]) => void; /** Creates a function that calls any printing function with a given prefix. */ export const create = (prefix: string, print: PrintFunction): PrintFunction => ( message, optionalParams ) => {...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { ReactiveFormsModule } from '@angular/forms'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { BrowserAnimationsModule } from '@angular/platform-...
import React from 'react' import { Link } from 'gatsby' import { CallToAction } from '../../CallToAction' import featuresImg from '../images/safe-features.png' import userBehaviorImg from '../images/user-behavior.png' import funnelsImg from '../images/funnels.png' import { LandingPageCallToAction } from '../LandingPage...
import { MigrationInterface, QueryRunner, Table } from "typeorm"; export class CreateSpecifications1616728974956 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.createTable( new Table({ name: "specifications", columns: [ ...
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import styled from 'styled-components'; import { appBorderStyle, appColors, containerPadding, deviceSizes, } from '../../../global/styles'; import { mainContainerWidths } from '../index.styles'; export const S_Container = styled.div` padding:...
import { IQuizFull, IReportFilter, IResult } from '../types'; import { applyNumberOperator } from './applyNumberOperator'; export function applyReportFilters( allQuizzesMap: Map<string, IQuizFull>, results: IResult[], reportFilter: Omit<IReportFilter, 'excluded_columns'> ) { const { excluded_types, exc...
import { describe, it, expect } from 'vitest'; import { mount } from '@vue/test-utils'; import HelloWorld from '../HelloWorld.vue'; describe('HelloWorld', () => { it('renders properly', () => { const wrapper = mount(HelloWorld, { props: { msg: 'Hello Vitest' } }); expect(wrapper.text()).toContain('Hello Vit...
/* Copyright 2015, 2016 OpenMarket Ltd Copyright 2019 New Vector Ltd Copyright 2020 The Matrix.org Foundation C.I.C. 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/licens...
// TypeScript Version: 2.1 import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaStackOverflow extends React.Component<IconBaseProps, any> { }
import React, { memo } from 'react'; import { Flex, Box, Grid } from '@stacks/ui'; import { NextPage, NextPageContext } from 'next'; import { Title } from '@components/typography'; import { BlocksList } from '@components/blocks-list'; import { Meta } from '@components/meta-head'; import { SearchComponent } from '@compo...
import path from 'path' import { hookLogger } from '@pnpm/core-loggers' import logger from '@pnpm/logger' import pathAbsolute from 'path-absolute' import type { Lockfile } from '@pnpm/lockfile-types' import type { Log } from '@pnpm/core-loggers' import requirePnpmfile from './requirePnpmfile' interface HookContext { ...
/** * * @export * @interface TransactionHash */ export interface TransactionHash { /** * TX hash of successful transaction. * @type {string} * @memberof TransactionHash */ txId: string; }
import * as React from "react"; declare const ClrAvatarSolidBadged: React.SFC; export default ClrAvatarSolidBadged;
export default function assert(test: boolean): void | never { if (!test) { throw new TypeError('Assertion failed'); } }
import styled from 'styled-components'; import { AnimatedLogoProps } from './AnimatedLogo.types'; export const AnimatedLogoWrapper = styled.div<AnimatedLogoProps>` cursor: pointer; margin: ${({ margin }) => margin}; `;