text
stringlengths
10
953k
/* * Copyright © 2019 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the 'License'); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
import { Attributes } from '../models/attributes.model' import { Monster } from '../models/monster.model' const defaultAttributes: Attributes = { agility: 0, empathy: 0, strength: 0, wits: 0, } export const bookMonsters: Monster[] = [ { name: 'Giant', attributes: { ...defaultAttributes, strength: 12...
/** * Async-Synchro - Library for asynchronous locking and concurrency * * Copyright 2022 Chris Pikul, MIT licensed. * * See project root for ./LICENSE file. * * NPM: https://npmjs.com/package/async-synchro * GITHUB: https://github.com/chris-pikul/async-synchro */ /** * Wraps the default Error type into a...
import { PHASE } from "../../common"; import { idb } from "../db"; import { g, local } from "../util"; const updateDangerZone = async () => { let canRegenerateSchedule = g.get("phase") === PHASE.REGULAR_SEASON; if (canRegenerateSchedule) { const teams = await idb.getCopies.teamsPlus({ attrs: ["tid"], stats: ...
import request from 'superagent' import Ethereum from './../simple/src/instances/ethereum' import Bitcoin from './../simple/src/instances/bitcoin' const ethereumInstance = new Ethereum('testnet') const bitcoinInstance = new Bitcoin('testnet') const repo = '.ipfs/' + Math.random().toString().slice(2) console.log('ipfs...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AngularFireModule } from 'angularfire2'; import { AngularFireDatabaseModule } from 'angularfire2/database'; import { environment } from '../environments/environment'; import { AppRoutingModule } from './app-rou...
// https://umijs.org/config/ import { defineConfig } from 'umi'; import { join } from 'path'; import defaultSettings from './defaultSettings'; import proxy from './proxy'; import routes from './routes'; const { REACT_APP_ENV } = process.env; export default defineConfig({ // To make gh-pages work base: '/EMTrack/'...
import { Router } from 'express'; import ProductsController from '../controllers/ProductsController'; import AuthMiddleware from '../controllers/middlewares/AuthMiddleware'; import multer from 'multer'; import multerConfigs from '../configs/multer'; const router = Router(); router.post('/products', AuthMiddleware.va...
/* Copyright (c) 2020, International Business Machines All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of cond...
import { Component } from '@angular/core'; import { NavController, NavParams } from 'ionic-angular'; /** * Generated class for the PartnerSettingsPercentagesPage page. * * See http://ionicframework.com/docs/components/#navigation for more info * on Ionic pages and navigation. */ @Component({ selector: 'page-pa...
import axios from 'axios' const apiComments = axios.create({ baseURL: 'http://localhost:4002' }) export default apiComments
import { Api } from '../service/Api'; export class FooApi implements Api { save() { console.log('FooApi saved successfully! ❤️'); } }
import { Column, Entity, ManyToOne, OneToMany, PrimaryColumn } from 'typeorm'; import { ManufacturerEntity } from './manufacturer.entity'; import { OwnerEntity } from './owner.entity'; @Entity() export class CarEntity { @PrimaryColumn({ unique: true }) id: string; @ManyToOne(type => ManufacturerEntity, { casca...
import React from 'react'; import {ScopedContext, IScopedContext} from '../Scoped'; import {Renderer, RendererProps} from '../factory'; import {SchemaNode, Schema, Action} from '../types'; import {filter} from '../utils/tpl'; import Modal from '../components/Modal'; import findLast from 'lodash/findLast'; import { gu...
import { Autowired, Service } from "fastcar-core/annotation"; import Test2Mapper from "../mapper/Test2Mapper"; import TestMapper from "../mapper/TestMapper"; import Test from "../model/Test"; @Service export default class DSService { @Autowired private testMapper!: TestMapper; @Autowired private test2Mapper!: Tes...
import { ComponentMeta, ComponentStory } from '@storybook/react' import Input from '..' export default { title: 'Atoms/Input', component: Input, parameters: { controls: { sort: 'requiredFirst' } } } as ComponentMeta<typeof Input> const Template: ComponentStory<typeof Input> = args => ( <Input {...args} ...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MaterialModule } from './../../material/material.module'; import { InputTextComponent } from './input-text/input-text.component'; import { InputSelectCom...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-top-bar', templateUrl: './top.bar.component.html', styleUrls: ['./top.bar.component.scss'] }) export class TopBarComponent implements OnInit { navItems: object = [ { iconClass: "material-icons", iconElement: "", ...
import React from 'react' function Skill(props: { classes?: string checked?: boolean onChange: (arg0: string, arg1: string | boolean) => void name: string value: string | number | readonly string[] | undefined label?: React.ReactNode hint?: React.ReactNode }) { let classes = 'espergen-skill' if (prop...
import path from 'path' import { defineConfig } from 'vite' import Pages from 'vite-plugin-pages' import WindiCSS from 'vite-plugin-windicss' import vitedge from 'vitedge/plugin.js' import mdx from 'vite-plugin-mdx' // @ts-ignore import remarkPrism from 'remark-prism' import react from '@vitejs/plugin-react' export de...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { CommonInstancesSectionProps } from 'common/components/cards/common-instances-section-props'; import { NamedFC } from 'common/react/named-fc'; import { createContentPagesInfo } from 'electron/common/content-page-info...
import { Module } from '@nestjs/common'; import { CatalogueService } from './services/catalogue.service'; import { CatalogueController } from './catalogue.controller'; import { TypeOrmModule } from '@nestjs/typeorm'; import { CatalogueUserRepository } from './repository/catalogue.repository'; @Module({ imports: [ ...
export class DemoEntityComponent { userName:string; age:number; constructor(userName:string,age:number) { this.userName = userName; this.age = age; } }
import * as _ from 'lodash'; import * as React from 'react'; import DocumentTitle from 'react-document-title'; import styled from 'styled-components'; import { colors } from 'ts/style/colors'; import { Button } from 'ts/@next/components/button'; import { Icon } from 'ts/@next/components/icon'; import { Column, Sectio...
export interface ListType { id: string; name: string; imageUrl?: string; imageAlt?: string; requirements: Array<Requirement>; } export interface Requirement { id: string; description: string; url?: string; } export enum TabNames { Quests, Achievements, Graces, Bosses, }
/*! * Copyright 2018 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 appli...
// import { useSubscription } from '@apollo/client/react/hooks/useSubscription'; import Link from 'next/link'; import React, { useState } from 'react'; import BootstrapTable from 'react-bootstrap-table-next'; import filterFactory, { selectFilter } from 'react-bootstrap-table2-filter'; import paginationFactory, { Pagi...
import React, { ChangeEvent, FormEvent } from 'react'; import { useTranslation } from 'react-i18next'; import { ReferenceSet, SnowstormConfig } from '../config'; import { Branch } from '../store'; interface FormProps { handleFormSubmit: (event: FormEvent<HTMLFormElement>) => void; handleInputChange: (event: Chang...
jest.mock('../../pm-plugins/doc', () => { const doc = jest.requireActual('../../pm-plugins/doc'); return { ...doc, changeSelectedCardToLink: jest.fn().mockReturnValue(() => () => {}), }; }); jest.mock('../../../../utils/nodes', () => ({ ...jest.requireActual<Object>('../../../../utils/nodes'), isSuppo...
import {SimpleMenuInfo} from "@/pages/system/MenuManager/data"; import {Select} from "antd"; import React, {ReactNodeArray, useEffect, useState} from "react"; export interface NoParentMenuSelectProps { menuInfoArr?: SimpleMenuInfo[]; onChange: (value: any) => void; initValue?: string | string[]; disabledForm: ...
import {apiContext} from "renraku/x/api/api-context.js" import {StoreServiceOptions} from "../../types/store-concepts.js" import {StoreLinkedAuth, StoreMeta} from "../../types/store-metas-and-auths.js" export const makeBillingService = ( options: StoreServiceOptions ) => apiContext<StoreMeta, StoreLinkedAuth>()({ ...
import { GetChannelsInput } from "../shapes/GetChannelsInput"; import { GetChannelsOutput } from "../shapes/GetChannelsOutput"; import { BadRequestException } from "../shapes/BadRequestException"; import { InternalServerErrorException } from "../shapes/InternalServerErrorException"; import { ForbiddenException } from "...
import { map } from './map'; /** * Returns a new array of all the values in coll which pass an async truth test. This operation is * performed in parallel, but the results array will be in the same order as the original. * * @param coll {Array | Object} A collection to iterate over. * @param predicate {Function} ...
import { VNode, VNodeData } from './vnode'; export declare type VNodes = Array<VNode>; export declare type VNodeChildElement = VNode | string | number | undefined | null; export declare type ArrayOrElement<T> = T | T[]; export declare type VNodeChildren = ArrayOrElement<VNodeChildElement>; export declare function h(sel...
import { Field, InputType } from '@nestjs/graphql'; @InputType() export default class VendaInput { @Field() readonly nome_produto: string; @Field() readonly valor_produto: number; }
import {ApolloServer} from 'apollo-server-express' import {apolloLogging, formatError} from '@src/modules/logging' import {buildContext} from 'graphql-passport' export function makeApolloServer({schema, logger, models}) { return new ApolloServer({ schema, formatError: formatError({logger}), introspection...
import { Response } from '@bigcommerce/request-sender'; import { PaymentErrorData, PaymentErrorResponseBody } from '../../common/error'; import HostedFieldType from '../hosted-field-type'; import HostedInputInitializeErrorData from './hosted-input-initialize-error-data'; import HostedInputValidateResults from './host...
import { SlashCommandBuilder } from "@discordjs/builders"; import { CommandInteraction, } from "discord.js"; import MusicQueue from "../music/musicqueue"; import Command from "../util/command"; import ListMessage, { ElementList } from "../util/listmessage"; class CommandQueue implements Command { data = new SlashC...
import * as Models from "./npp_models" import { Client } from "./npp_client" export const v20190823 = { Client: Client, Models: Models, }
// Type definitions for react-toggle 4.0 // Project: https://github.com/aaronshaf/react-toggle // Definitions by: Karol Janyst <https://github.com/LKay> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 import { Component, InputHTMLAttributes, ReactNode } from "react"; expo...
import { useEffect, useState } from 'react'; import { useRouter } from 'next/dist/client/router'; import { IDraftResponse } from '@/types'; import { getDraftBlog } from 'framework/draft'; export const useDraft = () => { const router = useRouter(); const [data, setData] = useState<IDraftResponse>(null); const [is...
class LevelHelper { private readonly _startscreen: Startscreen; private _canvas: Canvas; private _level1background: HTMLImageElement; private _level2background: HTMLImageElement; private _level3background: HTMLImageElement; private _bolt: HTMLImageElement; private _pollution: HTMLImageElemen...
const $colorPrimary = "#1b262c"; const $colorPrimaryLight = "#0f4c75"; const $colorPrimaryDark = "#3282b8"; // const $colorPrimary = "85, 197, 122"; // const $colorPrimaryLight = "126, 213, 111"; // const $colorPrimaryDark = "40, 180, 133"; const light = { primaryColor: $colorPrimary, colorPrimaryLight: $colorPri...
import { ComponentMeta, ComponentStory } from '@storybook/react'; import React from 'react'; import { VariantProps } from '../../stitches.config'; import { Badge, COLORS } from './Badge'; import { Flex } from '../Flex'; import { modifyVariantsForStory } from '../../utils/modifyVariantsForStory'; import { UnstyledLink }...
import Image from 'next/image'; import { useRouter } from 'next/router'; import { ReactElement } from 'react'; import Button from 'src/components/button'; import SocialNetworks from 'src/components/socialNetworks'; import { languages } from 'src/locales'; import { IntroductionContainer } from './styles'; const Intro...
/* * Copyright (c) 2022 by MILOSZ GILGA <https://miloszgilga.pl> * * File name: useBasicAnimationOnEnterCmsPanel.ts * Last modified: 22/03/2022, 15:22 * Project name: digititles-imagine * * Licensed under the MIT license; you may not use this file except in compliance with the License. * * Permission is hereby...
import { AfterContentInit, Component, ContentChildren, Input, QueryList, OnDestroy } from "@angular/core"; import { SideNavItem } from "./sidenav-item.component"; import { Subscription } from "rxjs"; import { SideNavItemInterface } from "./sidenav-item.interface"; /** * `SideNavMenu` provides a method to group...
import type { Pokemon } from './types/Pokemon'; function logPokemon(pokemon: Pokemon) { console.log('Logging a pokemon', pokemon); } logPokemon({ name: 'Pikachu', level: 1, type: 'Eletric', });
import { A } from "./other"; import { A, B, C } from "./other"; import { A as B, C, D as E, F } from "./other"; import * as A from "./other"; import "./other";
import * as React from 'react'; import { select, text } from '@storybook/addon-knobs'; import StatusHint from '../StatusHint'; // CSF format story export const all = () => { const children = text('children', 'Status Hint'); const appearance = select('Appearance', ['default', 'alert', 'info', 'warning', 'success']...
import { Seconds } from "../type/Units"; import { Emitter } from "../util/Emitter"; import { AnyAudioContext } from "./AudioContext"; type Draw = import("../util/Draw").Draw; type Destination = import("./Destination").Destination; type Transport = import("../clock/Transport").Transport; type Listener = import("./Liste...
import React, { useCallback, useEffect, useMemo, useState } from 'react' import { TextArea, Container, Bullet, BulletContainer, BASE_HEIGHT } from '../../styles' export interface BulletedTextAreaProps { onChange: (values: string[]) => void values: string[] bulletChar?: string } const BulletedTextArea:...
import { Module } from '@nestjs/common'; import { AppController } from './app.controller'; import { PremierModule } from './premier/premier.module'; import { TodoModule } from './todo/todo.module'; import { ConfigModule } from '@nestjs/config'; import { devConfig } from './config/dev.config'; import { prodConfig } from...
import {Issue} from "./issue"; import {Config} from "./config"; import {Version} from "./version"; import {Registry} from "./registry"; import {MethodLengthStats, IMethodLengthResult} from "./utils/method_length_stats"; import {LanguageServer} from "./lsp/language_server"; import * as LanguageServerTypes from "./lsp/_i...
import { Test, TestingModule } from '@nestjs/testing'; import { CatalogueOfServicesService } from './catalogue-of-services.service'; describe('CatalogueOfServicesService', () => { let service: CatalogueOfServicesService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ ...
import React from 'react'; import { SvgIcon, SvgIconProps } from '@kukui/ui'; const SvgComponent = props => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" {...props}> <path d="M160 328c0 13.3-10.7 24-24 24s-24-10.7-24-24 10.7-24 24-24 24 10.7 24 24zm256 0c0-13.3 10.7-24 24-24s24 10.7 24 24-10.7 ...
import { Request, Response } from "express" import prisma from "../client" export async function getAllRequests(req: Request, res: Response) { const requests = await prisma.request.findMany({ include: { responses: true }, orderBy: { createdAt: "desc" } })...
// *** 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 {xor} from 'lodash'; export const stringIncludes = (array: unknown[], value: string | number): boolean => array.includes(value) || array.includes(`${value}`); export const sameArrays = (source: unknown[], array: unknown[]): boolean => source.length === array.length && xor(source, array).length === 0;
export * from './service';
import IconButtonComponent, { IconButtonProps, } from "../../src/buttons/IconButton"; import { Meta, Story } from "@storybook/react"; import { faCoffee, faWineBottle } from "@fortawesome/free-solid-svg-icons"; import React from "react"; export default { title: "Buttons/Icon Button", component: IconButtonCompone...
import type Printer from "../printer"; import type * as t from "@babel/types"; export function TSTypeAnnotation(this: Printer, node: t.TSTypeAnnotation) { this.token(":"); this.space(); // @ts-expect-error todo(flow->ts) can this be removed? `.optional` looks to be not existing property if (node.optional) this...
declare namespace _default { const POSTRENDER: string; const MOVESTART: string; const MOVEEND: string; } export default _default; /** * * */ export type Types = 'postrender' | 'movestart' | 'moveend'; //# sourceMappingURL=MapEventType.d.ts.map
/** * Here I would usually put all my assets * for example: Links to images from unsplash */ const carousels = [ { id: 1, img: "https://images.unsplash.com/photo-1577049090931-f8ae58117bdd?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=634&q=80", title: "Visit ...
/** * @module botframework-streaming-extensions */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { IHeader } from '../Interfaces/IHeader'; import { SubscribableStream } from '../SubscribableStream'; import { PayloadAssembler } from '../Assemblers/Payloa...
import {Component} from '@angular/core'; @Component({ templateUrl: './build/pages/inputs/stacked/template.html' }) export class StackedPage { }
// https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-19.md import { ChainTypes, ContractTypes, NetworkTypes } from '@shapeshiftoss/types' import { fromCAIP2, toCAIP2 } from './../caip2/caip2' export type CAIP19 = string export enum AssetNamespace { CW20 = 'cw20', CW721 = 'cw721', ERC20 = 'erc20', ...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { CallbackComponent } from './callback/callback.component'; const routes: Routes = [ { path: '', component: CallbackComponent, pathMatch: 'full', }, ]; @NgModule({ imports: [ RouterModule.for...
/** * Luno API * The Luno API provides developers with a wealth of financial information provided through the Luno platform. Through this secure system developers can: <ul> <li>Create accounts for trading in cryptocurrencies</li> <li>Access current and historic cryptocurrency market data</li> <li>Submit tr...
// tslint:disable-max-classes-per-file import { Connection, Repository, ObjectLiteral, EntityRepository, getCustomRepository, getConnectionManager } from 'typeorm'; export function mockRepositoryFactory<T extends any>(entity: T): any { @EntityRepository(entity as any) class MockRepo extends Repository<T> { met...
/*! * Copyright (c) 2020 Ron Buckton (rbuckton@chronicles.org) * * This file is licensed to you under the terms of the MIT License, found in the LICENSE file * in the root of this repository or package. */ export * from "./emitter"; export * from "./ecmarkup"; export * from "./html"; export * from "./markdown"; e...
import { TEditor, TNode } from '@udecode/slate-plugins-core'; import { Editor, Location, Node, NodeEntry, Path, Range, Span } from 'slate'; import { MatchOptions } from '../types/Editor.types'; import { match } from './match'; export type FindNodeOptions<T extends TNode = TNode> = { at?: Location | Span; reverse?:...
import { chain, Rule, schematic, Tree } from '@angular-devkit/schematics'; import { readdirSync, statSync } from 'fs'; import { join } from 'path'; import { Schema as ApplicationOptions } from '../application/schema'; import { getJSON } from '../utils/json'; import { Schema as NgAddOptions } from './schema'; const V =...
// svg/monitor-multiple.svg import { createSvgIcon } from './createSvgIcon'; export const SvgMonitorMultiple = createSvgIcon( `<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xl...
export const resolveSelectedKey = ( values: string[], prevSelection?: string, defaultSelection?: string ): string => { if (values.includes(prevSelection)) { return prevSelection } if (values.includes(defaultSelection)) { return defaultSelection } return values[0] } export const resolveSelecte...
import { ReactElement, useEffect } from 'react' import { useParams } from 'react-router-dom' import { Loader } from '@gnosis.pm/safe-react-components' import { shallowEqual, useDispatch, useSelector } from 'react-redux' import { isTxQueued } from 'src/logic/safe/store/models/types/gateway.d' import { extractSafeAddres...
/** @jest-environment jsdom */ import { render, screen } from "@testing-library/react"; import { PostHeader } from "."; test("", () => { render(<PostHeader title="Foo" date="1999-12-31" />); expect(screen.getByRole("banner")).toBeInTheDocument(); expect(screen.getByRole("heading", { name: "Foo" })).toBeInTheDoc...
import { get } from "lodash"; import inject from "./contentScript/injectToDom"; import { IEventMessage } from "./interface/message"; import { getDefaultStore, getURLMap } from "./services/collection"; import { IStore, IMockResponse, IURLMap } from "./interface/mock"; import { DB_NAME, EXTENSION_NAME } from "./constant...
import { BuiltIn } from "../utils/decorators"; import { ModuleType } from "../utils/modules"; import { GeneratorBool } from "./GeneratorBool"; import { GeneratorDate } from "./GeneratorDate"; import { GeneratorEnum } from "./GeneratorEnum"; import { GeneratorFloat } from "./GeneratorFloat"; import { GeneratorInt } from...
import * as mongoose from 'mongoose'; import * as bcrypt from 'bcrypt'; const config = require("../config"); import { IShipment } from "../interfaces/shipment"; let Schema = mongoose.Schema; /** * Shipment schema for mangoose * @type {Schema} */ let Shipment = new Schema({ shipmentId: String, startShipmentT...
/* * Copyright 2022 Salto Labs Ltd. * * 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 { Injectable, NotFoundException } from '@nestjs/common'; import { CreateTaskDto } from './dto/create-task.dto'; import { GetTasksFilterDto} from './dto/get-task-filter.dto'; import { Task } from './task.entity'; import { TaskStatus } from './task-status.enum'; import { TaskRepository } from './task.repository'; ...
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; import { RouterModule } from '@angular/router'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { AdminLayoutRoutes } from './admin-layout.routing'; import { DashboardComponent } from '../../pages/dashboar...
export * from './number-store';
import Document from "@/next/Document"; export default Document;
/** * Export File of Configuration Modules. * @author Ivan Antunes <ivanantnes75@gmail.com> * @copyright Ivan Antunes 2021 */ export * from './zConfigDB'; export * from './zConfigModule';
import { Module } from "@nestjs/common"; import { MongooseModule } from "@nestjs/mongoose"; import { AuthModule } from "src/auth/auth.module"; import { ArticleController } from "./controllers/article.controller"; import { Article, ArticleSchema } from "./schemas/article.schema"; import { ArticleService } from "./servic...
import { ComputeValidations, Configurations, DomSpecs, DomSpecValue, Preset, Specs, Validations, } from '@musical-patterns/spec' import { ActionForState, Maybe, ObjectOf, TypedMap } from '@musical-patterns/utilities' import { ControlParentProps } from './control' enum SpecStateKey { INI...
/* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ export const $ServerinIsoimage = { type: 'array', contains: { properties: { bootdevice: { type: 'boolean', }, create_time: { type: 'string', format: 'd...
// *** 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 * as utilities from "../../utilities"; /** * Authorization in an ExpressRouteCircuit resource. */ export class E...
import React, { useState } from 'react'; import Button from '../Button'; import { RadioGroup } from './RadioGroup'; import { RadioGroupProps } from './types'; export const sizes: RadioGroupProps['size'][] = ['XS', 'S', 'M', 'L', 'XL']; export const FormWithRadioGroup: React.FC<RadioGroupProps> = props => { const ...
import * as mongoose from 'mongoose'; const constMongoose = require('mongoose'); const Schema = mongoose.Schema; export const PagoDermatologoSchema = new Schema({ create_date: { type: Date }, fecha_pago: { type: Date }, dermatologo: { type: constMongoose.ObjectId, ref: 'Empleado' }, consultas: [{ type...
import select from 'select-dom'; import * as pageDetect from 'github-url-detection'; import features from '.'; async function sessionResumeHandler(): Promise<void> { await Promise.resolve(); // The `session:resume` event fires a bit too early const cancelMergeButton = select('.merge-branch-form .js-details-target')...
import m from 'mithril'; import { SVGAttributes } from '../svg'; declare const MouseSolid: m.Component<SVGAttributes>; export default MouseSolid;
import { Accessibility } from '../../types'; import { tooltipAsDescriptionBehavior, TooltipBehaviorProps } from './tooltipAsDescriptionBehavior'; /** * @description * Implements ARIA Tooltip design pattern. * Adds 'aria-label' to the button if passed as a prop to root or trigger instead of aria-labelledby pointing ...
// package: google.ads.googleads.v2.enums // file: google/ads/googleads/v2/enums/advertising_channel_sub_type.proto import * as jspb from "google-protobuf"; import * as google_api_annotations_pb from "../../../../../google/api/annotations_pb"; export class AdvertisingChannelSubTypeEnum extends jspb.Message { serial...
import { TranslateService } from '@ngx-translate/core'; import { getTestBed, TestBed } from '@angular/core/testing'; import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing'; import { Router } from '@angular/router'; import { map, take } from 'rxjs/operators'; import { LocalStorageS...
/* eslint-disable unicorn/consistent-function-scoping */ import * as React from "react"; import Icon, { IIcon } from "~components/Icon"; import { withPrefix } from "gatsby"; import "./icontile.scss"; interface IIconTileProps { icon: IIcon; object: any; } // function to create link element function targetFile(id:...
import { Card } from '../../../interfaces' import Set from '../Evolutions' const card: Card = { name: { en: "Gastly", fr: "Fantominus", es: "Gastly", it: "Gastly", pt: "Gastly", de: "Nebulak" }, illustrator: "Keiji Kinebuchi", rarity: "Common", category: "Pokemon", set: Set, dexId: [ 92, ], hp:...
import { createSelector } from "reselect" import { IApplicationState } from "../store" /* Individual selectors */ export const getAuthLoading = (state: IApplicationState): boolean => state.auth.isLoading export const getNetworkLoading = (state: IApplicationState): boolean => state.networks.isLoading export const g...