text
stringlengths
10
953k
import { R5_BackboneElement } from './R5_BackboneElement' import { R5_CodeableConcept } from './R5_CodeableConcept' import { R5_DomainResource } from './R5_DomainResource' import { R5_Reference } from './R5_Reference' export class R5_SubstanceSpecification_Code extends R5_BackboneElement { static def : string...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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 } from "../types"; import * as utilities from "../utilities"; ...
import { Injectable } from '@angular/core'; import { Actions, createEffect, ofType } from '@ngrx/effects'; import { Store } from '@ngrx/store'; import { map, switchMap, withLatestFrom } from 'rxjs/operators'; import { ObservedValueOf } from 'rxjs'; import { State } from '@app/app.reducers'; import { MempoolOperationLoa...
import { MigrationInterface, QueryRunner, TableColumn, TableForeignKey, } from 'typeorm'; export default class AddCategoryFieldToTransactions1588969557454 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.addColumn( 'transactions', ...
import { Module } from '@nestjs/common' import { GraphQLModule } from '@nestjs/graphql' import { join } from 'path' import { CourseModule } from './course' @Module({ imports: [ GraphQLModule.forRoot({ autoSchemaFile: join(process.cwd(), 'src/schema.gql'), sortSchema: true, include: [CourseModul...
import archiver from 'archiver'; import crypto from 'crypto'; import { decrypt, encrypt } from 'edcrypt'; import { createReadStream, createWriteStream, readFileSync, unlinkSync, } from 'fs'; import unzipper from 'unzipper'; import { privDecrypt, pubEncrypt } from './EncDec'; import { myRef } from '../component...
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient"; import { TagResourceRequest, TagResourceResponse } from "../models/index"; import { deserializeAws_restJson1_1TagResourceCommand, serializeAws_restJson1_1TagResourceCommand } from "../protocols/Aws_r...
import { Request, Response } from "express"; import { PersonsData } from "../data/PersonsData"; import { calculateAge, generateEmail, defineGenre } from "../utils" import bindDescription from "../utils/bindDescription"; interface IPersonDTO { name: string birthDate: string genre: string description: string a...
import React, {FC, ReactNode} from 'react'; import {useDispatch, useSelector} from 'react-redux'; import {Route, Switch, useRouteMatch} from 'react-router-dom'; import sortBy from 'lodash/sortBy'; import Badge from '@renderer/components/Badge'; import PageHeader from '@renderer/components/PageHeader'; import PageLayou...
import { createStore, Reducer, Store } from 'redux' import { createModule, SimpluxModule, SimpluxModuleConfig, } from './src/module.js' import { simpluxStore, _setReduxStore } from './src/store.js' // we create and set a default redux store for simple scenarios setReduxStoreForSimplux(createStore(getSimpluxReduc...
import 'wix-rich-content-plugin-hashtag/dist/styles.min.css'; import { HashtagDecorator } from 'wix-rich-content-plugin-hashtag/dist/module.viewer.cjs'; import createViewerBundle from './RichContentViewerWrapper'; export default () => createViewerBundle(HashtagDecorator);
/** * Class that represents a cookie * @author Frederic BAYLE */ export class HttpCookie { /** * Name of the cookie */ protected _name: string; /** * Hosts to which the cookie will be sent (if undefined, current host is used) */ public domain: string | undefined = undefined; /** * Maximu...
import React from 'react' import classNames from 'classnames' export const InputLabel: React.FC<JSX.IntrinsicElements['label']> = (props) => { const { className, ...rest } = props return <label className={classNames('usa-label', className)} {...rest} /> }
import { AttestationUtils, PhoneNumberUtils, SignatureUtils } from '@celo/utils' import { concurrentMap, sleep } from '@celo/utils/lib/async' import { notEmpty, zip3 } from '@celo/utils/lib/collections' import { parseSolidityStringArray } from '@celo/utils/lib/parsing' import BigNumber from 'bignumber.js' import fetch ...
import {flowParseAssignableListItemTypes} from "../plugins/flow"; import { tsParseAccessModifier, tsParseAssignableListItemTypes, tsParseModifier, } from "../plugins/typescript"; import { eat, IdentifierRole, match, next, popTypeContext, pushTypeContext, } from "../tokenizer/index"; import {Contextual...
import { createBasicObject } from './Objects/basicObject'; import { createPolyObject } from './Objects/polyObject'; import { createPiechartObject } from './Objects/piechartObject'; import { createScrollbarObject } from './Objects/scrollbarObject'; import { createSubvisuObject } from './Objects/subvisuObject'; import { ...
import { ResolveTypingsTester } from "./resolve-typings-tester"; describe("ResolveTypingsTester", () => { let tester = new ResolveTypingsTester(); it("should resolve javascript from typing", () => { expect(tester.testJavascriptImportedWithTyping()).toEqual("Hello!"); }); });
import { BoxDisplay, BoxHeight, BoxOverflow, BoxSizing, FlexAlign, FlexDirection, FlexJustify, FlexValue, FlexWrap, GridAutoCols, GridAutoFlow, GridAutoRows, GridItemColumn, GridItemColumnEnd, GridItemColumnStart, GridItemRow, GridItemRowEnd, GridItemRowStart, } from '../types' /** ...
import { newSpecPage } from '@stencil/core/testing'; import { IconMouse } from '../mouse'; import { createElement, Mouse } from 'lucide'; describe('icon-mouse', () => { it('renders', async () => { const page = await newSpecPage({ components: [IconMouse], html: `<icon-mouse></icon-mouse>`, }); ...
import { Controller, Get } from '@nestjs/common'; @Controller('') export class AppController { @Get() home() { return 'Welcome to my Movie API.'; } }
import { Structure as _Structure_ } from "@aws-sdk/types"; export const DeleteCertificateInput: _Structure_ = { type: "structure", required: ["CertificateArn"], members: { CertificateArn: { shape: { type: "string" } } } };
/** * Get the current time. * * @returns {String} The current time in the form YYYY-mm-ddTHH:MM:SS+00:00 */ export const timestamp = (): string => { const date = new Date().toISOString(); return date.replace(/\.\d{3}Z/, "+00:00"); }; /** * Mapping of colors */ export const colors: { [color: string]: string }...
import {BaseIfc} from "./BaseIfc" import {IfcPresentationLayerAssignment} from "./IfcPresentationLayerAssignment.g" import {IfcStyledItem} from "./IfcStyledItem.g" import {IfcCartesianPoint} from "./IfcCartesianPoint.g" import {IfcLoop} from "./IfcLoop.g" /** * https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD...
export {default} from './Bookmarks';
import * as React from "react"; import { Shimmer, ShimmerElementType as ElemType, ShimmerElementsGroup, ITheme } from '@fluentui/react'; import * as ReactDOM from 'react-dom'; import { IReadonlyTheme } from "@microsoft/sp-component-base"; import { BaseWebComponent } from '@pnp/modern-search-extensibility'; export inte...
/* * Copyright 2022 ThoughtWorks, 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 applicable law or agr...
import { FakeAllListener, FakeLocalListener, } from '_client/game_board/controller/fake_listeners'; import {ModelHandler} from '_client/game_board/controller/model_handler'; import {RemoteTokenDiff} from '_common/board/remote_board_model'; class FakeModel { name: string; constructor(name: string) { this.n...
/** * @license Angular v12.2.5 * (c) 2010-2021 Google LLC. https://angular.io/ * License: MIT */ import { InjectionToken } from '@angular/core'; import { Location as Location_2 } from '@angular/common'; import { LocationChangeListener } from '@angular/common'; import { LocationStrategy } from '@angular/common'; im...
export * from './asyncComputed' export * from './autoResetRef' export * from './computedInject' export * from './onClickOutside' export * from './onKeyStroke' export * from './onStartTyping' export * from './templateRef' export * from './unrefElement' export * from './useActiveElement' export * from './useAsyncState' e...
// This is an interface to the meta-data-proxy server (port 1337)which is an // express app that interfaces with rails (port 3000). There is also an express // server that interfaces with the examples file data (port 3002), but this is // only used during admin when lifting examples, and thus is not exposed the // SPA....
import bcrypt from "bcrypt" import { UserModel } from "../../infra/schemas/userSchema" import { IWallet, walletModel } from "../../infra/schemas/walletSchema" import { IUser } from "../../infra/schemas/userSchema" export const createUser = { async create(req, res) { const { firstName, lastName, email, password ...
import { ProxySandboxInstance, SandboxPatchHandler } from '../types'; const PLANET_STORAGE_PREFIX = '__planet-storage-'; export class RewriteStorage { prefix: string; rawStorage: Storage; constructor(app: string, rawStorage: Storage) { this.rawStorage = rawStorage; this.prefix = `${PLANET...
import * as Ajv from 'ajv'; import { OpenAPIV3 } from '../../framework/types'; import ajv = require('ajv'); export declare function createRequestAjv(openApiSpec: OpenAPIV3.Document, options?: ajv.Options): Ajv.Ajv; export declare function createResponseAjv(openApiSpec: OpenAPIV3.Document, options?: any): Ajv.Ajv;
import type { PropertyPath, PropertyPathPart, StaticElementPathPart, ElementPath, } from './project-file-types' import { CanvasRectangle, LocalRectangle, LocalPoint, zeroCanvasRect } from './math-utils' import { Either, foldEither, isLeft, left, right } from './either' import { v4 as UUID } from 'uuid' import {...
import { Component, Host, h } from 'stencil-hotfix'; @Component({ tag: 'static-styles', }) export class StaticStyles { render() { return ( <Host> <h1>static get styles()</h1> </Host> ); } static get styles() { return ` h1 { color: red; } `; } }
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { DeleteTransitGatewayRequest, DeleteTransitGatewayResult } from "../models/models_2"; import { deserializeAws_ec2DeleteTransitGatewayCommand, serializeAws_ec2DeleteTransitGatewayCommand, } from "../protocols/Aws_e...
import './app/App.css'; import 'react-app-polyfill/ie11'; import 'react-app-polyfill/stable'; import React from 'react'; import ReactDOM from 'react-dom'; import { App } from './app/App'; import * as serviceWorker from './serviceWorker'; ReactDOM.render(<App />, document.getElementById('root')); // If you want your...
<TS language="la" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Crea novam inscriptionem</translation> </message> <message> <source>Copy the currently selected address to the system clipboard</source> <t...
import type { Document, Types } from 'mongoose' import { Schema, model } from 'mongoose' import type { SchemaMethods } from '../utils/createSchema' import { createSchema } from '../utils/createSchema' import type { ContentState } from './ContentState' import { ContentStateSchema } from './ContentState' export interfa...
import { IApiResponseItemsListCard } from '../../api/response'; import { CardFooterDeclaration, CardFooterBuilder } from './cardFooterBuilder'; import { ItemsListCardHeaderDeclaration, ItemsListCardHeaderBuilder, } from './itemsListCardHeaderBuilder'; import { ItemsListCardImageDeclaration, ItemsListCardImageBu...
export class LoginRequest { public language: number; public loginId: string; public password: string; constructor(username: string, password: string) { this.language = 0; this.loginId = username; this.password = password; } }
import { HttpClient } from "@angular/common/http"; import { HttpClientTestingModule, HttpTestingController } from "@angular/common/http/testing"; import { TestBed } from "@angular/core/testing"; import { MockUserConfigurationService } from "@batch-flask/core/testing"; import { GithubDataService } from "./github-data.se...
import { Entity } from '../../src/tag/entity'; const eleStr = '<!ENTITY writer "Donald Duck.">'; const eleStr2 = '<!ENTITY copyright "Copyright W3Schools.">'; const eleStr3 = '<!ENTITY writer "Donald">'; const eleStr4 = '<!ENTITY copyright SYSTEM "http://www.w3school.com.cn/dtd/entities.dtd">'; test('entityName + e...
import { profile } from '@affinidi/tools-common' import { ClientOptions, createClient, createClientMethods, GetParams } from '../helpers/client' import issuerSpec from '../spec/_issuer' type ConstructorOptions = ClientOptions & { issuerUrl: string } const clientMethods = createClientMethods(issuerSpec) @profile() e...
import { Shape } from "./shape"; export class Rectangle extends Shape { constructor( theX: number, theY: number, private _width: number, private _length: number ) { super(theX, theY); } public set width(value: number) { this._width = value; } public get width(): number { retur...
import {ApiError} from 'app/common/ApiError'; import {InactivityTimer} from 'app/common/InactivityTimer'; import {FetchUrlOptions, FileUploadResult, UPLOAD_URL_PATH, UploadResult} from 'app/common/uploads'; import {getAuthorizedUserId, getTransitiveHeaders, getUserId, isSingleUserMode, RequestWithLogin} from 'a...
import { statSync, watchFile } from "fs"; import { ExtensionContext, languages, window, workspace } from "vscode"; import { LanguageClient, LanguageClientOptions, ServerOptions, TransportKind } from "vscode-languageclient/node"; let client: LanguageClient; export function activate(context: ExtensionC...
import { Vector3 } from 'three' import { createMappedComponent } from '../ecs/functions/EntityFunctions' export type DebugArrowComponentType = { color: number direction: Vector3 position: Vector3 } export const DebugArrowComponent = createMappedComponent<DebugArrowComponentType>()
import {Message} from 'discord.js'; import {deleteMessage} from '../../utils'; module.exports = { name: 'ping', description: 'A basic ping command to test bot availability', aliases: ['p'], usage: 'b?ping', guildOnly: false, adminRequired: false, argsRequired: false, execute(message: Message) { mes...
import { StyleSheet, css } from 'aphrodite'; import * as React from 'react'; import { versions } from '../configs/sdk'; import { SDKVersion } from '../types'; import { c } from './ThemeProvider'; type Props = { sdkVersion: SDKVersion; onChange: (sdkVersion: SDKVersion) => void; }; export default function SDKVers...
import { takeLatest, select, put, call, delay } from 'redux-saga/effects'; import mySaga, { getSettingsOptions, getSettings, updateSettings, changeNetworkNode, } from '../saga'; import { getSettingOptionsRequest, getSettingOptionsSuccess, getSettingOptionsFailure, getInitialSettingsRequest, getInitia...
import logger from "../../src/util/logging"; import { DefaultLogger } from "../../src/util/logging/DefaultLogger"; describe('Logging Tests', () => { it('default import should work', () => { logger.log("This is a log message.") logger.debug("This is a debug message.") logger.info("This is an info message....
import { Component, Input } from '@angular/core'; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; @Component({ templateUrl: './pheno-browser-modal-content.component.html', styleUrls: ['./pheno-browser-modal-content.component.css'] }) export class PhenoBrowserModalContentComponent { @Input() public ...
import { ref, Ref, computed } from '@vue/composition-api'; import IntervalTree from '@flatten-js/interval-tree'; import Track, { TrackId } from '../track'; interface UseTrackStoreParams { markChangesPending: ( { action, track, }: { action: 'upsert' | 'delete'; track: Track; })...
import {selectUnit} from '../src'; declare const expect: Chai.ExpectStatic; function past(v?: number) { return Date.now() - (v || 0); } function future(v?: number) { return Date.now() + (v || 0); } const SEC = 1e3; const MIN = SEC * 60; const HOUR = MIN * 60; describe('selectUnit', function () { it('should wo...
import "mocha"; import { expect } from "chai"; import { runtimes } from "../../lib"; import { GetTestLoggerFactory } from "../common/gettestloggerfactory"; import { StaticResultTask } from "./common/staticresulttask"; describe("Task Chain Execution", () => { it("Should run", async () => { let onExecute: runtim...
<TS language="ca" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Botó dret per editar l'adreça o l'etiqueta</translation> </message> <message> <source>Create a new address</source> <transl...
/** * (deprecated) Common interface for all assets. * * @deprecated use `core.IAsset` */ export interface IAsset { /** * (deprecated) A hash of the source of this asset, which is available at construction time. * * As this is a plain * string, it can be used in construct IDs in order to enfo...
import { AppPage } from './app.po'; import { browser, logging } from 'protractor'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', () => { page.navigateTo(); expect(page.getTitleText()).toEqual('my-dojo...
import { Stone, StoneObj } from './stone'; import { Turned } from './turned'; import { stringLiteral } from '@babel/types'; function makeStoneLeft(left: number) { return (stone: Stone) => { if (stone.left === left) { return stone; } return Stone.create(stone.id, Turned.YES, left, stone.left); }; ...
import { Codec, number, string, oneOf, nullType, boolean, unknown, array, record, exactly, maybe, nonEmptyList, tuple, lazy, date, optional, nullable, enumeration, intersect } from './Codec' import { Left, Right } from './Either' import { Just, Nothing } from './Maybe' import { Non...
import { Client } from "../secrets-manager"; interface Bucket { /*** S3 Bucket Name - Required */ readonly bucket: string; /*** Stateful Folder Path - Require */ readonly key: string; /*** Encrypt Stateful Content(s) - Enforced to `true` */ readonly encrypt?: true; /*** Credentials Profi...
export interface FileDTO { id: string; filename: string; filesize: number; createdAt: string; createdBy: string; createdByDevice: string; expiresAt: string; mimetype: string; isOwn: boolean; title: string; secretKey: string; description?: string; deletedAt?: string; ...
class bag extends ui.beibao.beibaoUI { private Event = laya.events.Event; private columns: number; private list: Laya.List = new Laya.List(); constructor() { super(); var bags: Array<any> = DataCenter.getInstance().getBagInfo(); this.toolItemList(bags); this.btnClose.on(...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_UY" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About tgs</source> <translation type="unfinished"/> </message> <message> <location line="+...
import { getSearchStaticProps } from "@lib/search-props" import type { GetStaticPropsContext } from "next" import Search from "@components/search" export async function getStaticProps(context: GetStaticPropsContext) { return getSearchStaticProps(context) } export default Search
/** * Babel Helper for custom decorator for React Component * @author imcuttle */ export { default } from './createDecorateReactVistor' export * from './createDecorateReactVistor' export * from './createDecorateVisitor' export * from './parseCommentsRanges' export { default as parseCommentsRanges } from './parseComm...
import { Injectable, UnauthorizedException } from "@nestjs/common"; import { ConfigService } from "@nestjs/config"; import { PassportStrategy } from "@nestjs/passport"; import { InjectRepository } from "@nestjs/typeorm"; import { ExtractJwt, Strategy } from "passport-jwt"; import { JWTPayload } from "./jwt-payload.inte...
import { createAction, createStandardAction } from 'typesafe-actions'; import { LatLon, IUser } from 'fm3/types/common'; export interface IGalleryItem { id: number; title: string; description: string; tags: string[]; takenAt: Date | null; position: LatLon | null; error?: string | null; url: string; f...
'use strict'; /** * Copyright (c) 2020 Copyright bp All Rights Reserved. * Author: brian.li * Date: 2020-10-19 11:28 * Desc: * -------------------------- - usage - -------------------------- // 初始化配置中心. await initSpringCloudConfig((changeCfg:any, allCfg:any)=>{ // 配置动态刷新时的回调方法. // ... }); // 后续可使用此方法获取配置. let ...
/// <reference types="@sveltejs/kit" /> // See https://kit.svelte.dev/docs/types#app // for information about these interfaces declare namespace App { // interface Locals {} // interface Platform {} // interface Session {} // interface Stuff {} }
import Card from "@material-ui/core/Card"; import CardContent from "@material-ui/core/CardContent"; import { createStyles, Theme, withStyles, WithStyles } from "@material-ui/core/styles"; import Typography from "@material-ui/core/Typography"; import * as React from "react"; import CardTitle from "../../../comp...
import Package from "../package"; import { Action, AsyncAction } from "../action"; import Derived from "../derived"; import MergePackages from "../merge-packages"; import { expectType } from "../helpers"; /** * Package using the types of `Package1`, `Package2` and `Package3` for derived * props and actions. */ inte...
import { ApolloError, useApolloClient, useQuery } from "@apollo/client" import messaging from "@react-native-firebase/messaging" import * as React from "react" import { useEffect, useState } from "react" import { AppState, FlatList, Linking, Pressable, RefreshControl, StatusBar, Text, View, } from "reac...
import * as Listr from 'listr'; import * as execa from 'execa'; import Args from '../Args'; import Print from '../Modules/Print'; import { Answers } from 'inquirer'; import { join } from 'path'; import { writeFile } from 'fs'; import { copy } from 'fs-extra'; import { MIT } from './Json/LicenseList.json'; async functi...
import * as vscode from "vscode"; import { spawnSync } from "child_process"; import commandExists from "command-exists"; import path from "path"; let command = "ocamlformat"; const getFullRange = (document: vscode.TextDocument) => { const lastLine = document.lineAt(document.lineCount - 1); return new vscode.Range...
/** * * * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ...
import { FC, useEffect, useState } from "react" import { Action, ActionPanel, Detail, showToast, Toast, useNavigation } from "@raycast/api" import useSystem from "../hooks/use-system" const inProgressMessage = "Synchronizing files..." const successMessage = "Files synchronized successfully" const errorMessage = "Faile...
import { SortDescriptor } from '../sort-descriptor'; /** * A type representing a function that compares 2 values and returns `1`, `0`, or `-1` (minus one). * * For more information, refer to the * [`composeSortDescriptors`]({% slug api_kendo-data-query_composesortdescriptors_kendouiforangular %}) configuration. * ...
import { JSItem, CSSItem } from './types'; export function escapeHtml(html: string): string { return html.replace(/[&<"]/g, (m) => ({ '&': '&amp;', '<': '&lt;', '"': '&quot;', }[m])); } export function escapeScript(content: string): string { return content.replace(/<(\/script>)/g, '\\x3c$2'); } exp...
import { Connector } from '../types' export default async function init(): Promise<Connector> { const { TorusConnector } = await import('@web3-react/torus-connector') return { web3ReactConnector({ chainId, initOptions, constructorOptions, }: { chainId: number initOptions: any ...
import fs from 'fs'; import * as fsScripts from 'flex-dev-utils/dist/fs'; import * as prints from '../../prints'; import * as preScriptCheck from '../pre-script-check'; import * as parser from '../../utils/parser'; jest.mock('flex-dev-utils/dist/logger'); jest.mock('../../prints/unbundledReactMismatch'); jest.mock('...
import { Injectable, BadRequestException } from '@nestjs/common'; import { TimeLog } from '../time-log.entity'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository, In, SelectQueryBuilder } from 'typeorm'; import { RequestContext } from '../../core/context'; import { IManualTimeInput, IGetTimeLogI...
import { TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async () => { await TestBed.configureTestingModule({ imports: [ RouterTestingModule ], ...
import { InputGroup, StaticElement } from '@reactiveforms/core'; import { FormGroup } from '../components/FormGroup'; import { EmailInput, EmailField } from '../components/EmailField'; import { TextAreaInput, TextAreaField } from '../components/TextAreaField'; import { TextInput, TextField } from '../components/TextFi...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { CheckboxEditorValidationComponent } from './checkbox-editor-validation.component'; describe('CheckboxEditorValidationComponent', () => { let component: CheckboxEditorValidationComponent; let fixture: ComponentFixture<CheckboxEditor...
import { EntityRepository, Repository } from "typeorm"; import { MessageReceiver } from "../entities/MessageReceive"; @EntityRepository(MessageReceiver) export class MessagesReceiverRepositories extends Repository <MessageReceiver> {}
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { Lesson } from './lesson.entity'; import { v4 as uuid } from 'uuid'; import { CreateLessonInput } from './lesson.input'; @Injectable() export class LessonService { constructo...
import { DataPage } from 'pip-services3-commons-node'; import { CommandableHttpClient } from 'pip-services3-rpc-node'; import { PracticeContentSetV1 } from './PracticeContentSetV1'; import { VersionedPracticeContentV1 } from './VersionedPracticeContentV1'; import { IPracticeContentClientV1 } from './IPracticeContentCli...
export class Section { type: string; content: string; }
import { tsquery } from '@phenomnomnominal/tsquery'; import * as Lint from 'tslint'; import * as ts from 'typescript'; export class Rule extends Lint.Rules.AbstractRule { apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] { if (!sourceFile.fileName.endsWith('spec.ts')) { return []; } return this....
import React from "react"; import { MutationFn } from "react-apollo"; import Helmet from "react-helmet"; import Button from "../../Components/Button"; import Form from "../../Components/Form"; import Header from "../../Components/Header"; import Input from "../../Components/Input"; import PhotoInput from "../../Compone...
module mainUI { /** * * @author * */ export class MainUI extends eui.Component { public lb_youWord: eui.Label; //你的词语 public lb_undercoverAndCivilian: eui.Label; //多少人在线 public lb_ready: eui.Label; //准备 public group_personItem: eui.Group; ...
import { useEffect, useState } from 'react'; import { ChannelCTATypeEnum, ChannelTypeEnum, ICreateNotificationTemplateDto, INotificationTemplate, IUpdateNotificationTemplate, INotificationTrigger, IEmailBlock, } from '@novu/shared'; import { showNotification } from '@mantine/notifications'; import { useMu...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import * as http from "http"; import * as https from "https"; import * as zlib from "zlib"; import { Transform } from "stream"; import { AbortController, AbortError } from "@azure/abort-controller"; import { HttpClient, PipelineRequest, P...
import {createStyles} from "@mantine/core"; import {FC} from "react"; export interface IWallpaperProps { } export const Wallpaper: FC<IWallpaperProps> = () => { const {classes} = useStyles(); return <div className={classes.root}></div>; }; export const useStyles = createStyles(() => ({ root: { p...
import * as React from 'react'; export interface CircularProgressProps { /** * progress icon key from icons config (@idui/react-icon => configureIcons) * @default progressCircle */ name?: string; /** * progress icon size * @default 3rem */ size?: string; /** * p...
declare module 'hapi-auth-multiple-strategies';
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. import { Info } from '../Models'; import { ExtensionView } from './ExtensionView'; export class InfoView extends ExtensionView<Info> { constructor(infoItem: Info) { super(infoItem); } }
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { VitalSignsComponent } from './vital-signs.component'; describe('VitalSignsComponent', () => { let component: VitalSignsComponent; let fixture: ComponentFixture<VitalSignsComponent>; beforeEach(async(() => { TestBed.configure...