text
stringlengths
10
953k
import React from 'react'; import { BrowserRouter, Route } from 'react-router-dom'; import Landing from './pages/Landing'; import TeacherList from './pages/TeacherList'; import TeacherForm from './pages/TeacherForm'; export default function Routes() { return ( <BrowserRouter basename={process.env.PUBLIC_URL}> ...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; declare class MdShoppingBasket extends React.Component<IconBaseProps> { } export = MdShoppingBasket;
import { ExtractJwt, Strategy } from 'passport-jwt'; // TODO: remove passport as dependency import { Injectable } from '@nestjs/common'; import { PassportStrategy } from '@nestjs/passport'; import { JWTPayload } from '../interfaces/jwt-payload.interface'; import { AuthService } from '../auth.service'; @Injectable() ex...
export const PROP_NAMES = { HOST_URL: 'sonar.host.url', LOGIN: 'sonar.login', PASSSWORD: 'sonar.password', ORG: 'sonar.organization', PROJECTKEY: 'sonar.projectKey', PROJECTNAME: 'sonar.projectName', PROJECTVERSION: 'sonar.projectVersion', PROJECTSOURCES: 'sonar.sources', PROJECTSETTINGS: 'project.set...
import * as PIXI from 'pixi.js'; import DisplayObject = PIXI.DisplayObject; export type ObjectQuery = DisplayObject | PIXI.Rectangle | string; class PositionXSetter { private _source?: ObjectQuery; private _xFunc: LayoutFunc; private _value: number | string = 0; constructor(private query: ILayout) {} publ...
// Copyright 2017-2021 @polkadot/types authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { EcdsaSignature, Ed25519Signature, ExtrinsicEra, ExtrinsicSignature, Sr25519Signature } from '../../interfaces/extrinsics'; import type { Address, Balance, Call, Index } from '../../interfaces/runtime'; im...
export default interface CalendarEvent { professor: string, startDate: string, startTime: string, location: string, summary: string, uid: string, }
import './Navbar.css'; import Logo from '../../Layout/logo/Logo'; import React from "react"; import Login from "../../Layout/login/Login"; const Navbar = () => { return ( <div className="navigationContainer"> <nav className="home-nav"> <Logo/> <Login/> ...
/* * 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...
/* * 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 CommonStrata from "../../lib/Models/Definition/CommonStrata"; import MagdaReference from "../../lib/Models/Catalog/CatalogReferences/MagdaReference"; import { BaseModel } from "../../lib/Models/Definition/Model"; import Terria from "../../lib/Models/Terria"; import WebMapServiceCatalogItem from "../../lib/Models...
import { GraphQLError } from 'graphql' export class InvalidTransformerError extends Error { constructor(message: string) { super(message); Object.setPrototypeOf(this, InvalidTransformerError.prototype); this.name = "InvalidTransformerError"; if ((Error as any).captureStackTrace) { ...
// /src/action/alarm/materialiconsround/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgAlarmRound = 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="M15.87 15.25l-3.37-2V8.72c0-.4-.3...
import { ALL_COUNTRIES_NAMES_ARRAY, validate } from '../../..' const countryNameList = ALL_COUNTRIES_NAMES_ARRAY() /** * @TJS-type string */ export type ICountryName = typeof countryNameList[number] export const isICountryName = (d: any): d is ICountryName => validate('country', { country: d }, 'required', [...c...
import gql from 'graphql-tag'; import * as ApolloReactCommon from '@apollo/react-common'; import * as ApolloReactHooks from '@apollo/react-hooks'; import * as Types from '../../types'; export type GetBitcoinPriceQueryVariables = Types.Exact<{ [key: string]: never; }>; export type GetBitcoinPriceQuery = { __typename...
// (C) Copyright 2015 Martin Dougiamas // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
import { createRouter, createWebHashHistory, RouteRecordRaw, } from 'vue-router'; import { store } from '@/store'; import layout from '../layout/index.vue'; // 静态路由 export const constantRoutes: Array<RouteRecordRaw> = [ { path: '/', component: layout, redirect: '/home', meta: { title:{ ...
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Any modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Licensed to Ela...
import React, { useState, useEffect } from 'react'; import { Card, Steps } from 'antd'; import { PageContainer } from '@ant-design/pro-layout'; import { connect } from 'umi'; import type { StateType } from './model'; import Step1 from './components/Step1'; import Step2 from './components/Step2'; import Step3 from './co...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About blockchaincoinx</source> <translation>О blockchaincoinx</translation> </message> <message> ...
export class DataSet { constructor(readonly user: string, readonly key: string) { } }
import { EventEmitter } from 'events' import { IncomingMessage, ServerResponse } from 'http' import { join, posix } from 'path' import { parse } from 'url' import { webpack, isWebpack5 } from 'next/dist/compiled/webpack/webpack' import * as Log from '../../build/output/log' import { normalizePagePath, normalizePathSep ...
import request from 'supertest'; import { app } from '../../app'; it('fails when a email that does not exist is supplied', async () => { await request(app) .post('/api/users/signin') .send({ email: 'test@test.gr', password: 'password' }) .expect(400); }); it('fails when an incorrect pass...
import { Button, Card, Col, Popconfirm, Row, Skeleton, Switch } from 'antd' import { useActions, useValues } from 'kea' import React from 'react' import { pluginsLogic } from './pluginsLogic' import { PluginConfigType, PluginErrorType } from '~/types' import { PlusOutlined, SettingOutlined } from '@ant-design/icons' im...
import { NgModule } from '@angular/core'; import { AutoResizeDirective } from './auto-resize'; @NgModule({ declarations: [ AutoResizeDirective ], imports: [ ], exports: [ AutoResizeDirective ] }) export class AutoResizeDirectiveModule { }
import { tsUtils } from '@neo-one/ts-utils'; import ts from 'typescript'; import { DiagnosticCode } from '../../../DiagnosticCode'; import { DiagnosticMessage } from '../../../DiagnosticMessage'; import { Builtin, isBuiltinInstanceMemberValue, isBuiltinMemberValue } from '../../builtins'; import { ScriptBuilder } from ...
import { Component, OnInit } from '@angular/core'; import { DynamicFormControlModel, DynamicInputModel, DynamicFormService, DynamicFormGroupModel} from "@ng-dynamic-forms/core"; import { FormGroup } from '@angular/forms'; import { FormControl } from '@angular/forms'; import { Register } from '../register' import { Rout...
import { CodeModel } from './codeModel'; import { TsObject } from '../tsObject'; export class CodeObject extends CodeModel { constructor( tsField: TsObject, parent?: CodeModel, ) { super(tsField, parent); } public get TsField(): TsObject { return this.tsField as TsObject; } /** * 自然的,不...
import {Component, OnInit} from '@angular/core'; import {NgForm} from '@angular/forms'; import { PostS } from '../core/services/posts.service'; @Component({ selector : 'app-form', templateUrl: './form.component.html', styleUrls : ['./form.component.css'] }) ...
import { styled, type Component, type Props } from '@nectar-ui/core' import { StyledText } from '@nectar-ui/text' /** Styled Components */ export const Anchor = styled(StyledText, { transition: '.2s', compoundVariants: [ { color: 'primary', css: { '&:hover': { color: '$primaryHover' } } },...
import * as monaco from "monaco-editor" import { registerSemirichLanguage } from "./semirich" const INITIAL_TEXT = ` %% 見出し {h: やさい } %% 段落 {p: からだに{いい}。 } %% セット {set: {じゃがいも} {スイカ} } {hr:} {h: くだもの } {p: あまくておいしい。\ たべすぎ{ぷよぷよ}。 } {list: {いちご} {バナナ} }` const editorElement =...
import { Router } from "express"; import usersRouter from "@modules/users/infra/http/routes/users.routes"; import sessionsRouter from "@modules/users/infra/http/routes/sessions.routes"; import passwordRouter from "@modules/users/infra/http/routes/password.routes"; import profileRouter from "@modules/users/infra/http/r...
import { Box, Button, Heading, Image, Text, Link as ChakraLink, useColorMode, Flex, } from "@chakra-ui/react"; import Link from "next/link"; import MotionBox from "lib/components/motion/Box"; const Page404 = () => { const { colorMode } = useColorMode(); return ( <Flex minHeight="70vh" directi...
import { MyInfoField, StringValue, NumberValue, CodeAndDesc, MyInfoAttribute, } from './base' type StartEndDate = Partial<{ startdate: StringValue enddate: StringValue }> type PDL = Partial<{ validity: CodeAndDesc expirydate: StringValue classes: { class: StringValue }[] }> type QDL = Partial<{ ...
#!/usr/bin/env node import * as bril from './bril'; import {readStdin, unreachable} from './util'; const argCounts: {[key in bril.OpCode]: number | null} = { add: 2, mul: 2, sub: 2, div: 2, id: 1, lt: 2, le: 2, gt: 2, ge: 2, eq: 2, not: 1, and: 2, or: 2, fadd: 2, fmul: 2, fsub: 2, fdi...
export interface ListItem { imgurl: string; size: string; }
/* * 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 { editor, IRange, Uri } from 'monaco-editor'; // @ts-ignore import { S...
import { Role } from '@prisma/client'; export class DecodedDto { id: number; userId: string; name: string; role: Role; iat: number; exp: number; }
import type { RefObject } from "react"; import React from "react"; import { PathTooltip } from "react-path-tooltip"; export function drawTooltip( tip: string | undefined, tooltipBgColor: string, tooltipTextColor: string, triggerRef: RefObject<SVGElement>, containerRef: RefObject<SVGSVGElement>, ): JSX.Elemen...
import { useState } from 'react'; export type ReactiveState<T> = { value: T, update: (value: T) => void; } export const useReactiveState = <T>(initialValue: T): ReactiveState<T> => { const [value, setValue] = useState<T>(initialValue); return { value, update: setValue, } }
/* eslint-disable @typescript-eslint/ban-ts-ignore */ import React from 'react'; import { render, fireEvent, act, waitForElement, wait } from '@testing-library/react'; import MainScreen from './MainScreen'; import mockWindowAPI from '../mockWindowAPI'; import Providers from './Providers'; describe('MainScreen', () =>...
import figlet from "figlet"; import config from "config"; export const displayTitle = async (): Promise<void> => new Promise((resolve, reject) => figlet(config.get("name"), (err, data) => { if (err) { reject(err); } console.log(data); resolve(); }) );
// This file has been automatically generated by writeMessageClasses.js import { MessageFlags } from '../../enums/MessageFlags'; import { MessageBase } from '../MessageBase'; import { Message } from '../../enums/Message'; export class CompletePingCheckMessage implements MessageBase { name = 'CompletePingCheck'; ...
/*! * @license * Copyright 2019 Alfresco, Inc. and/or its affiliates. * * 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...
import { Drawer, DrawerProps, PaperProps } from "@material-ui/core"; import { WithStyles, withStyles } from "@material-ui/styles"; import * as React from "react"; import { useHistory } from "react-router"; import { MasterLayoutContext } from "../MasterLayoutContext"; import { MenuContext } from "./Context"; import { M...
/** * @license * Copyright 2020 Google LLC. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * Code distributed by Google as part of this project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ import {...
import card from './Character_Amber_Card.jpg' import thumb from './Icon.png' import thumbSide from './IconSide.png' import c1 from './Constellation_One_Arrow_to_Rule_Them_All.png' import c2 from './Constellation_Bunny_Triggered.png' import c3 from './Constellation_It_Burns.png' import c4 from './Constellation_It\'s_Not...
import { Validation } from '../../typings/rematch' /** * Validate * * takes an array of arrays of validations and * throws if an error occurs */ /* istanbul ignore next */ const validate = (validations: Validation[]): void => { if (process.env.NODE_ENV !== 'production') { validations.forEach((validation: Va...
import { Component, OnInit } from '@angular/core'; declare const $: any; declare interface RouteInfo { path: string; title: string; icon: string; class: string; } export const ROUTES: RouteInfo[] = [ { path: '/dashboard', title: 'Dashboard', icon: 'dashboard', class: '' }, { path: '/play/1', t...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { SupporterAvailabilityComponent } from './supporter-availability.component'; describe('SupporterAvailabilityComponent', () => { let component: SupporterAvailabilityComponent; let fixture: ComponentFixture<SupporterAvailabilityCompon...
/* tslint:disable */ /* eslint-disable */ // @ts-nocheck import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type EntityOrder = "OLDEST" | "PUBLISHED_ASCENDING" | "PUBLISHED_DESCENDING" | "RECENT" | "SCHEMA_NAME_ASCENDING" | "SCHEMA_NAME_DESCENDING" | "TITLE_ASCENDING...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="he" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About UCoin</source> <translation type="unfinished"/> </message> <message> <location line="+3...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr_CA" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Isocoin</source> <translation>A propos de Isocoin</translation> ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="kk_KZ" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About qualcoin</source> <translation type="unfinished"/> </message> <message> <location li...
////import { Document,Types, Schema as MongooseSchema } from 'mongoose'; export class CreateMessage { _id?: any //string | MongooseSchema.Types.ObjectId; ownerId: any //string | MongooseSchema.Types.ObjectId; roomId: any //string | MongooseSchema.Types.ObjectId; text ?: string image ?: string; ...
// Auth export { default as GET_ME } from './getMe' // Items export { default as GET_ITEMS } from './getItems' export { default as GET_ITEM } from './getItem' // Services export { default as GET_SERVICES } from './getServices' export { default as GET_SERVICE } from './getService' export { default as GET_MENU } from '...
import { gql } from "@apollo/client/core"; import jwksRsa, { SigningKey } from "jwks-rsa"; import socketIO, { Socket } from "socket.io"; import { createAdapter } from "socket.io-redis"; import { GetUserConferenceSlugsDocument } from "../generated/graphql"; import { testJWKs } from "../jwks"; import { notificationsRoomN...
/** * 3d-tiles Tile object per spec: * (incomplete, expanding as features become supported by this package.) * * See spec for full schema: https://github.com/CesiumGS/3d-tiles/blob/master/specification/schema/tile.schema.json */ export interface TileBase { boundingVolume: { /** * An array of 12 numbers tha...
import DB from './DB'; export default DB;
import { act } from "react-dom/test-utils"; import { mount } from "enzyme"; import fetchMock from "fetch-mock"; import { advanceTo, advanceBy, clear } from "jest-date-mock"; import { useInView } from "react-intersection-observer"; import toDiffableHtml from "diffable-html"; import { MockAlertGroup, MockAlert } fr...
import React from "react"; import { renderToString } from "react-dom/server"; import { ServerStyleSheet } from "styled-components"; import { StaticRouter } from "react-router-dom"; import { ConfigContext } from "@alexghr/mfe-app-common"; import App from "../app"; import template from "./template"; type RenderProps = {...
export * from './error'; export * from './model';
/// <reference path="reveal.d.ts" /> Reveal.initialize({ controls: true, progress: true, history: true, center: true, transition: 'linear' });
import {ErrorMessageObserver, ErrorMessageService} from "./ErrorMessageService"; import {instance, mock, verify} from "ts-mockito"; describe("ErrorMessageService", () => { let errorMessageService: ErrorMessageService; beforeEach(() => { errorMessageService = new ErrorMessageService(); }); it(...
import { ValueObject } from '@jamashita/anden-object'; import { JSONable, Kind } from '@jamashita/anden-type'; import { LanguageError } from '../Language/error/LanguageError.js'; import { LanguageJSON } from '../Language/Language.js'; import { Languages } from '../Language/Languages.js'; import { RegionError } from '.....
import { Center, Heading } from '@chakra-ui/react' export const IndexPage = () => { return ( <Center p={5} height='100%' flexDirection='column'> <Heading>Index Page</Heading> </Center> ) }
// this file contains helper utils for working with shell.js functions import * as shell from "shelljs"; shell.config.silent = true; // simple shell.exec "cache" that doesn't re-run the same command twice in a row let prevCommand = ""; let prevCommandOutput = {} as shell.ShellReturnValue; export function execWithCach...
import "./index.css"; //import "./chapter-01"; import { add } from "./common/math"; export class C { private x = 17; getX = () => this.x; setX = (newVal: number) => { this.x = newVal; }; } export let x = new C(); export let y = { ...{ some: "value" } }; console.log(add(3, 4));
import { Simulator } from "@app/Simulator" describe('Echo', () => { test('Text', async () => { await Simulator.Run(` - Echo: Hello world # Print white text - Echo: message: Hello red color: red - Echo: message: Hello red transforms: - Colorize: red - Echo/Green: G...
import React, { useState, FC } from "react" import { CSSTransitionGroup } from "react-transition-group" import { SkillNode } from "../pages" interface SkillsSectionProps { skills: SkillNode[] } export const SkillsSection: FC<SkillsSectionProps> = function({ skills }) { return ( <section className={`flex...
import React from "react"; import Logo from "../../assets/svg/Logo.svg"; import ArrowLeft from "../../assets/svg/ArrowLeft.svg"; import styles from "./SignInForm.module.css"; import { Notice } from "../common/Notice"; import { Title } from "../common/Title"; import { Input } from "../common/Input"; import { useClerk, ...
import fs from 'fs'; import { activeqlUml } from './activeql-app'; const plantuml = require('node-plantuml'); (async () => { const uml = activeqlUml(); const gen = plantuml.generate( uml, {format: 'png'}); gen.out.pipe( fs.createWriteStream("domain.png") ); })();
export interface Auth { user: AuthUser; tokens: Tokens; } export interface Tokens { access: Access; refresh: Access; } export interface Access { token: string; expires: Date; } export interface AuthUser { role: string; isEmailVerified?: boolean; name: string; email: string; id: string; }
import { Column, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn } from "typeorm"; import { EventEntity } from "./events/event.entity"; export enum AttendeeAnswerEnum { Accepted = 1, Maybe, Rejected } @Entity() export class AttendeeEntity { @PrimaryGeneratedColumn() id: number; @Column...
import cx from 'classnames' import * as React from 'react' import * as M from '@material-ui/core' import Mono from 'components/Code' import * as Config from 'utils/Config' import * as IPC from 'utils/electron/ipc-provider' import * as packageHandleUtils from 'utils/packageHandle' import mkStorage from 'utils/storage' ...
/* tslint:disable */ /* eslint-disable */ /** * KubeVirt Containerized Data Importer API * Containerized Data Importer for KubeVirt. * * The version of the OpenAPI document: 1.0.0 * Contact: kubevirt-dev@googlegroups.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech)...
namespace $ { $mol_test_mocks.push( context => { context.$mol_store_local = new $mol_store< Record< string , any > >({}) } ) }
GOCAD TSurf 1 HEADER { name:SAFS-SGPR-CHFZ-Redlands_fault-CFM5 mesh:false ivolmap:false imap:false border:true parts:false *solid*color:0.196078 0.803922 0.196078 1 *border*bstone:false *solid*specular:0 0.501961 0 1 *solid*ambient:0.411765 0.411765 0.411765 1 *solid*flat:false *border*width:2 *border*color:0.662745 0...
import { redact, blacklist, list } from './../../src/index'; const blacklistedWords = blacklist(...list.english.profanity, ...list.english.sexual); describe('Redact', () => { it('English Profanity Redact', () => { expect(redact('Fuck yeah men', blacklistedWords)) .toEqual('**** yeah men'); }); it('Eng...
import React from "react"; import { useStaticQuery } from "gatsby"; import { shallow } from "enzyme"; import toJSON from "enzyme-to-json"; import Sidebar from "./Sidebar"; import siteMetadata from "../../../jest/__fixtures__/site-metadata"; describe("<Sidebar />", () => { beforeEach(() => { (useStaticQuery as j...
import * as Discord from 'discord.js'; export class VoiceConnection { connection?: Discord.VoiceConnection | null | undefined; voiceChannel?: Discord.VoiceChannel | null | undefined; discordClient: Discord.Client; listeners: {[x: string]: () => any} = {}; constructor(discordClient: Discord.Client) { th...
import { Form } from 'antd' import { t } from '@lingui/macro' import { IPFS_TAGS } from 'utils/ipfs' import ImageUploader from '../inputs/ImageUploader' import { FormItemExt } from './formItemExt' export default function ProjectLogoUri({ name, formItemProps, hideLabel, initialUrl, onSuccess, }: FormItemExt...
/* * 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 { shallow, ShallowWrapper } from 'enzyme'; import React from 'react'; ...
import Variable from "./Variable.js"; import { formatLowerFirst } from "../utils.js"; class Struct { constructor( public type: string, public members: (Variable | Struct)[], public name?: string, public visibility?: GPUShaderStageFlags, public arrayCount?: number ) { this.name = name || for...
import { Injectable } from '@angular/core'; import { WalletService } from '../wallet/wallet.service'; import { of, Observable, from as fromPromise } from 'rxjs'; import { flatMap } from 'rxjs/operators'; import { delay, takeUntil } from 'rxjs/operators'; import { Activity, Account, OpStatus } from '../wallet/wallet'; i...
import * as contracts from '../modules/contracts'; import * as coopSelector from '../modules/coopSelector'; import * as devmode from '../modules/devmode'; import * as history from '../modules/history'; import * as theme from '../modules/theme'; export interface RootState { contracts: contracts.State; coopSelector:...
/** * Copyright (c) 2021 GraphQL Contributors. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ // / eslint-disable-next-line spaced-comment // / <reference path='../../../../node_modules/monaco-editor/monaco.d.ts'/> import {...
import { Realm } from "@realm/react"; export class Pet extends Realm.Object { _id!: Realm.BSON.ObjectId; name!: string; type!: string; createdAt!: Date; constructor( _id = new Realm.BSON.ObjectId(), name: string, type: string, createdAt = new Date() ) { super(); this._id = _id; ...
import assert from "node:assert"; import * as fs from "node:fs"; import * as path from "node:path"; import * as esbuild from "esbuild"; import makeModuleCollector from "./module-collection"; import type { Config } from "./config"; import type { Entry } from "./entry"; import type { CfModule, CfScriptFormat } from "./wo...
import NotebookAudio from "./NotebookAudio"; describe("NotebookAudio", () => { it("should be defined", () => { expect(NotebookAudio).toBeDefined(); }); });
// defines the api level for the plugin interface. export const API_LEVEL = 1;
/* * © 2021 ThoughtWorks, Inc. */ import React, { FunctionComponent } from 'react' import { Button, ButtonGroup } from '@material-ui/core' import { FilterProps } from '../../utils/Filters' import useStyles from './monthFilterStyles' const MonthFilter: FunctionComponent<FilterProps> = ({ filters, setFilters, }) ...
import { Module } from '@nestjs/common'; import { ConsoleModule } from '../../../module'; import { CliWithDecorator } from './cli'; import { CliMergedWithNamedDecorator } from './cli.merged'; import { CliWithNamedDecorator } from './cli.named'; import { CliWithNamedDecorator2 } from './cli.named.2'; @Module({ imp...
/** @jsx jsx */ import { Transforms } from 'slate' import { jsx } from '../../..' export const run = editor => { Transforms.insertText(editor, 'a') } export const input = ( <editor> <block> word <cursor /> </block> </editor> ) export const output = ( <editor> <block> worda <...
import { TimerRegistry, TimerRef, Timeout } from '../deepstream-client' export class NativeTimerRegistry implements TimerRegistry { private registry = new Set<number>() public close () { this.registry.forEach(clearTimeout) this.registry.clear() } public has (timerId: TimerRef): boolea...
import { defaultRegionInfoProvider } from "./endpoints"; export const ClientSharedValues = { apiVersion: "2019-07-05", disableHostPrefix: false, regionInfoProvider: defaultRegionInfoProvider, signingName: "networkmanager" };
import { PluginHostDirective } from './plugin-host.directive'; describe('PluginHostDirective', () => { it('should create an instance', () => { const directive = new PluginHostDirective(null); expect(directive).toBeTruthy(); }); });
import { COMMS_COULD_NOT_BE_ESTABLISHED, fatalError, ExecutionLifecycleEvent, MOBILE_NOT_SUPPORTED, NETWORK_MISMATCH, NEW_LOGIN, NO_WEBGL_COULD_BE_CREATED, NOT_INVITED, AVATAR_LOADING_ERROR, ExecutionLifecycleEventsList } from './types' import { trackEvent } from '../analytics' import { action } fro...
import type { RemotesConfig, VitePluginFederationOptions } from 'types' import { walk } from 'estree-walker' import MagicString from 'magic-string' import type { AcornNode, TransformPluginContext } from 'rollup' import { getModuleMarker, parseRemoteOptions, removeNonLetter } from '../utils' import { builderInfo, parsed...
import * as TypeGraphQL from "type-graphql"; import graphqlFields from "graphql-fields"; import { GraphQLResolveInfo } from "graphql"; import { GroupByParticipation_certificateArgs } from "./args/GroupByParticipation_certificateArgs"; import { Participation_certificate } from "../../../models/Participation_certificate"...