text
stringlengths
10
953k
import React, { ChangeEvent, FormEvent, PureComponent } from 'react'; import isEqual from 'lodash/isEqual'; import { AppEvents, LoadingState, VariableType } from '@grafana/data'; import { Icon, InlineFormLabel } from '@grafana/ui'; import { selectors } from '@grafana/e2e-selectors'; import { variableAdapters } from '....
export const description = ` Tests for map-state of mappable buffers used in submitted command buffers. - x= just before queue op, buffer in {BufferMapStatesToTest} - x= in every possible place for mappable buffer: {writeBuffer, copyB2B {src,dst}, copyB2T, copyT2B, ..?} TODO: implement `; import { makeTestGroup } ...
import AsyncStorage from '@react-native-community/async-storage' import ApolloClient from 'apollo-boost' import { InMemoryCache, IntrospectionFragmentMatcher } from 'apollo-cache-inmemory' import { persistCache } from 'apollo-cache-persist' import introspectionQueryResultData from 'src/apollo/types' import config from ...
import _ from 'lodash'; import React, {Component, ReactElement, isValidElement, ElementRef} from 'react'; import { Animated, StyleSheet, AccessibilityInfo, findNodeHandle, GestureResponderEvent, ImageSourcePropType, ImageStyle, StyleProp, TextStyle, ViewStyle, LayoutChangeEvent, View as RNView }...
export const TICK_RATE = Number(process.env.TICK_RATE) || 60 export const SEND_RATE = Number(process.env.SEND_RATE) || 10 export const PORT = Number(process.env.PORT) || 8000 export const MESSAGE_MAX_BYTE_LENGTH = Number(process.env.MESSAGE_MAX_BYTE_LENGTH) || Infinity
import { HttpException, HttpStatus, Injectable } from "@nestjs/common"; import { CreateUserInput } from "./dto/input/create-user.input"; import { User } from "./models/user.entity"; import { UpdateUserInput } from "./dto/input/update-user.input"; import { GetUserArgs } from "./dto/args/get-user.args"; import { DeleteUs...
export { WatsonHealthWindowBase20 as default } from "../../../";
import React, { useContext } from "react" import { cloudinaryUrlFromId, t, GridSection, GridCell, MinimalTable, TableThumbnail, } from "@bloom-housing/ui-components" import { ListingContext } from "../../ListingContext" const DetailListingPhoto = () => { const listing = useContext(ListingContext) let ...
type MkdirOptions = { NSURLIsExcludedFromBackupKey?: boolean // iOS only NSFileProtectionKey?: string // IOS only } type FileOptions = { NSFileProtectionKey?: string // IOS only } type ReadDirItem = { ctime: Date | undefined // The creation date of the file (iOS only) mtime: Date | undefined // The last modified...
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, NgZone, OnDestroy, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; import * as fromHome from '../../reducers'; import { ItemInOrder, Order, OrderType } from '../../../../../models/order.model'; import { Subscription } from 'rxj...
import React from 'react'; import { SquareIconProps } from './models'; const EloquiaLogo = (props: SquareIconProps) => { const { dimension } = props; return ( <svg width={dimension} height={dimension} viewBox="0 0 81 80" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink...
import express from 'express'; import { randomBytes } from 'crypto'; import cors from 'cors'; import bodyParser from 'body-parser'; import axios from 'axios'; const app = express(); app.use(bodyParser.json()); app.use(cors()); interface IComment { id: string; content: string; status: string; } interface IComme...
import { IAnnotation } from "./Annotation"; import { ICodeableConcept } from "./CodeableConcept"; import { IContactDetail } from "./ContactDetail"; import { IElement } from "./Element"; import { IExtension } from "./Extension"; import { IIdentifier } from "./Identifier"; import { IDomainResource } from "./IDomainResour...
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('lookfor...
import * as React from 'react'; function IconBaseServerSizeAll(props: React.SVGProps<SVGSVGElement>) { return ( <svg viewBox="0 0 24 24" {...props}> <path fillRule="evenodd" clipRule="evenodd" d="M16.5 11.25H12.75V12H17.25C17.6642 12 18 12.3358 18 12.75V14.25H20.25C21.0784 14.25 21.75 14.9216 21.75 15.75V1...
import React from 'react'; import styled from 'styled-components'; interface IRadioButtonProps { setState: React.Dispatch<React.SetStateAction<any>>; checked: boolean; } const RadioButton: React.FC< IRadioButtonProps & React.HTMLProps<HTMLInputElement> > = props => { const onChange: React.MouseEventHandler = ...
import { TimePeriod } from "@shared/models/time-period.enum"; import { TimeConvention } from "@shared/models/time-convention.enum"; export interface ITime{ hours: number; minutes: number; timePeriod: TimePeriod; timeConvention: TimeConvention; inc(step: number); dec(step: number); roundTo(...
import { assertSuccess } from '@chainlink/ea-test-helpers' import { AdapterRequest } from '@chainlink/types' import { BigNumber } from 'ethers' import nock from 'nock' import sinon from 'sinon' import * as NFC from '../../src/abi/NFC' import { makeExecute } from '../../src/adapter' import * as config from '../../src/co...
import Stripe = require('stripe'); import { customers } from 'stripe'; const stripe = new Stripe("sk_test_BF573NobVn98OiIsPAv7A04K"); stripe.setApiVersion('2019-05-16'); //#region Balance tests // ################################################################################## stripe.balance.retrieve((err, balanc...
import { Test, TestingModule } from '@nestjs/testing'; import { HttpStatus, INestApplication, ValidationPipe } from '@nestjs/common'; import * as request from 'supertest'; import { CoffeesModule } from '../../src/coffees/coffees.module'; import { TypeOrmModule } from '@nestjs/typeorm'; import { CreateCoffeeDto } from '...
import { MotionBox } from './MotionBox' import type { BoxProps } from '@chakra-ui/react' export const Flicker = (props: BoxProps) => { return ( <MotionBox as="span" animate={{ opacity: [1, 0, 1] }} transition={{ repeat: Infinity, ease: 'linear', duration: 1 }} {...props} /> ) }
<?xml version="1.0" ?><!DOCTYPE TS><TS language="eo" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Dipiu</source> <translation>Pri Dipiu</translation> </message> ...
import { Test, TestingModule } from '@nestjs/testing'; import { DeptsService } from '../../src/depts/depts.service'; describe('DeptsService', () => { let service: DeptsService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [DeptsService], }).compi...
const types = { BoGen: Symbol.for('BoGen') } export default types
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. "use strict"; import * as fs from "fs-extra"; import { ConfigFolderName, ConfigMap, CryptoProvider, InputConfigsFolderName, Json, LocalSettings, } from "@microsoft/teamsfx-api"; import { LocalSettingsAuthKeys, LocalSettingsBacke...
/* tslint:disable */ /* eslint-disable */ /** * ORCID Public * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: Latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech)...
import { Path } from '../jsutils/Path'; import { GraphQLError } from '../error/GraphQLError'; import { ASTNode } from '../language/ast'; import { GraphQLInputType } from '../type/definition'; interface CoercedValue { readonly errors: ReadonlyArray<GraphQLError> | undefined; readonly value: any; } /** * Coerces a...
// api endpoint, like amethyst.host/api/echo?params import { Request, Response } from "express"; export interface Endpoint { prop: { readonly name : string; readonly desc?: string; run: (req: Request, res: Response) => void; } }
import assert from "assert"; import getProvider from "../helpers/getProvider"; import EthereumProvider from "../../src/provider"; import request from "superagent"; describe("forking", function () { this.timeout(10000); describe("accounts", function () { const accountAddress = "0xC02aaA39b223FE8D0A0e5C4F27eAD9...
import {Common} from './hijri.common'; export class Hijri extends Common { }
/** * @swagger * definitions: * User: * properties: * email: * type: string * password: * type: string * */
export interface MessageOptions { message: string | null; type?: null | 'info' | 'error'; } export interface NotifyMessageProps { timer?: number; }
export const supported = [ { languageCode: 'en_US', description: 'Language: English. Region: United States', language: 'en-US', region: 'US' }, { languageCode: 'pt_BR', description: 'Language: Portuguese. Region: Brazil', language: 'pt-BR', reg...
import { AppNotification } from "src/common/application/app.notification"; import { Result } from "typescript-result"; export class Email { private value: string; private constructor(value: string) { this.value = value; } public getEmail(): string { return this.value; } public static create(emai...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { UsersRoutingModule } from './users-routing.module'; import { ListComponent } from './components/list/list.component'; import { CreateComponent } from './components/create/create.component'; import { Ng2SmartTableModule }...
/// <reference types="node" /> import { DefaultElements, MakeRequest, MetaLinkProps, MetaSysProps } from '../common-types'; export declare type ApiKeyProps = { sys: MetaSysProps; name: string; accessToken: string; environments: { sys: MetaLinkProps; }[]; preview_api_key: { sys: M...
import { GetStaticProps } from 'next' import Head from 'next/head' import { SubscribeButton } from '../components/SubscribeButton' import { stripe } from '../services/stripe' import styles from './home.module.scss' interface HomeProps { product: { priceId: string, amount: number, } } export default func...
import { Component } from "react"; import * as React from "react"; import { colors} from "../../styles"; import { AnimatedIconBanner } from "./AnimatedIconBanner"; export class BatchDFUCrownstonesBanner extends Component<{height: number, componentId: any}, any> { render() { return ( <AnimatedIconBanner ...
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { ControlCenter, DataSource, AspectConfiguration, AspectSelection, VersionedObjectManager } from '@openmicrostep/aspects'; import { XHRTransport } from '@openmicrostep/aspects.xhr'; import { AppModule } from './app.module'; import {Perso...
import pino from 'pino' import pinoms from 'pino-multi-stream' import consoleStream from 'console-stream' import express from 'express-serve-static-core' import fs from 'fs' import { Logger, LogObject } from 'typescript-log' export interface WithLoggingInfo { requestId: string log: Logger startTime: numbe...
import assert = require('assert'); import { parseIssueExpressionOutput, ISSUE_OR_URL_EXPRESSION } from '../../issues/util'; describe('Issues utilities', function () { it('regular expressions', async function () { const issueNumber = '#1234'; const issueNumberParsed = parseIssueExpressionOutput(issueNumber.match(I...
version https://git-lfs.github.com/spec/v1 oid sha256:b2a4dd28e6ed896ef7bca57c7ae69c68d0821dc58044e3aaca73aed1c0fb64dc size 188376
import { Router } from "express"; import { editComment, createComment, getComment, deleteComment, } from "./controller"; import { validateCommentInput } from "./validation"; const commentRouter = Router(); commentRouter.post("/", createComment); commentRouter.get("/:comment_id", validateCommentInput, getCommen...
import user from './user'; import file from './file'; import view from './view'; import auth from './auth'; import common from './common'; import wechat from './wechat'; import tv from './tv'; export default { user, file, view, auth, common, wechat, tv }; // export default { auth, common };
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may no...
import { Message } from "discord.js"; import NewClient from "./Client"; export type CommandTypes = 'info' | 'fun' | 'economy' | 'moderation' export type CommandRun = (client: NewClient, message: Message, args: Array<string>) => Promise<void>; export interface Command { name: string description?: string a...
import {app} from "electron"; import {CircleConfig, ImageBundle} from "./model"; import {Context} from "src/electron-main/model"; import {DEFAULT_TRAY_ICON_COLOR, DEFAULT_UNREAD_BADGE_BG_COLOR, DEFAULT_UNREAD_BADGE_BG_TEXT} from "src/shared/constants"; import {IPC_MAIN_API_NOTIFICATION$} from "src/electron-main/api/co...
/* GENERATED FILE */ import * as React from 'react'; import Svg, { Rect, Line } from 'react-native-svg'; import { IconProps } from '../lib'; function X(props: IconProps) { return ( <Svg id="Raw" viewBox="0 0 256 256" width={props.size} height={props.size} {...props} > <Re...
// Copyright (c) WarnerMedia Direct, LLC. All rights reserved. Licensed under the MIT license. // See the LICENSE file for license information. import { beforeEach, describe, expect, it, jest } from '@jest/globals'; import { BodyType } from '../../src'; describe('ResponseModel', () => { beforeEach(() => { ...
import React, { ReactElement } from 'react'; import { ThemeContext } from 'styled-components'; import PropTypes from 'prop-types'; import { mergeBreakpoints } from '@bedrock-layout/spacing-constants'; import Stack, { StackProps } from '@bedrock-layout/stack'; import Split, { SplitProps } from '@bedrock-layout/split'; i...
import { customElement, ExtendGlobalProps } from "ojs/ojvcomponent"; import { h, Component, ComponentChild } from "preact"; import componentStrings = require("ojL10n!./resources/nls/@component-name@-strings"); import "css!./@component-name@-styles.css"; type Props = { message?: string; } /** * @ojmetadata pack "@p...
import { Observable, Subject } from 'rxjs'; import { Plant } from './plant.model'; const testDelay = 10; export class MockPlantService { private plantsUpdated = new Subject<{ plants: Plant[] }>(); private plantInfoUpdated = new Subject<{ plant: Plant }>(); private plantSettingsUpdated = new Subject<{ plant: Pla...
import { cacheModel } from "./modules/offline/AckCache"; export interface sendFailMeta { offlineId?: number | string; lastAttempt?: Date; attempts?: number; maxTry?: number; } export interface httpOptions { url?: string; params?: any; body?: any; method?: "GET" | "POST" | "PUT" | "PATCH"...
import { Request, Response } from 'express'; import knex from '../database/connection'; export default { async index(request: Request, response: Response) { const { navers } = request.query if(navers) { if(navers === 'all') { const allNavers = await knex('navers').select('*') ...
// Type definitions for headroom.js v0.12.0 // Project: http://wicky.nillia.ms/headroom.js/ // Definitions by: Jakub Olek <https://github.com/hakubo> // Juninho Cruz <https://github.com/juninhocruzg3> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface HeadroomOptions { /**...
import { ShardingManager } from "discord.js"; import { globalConfig } from "./config"; import { promises as fs } from "fs"; import * as path from "path"; if (globalConfig.token == null) throw new Error( "Token not provided, bot cannot start. Configure in config/config.json", ); const manager = new ShardingManager(...
import { motion } from 'framer-motion'; import styled, { css } from 'styled-components'; export const PostCategoryText = styled(motion.div)<{ active?: boolean }>` font-size: ${(props) => props.theme.fontSize.body1}; font-weight: normal; font-family: 'Google Sans', sans-serif; ${(props) => props.active && ...
import ReactDOM from "react-dom"; import App from "./components/App"; import "./styles/index.scss"; ReactDOM.render(<App />, document.getElementById("root"));
/* * fourslash.ts * Copyright (c) Microsoft Corporation. * Licensed under the MIT license. * * this file only exists for the richer editing experiences on *.fourslash.ts files. * when fourslash tests are actually running this file is not used. * * this basically provides type information through // <reference ....
/** * @license * Copyright 2018-2020 Streamlit 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 applicab...
import * as React from 'react'; import Counter from '../molecules/Counter'; import Header from '../organisms/Header'; import Footer from '../organisms/Footer'; // eslint-disable-next-line @typescript-eslint/no-empty-interface interface Props {} const Default: React.FC<Props> = (props: Props) => { // const { } = p...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export ...
import { inject, injectable, } from 'inversify'; import { ServiceIdentifiers } from '../../container/ServiceIdentifiers'; import * as ESTree from 'estree'; import { TIdentifierNamesGeneratorFactory } from '../../types/container/generators/TIdentifierNamesGeneratorFactory'; import { TStatement } from '../../types/node...
import Type from './type/Type' /** * A collection paginator is an object that implements cursor based pagination * to paginate through the values that can be read from a collection. This is * in it’s own object to keep the `Collection` object small while also * potentially allowing for multiple paginators in the f...
import Telegraf from "telegraf"; import { error } from "@service/logging"; import startCb from "@commands/start"; import setBday from "@commands/setBday"; import setChatsId from "@commands/setChatsId"; import getId from "@commands/getId"; import help from "@commands/help"; export const bot = new Telegraf(process.env.B...
import { Box, Text } from '@island.is/island-ui/core' import { Case } from '@island.is/judicial-system/types' import React from 'react' interface Props { workingCase: Case } const CaseNumbers: React.FC<Props> = ({ workingCase }: Props) => { return ( <Box display="flex"> <Box marginRight={5}> <Te...
/* * Copyright 2021 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 ...
import { OpenStreamDeckOptions, StreamDeckProperties } from './base' import { StreamDeckGen2Base } from './base-gen2' import { DeviceModelId, StreamDeckDeviceInfo } from './id' const origV2Properties: StreamDeckProperties = { MODEL: DeviceModelId.ORIGINALV2, COLUMNS: 5, ROWS: 3, ICON_SIZE: 72, KEY_DIRECTION: 'ltr...
import "../cards/hui-entities-card"; import "../cards/hui-button-card"; import "../cards/hui-entity-button-card"; import "../cards/hui-glance-card"; import "../cards/hui-history-graph-card"; import "../cards/hui-horizontal-stack-card"; import "../cards/hui-light-card"; import "../cards/hui-media-control-card"; import "...
// (C) 2007-2022 GoodData Corporation import { ReferenceMd, ReferenceRecordings } from "@gooddata/reference-workspace"; import { attributeDisplayFormRef } from "@gooddata/sdk-model"; import React from "react"; import { mount } from "enzyme"; import { DropdownButton } from "@gooddata/sdk-ui-kit"; import { recordedBacken...
import * as http2 from 'http2'; import * as url from 'url'; import { EventEmitter } from "events"; import { Metadata } from "./metadata"; import { Call, PartialCallStreamOptions, Http2CallStream } from "./call-stream"; import { EmitterAugmentation1, EmitterAugmentation0 } from "./events"; import { ChannelOptions } fro...
/* * 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 { InfraWaffleMapGradientLegend, InfraWaffleMapStepLegend } from '../.....
import { SetMetadata } from '@nestjs/common'; export const IS_PUBLIC_KEY = 'isPublic'; export const Public = () => { return SetMetadata(IS_PUBLIC_KEY, true); }
import { AUTH_USER, UNAUTH_USER, AUTH_ERROR, LOAD_PROFILE, LOAD_PROFILE_USERNAME } from "../actions/types"; const INITIAL_STATE = { error: "", uid: -1, authenticated: false, currentUser_username: "" }; // @ts-ignore export default function(state = INITIAL_STATE, action) { switch (action.type) { ...
import React from "react"; import clsx from "clsx"; import { useTranslation } from "react-i18next"; import { useParams, useHistory, useLocation } from "react-router-dom"; import { Backwards, User } from "@hitachivantara/uikit-react-icons"; import { HvButton, HvGrid, HvGlobalActions, HvAccordion, } from "@hitach...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
export type PreferenceEvaluationSelection = 0 | 1 | 2 | 3 | 4; export type PreferenceEvaluationAnswer = PreferenceEvaluationSelection[]; export interface PreferenceEvaluationResult { profit: number; fluctuation: number; } /* 问卷 1. 您的年龄是? [单选题] * ○大于55岁 ○45-55岁 ○35-45岁 ○25-35岁 ○小于25岁 2. 您的收入来源是 [单选题] * ○工资、劳务报酬...
/* This file is part of Edgehog. Copyright 2021 SECO Mind Srl 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 applica...
import { t } from 'testcafe'; import { berthSelectors } from '../selectors/berth'; import { frontPageSelectors } from '../selectors/frontPage'; import { unmarkedWinterStorageSelectors } from '../selectors/unmarkedWinterStorage'; import { winterStorageSelectors } from '../selectors/winterStorage'; export const isFront...
import React from 'react' import { useHistory, useLocation } from 'react-router-dom' import axios from '@/utils/axios' import { decodeQuery } from '@/utils' interface PaginationState { on: boolean, current: number, pageSize: number, total: number } interface FetchParams { requestURL: string queryParams?:...
import BBAlert from "./BBAlert.vue"; import BBAttention from "./BBAttention.vue"; import BBAvatar from "./BBAvatar.vue"; import BBButtonAdd from "./BBButtonAdd.vue"; import BBButtonConfirm from "./BBButtonConfirm.vue"; import BBCheckbox from "./BBCheckbox.vue"; import BBContextMenu from "./BBContextMenu.vue"; import BB...
import React from "react"; import "./App.css"; import { MFormComponent } from "./component/MFormComponent"; import { formService } from "./service/formService"; function App() { return ( <> <div className="App"> <MFormComponent formCollection={formService} /> </div> <div> <form...
import { generateProps } from './generateProps'; test('generates correct props based on inputs', () => { const onChange = expect.any(Function); const onBlur = expect.any(Function); const output = generateProps({ email: '' }, onChange, onBlur); expect(output).toMatchObject({ email: { onChange, ...
/** * @fileoverview `babel-config/is-valid` warns against providing an invalid babel configuration file. */ import { debug as d } from 'hint/dist/src/lib/utils/debug'; import { IHint } from 'hint/dist/src/lib/types'; import { HintContext } from 'hint/dist/src/lib/hint-context'; import { BabelConfigEvents, BabelConfi...
/** * @license * Copyright Google Inc. 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 */ // tslint:disable:no-unused-expression mocha .to.be.empty getters. import {expect} from 'chai'; import * as path fr...
export interface IEditableListItem { title: string; key: string; secondary?: string; href?: object | string; }
import { NgModule } from '@angular/core'; import { SharedModule } from 'src/app/shared.module'; import { ComponentsModule } from 'src/app/components/components.module'; import { RestaurantsPageComponent } from './restaurantsPage.component'; import { AdvancedFiltersDialogComponent } from './advanced-filters-dialog/advan...
import { eventIsFrom } from './event-is-from'; describe('#eventIsFrom', () => { const parentElement = { matches: selector => { return selector === '.parent'; } }; const targetElement = { matches: selector => { return selector === '.target'; }, parentElement }; const dummyEvent...
declare namespace UnityEngine { namespace EventSystems { class PointerEventData extends BaseEventData { // Static Fields // Static Property Accessors // Static Methods // Instance Fields /* PointerEventData hovered System.Collections.Generic.List`1[UnityEn...
import React, { useEffect } from "react" import { useFormContext } from "react-hook-form" import { t, GridSection, ViewItem, Select, GridCell, Field, emailRegex, PhoneField, FormAddress, } from "@bloom-housing/ui-components" import { altContactRelationshipKeys, stateKeys } from "@bloom-housing/shared-...
export interface AppVersionDetails { id: number; version: string; timestamp: number; description: string; }
/** * @file Vote controller * @module module/vote/controller * @author Surmon <https://github.com/surmon-china> */ import { Controller, Post, Body } from '@nestjs/common' import { Throttle } from '@nestjs/throttler' import { QueryParams, QueryParamsResult } from '@app/decorators/queryparams.decorator' import { Res...
import { AssetManager } from '../classes/assets' import { TemplateManager } from '../classes/templates' import { ConfigurationManager } from '../classes/configuration' import { PublicManager } from '../classes/public ' import { ContentManager } from '../classes/contents' export async function build(config: string = 'c...
/* * Copyright (c) 2014-2021 Bjoern Kimminich. * SPDX-License-Identifier: MIT */ import { environment } from '../../environments/environment' import { Injectable } from '@angular/core' import { HttpClient } from '@angular/common/http' import { catchError, map } from 'rxjs/operators' @Injectable({ providedIn: 'ro...
import { AsyncAction } from "./AsyncAction.d.ts"; import { AsyncScheduler } from "./AsyncScheduler.d.ts"; export declare class AnimationFrameScheduler extends AsyncScheduler { flush(action?: AsyncAction<any>): void; }
const base64ImagesMap = new Map(); base64ImagesMap.set( 'dotted-bg', ); base64ImagesMap.set( 'ribbon', ); export default function background(backgroundName: string) { return `data:image/png;base64,${base64ImagesMap.get(backgroundName)}`; }
import { AxiosResponse } from 'axios'; import React from 'react'; import { defaultEnvelope, ILifecycleToasts } from 'tno-core'; import { ISeriesModel, useApi } from '..'; /** * Common hook to make requests to the API. * @returns CustomAxios object setup for the API. */ export const useApiSeries = ( options: { ...
import { PersonM } from '../models/people'; import { School } from './school'; export class Person implements PersonM { public readonly first_name: string; public readonly id: number; public readonly job: string; public readonly last_name: string; public readonly school: School; constructor(data: PersonM)...
import { buildSchema, GraphQLSchema, parse, visit } from 'graphql'; import { TYPESCRIPT_SCALAR_MAP } from '../../scalars'; import { directives, scalars } from '../../scalars/supported-directives'; import { CodeGenConnectionType, CodeGenFieldConnectionBelongsTo, CodeGenFieldConnectionHasMany, CodeGenFieldConnect...
import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { CoreModule } from 'core/core.module'; @NgModule({ declarations: [AppComponent], imports: [CoreModule], bootstrap: [AppComponent] }) export class AppModule {}