text
stringlengths
10
953k
import PnpmError from '@pnpm/error' import { VersionSelectors } from '@pnpm/resolver-base' import semver from 'semver' import { RegistryPackageSpec } from './parsePref' import { PackageInRegistry, PackageMeta } from './pickPackage' export default function ( spec: RegistryPackageSpec, preferredVersionSelectors: Ver...
export class Constants { static filters(): any[] { return [{ name: FilterTypes.StartsWith, text: "abc*", forDataType: DataTypes.String }, { name: FilterTypes.EndsWith, text: "*abc", forDataType: DataTypes.String ...
import IAccountDataStore from "../../common/IAccountDataStore"; import ILogger from "../../common/ILogger"; import BlobStorageContext from "../context/BlobStorageContext"; import StorageErrorFactory from "../errors/StorageErrorFactory"; import { AccessPolicy, BlobType } from "../generated/artifacts/models"; import Oper...
<TS language="vi_VN" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Nhấn chuột phải để sửa địa chỉ hoặc nhãn</translation> </message> <message> <source>Create a new address</source> <trans...
// main.ts executes on page load chrome.storage.local.clear(); // there isn't a good way to watch localStorage, so poll it setInterval(() => { const wordleState = JSON.parse( localStorage.getItem("nyt-wordle-state") || "" ); wordleState.tick = Date.now(); chrome.storage.local.set({ wordleState }); }, 1000...
import { assert, expect } from 'chai'; import 'mocha'; import { IBinaryTreeNode } from '../binary-tree/binary-tree'; import { IRedBlackTree, RedBlackTree } from './red-black-tree'; /* tslint:disable */ describe('red-black-tree', () => { describe('#toString', () => { it(`should traverse its elements in o...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ChangeEmployeeSalaryComponent } from './change-employee-salary.component'; describe('ChangeEmployeeSalaryComponent', () => { let component: ChangeEmployeeSalaryComponent; let fixture: ComponentFixture<ChangeEmployeeSalaryComponent>...
/** * @license * Copyright 2020 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 { ArgumentMetadata, BadRequestException, PipeTransform } from "@nestjs/common"; export class FusionSkillsPipe implements PipeTransform { transform(skills: any, metadata: ArgumentMetadata): any{ if(!skills || !Array.isArray(skills)) throw new BadRequestException(); skills = skills...
/* * @Author: yanxiaodi * @Date: 2020-09-14 18:09:00 * @Last Modified by: yanxiaodi * @Last Modified time: 2020-09-16 13:02:24 */ import React, { Component } from 'react' import { connect } from 'react-redux' import { View, Text } from '@tarojs/components' import { AtButton, AtCard } from 'taro-ui' import './styl...
/// <reference types="msfstypes/Pages/VCockpit/Instruments/Shared/utils/XMLLogic" /> import { XMLGaugeStyle } from '.'; import { ComponentProps } from '../FSComponent'; /** Props for an XML text element. */ export interface XMLTextElementProps extends ComponentProps { /** The HTML class of the element. */ class?:...
import type { Filter, ObjectId } from 'mongodb'; import type { HistoryMatch } from '../types'; import { getMatchesCollection } from './collection'; const HISTORY_LIMIT = 20; export const getHistoryMatches = async ( accountId: ObjectId, onlyWithTrophies: boolean, page: number ) => { const Matches = await getMat...
import { Action } from '@ngrx/store'; export enum TopListActionTypes { LoadData = '[TopList Page] Load Data', LoadSuccess = '[TopList API] Data Loaded Success', LoadError = '[TopList Page] Load Error', ChangeValue = '[Hot Page] ChangeValue' } // 获取数据 export class LoadTopListData implements Action { ...
import { LayerCollectionLoadedAction, ShowAllLayers } from '../actions/layers.actions'; import { ILayerState, initialLayersState, LayersReducer } from './layers.reducer'; import { ILayer, layerPluginTypeEnum, LayerType } from '../models/layers.model'; describe('LayersReducer', () => { it('LAYER_COLLECTION_LOADED act...
/***** License -------------- Copyright © 2020 Mojaloop Foundation The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the License at http://www.apache...
import { newE2EPage } from '@stencil/core/testing'; const { AxePuppeteer } = require('@axe-core/puppeteer'); describe('gcds-button', () => { it('renders', async () => { const page = await newE2EPage(); await page.setContent('<gcds-button>Button Label</gcds-button>'); const element = await page.find('gcd...
/* * @license Apache-2.0 * * Copyright (c) 2020 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...
/*--------------------------------------------------------------------------------------------- * Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved. * Licensed under the MIT License. See LICENSE.md in the project root for license terms. *--------------------------------------------------------------...
/** * Copyright 2019 NEM * * 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 writi...
import { NefFileModel, UInt160 } from '@neo-one/client-common'; import { ContractManifestModel } from './manifest'; export interface ContractStateModelAdd< TContractManifest extends ContractManifestModel = ContractManifestModel, TNefFile extends NefFileModel = NefFileModel, > { readonly id: number; readonly up...
export const c_table_tr_responsive_BorderWidth: { "name": "--pf-c-table-tr--responsive--BorderWidth", "value": "0.5rem", "var": "var(--pf-c-table-tr--responsive--BorderWidth)" }; export default c_table_tr_responsive_BorderWidth;
export * from "./anchor/"; export * from "./badge/"; export * from "./button/"; export * from "./card/"; export * from "./checkbox/"; export * from "./design-system-provider/"; export * from "./dialog/"; export * from "./divider/"; export * from "./flipper/"; export * from "./progress/"; export * from "./radio/"; expor...
import { Button, Form, FormGroup, Loading, TextInput } from 'carbon-components-react'; import { GraphQLError } from 'graphql'; import { loader } from 'graphql.macro'; import { Maybe } from '../../utilityTypes'; import { Register as RegisterResult, RegisterVariables } from '../../__generated__/Register'; import { RootSt...
/* * Copyright 2017 Palantir Technologies, Inc. All rights reserved. * * Licensed under the terms of the LICENSE file distributed with this project. */ export interface IMovementDelta { /** The number of rows by which to move. */ rows: number; /** The number of columns by which to move. */ cols: n...
// 可以通过给第二个隐形泛型参数赋初值的形式,来存储一些值让下一次递归使用 type StringToTuple<S extends string> = S extends `${infer A}${infer Rest}` ? A extends "" ? [] : [A, ...StringToTuple<Rest>] : [] type LengthOfString1<S extends string> = StringToTuple<S>["length"]
import { createFormPoster } from '@bigcommerce/form-poster'; import { RequestSender } from '@bigcommerce/request-sender'; import { getScriptLoader } from '@bigcommerce/script-loader'; import { CheckoutActionCreator, CheckoutRequestSender, CheckoutStore } from '../checkout'; import { Registry } from '../common/registry...
import { Module } from '@nestjs/common'; import { MongooseModule } from '@nestjs/mongoose'; import { MediaController } from './media.controller'; import { MediaService } from './media.service'; import { Media, MediaSchema } from './media.schema'; @Module({ imports: [ MongooseModule.forFeature([{ name: Media.name...
// Copyright 2021 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 agreed to in ...
import * as Statements from "../abap/2_statements/statements"; import {IFile} from "../files/_ifile"; import {Position} from "../position"; import {MethodName} from "../abap/2_statements/expressions"; import {StatementNode} from "../abap/nodes"; import {IObject} from "../objects/_iobject"; import {ABAPObject} from "../...
export const NavBar: any;
import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, Injector, Input, OnChanges, OnDestroy, OnInit, Optional, Output, SimpleChanges, TemplateRef, ViewChild, ViewEncapsulation } from '@...
import { Bot } from 'mineflayer' import { Callback } from './CollectBlock' import { Vec3 } from 'vec3' import { error } from './Util' import { Item } from 'prismarine-item' import { TaskQueue, TemporarySubscriber } from 'mineflayer-utils' import { goals, ComputedPath } from 'mineflayer-pathfinder' export type ItemFilt...
export * from './carousel.component'; export * from './carousel.model'; export * from './carousel.module'; export * from './carousel.service';
import { mutationField, arg } from '@nexus/schema' export const PostDeleteOneMutation = mutationField('deleteOnePost', { type: 'Post', nullable: true, args: { where: arg({ type: 'PostWhereUniqueInput', nullable: false, }), }, resolve: async (_parent, { where }, { prisma, select }) => { ...
import type { Status } from "./status"; export interface IArticle { title: string; description: JSON; status: Status; }
import { Card, CardContent, Button } from "@material-ui/core"; import moment from "moment"; import loadable from "@loadable/component"; import { useCallback, useState } from "react"; import { useDispatch } from "react-redux"; import { statusType, useAbortableEffect } from "../../Common/utils"; import { getTestSample } ...
import * as React from 'react'; import { StyledIconProps } from '../../StyledIconBase'; export declare const CachedDimensions: { height: number; width: number; };
import { assert } from 'chai'; import fs from 'fs/promises'; import path from 'path'; import sinon from 'sinon'; import { ApiError, DefaultLogger, ProjectMock, IHttpProject, HttpProject, IBackendEvent, RouteBuilder, HttpProjectKind, IPatchInfo, IPatchRevision, ProjectKind } from '@api-client/core'; import { JsonPatch }...
import React from "react" import { appLogs } from "@shared/ipc" import Page from "~/components/Page" import "twin.macro" const Logs = () => { const [log, setLog] = React.useState("") React.useEffect(() => { appLogs .invoke() .then(data => setLog(data)) .catch(err => setLog(JSON.stringify(err, null, 2))) ...
export { default, default as AddEmailAddress } from "./AddEmailAddress";
/* tslint:disable:no-unused-variable */ import { TestBed, async } from '@angular/core/testing'; import { HighlightsTabComponent } from './highlights-tab.component'; describe('Component: HighlightsTab', () => { it('should create an instance', () => { let component = new HighlightsTabComponent(); expect(compo...
export { BlockParty } from './BlockParty'; export { Coordinates } from './Coordinates';
import HtmlTs from "../../../Core/HtmlTs"; import InterfaceHtmlTsInput from "../../Elements/Core/InterfaceHtmlTsInput"; import HtmlTsInputValidatorResult from "../../Validator/Core/HtmlTsInputValidatorResult"; interface InterfaceHtmlTsInputDecorator { createHtml(htmlTsInput: InterfaceHtmlTsInput<string | string[]...
import {EntityRelationshipModel} from '@/erdiagram/parser/types/entity-relationship-model-types'; import {DatabaseModel} from '@/erdiagram/converter/database/model/database-model-types'; import DatabaseModelGenerator from '@/erdiagram/converter/database/model/DatabaseModelGenerator'; import EntityRelationshipModelToDat...
import * as React from 'react'; import { AvatarGroup as StyledAvatarGroup } from './styled'; import { getChildren, getDiff } from './helpers'; export interface Props extends React.HTMLAttributes<HTMLDivElement> { /** * Avatar components */ children?: React.ReactNode | Array<React.ReactNode>; /**...
import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { Dish } from './entities/dish.entity'; import { Restaurant } from './entities/restaurant.entity'; import { CategoryRepository } from './repositories/category.repository'; import { RestaurantsResolver, CategoryResolver,...
import { Pentomino, NUM_PENTOMINOS, ALL_PENTOMINOS } from './pentomino' import { SimpleConstraint } from '../../lib/interfaces' function times<T> (n: number, fn: () => T): T[] { const returnValue: T[] = [] for (let i = 0; i < n; i++) { returnValue.push(fn()) } return returnValue } function constant<T> (...
import { Fun } from '@ephox/katamari'; import * as CaretRangeFromPoint from '../../selection/CaretRangeFromPoint'; import * as NormalizeRange from '../../selection/NormalizeRange'; import * as RangeCompare from '../../selection/RangeCompare'; import * as RangeNodes from '../../selection/RangeNodes'; import { RangeLike...
import 'Styles/inputs/password.scss'; window.addEventListener('DOMContentLoaded', () => { const toggleBtns = document.querySelectorAll('.toggle-password-visibility') as NodeListOf<HTMLElement>; toggleBtns.forEach((toggleBtn) => { toggleBtn.addEventListener('click', (e:MouseEvent) => { cons...
import { ThemeComponentInterface } from '@redesign-system/theme' import { PRIMARY, SECONDARY } from '@redesign-system/theme' type ErrorTypes = typeof PRIMARY | typeof SECONDARY export interface ErrorMessageInterface extends ThemeComponentInterface { appearance?: ErrorTypes children?: React.ReactNode href?: stri...
import { Routes } from '@angular/router'; import { AuthGuard } from './auth/auth.guard'; export const appRoutes: Routes = [ { path: '', loadChildren: () => import('./secret-dashboard/secret-dashboard.module').then(m => m.SecretDashboardModule), canActivate: [AuthGuard] }, { path: 'auth', lo...
import { connect, ConnectedProps } from "react-redux" import { CheckEntity, TaskEntity } from "../../../../../entities/TaskEntity" import { actions } from "../../../../../redux/actions" import { RootState } from "../../../../../redux/store" const mapState = ( state: RootState, props: { id: CheckEntity["id"]; task:...
import { MenuItem, TextField } from '@mui/material'; import { useAppState } from '@src/overmind'; import { HandleFilterType, RoleType } from '@src/types'; import React, { ChangeEvent, FC, useState } from 'react'; import { useTranslation } from 'react-i18next'; interface FilterStatusProps { handleFilter: ({ type, val...
import {RequestHandler ,Router} from "express"; import {FireBean, Get, OAuthOption, UserInfo, UserRaw} from "@foxzilla/fireblog"; import TokenManager from "../../token-manager"; import * as User from "../../../model/user"; import {apiUrl ,FireBlogVersion ,frontUrl} from "../../runtime"; import {Assert} from "../../pea-...
import * as application from "tns-core-modules/application"; import { configureOAuthProviders } from "./auth-service"; configureOAuthProviders(); application.run({ moduleName: "app-root" });
import {Milliseconds, RepeatingTimer} from './repeating-timer'; import {Mesh, MeshBasicMaterial} from 'three'; import {Projectile} from './projectile'; import {Helpers} from './helpers'; import {Observable} from 'rxjs/Observable'; export class ProjectilesSpawner { projectiles$: Observable<Projectile>; constructor...
export class Text { // Changes full-width (double-byte) English letters or katakana within a character string to half-width (single-byte) characters ASC: () => void; // Converts a number to text, using the ß (baht) currency format BAHTTEXT: () => void; // Returns the character specified by the cod...
import { Router } from 'express'; import { bookRepository } from 'dals'; import { authorizationMiddleware } from 'pods/security'; import { mapBookListFromModelToApi, mapBookFromModelToApi, mapBookFromApiToModel, } from './book.mappers'; import { paginateBookList } from './book.helpers'; export const booksApi = R...
import { Module } from '@nestjs/common' import { TypeOrmModule } from '@nestjs/typeorm' import { AuthController } from './auth.controller' import { SignUpService } from './services/signup.service' import { User } from '../../entities/example/user.entity' import { UserRoles } from '../../entities/example/userRoles.enti...
import * as TypeGraphQL from "type-graphql"; import * as GraphQLScalars from "graphql-scalars"; import { Expert_data_expertise_tags_expertise_tagOrderByInput } from "../../../inputs/Expert_data_expertise_tags_expertise_tagOrderByInput"; import { Expert_data_expertise_tags_expertise_tagScalarWhereWithAggregatesInput } f...
import { DateTime, Interval } from "luxon"; import { useMemo } from "react"; import CopyToClipboard from "react-copy-to-clipboard"; import { useTranslation } from "react-i18next"; import { toast } from "react-toastify"; import { computeProximityPercent, generateSquareCharacters, } from "../domain/geography"; import...
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in the ...
import React from 'react' import TokenList from '../../utils/dom/TokenList' import { StyleNamespace } from '../../variables' import './Italic.css' export type ItalicProps = React.Props<HTMLSpanElement> & React.HTMLProps<HTMLSpanElement> & { primary?: boolean secondary?: boolean } export default React.memo...
import { ItemCategory, IItemCategoryUpdateQuality } from './types'; const calculateBackstagePassesQualityModifier = ( quality: number, sellIn: number ): number => { if (sellIn <= 0) return quality * -1; if (sellIn <= 5) return 3; if (sellIn <= 10) return 2; return 1; }; const calculateQualityModifier = ( ...
/** * Copyright 2020 Goldman Sachs * * 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 ...
/* 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)...
export * from './mode-by-form'; export * from './mode-by-validity';
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { AuthService } from '../../_services/auth.service'; import { UserService } from './../../_services/user.service'; @Component({ selector: 'app-user-list', templateUrl: './user-list.component.html', styleU...
import { AnimationBuilder } from '@ionic/core/components'; import React, { useContext } from 'react'; import { RouteAction, RouterDirection, RouterOptions } from '../models'; import { RouteInfo } from '../models/RouteInfo'; export interface IonRouterContextState { routeInfo: RouteInfo; push: ( pathname: strin...
import { generateTextColor } from '../../helpers/color'; import { IPriceAxisViewRenderer, IPriceAxisViewRendererConstructor, PriceAxisViewRendererCommonData, PriceAxisViewRendererData, PriceAxisViewRendererOptions, } from '../../renderers/iprice-axis-view-renderer'; import { PriceAxisViewRenderer } from '../../re...
export * from "./environment"; export * from "./simulation"; export * from "./shopify"; export * from "./player";
/* tslint:disable:no-console */ const logPrefix = "[WKVEC] "; export class Logger { private prefix: string; private disableLogging: boolean; constructor() { this.prefix = logPrefix; this.disableLogging = false; // Set to false for development } public debug(msg: string, ...args: any[]) { if (t...
import { Ref } from 'vue-demi' export type MaxType = number | Ref<number>
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { EventTopicFormComponent } from './event-topic-form.component'; describe('EventTopicFormComponent', () => { let component: EventTopicFormComponent; let fixture: ComponentFixture<EventTopicFormComponent>; beforeEach(async(() => { ...
import React, { useState, useEffect } from 'react' import { Link, useHistory } from 'react-router-dom' // My NPM Libraries import Swal from 'sweetalert2' function EditProduct(props) { let productKeyId = props.match.params.id const history = useHistory() const [loading, setLoading] = useState(true); // For Pre...
import React, { useState } from 'react' import { useCommand } from '@resolve-js/react-hooks' import { Row, Col, Container, Form, FormGroup, Input, FormText, Button, Alert, Label, } from 'reactstrap' const RegistrationForm = ({ user }) => { const [values, setValues] = useState({ nickname: user...
/* tslint:disable */ /* eslint-disable */ // This file was automatically generated and should not be edited. export type CreateConversationInput = { id?: string | null, name: string, createdAt?: string | null, }; export type ModelConversationConditionInput = { name?: ModelStringInput | null, createdAt?: Mo...
import * as React from 'react'; import { shallow, mount, ReactWrapper } from 'enzyme'; import { iocContainer } from '../../utils/ioc/index'; import { PaneResizer } from './PaneResizer'; import { UIStore } from '../../stores/UIStore'; describe('Pane resizer', function () { let uiStore: UIStore; beforeEach(() => u...
/* * MIT License * * Copyright (c) 2020-present Cloudogu GmbH and Contributors * * 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, including without limitation the r...
/* * Copyright 2020 the original author or authors from the Lowfer project. * * This file is part of the Lowfer project, see https://github.com/mbouchenoire/lowfer * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the...
import { ComponentBuilder, Component, EventHub } from '@cryptographix/sim-core'; import { Kind, KindConstructor, KindBuilder, Direction, Protocol } from '@cryptographix/sim-core'; export class SecretKeyGenerator extends EventHub implements Component { } class SecretKeyGeneratorConfig { } new KindBuilder(SecretKeyG...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import CloseTabOperator from "../../../../src/background/operators/impls/CloseTabOperator"; import MockTabPresenter from "../../mock/MockTabPresenter"; describe("CloseTabOperator", () => { describe("#run", () => { it("close a current tab", async () => { const tabPresenter = new MockTabPresenter(); aw...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { expect, use } from 'chai'; import * as chaiAsPromised from 'chai-as-promised'; import * as getFreePort from 'get-port'; import * as net from 'net'; import * as path from 'path'; import { DebugClient } from 'vscode-...
import { noJsxHtmlComments } from './no-jsx-html-comments'; import { noUnusedExpressions } from './no-unused-expressions'; import { remark } from './remark'; export * from './helpers'; export * from './types'; export { noJsxHtmlComments, noUnusedExpressions, remark }; export declare const rules: { 'no-jsx-html-comm...
import { LinkedTree, Project, Program } from './types' import { compile, buildSources } from './compile' import { parse } from './parse' import { source } from './test' const project = parse ( source ( 'testA.md' ) ) const VALUE1_SOURCE = `import { Meta, Update } from 'lucidity' export const update: Update = (): nu...
import Product from '../../src/models/Product' import ProductService from '../../src/services/product' import * as dbHelper from '../db-helper' // const nonExistingProductId = '5e57b77b5744fa0b461c7906' const nonExistingProductId = '5ee1337ba4538021340e7d97' async function createProduct() { const product = new Prod...
/* * Copyright 2021 The University of Manchester * * 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 ...
/** @format */ import { ISvgIconProps, IconWrapper } from '../runtime'; export default IconWrapper('byted-tv-one', false, (props: ISvgIconProps) => ( <svg width={props.size} height={props.size} viewBox="0 0 48 48" fill="none"> <path d="M42 12H6C4.89543 12 4 12.8954 4 14V40C4 41.1046 4.89543 42 6 42H42C43....
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { SidenavService } from '../shared/sidenav.service'; import { PriceCalculatorService } from '../shared/price-calculator.service'; import { SnackBarService } from '../../core/snackService/snackService.service'; import { SidenavOrderCompone...
import { BotState, ControlPanelState, SourceFbosConfig, } from "../../devices/interfaces"; import { InformationalSettings, TaggedDevice } from "farmbot"; import { TimeSettings } from "../../interfaces"; export interface NameRowProps { dispatch: Function; device: TaggedDevice; widget?: boolean; } export in...
import { useState } from "react"; import { ApiData } from "../data/interfaces"; import { IonBackButton, IonButtons, IonContent, IonGrid, IonHeader, IonIcon, IonImg, IonPage, IonRow, IonText, IonTitle, IonToolbar, useIonLoading, useIonViewWillEnter, } from "@ionic/react"; import { cameraOutli...
/* * Copyright 2018- The Pixie 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 ag...
// /src/hardware/laptop/materialicons/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgLaptop = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"> <g> <rect fill="none" height="24" width="24" x="0"/>...
import { Injectable } from '@angular/core'; import { AngularFirestore } from 'angularfire2/firestore'; import { appGlobals } from 'src/app/global/app.globals'; @Injectable({providedIn: 'root'}) export class DashboardService { constructor(public fs: AngularFirestore) { } getBuzz() { return this.fs.collection...
import {Driver} from "../Driver"; import {DriverUtils} from "../DriverUtils"; import {AuroraDataApiQueryRunner} from "./AuroraDataApiQueryRunner"; import {ObjectLiteral} from "../../common/ObjectLiteral"; import {ColumnMetadata} from "../../metadata/ColumnMetadata"; import {DateUtils} from "../../util/DateUtils"; impor...
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'app-sample-page', templateUrl: './sample-page.component.html' }) export class SamplePageComponent implements OnInit { id: number; parameters: any; constructor(private activatedRoute: ...
import { Body, Controller, Delete, Get, Param, Post, Query, UseGuards, } from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; import { TRangeItem } from 'src/app.interfaces'; import { ParseDateRangePipe, PermanentlyParseIntPipe, } from 'src/app.pipe'; import { Use...
/** * @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 {Component, ViewChild} from '@angular/core'; import { MapCircle, MapInfoWindow, MapMarker, MapPolygon,...
import { Column, Entity, OneToMany, PrimaryGeneratedColumn } from "typeorm"; import { Studentgroup } from "./student_group"; @Entity("Student", { schema: "ski" }) export class Student { @PrimaryGeneratedColumn({ type: "int", name: "StudentID" }) studentId: number; @Column("varchar", { name: "LastName", length: ...