text
stringlengths
10
953k
import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'; import { Document } from 'mongoose'; export type UserDocument = Notification & Document; @Schema() export class Notification { @Prop() message : string; @Prop() sender : string; } export const NotificationSchema = SchemaFactory.createF...
import { NodeMaterialBlock } from '../nodeMaterialBlock'; import { NodeMaterialBlockConnectionPointTypes } from '../Enums/nodeMaterialBlockConnectionPointTypes'; import { NodeMaterialBuildState } from '../nodeMaterialBuildState'; import { NodeMaterialConnectionPoint } from '../nodeMaterialBlockConnectionPoint'; import ...
import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { SkyDefinitionListModule } from '../definition-list.module'; import { SkyDefinitionListTestComponent } from './definition-list.component.fixture'; @NgModule({ declarations: [SkyDefinitionListTestComponent], imports:...
export * from "./HttpError.ts"; export * from "./InternalServerError.ts"; export * from "./BadRequestError.ts"; export * from "./ForbiddenError.ts"; export * from "./NotAcceptableError.ts"; export * from "./MethodNotAllowedError.ts"; export * from "./NotFoundError.ts"; export * from "./UnauthorizedError.ts";
/* * 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...
// @ts-nocheck const globalData = {} export const getter = (fieldName) => { const result = globalData[fieldName] return result ? { ...result } : null } export const setter = ({ key, type, value, callback }) => { if (type === 0) { globalData[key] = value } else if (type === 1) { globalData[key] = { ...
/*! * Copyright 2011-2021 Unlok * https://www.unlok.ca * * Credits & Thanks: * https://www.unlok.ca/credits-thanks/ * * Wayward is a copyrighted and licensed work. Modification and/or distribution of any source files is prohibited. If you wish to modify the game in any way, please refer to the modding guide: * ...
/*- * #%L * Baleen 3 * %% * Copyright (C) 2020 Dstl * %% * 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 a...
import { Component, Input } from '@angular/core'; import { IReleaseDate } from '../../../../fredapi/releases/releaseDates.interfaces'; @Component({ selector: 'releaseDatesGridDetail', templateUrl: './releaseDatesGridDetail.component.html' }) export class ReleaseDatesGridDetailComponent { @Input() releaseDate: I...
import { ProjectId } from '@src-shared/Interfaces'; import { ControllerId, SafetyInformationSystemId } from './Interfaces'; export class SafetyInformationSystemControllerLink implements ProjectId, ControllerId, SafetyInformationSystemId { projectId: string = ''; controllerId: number = -1; safetyInformationSystem...
import { useState } from 'react'; import { Button } from './Button'; interface GenreResponseProps { id: number; name: 'action' | 'comedy' | 'documentary' | 'drama' | 'horror' | 'family'; title: string; } interface SideBarProps { genres: Array<GenreResponseProps>, selectedGenreId: number, handleClickButton:...
/** * Do a constant time string comparison. Always compare the complete strings * against each other to get a constant time. This method does not short-cut * if the two string's length differs. * * Implementation from https://github.com/Bruce17/safe-compare (MIT License) * * @param {string} a * @param {string} ...
import { platform } from './utils/shims'; import { Contract, Interface } from './contracts'; import * as providers from './providers'; import * as utils from './utils'; import { HDNode, SigningKey, Wallet } from './wallet'; import * as wordlists from './wordlists'; import * as types from './utils/types'; import * as er...
export * from './src/sentry-error-handler' export * from './src/sentry-http-pipeline.module' export * from './src/sentry-http-pipeline-scope-preparer' export * from './src/sentry-on-before-invoke-handler'
import { join } from 'path'; export const ANDROID_APP_PATH = join(process.cwd(), 'src', 'mobile', 'src', 'app', 'android', 'ApiDemos-debug.apk') export const MOCHA_OUTPUT_DIR = join(process.cwd(), 'reports', 'appium');
export { default as Game } from "./Game"; export { default as T0FE } from "./T0FE";
/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { assert } from "@fluidframework/common-utils"; import { IFluidSerializer } from "@fluidframework/core-interfaces"; import { FileMode, ISequencedDocumentMessage, ITree, TreeEn...
import { EntityConfig } from './entity-config'; export class BinarySensorConfig extends EntityConfig { payloadOn = 'true'; payloadOff = 'false'; deviceClass?: BinarySensorDeviceClass; constructor(id: string, name: string) { super('binary_sensor', id, name); } } export enum BinarySensorDeviceClass { B...
import { Css as CommonCss, InlineCss as CommonInlineCss, } from '../../common/styles/index.type' export interface Css extends CommonCss { inline: CommonInlineCss; }
import { DocumentNode } from 'graphql'; import { parser, DocumentType } from '@apollo/react-common'; import { withQuery } from './query-hoc'; import { withMutation } from './mutation-hoc'; import { withSubscription } from './subscription-hoc'; import { OperationOption, DataProps, MutateProps } from './types'; export ...
import { Routes } from '@angular/router'; import { HomeComponent } from '../../home/home.component'; import { UserComponent } from '../../user/user.component'; import { TablesComponent } from '../../tables/tables.component'; import { IconsComponent } from '../../icons/icons.component'; import { MapsComponent } from '....
import React from "react"; import Document, { DocumentContext, DocumentInitialProps, Html, Main, NextScript, Head, } from "next/document"; import { ServerStyleSheet } from "styled-components"; export default class MyDocument extends Document { static async getInitialProps( ctx: DocumentContext ): P...
import { Test, TestingModule } from '@nestjs/testing'; import { getRepositoryToken } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { State } from '@tamu-gisc/covid/common/entities'; import { StatesService } from './states.service'; describe('StatesService', () => { let statesService: States...
import React from 'react'; import ReactDOMServer from 'react-dom/server'; import MediaControlsRoot from '../MediaControlsRoot'; describe('MediaControlsRoot', () => { const getInstance = (options = {}): MediaControlsRoot => new MediaControlsRoot({ containerEl: document.createElement('div'), ...options }); ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="da" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Uwezocoin</source> <translation>Om Uwezocoin</translation> </mes...
// Code - https://github.com/jiggzson/nerdamer/blob/master/nerdamer.core.js declare namespace nerdamer { interface Expression { // Returns all variables in the given Expression. variables: () => string[]; // Returns the text representation of the Expression. text: (outputType?: 'decimals' | 'fractio...
import { BaseError, LOG_LEVEL } from './base'; /** * Failure一般为服务器可预知,可以不处理,不处理会停止请求并返回具体的请求错误原因,会视情况log。 */ export class RevealableError extends BaseError { code = 1; name = 'RevealableError'; logLevel = LOG_LEVEL.VERBOSE; }
import seedrandom from 'seedrandom'; import { getPath, Vec2 } from './svgHelper'; const emptyColor = '#98aed2'; const defaultBackdropColor = '#0033A8'; const defaultColorLib = [ '#98aed2', '#7191ce', '#5974c6', '#2f50c2', '#1a97cd', '#d65564', '#dab2b5', ]; const getCubePaths = (startPoint: Vec2, s: nu...
import { getMenu } from './menu.api'; describe('getMenu', () => { it('should group by section', () => { const menu = getMenu('preview', 'react'); expect(menu).toEqual({ version: 'preview', flavor: 'react', sections: expect.arrayContaining([ expect.objectContaining({ id: 'basic', it...
import { Vector, IVector } from "./Vector"; export interface ICircle { radius: number; pos: IVector; } export class Circle { public radius: number; public pos: IVector; constructor(radius: number, pos: IVector = new Vector(0, 0)) { this.radius = radius; this.pos = pos; } ...
import React, { memo, useMemo } from 'react'; import { DateTime } from 'luxon'; import { IManagedArtifactVersion } from '../domain'; import { Markdown, IconNames } from '../presentation'; import { getArtifactVersionDisplayName } from './displayNames'; import { StatusCard, IStatusCardProps } from './StatusCard'; impor...
import test from '@playwright/test' import merge from 'merge-deep' import { createHtmlReport } from 'axe-reporter-html' import type { Result, RunOptions } from 'axe-core' import type { MatcherState, SyncExpectationResult } from 'expect/build/types' import { attach } from '../../utils/attachments' import { injectAxe, ru...
import { Director } from "./Director"; import { CarBuilder } from "./CarBuilder"; import { Car } from "./Car"; import { Engine } from "./Engine"; import { ManualBuilder } from "./ManualBuilder"; import { Manual } from "./Manual"; describe("builder", () => { it("should build a car", () => { const carBuilder = new...
// This icon file is generated by build/generate.ts // tslint:disable import { IconDefinition } from '../types'; export const FolderAddFill: IconDefinition = { name: 'folder-add', theme: 'fill', icon: '<svg viewBox="64 64 896 896"><path d="M880 298.4H521L403.7 186.2a8.15 8.15 0 0 0-5.5-2.2H144c-17.7 0-32 1...
import React, { useCallback, useState } from 'react'; import { Form, Col, Row, Button, InputGroup, Table as RBTable, } from 'react-bootstrap'; import { BillAmountInfo, OriginalBillInfo, AggregateItemInfo, } from '../../shared'; import AlertView from '../utils/AlertView'; import './BillHistory.global...
<TS language="lv" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Izveidot jaunu adresi</translation> </message> <message> <source>&amp;New</source> <translation>&amp;Jauns</translation> </message> ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { nbformat } from '@jupyterlab/coreutils'; import * as monacoEditor from 'monaco-editor/esm/vs/editor/editor.api'; import * as path from 'path'; import { IDataScienceSettings } from '../../client/common...
import { Content } from "./ncx-content"; import { NavLabel } from "./ncx-navlabel"; export declare class NavPoint { Points: NavPoint[]; NavLabel: NavLabel; Content: Content; PlayerOrder: number; ID: string; }
import { createStyles, makeStyles, Theme } from "@material-ui/core/styles"; export const graplHeaderStyles = makeStyles((theme: Theme) => createStyles({ root: { display: "flex", }, header: { justifyContent: "space-between", }, titleIcon: { ...
import ASTVarDec from "../../ast/statements/ASTVarDec"; import Type from "../../symbols/Type"; import SemanticError from "./SemanticError"; export default class TypeAsignationError extends SemanticError { constructor(varDec: ASTVarDec, decType: Type, infType: Type) { super(varDec, `Type "${decType.name}" i...
import {log, BigInt} from "@graphprotocol/graph-ts/index"; import { ContributionIncreased, GenesisPurchased, DigitalaxGenesisNFTContractDeployed, DigitalaxGenesisNFT as DigitalaxGenesisNFTContract } from "../generated/DigitalaxGenesisNFT/DigitalaxGenesisNFT"; import { GenesisContributor, Digit...
import findUp from 'next/dist/compiled/find-up' import { dirname } from 'path' export function printAndExit(message: string, code = 1) { if (code === 0) { console.log(message) } else { console.error(message) } process.exit(code) } export function getNodeOptionsWithoutInspect() { const NODE_INSPECT_...
<TS language="mk" 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> <tra...
import { PropType, Transition, defineComponent } from 'vue'; import { getContentHeight } from '../../utils'; import styles from './transition-collapse.module.less'; /** * 折叠/展开过渡,避免具有百分比高度的元素 */ export const TransitionCollapse = defineComponent({ name: 'transition-collapse', props: { appear: { type: ...
import BaseResource from './baseResource'; import Action from './action'; import Board, { BoardField } from './board'; import Card, { CardField, CardFilter } from './card'; import { ArgumentGroup, PositionNumbered } from '../types'; export type ListField = 'closed' | 'idBoard' | 'name' | 'pos' | 'subscribed'; export ...
/** * @module botbuilder */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ /** * Defines the level of severity for the event. */ export declare enum Severity { Verbose = 0, Information = 1, Warning = 2, Error = 3, Critical = 4 } /** * Key...
/*! * @license * Copyright 2016 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
import { is } from "./is.js"; import { extend } from "./util/extend.js"; import { global } from "./global.js"; import { activateCamera } from "./activateCamera.js"; import { patch } from "./patch/patch.js"; import { load } from "./load.js"; import { loadingScreen } from "./util/loadingScreen.js"; let isReady = false...
import React from "react"; import "@testing-library/jest-dom"; import { render } from "@testing-library/react"; import { withHelpersModifiers } from "../src"; const Block: React.FC<unknown> = ({ children, ...props }) => ( <div {...props}>{children}</div> ); const WithHelper = withHelpersModifiers(Block); describe("...
import { expose } from '@chainlink/ea-bootstrap' import { makeExecute } from './adapter' import { makeConfig } from './config' export = { makeExecute, makeConfig, ...expose(makeExecute()) }
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import assert = require('assert'); import {} from 'mocha'; import * as path from 'path'; import {LabelResolver} from '../src/labelresolver'; import {OrchestratorBaseModel} from '../src/basemodel'; import {Orchest...
import { highlightSearch, revertHighlightSearch } from '../../src/common/highlight-search'; import {profile , inMB, getMemoryProfile} from './common.spec'; describe("highlightsearch", function () { beforeAll(() => { const isDef = (o: any) => o !== undefined && o !== null; if (!isDef(window.performa...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { IconModule } from '@coreui/icons-angular'; import { CoreUIIconsComponent } from './coreui-icons.component'; import { AnonymizationRoutingModule } from './anonymization-routing.module'; @NgModule({ imports: [ Co...
// Websocket feeds export * from './ExchangeFeed'; export * from './bitfinex/BitfinexFeed'; export * from './gdax/GDAXFeed'; export * from './poloniex/PoloniexFeed'; export * from './bittrex/BittrexFeed'; export * from './bitmex/BitmexMarketFeed'; // REST APIs export * from './bitfinex/BitfinexExchangeAPI'; export * f...
export async function getServerSideProps() { return { redirect: { destination: 'https://github.com/sk1t0n', permanent: false } }; } export default function About() { return <div>About</div>; }
import { type, intersection, string, number } from '../../..' const A = type({ a: string() }) const B = type({ b: number() }) export const Struct = intersection([A, B]) export const data = { a: 'a', b: 42, } export const output = { a: 'a', b: 42, }
namespace Ui { export class PressWatcher extends Core.Object { private element: Ui.Element; private press: (watcher: PressWatcher) => void; private down: (watcher: PressWatcher) => void; private up: (watcher: PressWatcher) => void; private activate: (watcher: PressWatcher) =...
import ARViewer from "./ar-viewer"; export default class QuicklookViewer extends ARViewer { public araction: string | null = null; public arcallback: () => void; public titleHTML: string; constructor() { super(); this.titleHTML = "&checkoutTitle=" + document.title + "&checkoutSubtitle=...
export class WeatherItem{ constructor(public cityName: string, public description: string, public temperature: number){} }
export * from './action.logger.directive';
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { marker } from '@biesbjerg/ngx-translate-extract-marker'; import { WorkflowsComponent } from './workflows.component'; const routes: Routes = [ // Module is lazy loaded, see app-routing.module.ts { path: '', c...
import { Examine } from "../../../models/Examine" import { ADD_EXAMINE, FETCH_EXAMINES_STARTED, FETCH_EXAMINES_SUCCEED, FETCH_EXAMINES_FAILED, } from "./types" export const addExamine = (examine: Examine) => ({ type: ADD_EXAMINE, examine, }) export const fetchExaminesStart = () => ({ type: FETCH_EXAMINE...
export * from "./crypto"; export * from "./encoder"; export * from "./engine"; export * from "./expirer"; export * from "./heartbeat"; export * from "./history"; export * from "./pairing"; export * from "./relayer"; export * from "./session"; export * from "./storage"; export * from "./store"; export * from "./subscrib...
interface AddedFile { name: string /** * `undefined` if file. `boolean` if dir */ hasIndexFile?: boolean } export default AddedFile
export type {SplitViewProps} from './SplitView'; export {default} from './SplitView';
/* * Copyright 2018 Dialog LLC <info@dlg.im> */ import { dialog } from '@dlghq/dialog-api'; class DocumentPhotoExtension { public readonly type = 'photo'; public readonly width: number; public readonly height: number; public static from(api: dialog.DocumentExPhoto) { return new DocumentPhotoExtension(a...
import { Observable, throwError as observableThrowError } from 'rxjs'; import { catchError } from 'rxjs/operators'; import { Injectable } from '@angular/core'; import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http'; import { v4 as uuid4 } from 'uuid'; import { StorageService } from ...
import React, { FunctionComponent, ReactElement } from 'react'; import { Button, ButtonProps, Dialog, DialogActions, DialogContent, DialogContentText, DialogProps, DialogTitle } from '@material-ui/core'; type IButton = { buttonProps?: ButtonProps; title: string; onClick: () => void }; export type IConfig = { closeOn...
/* * Copyright (C) 2019 Toshiba Corporation * SPDX-License-Identifier: Apache-2.0 */ import { DButtonDate, DThemeButtonDate } from "../../d-button-date"; import { DPickerDates } from "../../d-picker-dates"; import { DStateAwareOrValueMightBe } from "../../d-state-aware"; import { DThemeWhiteButton } from "./d-theme...
import { SecretScope } from './secret-scope'; export interface SecretKeyValuePair { key: string; value: string; } export interface Secret { name: string; scope: SecretScope; data?: SecretKeyValuePair[]; keys?: string[]; }
export * from './chatbot.service'; export * from './location.service'; export * from './message.service'; export * from './postback.service'; export * from './resolver.service'; export * from './response.service'; export * from './validation.service';
/* * 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...
export { lightenDarkenColor } from './lightenDarkenColor'; export { extractNumbersFromString, extractDigitsFromString, } from './extractNumbersFromString'; export * from './IPhoneXHelper' export * from './ResponsiveFontSize'
import keysToObject from 'keys-to-object'; import { Args, Data, fieldIs, Obj, Record, RecordValue, Resolver, ResolveRequest, Schema, } from '../typings'; import { createCompare, getId, isEqual, isNewId, mapArray, mapDataAsync, mergeRecord, noUndef, undefOr, } from '../utils'; import...
/** * Detects prime numbers * @param {number} number * @return {boolean} */ export default function trialDivision(number: number) { // Check if number is integer. if (number % 1 !== 0) { return false } if (number <= 1) { // If number is less than one then it isn't prime by definition. return fa...
import { GreengrassClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassClient"; import { GetDeviceDefinitionVersionRequest, GetDeviceDefinitionVersionResponse } from "../models/models_0"; import { deserializeAws_restJson1GetDeviceDefinitionVersionCommand, serializeAws_restJson1GetDevice...
import { RangeValue, ValueBase } from "@react-types/shared"; export type DateValue = string | number | Date; export interface CalendarPropsBase { minValue?: DateValue; maxValue?: DateValue; isDisabled?: boolean; isReadOnly?: boolean; autoFocus?: boolean; } export interface CalendarProps extends CalendarPr...
import React from 'react'; import { Box, makeStyles, Theme } from '@material-ui/core'; import { callAll } from 'utils/utils'; type CircleButtonProps = { count: number; max: number; open: boolean; onClick?: () => void; children?: React.ReactElement; width: number; spacing: number; }; type StylesProps = {...
/** * LUSID API * * The version of the OpenAPI document: 0.11.3822 * Contact: info@finbourne.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import localVarRequest from 'request'; import ht...
import { AbstractControl } from '@angular/forms'; export function removeSpaces(control: AbstractControl) { if (control && control.value && !control.value.replace(/\s/g, '').length) { control.setValue(''); } return null; } export function noWhitespaceValidator(control: AbstractControl) { const isWhitespac...
/* * @license Apache-2.0 * * Copyright (c) 2019 The Stdlib 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 ap...
import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { StorageService } from '@services/storage/storage.service'; import { GetWeatherResponse } from '@services/weather/shared/GetWeatherResponse.model'; import { WeatherService } from '@services/weather/weather.s...
import { colors } from '@angular/cli/utilities/color'; import { chain, Rule, SchematicContext, Tree } from '@angular-devkit/schematics'; import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks'; import { updateWorkspace } from '@schematics/angular/utility/workspace'; import { addPackage, addStyle...
import React from 'react'; import whatsappIcon from '../../assets/icons/whatsapp.svg' import './styles.css' import api from '../../services/api'; export interface Teacher { id: number; avatar: string; bio: string; cost: number; name: string; subject: string; whatsapp: string; } interface...
import { IonCol, IonRow, IonIcon, IonPage, IonButton, IonContent, IonSegment, IonSegmentButton, IonFooter, IonGrid, } from "@ionic/react"; import React, { useState } from "react"; import { svgs } from "../../assets/svgs"; import { handleSupportersLink } from "../../utils"; import "./LandingPage.scss...
import {BaseApiMiddleware} from '../../../core/base.api.middleware'; import * as express from 'express'; import {CreateMovieDto} from '../dtos/create.movie.dto'; import {validate} from 'class-validator'; export class CreateMovieValidate extends BaseApiMiddleware { public handlerFactory(): express.RequestHandler { ...
import { PaginationComponentOptions } from './pagination-component-options.model'; import { FindListOptions } from '../../core/data/find-list-options.model'; /** * Transform a PaginationComponentOptions object into a FindListOptions object * @param pagination The PaginationComponentOptions to transform * @param or...
/// <reference path="../out/main.d.ts" /> /// <reference path="../typings/main.d.ts" /> import test = require('blue-tape');
import { Factory } from "../../../CodeGenerator"; import { UnSupportError } from "../../../Exception"; import * as ConverterContext from "../ConverterContext"; import * as Guard from "../Guard"; import * as InferredType from "../InferredType"; import * as Name from "../Name"; import { Store } from "../store"; import * ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="en_GB"> <context> <name>AboutPage</name> <message> <location filename="../assets/AboutPage.qml" line="10"/> <source>Contact Developer</source> <comment>Menu item: action to write an email to the application ...
import { useEffect, useState } from 'react' const isBrowser = (): boolean => { return Boolean(typeof window !== 'undefined' && window.document && window.document.createElement) } export type SSRState = { isBrowser: boolean isServer: boolean } const useSSR = (): SSRState => { const [browser, setBrowser] = use...
/** * Created by 10184437 on 2017/5/22. */ import {Component, ElementRef, Renderer2} from '@angular/core'; @Component ( { templateUrl:'color.html' }) export class ColorfulLoadingDemoComponent { constructor(private _renderer: Renderer2,private _el: ElementRef) { } public colors = ['rgb(255, 0, 0 )','r...
import { ColorMode, ColorModesScale, Theme } from '@theme-ui/css'; export declare const toCustomProperties: (obj: Record<string, any> | undefined, parent?: string | undefined) => Record<string, any>; /** * @internal * Recursively transforms an object into CSS variables excluding "modes" key. */ export declare const ...
import { ConfigService } from 'src/config/services/config.service'; import { IMessage } from 'src/interfaces/message.insterface'; import { INotification } from 'src/interfaces/notification.interface'; import * as Discord from 'discord.js'; import { EConfiguration } from 'src/config/enum/config-keys.enum'; import { Cust...
import { Knex } from 'knex'; import { createRouteAction } from './../../../src/server/routes/actionRoutes'; const knex = {} as any as Knex; const mockSecureExpress = { obPost: jest.fn(), obGet: jest.fn(), obPut: jest.fn(), obDelete: jest.fn(), }; const oauthBoot = { bootOauthExpressRouter: jest.fn().mockRe...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const faO: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const ligatures: (str...
export const CFGREDUCTION_REQUEST = 'CFGREDUCTION_REQUEST'; export const CFGREDUCTION_SUCCESS = 'CFGREDUCTION_SUCCESS'; export const CFGREDUCTION_CANCEL = 'CFGREDUCTION_CANCEL'; export const CFGREDUCTION_FAIL = 'CFGREDUCTION_FAIL';
import { Expresion } from '../Arbol/Expresion'; import { Instruccion } from '../Arbol/Instruccion'; import { Entorno } from '../Arbol/Entorno'; import { EnumTipo, Tipo } from '../Arbol/Tipo'; import { AppComponent } from 'src/app/app.component'; export class Imprimir extends Instruccion{ exp: Expresion; co...
export class BugOrFeature { isbug : number; isfeature : number; text : string; constructor(isbug : number, isfeature : number, text : string) { this.isbug = isbug; this.isfeature = isfeature; this.text = text; } }
//https://docs.mongodb.com/manual/reference/operator/query/ export enum filterOperators { //COMPARISON OPERATORS EqualTo = '$eq', GreaterThan = '$gt', GreaterThanOrEqual = '$gte', In = '$in', LessThan = '$lt', LessThanOrEqualTo = '$lte', NotEqualTo = '$ne', NotIn = '$nin', //LO...