text
stringlengths
10
953k
import { describe, it } from '@ephox/bedrock-client'; import { Arr } from '@ephox/katamari'; import { McEditor } from '@ephox/wrap-mcagar'; import { assert } from 'chai'; import Editor from 'tinymce/core/api/Editor'; import { RawEditorOptions } from 'tinymce/core/api/OptionTypes'; import { PasteBin } from 'tinymce/cor...
/// <reference types="react" /> import { IconPropsWithoutChildren } from '@react-spectrum/icon'; export default function AnnotatePen(props: IconPropsWithoutChildren): JSX.Element; //# sourceMappingURL=AnnotatePen.d.ts.map
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** 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, enums } from "../../types"; import * as utilities from "../../utilities"; /*...
import handlers from "./handlers/handlers"; import { Constructor } from "../util/types"; export default class Patcher { static createObject<T>(settings: any, defaultType: Constructor<T> | undefined, ...cargs: any[]): T { let object; if (settings.type) { object = new settings.type(...car...
<TS language="de" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Rechtsklick zum Bearbeiten der Adresse oder der Bezeichnung</translation> </message> <message> <source>Create a new address</source...
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { ChangeDetectionStrategy, Component } from '@angular/core'; @Component({ selector: 'nb-button-hero', changeDetection: ChangeDetectionStrategy.OnPush,...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { FileSystemConfiguration } from 'common/configuration/file-system-configuration'; import { UserConfigMessageCreator } from 'common/message-creators/user-config-message-creator'; import { app, BrowserWindow, dialog, i...
// NOTE(jim): https://github.com/filecoin-project/go-data-transfer/blob/master/statuses.go // Definitions export const statusColors = { 0: `var(--status-0)`, 1: `var(--status-1)`, 2: `var(--status-2)`, 3: `var(--status-3)`, 4: `var(--status-4)`, 5: `var(--status-5)`, 6: `var(--status-6)`, 7: `var(--sta...
<TS language="nl_NL" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Klik met de rechter muisknop om dit adres of label te veranderen</translation> </message> <message> <source>Create a new address...
/** * Dasha.AI Platform API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech *...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const ionPrintOutline: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const lig...
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import * as MRE from '@microsoft/mixed-reality-extension-sdk'; import { Test } from '../test'; export default class TransformTest extends Test { public expectedResultDescription = "Four half-meter cubes in a row"; ...
import Col from "antd/lib/col"; import Icon from "antd/lib/icon"; import Row from "antd/lib/row"; import BigNumber from "bignumber.js"; // @ts-ignore import window from "global/window"; import { validateAddress } from "iotex-antenna/lib/account/utils"; import { t } from "onefx/lib/iso-i18n"; import React from "react"; ...
/** * @license * Copyright 2017 Google Inc. 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 by a...
import { subtract, Expression, Vec2Primitive } from "swizzler"; import { DistanceField } from "../../../distance-field"; /** * Translates a given distance field by a given factor. * @param by The translation to apply. * @param distanceField The distance field to scale. * @returns The given distance field, translat...
import { getModelForClass, index, prop, Ref } from "@typegoose/typegoose"; import { IsNumber, MaxLength, Min, MinLength } from "class-validator"; import { customAlphabet } from "nanoid"; import { Field, InputType, ObjectType } from "type-graphql"; import { User } from "./user.schema"; const nanoid = customAlphabet("ab...
import React from 'react'; import { AppLoading } from 'expo'; import { StatusBar } from 'react-native'; import { Roboto_400Regular, Roboto_500Medium } from '@expo-google-fonts/roboto'; import { Ubuntu_700Bold, useFonts } from '@expo-google-fonts/ubuntu'; import Routes from './src/routes'; export default function App...
import * as React from 'react'; import { makeStyles, Theme } from 'src/components/core/styles'; import TableCell from 'src/components/core/TableCell'; import Typography from 'src/components/core/Typography'; import OrderBy, { OrderByProps } from 'src/components/OrderBy'; import TableSortCell from 'src/components/TableS...
export * from './components/door'; export * from './utils/index';
import { Theme, makeStyles } from '@material-ui/core/styles'; export const useStyles = makeStyles((theme: Theme) => ({ root: { margin: theme.spacing(0, `auto`), padding: theme.spacing(4), minWidth: 250, maxWidth: theme.breakpoints.values.sm, }, cardContent: { padding: 0, }, cardActions: {...
import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { AuthModule } from 'src/auth/auth.module'; import { InternalUsersModule } from 'src/internal-users/internal-users.module'; import { ClientController } from './client.controller'; import { ClientRepository } from './client....
/* * 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 agreed to in writing, * software distributed...
import { NodeConfig } from '../../types' import { makeArgs } from '../helpers' import { Assertions } from 'ava' import * as http from 'ava-http' import { Chat } from '../../types' export async function getTribeIdFromUUID( t: Assertions, node: NodeConfig, tribe: Chat ) { //GET TRIBE ID FROM PERSPECTIVE OF NODE ...
import { BzzBrowser } from '@erebos/bzz-browser'; import { BzzFeed, FeedID } from '@erebos/bzz-feed'; const BZZ_URL = "https://swarm-gateways.net/"; export class SwarmFeed { bzz: BzzBrowser; bzzFeed: BzzFeed; constructor( private signer: any, public user: string, private onPassphras...
import * as vbasic from './vertex/Basic'; import * as fbasic from './fragment/Basic'; import * as phong from './fragment/Phong'; import * as physical from './fragment/Physical'; import { Primitives as PBRPrimitives } from './fragment/BRDF/Primitives'; import * as PBRFunctions from './fragment/BRDF/Functions'; const Sh...
// Copyright 2017-2021 @axia-js/util authors & contributors // SPDX-License-Identifier: Apache-2.0 /** * @name bufferToU8a * @summary Creates a Uint8Array value from a Buffer object. * @description * `null` inputs returns an empty result, `Buffer` values return the actual value as a `Uint8Array`. Anything that is ...
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Recipe } from './recipe'; import { Grade } from './grade'; import { Comment } from './comment'; import { IngredientRecipe } from './ingredientRecipe' import { Observable, throwError } from 'rxjs'; import...
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-ge...
import { Inject, Injectable } from '@angular/core'; import { app, BrowserWindow } from 'electron'; const isElevated = require('is-elevated'); @Injectable({ providedIn: 'root' }) export class NodeAppService { private _version: string; constructor( private _browserWindow: BrowserWindow, @Inject('IS_DEV')...
import cx from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import omit from '../_utils/omit'; import IndicatorSVG from './IndicatorSVG'; import './index.less'; // Render indicator let defaultIndicator = null; function shouldDelay(isLoading, delay) { return !!isLoading && !!delay &...
export interface RGBA { r: number; g: number; b: number; a?: number; } export interface HSLA { h: number; s: number; l: number; a?: number; } // https://en.wikipedia.org/wiki/HSL_and_HSV export function hslToRGB({h, s, l, a = 1}: HSLA): RGBA { if (s === 0) { const [r, b, g]...
import { Arr, Optional } from '@ephox/katamari'; import { DomParent } from '@ephox/robin'; import { TablePositions } from '@ephox/snooker'; import { Compare, SelectorFilter, SelectorFind, Selectors, SugarElement } from '@ephox/sugar'; import { Identified, IdentifiedExt } from './Identified'; interface Edges { readon...
import { Vec3, SkillId, Customize, PacketBase } from '../lib/Common' export class C_REQUEST_GAMESTAT_PING_1 extends PacketBase { }
/* tslint:disable */ /* auto-generated angular directive proxies */ import { Component, ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core'; import { proxyInputs, proxyMethods, proxyOutputs } from './proxies-utils'; type StencilComponents<T extends keyof StencilElementInterfaces> = StencilElementInterfa...
import { renderHook } from '@testing-library/react-hooks'; import { useAnalytics } from 'lib/analytics'; import { prepareDataLayer, getDataLayerSpy, expectDataLayer, } from 'lib/analytics/testing-utilities.test'; import { pageViewEventKey } from './documents'; import { getSamplePageAnalyticsProps } from './sample'...
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { ContainerRuntimeFactoryWithDefaultDataStore, } from "@fluidframework/aqueduct"; import { DiceRoller, DiceRollerInstantiationFactory } from "./main"; export { DiceRoller, DiceRollerInstantiationFactory...
import { NgModule } from '@angular/core'; import { FlexLayoutModule } from '@angular/flex-layout'; import { MatCardModule, MatPaginatorModule, MatTableModule } from '@angular/material'; import { Route, RouterModule } from '@angular/router'; import { UsageComponent } from './main/usage.component'; const extraModules =...
<<<<<<< HEAD const HttpMessage={ 'LOGIN_PROVIDER': { '404': 'Invalid username/password!', '401': 'Invalid username/password!' }, 'Default': { '404': 'Something went to wrong!', '401': 'Invalid username/password!' } } ======= const HttpMessage={ 'LOGIN_PROVIDER': { ...
import { chain, externalSchematic, move, noop, Rule, schematic, SchematicsException, Tree, } from '@angular-devkit/schematics'; import { addLintFiles, formatFiles, Linter, updateJsonInTree, } from '@nrwl/workspace'; import { addUnitTestRunner } from '../init/init'; import { addModule } from './l...
import {Component} from 'angular2/core'; import {RouteConfig, ROUTER_DIRECTIVES} from 'angular2/router'; export class Item { constructor(public id: number, public title: string) { } } @Component({ template: ` <table class="table"> <thead> <tr> <th>#</th> <th>Nazwa</th> </tr> </thea...
import { Request } from "../../../mod.ts"; export const options = { params: true, methods: ["GET"], }; export default function (request: Request) { const params = request.getParams(); request.send(params); }
import type { AWS } from '@serverless/typescript'; import { itemFunctions, listFunctions } from '@functions/index'; import { tableLists, tableItems } from '@dbTables/db-tables'; const serverlessConfiguration: AWS = { service: 'shopping-list-api', frameworkVersion: '2', plugins: [ 'serverless-esbuild', 's...
import { Module } from '@nestjs/common'; import { UsersService } from './users.service'; import { UsersResolver } from './users.resolver'; import { PrismaModule } from '../prisma/prisma.module'; @Module({ imports: [PrismaModule], providers: [UsersService, UsersResolver], }) export class UsersModule {}
import { EventEmitter } from 'events'; import { EthAddress, Player, QueuedArrival, Planet, LocationId, Artifact, ArtifactId, Location, } from '../_types/global/GlobalTypes'; import { Contract, providers, utils, Event, BigNumber as EthersBN, ContractFunction, } from 'ethers'; import _ from 'l...
import * as mongoose from 'mongoose'; import { UserRole } from './item.interface'; export const IiemShema = new mongoose.Schema({ name: String, jenis: String, description: String, email: String, password: String, role: String, });
import { NgModule } from '@angular/core'; import { SharedModule } from '../../shared/shared.module'; import { CreateEditSecretComponent } from './create-edit-secret/create-edit-secret.component'; import { SecretComponent } from './secret.component'; import { ListSecretComponent } from './list-secret/list-secret.compone...
import APIResource from './APIResource' import APIList from './APIList' /** * APIResourceBillingPeriod * * @class * @extends APIResource */ class APIResourceDeviceGroup extends APIResource { /** * /device-groups/{id} * * Constructor */ constructor (parent: object, id: number) { if (id == nul...
import { CB } from './orderForm'; export declare const addToCart: (orderFormId: string, items: Vtex_ItemInput[], cb: CB) => Promise<{ id: string; canEditData: boolean; loggedIn: boolean; userProfileId: string | null | undefined; userType: any; value: number; allowManualPrice: boolean | null ...
import * as React from 'react' import { Link, browserHistory } from 'react-router' import { Segment, Header, Image, Grid, Icon, Button, Container, Divider} from 'semantic-ui-react' export default class Index extends React.Component<{ params: { organizationName: string } }, {}> { render() { ...
import { allowedTestNameCharacters } from './allowed_characters.js'; import { Fixture } from './fixture.js'; import { TestCaseID } from './id.js'; import { LiveTestCaseResult, TestCaseRecorder, TestSpecRecorder } from './logger.js'; import { ParamSpecIterable, ParamsAny, paramsEquals } from './params/index.js'; export...
export { format, FormatTask } from './formatter'; export { capitalize, lowerCase, geoformat, replace, trim, unprotocol, } from './formatters';
import { reducerGenerators } from '../utils/reducer-generator'; export abstract class Reducer<T> { public readonly initialState: T; constructor(state: T) { this.initialState = state; } public build(): any { return reducerGenerators(this.initialState, this.actions); } public abstract get actions(): { [ke...
export { RainScatteredNight16 as default } from "../";
import * as React from "react"; function SvgRule(props: React.SVGProps<SVGSVGElement>) { return ( <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" {...props} > <path d="M16.54 11L13 7.46l1.41-1.41 2.12 2.12 4.24-4.24 1.41 1.41L16.54 11zM...
import { STU3_BackboneElement } from './STU3_BackboneElement' import { STU3_DomainResource } from './STU3_DomainResource' export class STU3_CapabilityStatement_Certificate extends STU3_BackboneElement { static def : string = 'CapabilityStatement_Certificate'; type : string ; blob : string ; }
/* tslint:disable */ /* Copyright 2022 The Outline 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...
import React from 'react'; import styles from './InfoTable.styles'; import { Tooltip } from "antd"; export interface InfoTableRowBase { label: string; labelTooltip?: string | (() => React.ReactNode); } export interface InfoTableStringRow extends InfoTableRowBase { value: string; } export interface InfoTa...
import React from 'react'; import { FaEdit } from 'react-icons/fa'; import { saveFunctionComment, setEditing } from '../customFunctionReducer'; interface FunctionCommentEditorProps { isEditing: boolean; defaultValue: string; readOnly: boolean; dispatch: (input: any) => void; } export const FunctionCommentEdi...
export declare function getPicturesAuthorizationStatus(): number; export declare function hasFilePermissions(): boolean; export declare function requestFilePermissions(): Promise<boolean>;
import * as React from 'react' import styled from 'styled-components' interface CardProps { children: string | React.ReactNode | JSX.Element flexContent?: any gap?: any } const ContainerLite = ({ children, flexContent, gap = 5 }: CardProps) => { return ( <ContainerComponent flexContent={flexContent} gap={...
/* Copyright 2020 The TensorFlow Authors. 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 by applicable law or a...
import { Component , OnInit, HostBinding } from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ionic-angular'; import { NgForm } from '@angular/forms'; import { Events } from 'ionic-angular'; import {RegisterPage, UserPage} from './../pages'; import { AuthService } from '../../services/auth.ser...
function traceNoTabelData(): void { throw new Error("数据表无"); } module tb { export class TB_skill_effect { public ID: number; public action: string; public frame: Array<number>; public att_type: number; public ballistic: number; public effect_id: number; ...
/** * Mutex provides a mutex lock. */ export class Mutex { // default is 0, state = 0 is free, state = 1 is locked. private state = 0; private queue: (() => void)[] = []; /** * lock locks the mutex. If the mutex has been locked, we will wait for the mutex to be available. */ public async lock(): Prom...
import RestClient from '../data/restClient' import logger from '../../logger' import { ApiConfig } from '../config' import AllocateOffenderManagers from '../models/AllocateOffenderManagers' import OffenderManagerPotentialWorkload from '../models/OffenderManagerPotentialWorkload' import OffenderManagerCases from '../mod...
import { createRequestActor } from "../RequestActor"; import { useRequesting$ } from "../useRequesting$"; import { Store, StoreProvider, useSelector } from "@reactorx/core"; import React from "react"; import { act, render } from "@testing-library/react"; describe("useRequesting$", () => { const getApiList = createRe...
export const ADD_TASK = "ADD_TASK"; export const SET_TASKS = "SET_TASKS"; export const CLEAR_TASKS = "CLEAR_TASKS"; export const REMOVE_TASK = "REMOVE_TASK"; export const UPDATE_TASK = "UPDATE_TASK"; export type Task = { _id?: string; content: string; priority: number; timestamp?: string; completed?: boolean...
import * as React from 'react'; import IconBase, { IconBaseProps } from './IconBase'; const SvgIcon = (props: React.SVGProps<SVGSVGElement>) => ( <svg width="1em" height="1em" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" fill="currentColor" {...props} > <path d="M500...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/// <reference types="react" /> interface Props { name: string; label?: string; multiline?: true; } declare type TextAreaProps = JSX.IntrinsicElements['textarea'] & Props; export default function Textarea(props: TextAreaProps): JSX.Element; export {};
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import IBranch, { IBranchUpdate } from "./branch.interface"; import { IMandatoryCrud, IOptionalCrud } from "../../common/crud.interface"; import branchDao from "./branch.dao"; import IObjectProps from "../../common/props.interface"; class BranchService implements IMandatoryCrud<IBranch, string>, IO...
import { TemplateConfig } from './template-config' export interface CliOptions { projectName: string templateName: string templatePath: string tartgetPath: string config: TemplateConfig }
import { forwardRef, Icon, IconProps } from '@queelag/react-core' import React, { ForwardedRef } from 'react' /** * Usage: * * ```typescript * import { IconMotionPhotosAuto } from '@queelag/react-material-icons' * * function App() { * return <IconMotionPhotosAuto /> * } * ``` * * @category Component */ e...
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; import { ModifyGlobalClusterMessage, ModifyGlobalClusterResult } from "../models/models_1"; import { deserializeAws_queryModifyGlobalClusterCommand, serializeAws_queryModifyGlobalClusterCommand, } from "../protocols/Aws_q...
/** * * * 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 ...
/** * @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 {StaticSymbol} from './aot/static_symbol'; import {CompileInjectableMetadata, CompileNgModuleMetadata, Compile...
/** * @file API:/remit/authentication */ import { ajax } from "@/utils/request"; /** * 新增免验证 * @param authenticationInfoDto 新增免验证 * @param success 请求成功的回调函数 * @param error 请求失败的回调函数 */ export function addAuthentication(authenticationInfoDto?: AuthenticationInfoDto, success?: (data: WebResult["data"], response:...
/// <reference types="node" /> import * as msRest from "@azure/ms-rest-js"; /** * An object describing face rectangle. */ export interface FaceRectangle { /** * X-coordinate of the top left point of the face, in pixels. */ left?: number; /** * Y-coordinate of the top left point of the face,...
import * as React from 'react'; export const UnityFps: React.FunctionComponent = () => ( <div style={{ overflow: 'hidden', width: '100%', height: '100%' }}> <iframe title="LunneFps" id="serviceFrameSend" src="./unity-fps/index.html" width="100%" h...
import axios from "axios"; import prismaClient from './../prisma'; import { sign } from "jsonwebtoken"; interface IAcessTokenResponse { access_token: string } interface IUserResponse { avatar_url: string, login: string, id: number, name: string } class AuthenticateUserService{ async execute(...
import React from "react"; import { View } from "react-native"; import "react-native-gesture-handler"; import { useFonts, Inter_400Regular, Inter_500Medium, Inter_700Bold, } from "@expo-google-fonts/inter"; import AppLoading from "expo-app-loading"; import { StatusBar } from "expo-status-bar"; import { Routes...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { EditRoutingModule } from './edit-routing.module'; import { FormsModule } from '@angular/forms'; import { AppMaterialModule } from 'src/app/app-material/app-material.module'; import { EditComponent } from '../edit/edit.co...
import { AnyLayer } from "../../internal"; export default function grayscale(layer: AnyLayer): number { // Debug layer._debug("Grayscaling"); // Adjust saturation const editID: number = layer.saturation(0); // Return return editID; }
// libs import { TNSPlayer } from "nativescript-audio"; import * as fileSystemModule from "tns-core-modules/file-system"; // app import { ITrack } from "./track.model"; interface ITrackPlayer { trackId: number; duration: number; readonly player: TNSPlayer; } export class TrackPlayerModel implements ITra...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/* The MIT License Copyright (c) 2017-2019 EclipseSource Munich https://github.com/eclipsesource/jsonforms Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includi...
import { Component, ViewChild, ElementRef } from '@angular/core'; import { ConferenceData } from '../../providers/conference-data'; import { InsideServiceProvider } from '../../providers/inside-service/inside-service'; import { Platform } from 'ionic-angular'; declare var google: any; var markers = []; var map; @C...
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { IDocumentDeltaConnection, IDocumentDeltaConnectionEvents } from "@fluidframework/driver-definitions"; import { ConnectionMode, IClientConfiguration, IDocumentMessage, INack, ISequencedDo...
import { Controller, Post, Body } from '@nestjs/common'; import * as firebase from 'firebase-admin'; import { LoginRequestDTO } from '@polls/auth/shared-auth-interfaces'; @Controller('auth') export class AuthController { @Post('login') async validateToken(@Body() loginRequest: LoginRequestDTO) { console.log(lo...
import { useMutation } from '@apollo/client' import { Flex, Stack } from '@chakra-ui/layout' import { Heading, useToast } from '@chakra-ui/react' import React from 'react' import { useIntl } from 'react-intl' import { useRecoilValue, useSetRecoilState } from 'recoil' import { Action, ActionMenu } from 'src/components/...
/* * @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 { useOnOff } from './useOnOff'; export function useModal(options: { defaultOpened?: boolean; }): [isOpen: boolean, open: () => void, close: () => void] { const { defaultOpened = false } = options; const [isOpen, open, close] = useOnOff(defaultOpened); return [isOpen, open, close]; }
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction, BaseContract, ContractTransaction, Overrides, CallOverrides, } from "ethers"; import { BytesLike } from "@ethersproject/byte...
import { MEDIA_UI } from "@utils/path"; import { LitElement, html, css, customElement, property } from "lit-element"; const STR_TITLE = "Welcome to JI Family"; const STR_SUB = "You can now create, play, and share your content."; const STR_SUBSUB = "We are here to help you in whatever you need."; @customElement("page-...
export const ROUTES = { DOMAIN_API: 'http://localhost/projects/tests/api/public/api' }
import {UpdateTask} from '@/apiClient'; import {getLists} from '@/actions/projects/lists'; import {Task} from '@/entities/task'; export const RequestUpdateTask = 'RequestUpdateTask' as const; export const ReceiveUpdateTask = 'ReceiveUpdateTask' as const; export const ErrorUpdateTask = 'ErrorUpdateTask' as const; expor...
/** * @license * Copyright 2017 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
import { createSelector } from "reselect"; import { RootState } from "../store"; import { Department } from "../../models/types"; import { hasKey } from "../../helpers/queries"; export const getDeptState = (state: RootState): { [id: number]: Department } => state.department.byId; export const getDepartments = creat...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { TransportListComponent } from './transport-list.component'; describe('TransportListComponent', () => { let component: TransportListComponent; let fixture: ComponentFixture<TransportListComponent>; beforeEach(async(() => { Te...