text
stringlengths
10
953k
/* * 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 { LayoutBoundary, LayoutCommon, LayoutFull, LayoutWide, } from "~/layouts"; import type { HTMLElementProps } from "~/types"; /** * Layout with variants */ interface LayoutProps extends HTMLElementProps { variant?: "common" | "wide" | "full" | "boundary"; } export const Layout = ({ variant = "comm...
import { Component, OnInit } from '@angular/core'; import { ListaBase } from '../../comum/crud/ListaBase'; import { UsuarioFabricaService } from '../usuario-fabrica-service/usuario-fabrica.service'; import { EstruturaGridViewBuilder } from '../../comum/gridview/EstruturaGridViewBuilder'; import { ToastrService } from '...
import { MigrateResolve } from '../commands/MigrateResolve' import { jestConsoleContext, jestContext } from '@prisma/sdk' import { SetupParams, setupPostgres, tearDownPostgres } from '../utils/setupPostgres' const ctx = jestContext.new().add(jestConsoleContext()).assemble() describe('common', () => { it('should fai...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2018 Realm 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/li...
import { ChangeDetectionStrategy, Component, ComponentFactoryResolver, ComponentRef, Inject, Input, OnChanges, OnInit, ViewContainerRef } from "@angular/core"; import { SlateBlockCardComponent } from "../block-card/block-card.component"; import { ViewContainerItem } from '../../view/container-item'; import { Descendant...
const URL_REGEX = /^((?:https?:\/\/)?[^./]+(?:\.[^./]+)+(?:\/.*)?)$/; /** * Checks if the provided URL string is valid. */ export function isValidUrl(urlStr: string): boolean { return URL_REGEX.test(urlStr); }
import { useWatch } from "react-hook-form"; import { ISideDrawerFieldProps } from "../types"; import { useFieldStyles } from "components/SideDrawer/Form/utils"; import { format } from "date-fns"; import { DATE_TIME_FORMAT } from "constants/dates"; import { useProjectContext } from "contexts/ProjectContext"; export d...
import { expect } from "chai"; import { transform } from "../../../transformers/azure/transformer"; import { createSourceFile, ScriptTarget, isSourceFile } from "typescript"; import { readJsonData, readSourceFile } from "../lib/helper"; interface TestData { AST: any; data: any; } describe("Azure transformer trans...
import { HttpClient, HttpResponse } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Store } from '@ngrx/store'; import { Observable, Subject } from 'rxjs'; import { AddTrip, AppState, DeleteTrip, GlobalsService, ModifyTrip, SetTripsUsers } from 'src/app/core'; import { ITripCreateReque...
import {Document} from 'mongoose'; export interface IRefreshToken extends Document { readonly _id?: string readonly user_id?: string readonly token?: string readonly createdAt?: Date; }
/* Copyright 2015 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...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="lt"> <context> <name>AddressBook</name> <message> <location filename="../pages/AddressBook.qml" line="64"/> <source>Address</source> <translation>Adresas</translation> </message> <message> <l...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { MainComponent } from './main/main.component'; const routes: Routes = [ { path: '', component: MainComponent } ]; @NgModule({ imports: [RouterModule.forRoot(routes)], exports: [RouterModule] }) export...
import { FC, MouseEventHandler } from 'react' import styles from './Button.module.scss' type ButtonPropsType = { action?: MouseEventHandler<HTMLButtonElement> } const Button: FC<ButtonPropsType> = ({ children, action }) => { return ( <button onClick={action} className={styles.btn}> {children} </but...
declare var _default: "3.21.2"; export default _default;
import {Injectable, EventEmitter, Inject, InjectionToken} from "@angular/core"; import {Observable} from "rxjs/Observable"; import {Observer} from "rxjs/Observer"; import "rxjs/add/observable/of"; import "rxjs/add/operator/concat"; import "rxjs/add/operator/share"; import "rxjs/add/operator/map"; import "rxjs/add/opera...
import { push } from "connected-react-router"; import { connect } from "react-redux"; import { Action } from "redux"; import { ThunkDispatch } from "redux-thunk"; import actions from "../../actions"; import AppView from "../../components/AppView"; import { IResource, IStoreState } from "../../shared/types"; interface...
export * from './lib/feature-expenses.module';
<TS language="ru_RU" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Кликните правой кнопкой мыши для редактирования адреса или метки</translation> </message> <message> <source>Create a new address...
import React from 'react'; import { Switch } from 'react-router-dom'; import ErrorBoundaryRoute from 'app/shared/error/error-boundary-route'; import SuspensionHistory from './suspension-history'; import SuspensionHistoryDetail from './suspension-history-detail'; import SuspensionHistoryUpdate from './suspension-histo...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { CmtsListTableSnmpComponent } from './cmts-list-table-snmp.component'; describe('CmtsListTableSnmpComponent', () => { let component: CmtsListTableSnmpComponent; let fixture: ComponentFixture<CmtsListTableSnmpComponent>; beforeEac...
import { Tracer } from "@fwl/tracing"; import { HttpStatus } from "@fwl/web"; import { Request, Response } from "express"; function pingHandler(tracer: Tracer) { return (request: Request, response: Response): Promise<void> => { return tracer.span("ping-handler", async () => { throw new Error("oops"); ...
import MainNavigator from './MainNavigator.component' export default MainNavigator
import { Injectable } from '@nestjs/common'; import { PrismaService } from '../prisma/prisma.service'; import { shortenedCreationPayload } from './../types/index'; import ShortUniqueId from 'short-unique-id'; @Injectable() export class ShortenerRepository { constructor(private readonly prisma: PrismaService) {} a...
import { HttpClient } from '@angular/common/http'; import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { ModalController } from '@ionic/angular'; import { AuthenticationService } from 'src/app/services/authentication-service/authentication.service'; import { ErrorManagerS...
import { INITIAL_ALLOWED_SLIPPAGE, DEFAULT_DEADLINE_FROM_NOW } from '../../constants' import { createReducer } from '@reduxjs/toolkit' import { updateVersion } from '../global/actions' import { addSerializedPair, addSerializedToken, removeSerializedPair, removeSerializedToken, SerializedPair, SerializedToke...
import { ScenesAction, SceneControlAction } from './scenes.interface'; export enum ActionTypes { scenes, controlScene, } export type Action = ScenesAction | SceneControlAction;
import { makeFloat32Attribute, makeUint32Attribute } from "../Attribute"; import { Geometry } from "../Geometry"; export async function fetchOBJ(url: string): Promise<Geometry[]> { const response = await fetch(url); if (!response.ok) { throw new Error("response error: " + response.status + ":" + response.statu...
export * from './lib/can-deactivate.guard'; export * from './lib/selective-preloading-strategy.service';
import * as sdk from '@kiltprotocol/sdk-js' import { IMetadata } from '@kiltprotocol/sdk-js/build/types/CTypeMetadata' import { ICTypeSchema } from '@kiltprotocol/sdk-js/build/types/CType' import BN from 'bn.js' import { ROOT_SEED, CTYPE, CTYPE_METADATA, DELEGATION_ROOT_ID, } from './data/anticov.json' import {...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="tr"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Adres veya etiketi düzenlemek için sağ tıklayınız.</translation> </message> <message> ...
import { useState, useEffect, useContext, useRef } from 'react'; import { useHistory } from 'react-router-dom'; import React from 'react'; import FileContext from '../../utils/file-context'; import Player from '../../Components/Player'; import Text from '../../Components/Text'; import useInterval from '../../utils/useI...
// tslint:disable: no-string-literal | Reason: used to access private variables import { TestBed } from '@angular/core/testing'; import { WorkingAreaComponent } from 'src/app/components/working-area/working-area.component'; import { Tools } from 'src/app/enums/tools'; import { ShortcutManagerService } from '../shortcut...
import { Filter } from "lucide-react"; import React from "react"; export type FilterInputProps = React.InputHTMLAttributes<HTMLInputElement>; /** * `FilterInput` renders an input intended to be placed at the top of a list of * results, filtering the results list as text is entered. */ export const FilterInput = Re...
import { MdiComponent } from './StartApp/welcome/start/simulator/panel-wrapper/mem/wrapper-panels/mdi/mdi.component'; import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { AppComponent } from './app.component'; import...
/** * @format * @file BytedUmbrella byted-umbrella * @author 由 fe6 自动生成 */ import { IIconProps, IconWrapper } from '../runtime'; // 获取 SVG 的 HTML 字符串 export const getIconBytedUmbrellaSvgHtml = (props: IIconProps) => `<?xml version="1.0" encoding="UTF-8"?> <svg width="${props.size}" height="${props.size}" viewBo...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="vi_VN" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About ReferralCoin</source> <translation type="unfinished"/> </message> <message> <locatio...
import { ExtensionContext, languages } from "vscode"; import { OnDidChangeDiagnostics } from "./ErrorTracker"; import { initBashing } from "./Basher"; export function activate(context: ExtensionContext) { initBashing(context.asAbsolutePath("")); languages.onDidChangeDiagnostics(OnDidChangeDiagnostics, null, context...
import React from 'react'; import classnames from 'classnames'; import { TheiaContext } from 'contexts/TheiaContext'; import { StateContext } from 'contexts/StateContext'; import { ProjectContext } from 'contexts/ProjectContext'; import { AppStates } from 'shared/api.types'; import s from './Theia.module.scss'; const...
export function concat(args: any[], sep: { getSeparator: (sep: "dot" | "comma") => string }) { return args.join(sep.getSeparator("comma") + " "); } export function addExclamation(str: string) { return str + "!"; }
import * as React from 'react'; const ErrorIconSVG = (props: React.SVGProps<SVGSVGElement>) => { return ( <svg viewBox="64 64 896 896" focusable="false" data-icon="close-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true" {...props} > ...
/* THIS FILE IS AUTO-GENERATED – DO NOT EDIT */ import React, {forwardRef} from 'react' /** * @public */ export const ActivityIcon = forwardRef(function ActivityIcon( props: React.SVGProps<SVGSVGElement>, ref: React.Ref<SVGSVGElement> ) { return ( <svg data-sanity-icon="activity" width="1em" ...
export interface IListPickerItem { id: number; toString: () => string; }
/* eslint-disable jsx-a11y/click-events-have-key-events */ /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */ import { Button, makeStyles } from "@material-ui/core"; import Amplify, { Auth } from "aws-amplify"; import { ReactElement, useEffect } from "react"; import { useHistory } from "react-router-d...
import { Component, Input } from '@angular/core'; import { AmplifyService, AuthState } from '../../../providers'; const template = ` <div class="amplify-form-container" *ngIf="_show"> <div class="amplify-form-body"> <div class="amplify-form-row"> <div class="amplify-form-cell-left"> <a class="amp...
export default { badge: 'Infopiste', close: 'Sulje', dataIterator: { noResultsText: 'Ei osumia', loadingText: 'Ladataan kohteita...', }, dataTable: { itemsPerPageText: 'Rivejä sivulla:', ariaLabel: { sortDescending: ': Järjestetty laskevasti. Poista järjestäminen aktivoimalla.', so...
<TS language="de" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Rechts-Klick um Adresse oder Bezeichnung zu bearbeiten</translation> </message> <message> <source>Create a new address</source> ...
// Copyright 2017 The Kubernetes 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 a...
import { Component, OnInit, OnDestroy, Input } from '@angular/core'; import { Router, NavigationStart } from '@angular/router'; import { Subscription } from 'rxjs'; import { Alert } from '../model/alert'; import { AlertType } from '../model/alert-type.enum'; import { AlertService } from '../../services/alert.service';...
import {Mapper} from "./mapper" import {Factor} from "../ranges/factor_range" import * as p from "core/properties" import {Arrayable, ArrayableOf, Color} from "core/types" import {isNumber} from "core/util/types" import {color2hex} from "core/util/color" import {is_little_endian} from "core/util/platform" export inte...
import { createIcon } from '../core'; /** * remixicon pixelfed-fill */ export default createIcon('pixelfed-fill', { "viewBox": "0 0 24 24", "paths": [ { "d": "M0 0H24V24H0z", "fill": "none" }, { "d": "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm1.031 6.0...
//// { compiler: { ts: "4.1.0-beta" } } // With 4.1 the JSDoc parser in TypeScript // used in both JavaScript and TypeScript files // supports the @see parameter. // You can use the @see to help people quickly // jump to other related code via clicking // (cmd/ctrl + clicking) or getting hover info /** * @see hello...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="kk_KZ" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About KoreCoin</source> <translation type="unfinished"/> </message> <message> <location li...
import React from 'react' import { TitleLevel as originIcon } from '@icon-park/svg' import { IIconProps } from '@icon-park/svg/lib/runtime' import svg64 from 'svg64' const TitleLevel = (props: IIconProps) => { const base64Data = svg64(originIcon(props)) //@ts-ignore next-line return <image src={base64Data}...
// Type definitions for Q 1.0 // Project: https://github.com/kriskowal/q // Definitions by: Barrie Nemetchek <https://github.com/bnemetchek> // Andrew Gaspar <https://github.com/AndrewGaspar> // John Reilly <https://github.com/johnnyreilly> // Michel Boudreau <https://git...
/** * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * 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...
import { SelectorWithIndex } from '@tsdotnet/common-interfaces'; import { IterableValueTransform } from '../IterableTransform'; /** * An iterable filter that merges the output of contained iterables. * @return {(sequence: Iterable<T>) => Iterable<TSelect>} */ export default function selectMany<TSelect, T extends It...
export interface User { id?: number; avatarUrl?: string; display_name?: string; totalXp?: string; xpRank?: string; daysAsMember?: string; lessonsCompleted?: string; isAppleAppSubscriber?: boolean; isGoogleAppSubscriber?: boolean; notify_weekly_update?: boolean; notify_on_lesson_comment_reply?: boo...
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { FormControl, FormGroup } from '@angular/forms'; import { ActiveCartService, ConsignmentEntry, FeatureConfigService, PromotionLocation, SelectiveCartService, } from '@spartacus/core'; import { Observable } from 'rxjs'; import {...
/* * 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 ...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { AddDishComponent } from './add-dish.component'; const routes: Routes = [ { path: '**', pathMatch: 'full', component: AddDishComponent, } ]; @NgModule({ imports: [RouterModule.forChild(ro...
import { AddressObject, EstateStatuses, FiasId, FiasObject, House, Stead, Room, StructureStatuses } from '../types'; export declare class FiasData { data: FiasObject; static isAddressObject: (data: FiasObject) => data is AddressObject; static isStead: (data: FiasObject) => data is Stead; static isHouse:...
import { css, SerializedStyles, Theme } from "@emotion/react"; export const contentStyles = (theme: Theme): SerializedStyles => css` margin-block-start: 2.5rem; font-family: ${theme.fonts.content}; font-weight: 500; line-height: 1.5; word-break: break-word; h1 { margin-block-start: 1em; margin-blo...
import cors from 'cors'; import {NestFactory} from '@nestjs/core'; import {useContainer} from 'class-validator'; import {ValidationPipe} from '@nestjs/common'; import {InstinctBobbaThemeAPI} from './app.module'; import {NestExpressApplication} from '@nestjs/platform-express'; async function bootstrap() { const app =...
declare var jsPDF; namespace GraduateThesisManager.Common { export class ReportDialog extends Serenity.TemplatedDialog<ReportDialogOptions> { private report: Serenity.Reporting.ReportRetrieveResponse; private propertyGrid: Serenity.PropertyGrid; constructor(options: ReportDialogOptions) ...
import { MILLISECONDS_IN_DAY } from "./constants.ts"; import { adjustedTS } from "./diff.ts"; import { DateObj } from "./types.ts"; export function dateToArray( dateObj: DateObj, option?: { jsMonth: boolean }, ): [ number, number, number, number, number, number, number, ] { const { year, month, day...
import SearchableMap from './SearchableMap/SearchableMap' const OR = 'or' const AND = 'and' const AND_NOT = 'and_not' /** * Search options to customize the search behavior. */ export type SearchOptions = { /** * Names of the fields to search in. If omitted, all fields are searched. */ fields?: string[], ...
import { PassportStrategy } from '@nestjs/passport'; import { Strategy } from 'passport-microsoft'; import { Injectable } from '@nestjs/common'; import { AuthService, Provider } from './auth/auth.service'; @Injectable() export class MicrosoftStrategy extends PassportStrategy(Strategy, 'microsoft') { constructor(priv...
import {Injectable} from '@nestjs/common'; import {Item} from "./interfaces/item.interface"; import {Model} from "mongoose"; import {InjectModel} from "@nestjs/mongoose"; @Injectable() export class ItemsService { constructor(@InjectModel('Item') private readonly itemModel: Model<Item>) { } async findAll()...
/** * @license * Copyright 2016-2018 the original author or 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 * * Unl...
import React, { Component, Fragment } from 'react' import { connect } from 'redaction' import actions from 'redux/actions' import { withRouter } from 'react-router-dom' import constants from 'helpers/constants' import cssModules from 'react-css-modules' import styles from './OrderBook.scss' import Panel from 'compo...
// // Copyright (c) 2020-present Ganbaro Digital Ltd // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Re-distributions of source code must retain the above copyright // notice,...
export default interface SavedSearchesList { created_at: string; id: number; id_str: string; name: string; position?: any; query: string; }
export interface Error { errorMessage: string; } export function isError(value: any): value is Error { return (value as Error).errorMessage !== undefined; }
import React from "react" import ProjectSection from "../components/Home/ProjectSection" import AboutUsSection from "../components/Home/AboutUsSection" import IntroSection from "../components/Home/IntroSection" import Page from "../components/global/Page" export default function Home() { return ( <Page> <...
import { isNotEmpty } from '.'; describe('isNotEmpty', () => { it('should check if value is not null or undefined', () => { expect(isNotEmpty(null)).toBe(false); expect(isNotEmpty(undefined)).toBe(false); expect(isNotEmpty(0)).toBe(true); expect(isNotEmpty('')).toBe(true); expect(isNotEmpty([]))...
<TS language="he" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>יש ללחוץ על הכפתור הימני כדי לערוך כתובת או תווית</translation> </message> <message> <source>Create a new address</source> ...
export namespace DnDTypes { const EVENT: string; }
import Controller from 'sap/ui/core/mvc/Controller' import Fragment from 'sap/ui/core/Fragment' import i18n from '../util/i18n' export default class Base extends Controller { getText = i18n.getText.bind(null) loadFragment<FragmentType>(name: string): Promise<FragmentType> { return Fragment.load({ name, ...
import * as React from 'react' import Layout from '../components/Layout' import CategoryText from '../components/atoms/CategoryText' import { NextPage } from 'next' const IndexPage: NextPage = () => { return ( <Layout title="Home | Next.js + TypeScript Example"> <CategoryText>Foo</CategoryText>...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // import type * as nbformat from '@jupyterlab/nbformat'; // import { assert } from 'chai'; // import * as fs from 'fs-extra'; // import * as path from 'path'; // import * as sinon from 'sinon'; // import { commands, notebo...
/** * 冒泡排序 O(n^2) * @param arr 数组 */ export default function bubbleSort(arr: number[]) { const len = arr.length; let temp: number; // let loopCount = 0; // let changeCount = 0; for (let i = 0; i < len; i++) { // 优化点:如果一次循环中没有发生冒泡,则说明已经排序完成,可直接停止循环 let complete = true; for (let j = 0; j < len - ...
import { IsString, IsNumber, IsEnum, IsBoolean } from 'class-validator'; export class SaveTaskDto { @IsString() title: string; @IsString() desc: string; @IsBoolean() status: boolean; }
export { Close20 as default } from "../../";
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { MatListModule ...
import {MigrationInterface, QueryRunner, Table} from "typeorm"; export class createImage1629075314084 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> { queryRunner.createTable(new Table({ name: "images", columns: [ {name: "id",...
import React from 'react'; import ReleaseTable from '../src/components/ReleaseTable'; import { useReleaseHistory } from '../src/hooks'; import '../src/styles/tokens.scss'; import '../src/styles/layout.scss'; import '../src/styles/mobile.scss'; export default { title: 'ReleaseTable', component: ReleaseTable, }; co...
import { TestStationService } from "../services/TestStationService"; import { TestStationDAO } from "../models/TestStationDAO"; import { HTTPResponse } from "../models/HTTPResponse"; import { ITestStation } from "../models/ITestStation"; import { HTTPError } from "../models/HTTPError"; export const getTestStations = a...
import type { ReqBase } from "~/types/api/shared"; /** * @package */ type req = ReqBase & { DataVersion: number; Difficulty: number; FriendSquadIndex: number; FriendWID: number; IsAuto: number; IsEternityStage: number; /** * 反復戦闘 * 1: オン * 0: オフ */ IsPatrol: number...
import React from 'react' import { AutoSizer, InfiniteLoader, Table } from "react-virtualized" import { Job } from "../../services/JobService" import JobTableHeader from "./JobTableHeader"; import CheckboxRow from "../CheckboxRow"; import CheckboxHeaderRow from "../CheckboxHeaderRow"; import LoadingRow from "./Loading...
import { ITableDetails } from 'src/app/shared/interfaces/table/table-details.model'; export interface ITablesResponse { results: ITableDetails[]; }
import styled from 'styled-components' import { animated } from 'react-spring' export const Container = styled(animated.div)` touch-action: none; position: absolute; width: 100vw; will-change: transform; display: flex; align-items: center; justify-content: center; ` export const Background = styled(anim...
/* * 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 { IsString } from 'class-validator'; export class CreateCoffeeDto { // @IsString decorator makes the property required @IsString() readonly name: string; @IsString() readonly brand: string; @IsString({ each: true }) readonly flavors?: string[]; }
import {Component, Input} from '@angular/core'; import {Address} from '../../model/address'; import {ActivatedRoute, Router} from '@angular/router'; @Component({ selector: 'fdp-address', templateUrl: './address.component.html', styleUrls: ['./address.component.scss'] }) export class AddressComponent { @Input(...
export const TextWin32Status = { android: 'Not Supported', ios: 'Not Supported', macos: 'Not Supported', windows: 'Not Supported', web: 'Not Supported', win32: 'Good', };
import { Logger } from '../../../../cli'; import { CommandOption } from '../../../../Command'; import GlobalOptions from '../../../../GlobalOptions'; import request from '../../../../request'; import Utils from '../../../../Utils'; import SpoCommand from '../../../base/SpoCommand'; import commands from '../../command...
import chalk from 'chalk'; import axios from 'axios'; class ClickUpTeamConstructor { listMyTeams = async () => { const response = await axios.create({ baseURL: `https://api.clickup.com/api/v2/team/`, timeout: 30000, headers: { Authorization: process.env.CLICKUP_TOKEN, 'Content-Type': 'application/j...
export interface PopoverOptionsInterface { mask?: boolean; visible?: boolean; placement?: string; appendToBody?: boolean; className?: string; autoClose?: boolean; } export class PopoverOptions implements PopoverOptionsInterface { showArrow: boolean = false; mask: boolean = false; placement: string = ...