text
stringlengths
10
953k
/* * Copyright 2020 The Backstage 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 applicable law or ...
// THIS FILE IS AUTO GENERATED import { IconTree, IconType } from '../lib' export declare const GiBrain: IconType;
/* eslint-disable @typescript-eslint/no-explicit-any */ import { assert } from "chai"; import { faEqual, literalToENFA, literalToNFA, literalToString } from "../helper/fa"; import { Literal, toLiteral } from "../../src/js"; import { NFA } from "../../src/nfa"; import { FiniteAutomaton, ToRegexOptions, TransitionIterabl...
import "./css/site.css"; import "bootstrap"; import * as React from "react"; import * as ReactDOM from "react-dom"; import { browserHistory, Router } from "react-router"; import { Provider } from "react-redux"; import { syncHistoryWithStore } from "react-router-redux"; import routes from "./routes"; import configureSto...
import type { NextApiRequest, NextApiResponse } from 'next'; import { getMessages } from 'next-multilingual/messages'; /** * Example API schema. */ type Schema = { message: string; }; /** * Delay an executing code. * * @param milliseconds - The number of milliseconds to delay the execution. * * @returns An e...
/** * @module botbuilder-dialogs-adaptive */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { Configurable, Converter, ConverterFactory, DialogContext } from 'botbuilder-dialogs'; import { LanguageGenerator } from '../languageGenerator'; import { Languag...
import {PointInfo} from './PointInfo'; /** * Model that represents a point which contains: * * @param {string} id * @param {string} mac * @param {PointInfo} info */ export class Point { public static empty(): Point { return new Point('', '', null); } public static fromAny(a: any) { const info = O...
import { Injectable } from '@angular/core'; import { ServicePathService } from '../service-path.service'; import { HttpClient } from '@angular/common/http'; import { CommonService } from '../../routes/common/service/common.service'; @Injectable({ providedIn: 'root', }) export class PermissionService extends CommonSe...
// eslint-disable-next-line import/prefer-default-export export class Theme { hexColors = ["#eec643", "#e25238", "#dc8530", "#4999e5", "#64d576"]; colors = ["blue", "red", "yellow", "green", "orange"]; index = 0; constructor() { this.colors.sort(() => Math.random() - 0.5); } get color(): string { ...
import {Compteur} from './compteur'; import {TodoAjax} from './todo-ajax'; import * as $ from 'jquery'; const compteur = new Compteur(); const para = document.querySelector('#para'); let bouton = document.querySelector('#increment'); bouton.addEventListener('click', function(e) { e.preventDefault; compteur.inc...
import { trigger, style, animate, transition } from '@angular/animations'; export const fadeInAnimation = trigger('enterAnimation', [ transition(':enter', [ style({ opacity: 0 }), animate('500ms', style({ opacity: 1 })), ]), transition(':leave', [ style({ opacity: 1, transform: 'scale(1)' }), animate('500ms...
import { ReactNode, FC, ElementType, HTMLAttributes } from 'react'; import { classNames } from '../../lib/classNames'; import { getClassName } from '../../helpers/getClassName'; import Tappable, { TappableProps } from '../Tappable/Tappable'; import { Icon24Chevron } from '@vkontakte/icons'; import { IOS } from '../../l...
import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import styleImport from 'vite-plugin-style-import' // https://vitejs.dev/config/ export default defineConfig({ resolve: { // 路径别名 alias: { // 项目根路径 '@': '/src', // 组件路径 '_c': '/src/components', // 资源路径 ...
export type Vector = { dx: number; dy: number; };
type Ctor = new (...args: any[]) => any; class ItemNotFoundT extends Error { private itemType: string; constructor(type: Ctor | string, private id: string) { super(); if (typeof type === 'string') { this.itemType = type; } else { this.itemType = type.name; } this.message = `item of ...
const foobar = "foobar"; // eslint-disable-next-line no-const-assign foobar = "barbaz"; // Error! console.log(foobar);
import log2discord from '../index.js'; import dotenv from "dotenv"; import { exit } from 'process'; dotenv.config(); if (!process.env.WEBHOOK) exit(); const logger = new log2discord.Logger({ webhook: process.env.WEBHOOK, name: "test2discord", pid: true, host: true, dateTime: { timeZone: "A...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import {AuthLoginComponent} from "./auth-login/auth-login.component"; import {AuthRegisterComponent} from "./auth-register/auth-register.component"; const routes: Routes = [ { path: "", component: AuthLoginCompo...
import Airplayer from 'airplayer' export default class AirplaySiren { constructor() { this.airplayer = Airplayer(); this.airplayer.on('update', (player) => { console.log(player) }); } trigger() { console.log(this.airplayer.players) this.airplayer.update(...
import { action } from '@storybook/addon-actions' import { Meta, Story } from '@storybook/react' import type { AntivirusSettingProps } from './AntivirusSetting' import { AntivirusSetting } from './AntivirusSetting' export default { title: 'Modules/Machine/Settings/Antivirus', component: AntivirusSetting, descrip...
import * as Log from "https://deno.land/std/log/mod.ts"; export { Log, };
import { Constructor } from 'core-helpers'; export declare type ObservableType = { addObserver(observer: Observer): void; removeObserver(observer: Observer): void; callObservers(...args: any[]): void; isObservable(value: any): boolean; }; export declare type Observer = ObserverFunction | ObservableType;...
import { Test, TestingModule } from '@nestjs/testing'; import { IssuesService } from './issues.service'; describe('IssuesService', () => { let service: IssuesService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [IssuesService], }).compile(); ...
import * as React from "react"; import { useState, useEffect } from 'react'; import { getConfig } from "../../utils/config-utils"; import Typography from '@material-ui/core/Typography'; import { makeStyles } from '@material-ui/core/styles'; interface Props { } const useStyles = makeStyles((theme) => ({ highlight: {...
/** * Contains [[getClasses]] and [[getStylesheet]] functions, * usable as wrappers around JSS (A CSS authoring tool). * See https://cssinjs.org/ * @packageDocumentation */ import { create, Jss, Styles, StyleSheet } from 'jss' import preset from 'jss-preset-default' const stylesheetsMap = new Map<HTMLElement, Js...
import { Resolver, Query } from "type-graphql"; import { getRepository, getConnection } from 'typeorm'; import { Recipe } from '../entities/recipe'; @Resolver(() => Recipe) export class RecipeResolver { @Query(() => [Recipe]) public async recipes(): Promise<Recipe[]> { return getRepository(Recipe).find(); ...
version https://git-lfs.github.com/spec/v1 oid sha256:707f005cc239ff73ca870e1aec59c87ee9b1e1ecd78118853e4703d495e4a3ba size 1105816
export class HelpDialogState { public isOpen = false; constructor(fields?: { isOpen?: boolean }) { if (fields) { this.isOpen = fields.isOpen !== undefined ? fields.isOpen : this.isOpen; } } }
import Highlight, { defaultProps } from "prism-react-renderer"; import CopyButton from "../code/CopyButton"; import prettier from "prettier/standalone"; import babel from "prettier/parser-babel"; const formatCode = (code: string) => { try { const formated = prettier.format(`${code}`, { parser: "babel", ...
/** * Created by lamph on 2016/12/26. */ export class Todo { id: number; title: string = ''; createdDate: Date = new Date(); complete: boolean = false; constructor() { } }
import { ComponentWithAs, FormControl, FormErrorMessage, FormLabel, Input, Textarea, } from "@chakra-ui/react"; import { useField } from "formik"; import React, { InputHTMLAttributes } from "react"; interface Props extends InputHTMLAttributes<HTMLInputElement> { name: string; label: string; textarea?...
import { BaseUniDriver } from 'wix-ui-test-utils/base-driver'; export interface ComposerHeaderUniDriver extends BaseUniDriver { saveStatusExists: (dataHook: string) => Promise<boolean>; getSaveStatusValue: (dataHook: string) => Promise<string>; actionsExists: (dataHook: string) => Promise<boolean>; mainActions...
import assert from 'assert' import { stripHexPrefix } from './internal' import * as rlp from 'rlp' import { toBuffer, baToJSON, unpadBuffer } from './bytes' /** * Defines properties on a `Object`. It make the assumption that underlying data is binary. * @param self the `Object` to define properties on * @param fiel...
import { loadStripe } from "@stripe/stripe-js"; export async function getStripeJs() { const stripeJs = loadStripe(process.env.NEXT_PUBLIC_STRIPE_PUBLIC_KEY); return stripeJs; }
/// <reference path="../typings/modules/blue-tape/index.d.ts" /> /** * cqjs/test/system.test.js */ import { test } from 'blue-tape' import { EventStore, EventStream, System } from '../src' import * as Hello from './domains/hello' import HelloDomain from './domains/hello' import HelloHistoryView from './views/hell...
import { AppCommonService } from './app-common.service'; import { ConfigService } from './config.service'; import { PrismService } from './prism.service'; import { UtilityService } from './utility.service'; export const services = [AppCommonService, ConfigService, PrismService, UtilityService]; export * from './app-c...
import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` <header>Left-Nav with a Twist</header> <div class="container"> <left-nav></left-nav> <div class="r-o"> <router-outlet></router-outlet> </div> </div> `, styles: [` header { height: 50px; width: 100%; font-siz...
import { IsNotEmpty, IsOptional } from 'class-validator'; import { ApiProperty } from '@nestjs/swagger'; import { LessonScheduleDto } from './lesson-schedule.dto'; export class LessonDto { @ApiProperty() lessonId: number; @ApiProperty() @IsNotEmpty() subject: string; @ApiProperty() @IsNotEmpty() cost...
/** * @license * Copyright 2017 Google 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 ...
import React from 'react' import SummationFormula from '../molecules/SummationFormula' import SummationInputField from '../molecules/SummationInputField' import useSummation from '../hooks/useSummation' import BackButton from '../atoms/BackButton' export default function SummationContainer(): React.ReactElement { co...
import { makeStyles } from '@material-ui/core'; import { Platform } from 'client/Common/Components/Platform'; import { Times } from './Times'; import { useAbfahrt } from 'client/Abfahrten/Components/Abfahrt/BaseAbfahrt'; import type { FC } from 'react'; const useStyles = makeStyles({ wrap: { fontSize: '2.5em', ...
export enum Permission { /** User */ GET_USERS = 'GET_USERS', GET_USER = 'GET_USER', GET_PROFILE = 'GET_PROFILE', CREATE_USER = 'CREATE_USER', UPDATE_USER = 'UPDATE_USER', DELETE_USER = 'DELETE_USER', /** Roles */ GET_ROLES = 'GET_ROLES', GET_ASSIGNED_ROLES = 'GET_ASSIGNED_ROLES', /** Claims */ ...
import { Repository } from "./Repository"; import { DeepPartial } from "../common/DeepPartial"; import { SaveOptions } from "./SaveOptions"; import { FindOneOptions } from "../find-options/FindOneOptions"; import { RemoveOptions } from "./RemoveOptions"; import { FindManyOptions } from "../find-options/FindManyOptions"...
import { getRangeIndexes, NumberFormatType } from '../common/index'; import { CellModel, SheetModel, getCell, getSheet, setCell, getSheetIndex, Workbook } from '../base/index'; import { Internationalization, getNumberDependable, getNumericObject, isNullOrUndefined } from '@syncfusion/ej2-base'; import { isNumber, toFra...
import React from "react"; import { Story } from "@storybook/react/types-6-0"; import QuestionAnswer, { QuestionAnswerProps } from "./QuestionAnswer"; export default { title: "Question/QuestionAnswer", component: QuestionAnswer, }; const Template: Story<QuestionAnswerProps> = (args) => ( <QuestionAnswer {...
import * as React from 'react'; import { DefaultButton } from '@fluentui/react/lib/compat/Button'; import { DatePicker, IDatePicker } from '@fluentui/react-date-time'; import { mergeStyleSets } from '@fluentui/react/lib/Styling'; const styles = mergeStyleSets({ root: { selectors: { '> *': { marginBottom: 15 } } }, ...
import { Component } from './component' export declare class Badge extends Component { }
export * from './useValue' export * from './useDeepMemo' export * from './useDeepCompareMemoize' export * from './useDrag' export * from './useDragNumber' export * from './useCanvas' export * from './useTransform' export * from './useToggle' export * from './useVisiblePaths' export * from './useValuesForPath' export * ...
import { MongoService } from '@mock/mongo/mongo.service.mock'; import { CoreService, CreateUserDto, GetUsersDto, UpdateUserDto, UserIdDto } from '@common'; import { clientReq } from '@mock/auth/auth-mocks'; import { UserService } from '../../src/user/user.service'; import { UsersService } from '@mock/users/users.servic...
import { Component, OnInit, OnDestroy } from '@angular/core'; import { ActivatedRoute, Params } from '@angular/router'; import { Observable, Subscription } from 'rxjs/Rx'; import 'rxjs/add/operator/switch'; import { PackageService, PypiPackage } from '../shared'; @Component({ templateUrl: 'comparison.component.htm...
export declare function isEmail(x: string): boolean; export declare const Email: import("../../lib").ChainableAttributeSpec<StringConstructor>;
import type { IObjectOf, Nullable } from "@thi.ng/api"; import { isPlainObject } from "@thi.ng/checks/is-plain-object"; import { meldObjWith, mergeObjWith } from "./merge-with.js"; export const mergeDeepObj = ( dest: IObjectOf<any>, ...xs: Nullable<IObjectOf<any>>[] ): any => mergeObjWith( (a, b) =...
import { Component, OnInit } from '@angular/core'; import { HttpClient } from '@angular/common/http'; @Component({ selector : 'nz-doc-{{component}}-{{language}}', templateUrl : './{{component}}-{{language}}.html', preserveWhitespaces: false }) export class NzDoc{{componentName}}Component implements OnInit{ ...
/* * 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 { EuiDescriptionList, EuiFlexItem } from '@elastic/eui'; import darkTh...
import { Component, OnInit } from '@angular/core'; import { Admin } from '../common/abstract/admin.abstract'; import { BreadCrumbConfig } from '../common/configs/breadcrumb.config'; @Component({ selector: 'olib-home', templateUrl: './home.component.html', styleUrls: ['./home.component.scss'] }) export class Home...
import { fireEvent } from '@testing-library/react' import React from 'react' import { renderComp } from '../../setupTests' import SearchHistoryView from '../SearchHistoryView' test('renders', async () => { const { getByTestId } = renderComp(<SearchHistoryView />) let button = getByTestId('clear-history') await f...
import { HttpClient } from "@angular/common/http"; import { Injectable } from "@angular/core"; import { Subject } from "rxjs"; import { Config } from "../interfaces"; @Injectable({ providedIn: 'root', }) export class ConfigService { constructor(private http: HttpClient) { } public currentConfig: Subject<C...
/** * @license * Copyright 2021 Google LLC. All Rights Reserved. * 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 ...
export enum ConfigEnvEnum { DATABASE_CONNECTION = 'DATABASE_CONNECTION', DATABASE_USERNAME = 'DATABASE_USERNAME', DATABASE_PASSWORD = 'DATABASE_PASSWORD', DATABASE_AUTH_SOURCE = 'DATABASE_AUTH_SOURCE', JWT_SECRET_KEY = 'JWT_SECRET_KEY', JWT_EXPIRES = 'JWT_EXPIRES', SESSION_SECRET = 'SESSION_SECRET', SES...
import { FrameworkConfiguration } from "aurelia-framework"; import { SecurityContext } from "./security-context"; import { AuthorizeRequest } from "./authorize-request"; import { AuthorizeStep } from "./authorize-step"; import { Principal } from "./principal"; import { SecurityRole } from "./security-role"; import { Cr...
export class Location { addressNum : string; streetName : string; city : string; state : string; zip : string; constructor(){} }
import { Directive, EmbeddedViewRef, Input, TemplateRef, ViewContainerRef, OnDestroy } from '@angular/core'; import { Subscription } from 'rxjs'; import { SignalRService } from '../signal-r/signal-r.service'; import { OfflineNotificationService } from './offline-notification.service'; @Directive({ selector: '[IfOnli...
import { Hook } from '@oclif/core' import InversifyPlugin from './plugin' const hook: Hook<'init'> = async function () { this.config.plugins.push(new InversifyPlugin(this.config)) } export default hook
import { Compare } from '@ephox/sugar'; import { AlloyComponent } from '../api/component/ComponentApi'; import { EventFormat, SimulatedEvent } from '../events/SimulatedEvent'; const isSource = (component: AlloyComponent, simulatedEvent: SimulatedEvent<EventFormat>): boolean => Compare.eq(component.element, simulated...
import { get } from "./get" import jwt_decode from "jwt-decode" export function getUser(user: User | null | undefined): User | null { let _user = user if (_user === undefined) { const id = process.env.USER_ID const type = process.env.USER_TYPE || "User" const accessToken = process.env.USER_ACCESS_TOKE...
import { h } from '@stencil/core'; import { FormFieldType, PhoneFormFieldType } from './amplify-auth-fields-interface'; import { TextFieldTypes } from '../../common/types/ui-types'; const componentFieldMapping = { username: (ff: FormFieldType) => ( <amplify-username-field label={ff.label} placeholder...
import { CLIError } from "@oclif/errors"; export const cliInvariant = ( expression: unknown, message: string, options: Record<string, any> = {} ): void => { if (!expression) { throw new CLIError(message, options); } }; export const noExitCliInvariant = ( expression: unknown, message: string ): void ...
/** * @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 */ import {UniqueSelectionDispatcher} from '@angular/cdk/collections'; import {Directive, OnDestroy, ElementRef, Self, Op...
import { Moment } from 'moment' import React, { ReactElement, useContext } from 'react' import styled from 'styled-components/native' import DateFormatterContext from '../contexts/DateFormatterContext' import NativeHtml from './NativeHtml' import SpaceBetween from './SpaceBetween' import TimeStamp from './TimeStamp' ...
import * as _ from 'lodash'; import {Injectable} from '@angular/core'; import {Observable} from 'rxjs'; import {Subject} from '../models/Subject'; import {HttpClient} from '@angular/common/http'; import {BASE_API_URL} from '@app/app.component'; import {Level} from '@app/models/enums/Level'; const SUBJECT_URL: string ...
export class Usuario { nome: string; email: string; }
import {Injectable, Injector} from '@angular/core'; import Centrifuge from 'centrifuge'; import {Api, User, Flash} from '..'; import SockJS from 'sockjs-client'; import Config from "../../init"; /** * A simple settings/config class for storing key/value pairs with persistence. */ @Injectable() export class Centrifug...
export interface CollectionOptions { /** The path of the collection in Firestore */ path: string; /** The key to use as an id for the document in Firestore. Default is store.idKey */ idKey?: string; /** * If true we will remove the entity from the store * and add a new one in other to make sure * to ...
import { storiesOf } from '@storybook/react'; import * as React from 'react'; import Screener from 'screener-storybook/src/screener'; import { Button, ButtonProps, CompoundButton } from '@fluentui/react-button'; import { FluentProviderDecorator, FabricDecorator } from '../utilities/index'; // TODO: this is here while...
interface BaseError<T = string> { error: string | null; errorType: T; } export { BaseError };
import { gunzipSync } from 'zlib'; import nock from 'nock'; import { GraphQLSchemaModule } from 'apollo-graphql'; import gql from 'graphql-tag'; import { buildSubgraphSchema } from '@apollo/subgraph'; import { ApolloServer } from 'apollo-server'; import { ApolloServerPluginUsageReporting } from 'apollo-server-core'; im...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="vi_VN" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Espers</source> <translation type="unfinished"/> </message> <message> <location line...
import { ObjectId } from "../objectid/ObjectId"; import { isObject, keysOf, isInfOrNaN } from "../utilities"; import { toJSONValueHelper } from "./toJSONValueHelper"; // for both arrays and objects, in-place modification. export const adjustTypesToJSONValue = (obj) => { // Is it an atom that we need to adjust? if (...
const UNITS = ["B", "KB", "MB", "GB", "TB", "PB"]; /** * Converts a long string of bytes into a readable format e.g KB, MB, GB, TB, PB */ export const toReadableBytes = (bytes: number) => { if (bytes < 0) { throw new Error("Negative values are not allowed"); } if (bytes < 1) { return `0 ${UNITS[0]}`; ...
import * as React from 'react'; import { translate } from '@waldur/i18n'; import { deleteHPA } from '@waldur/rancher/api'; import { ResourceDeleteButton } from '../ResourceDeleteButton'; export const HPADeleteButton = (props) => ( <ResourceDeleteButton apiFunction={() => deleteHPA(props.hpa.uuid)} resource...
import React, { ReactNode } from 'react'; import { ScreenSize } from '~/constants/enums'; type Props = { size: ScreenSize; children: ReactNode; }; function ValueRender({ size, children }: Props) { if (size === ScreenSize.small) { return <h3>{children}</h3>; } return <h1>{children}</h1>; ...
import { MaterialRevaluationRequestBuilder } from './MaterialRevaluationRequestBuilder'; import { Moment } from 'moment'; import { MaterialRevaluationLine } from './MaterialRevaluationLine'; import { BoYesNoEnum } from './BoYesNoEnum'; import { AllFields, CollectionField, CustomFieldV4, DateField, EntityBuilderType, En...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="de" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About AndesCoin</source> <translation>Über AndesCoin</translation> </m...
import { Component, ViewChild } from '@angular/core'; import { FirebaseX } from "@awesome-cordova-plugins/firebase-x/ngx"; import { ScreenOrientation } from '@awesome-cordova-plugins/screen-orientation/ngx'; import { SplashScreen } from '@awesome-cordova-plugins/splash-screen/ngx'; import { StatusBar } from '@awesome-c...
import React, {FC, ReactNode, useEffect} from 'react'; import {useLocation} from 'react-router-dom'; import clsx from 'clsx'; import {Footer, GoToTop} from 'components'; import TopNav from 'containers/TopNav'; import './Layout.scss'; export interface LayoutProps { children: ReactNode; } const Layout: FC<LayoutProp...
import copyImg from '../assets/images/copy.svg'; import '../styles/room-code.scss'; type RoomCodeProps = { code: string } export function RoomCode(props: RoomCodeProps){ function copyRoomCodeToClipboard(){ navigator.clipboard.writeText(props.code); } return ( <button onClick={copyRoo...
import { NgModule, Optional, SkipSelf } from '@angular/core'; import { throwIfAlreadyLoaded } from '@giddh-workspaces/utils'; import { ELECTRON_PROVIDERS, ElectronService } from './services'; @NgModule({ providers: [...ELECTRON_PROVIDERS] }) export class FooElectronCoreModule { constructor( @Optional(...
type Props = { isVisible: boolean, } & React.ComponentProps<'div'> export const LoaderWrapper = ({ isVisible, ...rest }: Props) => ( <div css={{ left: '50%', opacity: isVisible ? 1 : 0, position: 'absolute', top: '50%', transform: 'translate(-50%, -50%)', transition: 'opacity 0.4s', }} {...re...
import * as ApiKey from './api-key'; import * as AppBundle from './app-bundle'; import * as AppDefinition from './app-definition'; import * as AppInstallation from './app-installation'; import * as AppUpload from './app-upload'; import * as AppSignedRequest from './app-signed-request'; import * as AppSigningSecret from...
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FormDataComponent } from './form-data.component'; describe('FormDataComponent', () => { let component: FormDataComponent; let fixture: ComponentFixture<FormDataComponent>; beforeEach(async () => { await TestBed.configureTestingModu...
import IShape from './IShape' import { Vector } from 'matter-js' export default class RectangleShape implements IShape { protected _position: Vector protected _width: number protected _height: number protected _angle: number protected _style?: any constructor(position: Vector, width: number, height: numbe...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-page-privacy', templateUrl: './page-privacy.component.html', styleUrls: ['./page-privacy.component.css'] }) export class PagePrivacyComponent implements OnInit { constructor() { } ngOnInit(): void { } }
import { usePageFrontmatter } from "@vuepress/client"; import { computed, defineComponent, h, resolveComponent } from "vue"; import MarkdownContent from "@theme-hope/components/MarkdownContent"; import PageMeta from "@theme-hope/components/PageMeta"; import PageNav from "@theme-hope/components/PageNav"; import PageTit...
import Make from "./Make"; /** * Generator command * * @class */ export default class MakeListenerCommand extends Make { /** * Integrated command flag * * @type {boolean} */ static integrated: boolean = true; /** * Static signature key that will be callable name of our command. * * @typ...
import { RequestServiceOptions, ServiceConfig, utils, } from '@atlaskit/util-service-support'; import { version as npmPackageVersion } from './version.json'; import { NotificationLogProvider, NotificationCountResponse } from './types'; export const DEFAULT_SOURCE = 'atlaskitNotificationLogClient'; export defaul...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="et" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Madcoin</source> <translation>Madcoinist</translation> </message...
// Copyright 2017-2021 @axia-js/types authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AnyNumber, Constructor, Registry } from '../types'; import type { UIntBitLength } from './types'; import { AbstractInt } from './AbstractInt'; /** * @name UInt * @description * A generic unsigned inte...
import * as Rx from '../../src/Rx'; import '../../src/add/observable/generate'; import { TestScheduler } from '../../src/testing/TestScheduler'; import { expect } from 'chai'; declare const {asDiagram, expectObservable}; declare const rxTestScheduler: TestScheduler; const Observable = Rx.Observable; function err(): a...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import Scope from "../Scope"; import {AnyNode, tsInterfaceDeclaration} from "@romejs/ast"; import {TypeBinding} from "@romejs/comp...
import { ModalProps } from 'telestoworld-dapps/dist/providers/ModalProvider/ModalProvider.types' import { Land } from 'modules/land/types' import { Dispatch } from 'redux' import { dissolveSectorRequest, DissolveSectorRequestAction } from 'modules/land/actions' export type Props = ModalProps & { metadata: DissolveMo...