text
stringlengths
10
953k
/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import { Path } from 'd3-path' import { SGArcItem, SGAreaItem, SGLineItem, SGRectItem, SGSymbolItem, Interpolation, Orientation, } from '@chart-parts/interfaces' import { rectShape, arc...
import { Router } from 'express'; import { add_position_ByLocation, get ,updateVehiclePosition} from '../controllers/position_bylocation'; const router = Router(); router.get('/', get); router.post('/AddPosition',add_position_ByLocation); router.put('/updateVehicle',updateVehiclePosition); export default router;
import { RangeNavigator, AreaSeries, DateTime, IChangedEventArgs } from '../../../src/range-navigator/index'; import { PeriodSelector } from '../../../src/common/period-selector/period-selector'; import { createElement, remove } from '@syncfusion/ej2-base'; import { DataManager, Query } from '@syncfusion/ej2-data'; imp...
import { ComponentInterface } from '../../stencil-public-runtime'; export declare class DiscordThreadMessage implements ComponentInterface { /** * The DiscordThreadMessage element. */ el: HTMLElement; /** * The id of the profile data to use. */ profile: string; /** * The message author's userna...
import React from 'react'; import { Padding } from '../padding'; import { Stack } from '../stack'; import { RadioButton, SelectableOption } from '../radio-button'; import { TextColors } from '../text'; interface Props { direction?: 'vertical' | 'horizontal'; disabled?: boolean; label?: string; name: string; ...
import React from 'react' import { FormControl, InputLabel, MenuItem, Select, FormHelperText, Grid } from '@material-ui/core' import { makeStyles } from '@material-ui/core/styles' import SupervisorAccount from '@material-ui/icons/SupervisorAccount' import { FormSelectProps } from '../common/types' const useStyles = ma...
import { Controller, Get } from '@nestjs/common'; import { createResponse } from './libs/response.lib'; import { CourseService } from './services/course.service'; import { UserService } from './services/user.service'; @Controller() export class AppController { constructor( private readonly userService: UserServi...
import BaseClient from "./BaseClient"; import { Callback, ClientOptions, DefaultResponse, FilteringParameters } from "./models"; import { CreateDomainRequest, CreateServerRequest, CreateSignatureRequest, DomainDetails, Domains, Server, ServerFilteringParameters, Servers, SignatureDetails, Signatures, TemplatesPush, Tem...
import AbstractBlockComponentController from "../AbstractBlockComponentController"; import BlockTextTransitionController from 'app/component/block/block-text/BlockTextTransitionController'; import IBlockTextOptions from 'app/component/block/block-text/IBlockTextOptions'; import BlockTextViewModel from 'app/component/bl...
export enum FenceMitigate { FENCE_MITIGATE_UNKNOWN = 0, // Unknown FENCE_MITIGATE_NONE = 1, // No actions being taken FENCE_MITIGATE_VEL_LIMIT = 2, // Velocity limiting active to prevent breach FENCE_MITIGATE_ENUM_END = 3, // }
import { ABS, ARCTAN, ASSUME_REAL_VARIABLES, avoidCalculatingPowersIntoArctans, breakpoint, caddr, cadr, car, cdr, Constants, COS, defs, Double, E, isadd, iscons, isdouble, ismultiply, isNumericAtom, ispower, isrational, istensor, LOG, MULTIPLY, Num, PI, POWER, SI...
import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core"; import { Router } from "@angular/router"; import { TestBed, async } from "@angular/core/testing"; import { MenuController } from "@ionic/angular"; import { TutorialPage } from "./tutorial"; import { IonicStorageModule } from "@ionic/storage"; describe("TutorialP...
import * as ddb from '@aws-cdk/aws-dynamodb'; import * as iam from '@aws-cdk/aws-iam'; import * as sfn from '@aws-cdk/aws-stepfunctions'; import { Construct, Stack } from '@aws-cdk/core'; import { DynamoMethod, getDynamoResourceArn, transformAttributeValueMap } from './private/utils'; import { DynamoAttributeValue, Dyn...
import { Selector } from "testcafe"; class DataTable { body: Selector; applicationCount: Selector; rows: Selector; constructor() { this.body = Selector('[data-testid="data-table"').child("tbody"); this.applicationCount = Selector('[data-testid="application-count"]'); this.rows = Selector('[data-te...
import * as mongoose from 'mongoose'; import { RepositoryBase } from './database'; import { IPackageModel } from './package'; import { ITagModel } from './tag'; export let Schema = mongoose.Schema; export let ObjectId = mongoose.Schema.Types.ObjectId; export let Mixed = mongoose.Schema.Types.Mixed; export interface IG...
import { Privacy } from "@clarity-types/core"; import { Code, Setting, Severity } from "@clarity-types/data"; import { Constant, NodeChange, NodeInfo, NodeValue, Source } from "@clarity-types/layout"; import config from "@src/core/config"; import { time } from "@src/core/time"; import * as log from "@src/diagnostic/log...
// *** WARNING: this file was generated by the Pulumi Kubernetes codegen tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import { core } from "../.."; import * as inputs from "../../types/input"; import * as outputs from "../../types...
export interface CalculatorState { value: number; } const initialState: CalculatorState = { value: 0, }; const actions = { increase: ({ state }) => ({ value: state.value + 1 }), decrease: ({ state }) => ({ value: state.value - 1 }), }; export default { name: "calculator", initialState, actions, };
import {EditorView} from "./editorview" import {ContentView} from "./contentview" import {inputHandler, editable} from "./extension" import {contains, dispatchKey} from "./dom" import browser from "./browser" import {EditorSelection, Text} from "@codemirror/state" export function applyDOMChange(view: EditorView, start...
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core'; import { AbstractNavbarComponent } from '../abstract-navbar/abstract-navbar.component'; @Component({ selector: 'bulma-navbar-vertical', templateUrl: './navbar-vertical.component.html', changeDetection: ChangeDetectionStrategy.OnPush }) e...
import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * DeleteTranscriptionJobInput shape */ export interface DeleteTranscriptionJobInput { /** * <p>The name of the transcription job to be deleted.</p> */ TranscriptionJobName: string;...
/** * enaio group information */ export interface EnaioGroupInfo { /** * Numeric User ID */ id: number; /** * Group name */ name: string; /** * Unique user identifier (32 characters long) */ osguid: string; /** * group description */ description: string; }
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { HttpClient, HttpClientModule } from '@angular/common/http'; import { RouterModule, Routes } from '@angular/router'; import { NgModule } from '@angular/core'; import { MarkdownModule } from 'ngx-markdown'; import { ContentDensitySe...
"use strict"; /// <reference path="../typings/tsd.d.ts"/> /// <reference path="../typings/express/express.d.ts"/> import {Express, Request, Response, Router, RequestHandler} from "express"; import express = require("express"); /** * Get actionfilter decorator */ export function get(path?: string): Function { ...
import * as React from 'react'; import { MediaSingleLayout } from '../../schema'; import Wrapper from './styled'; import * as classnames from 'classnames'; export interface Props { children: React.ReactChild; layout: MediaSingleLayout; width: number; height: number; containerWidth?: number; isLoading?: boo...
import { css } from '@emotion/react' import { undrawCreativeExperiment } from '../../assets/images' import { useHasPortfolio } from '../../atoms/labSettingState' import { useIsReportReady } from '../../atoms/reportState' import palette from '../../lib/palette' import media from '../../lib/styles/media' import ImageWith...
import copyImg from '../assets/images/copy.svg'; import '../styles/roomCode.scss'; type RoomCodeProps = { code: string } export function RoomCode(props: RoomCodeProps) { function copyRoomCodeToClipboard() { navigator.clipboard.writeText(props.code); } return ( <button className="room-code" onClick={...
import { $MaybePromise } from '../../../generate/async.macro'; import { $SourceIterable, $ResultIterable } from '../../types/$iterable'; declare function $groupBy( key: null | undefined, ): <T = any>(source: $SourceIterable<T>) => $ResultIterable<[T, $ResultIterable<T>]>; declare function $groupBy<K, T = any>( k...
import * as speakeasy from 'speakeasy'; import * as mongoose from 'mongoose'; let passport = require('passport'); import emailService from '../../services/emailService'; import emailMerges from '../../emails/emailMerges'; import utilityService from '../../services/utilitiesService'; import helper from '../_controllerH...
/* * 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 * as echarts from 'echarts'; const option: echarts.EChartOption = { series: [], title: { padding: 5, }, }; const testChartTitlePadding = (options: echarts.EChartTitleOption) => { options.padding = 5; options.padding = [5]; options.padding = [5, 10]; options.padding = [5, 10,...
import React, { useState } from 'react'; import { Grid, Button } from '@material-ui/core'; import { clearDownloads, showDownloadFolder, getDownloadFolder, getFolderSize, } from '../DownloadManager/DownloadManager'; import { useSelector, useStore } from 'react-redux'; import StoreType, { IllustData } from '../.....
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About WorldUnionCurrency</source> <translation>Sobre WorldUnionCurrency...
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { NewsComponent } from './news/news.component'; import { HomeComponent } from './home/home.component'; imp...
import React, { FunctionComponent } from "react"; import { Col, Container, ListGroup, Row } from "react-bootstrap"; import { GeneralTemplate } from "../templates/GeneralTemplate"; import { SubmissionWorkflowDiagram } from "../components/submit/SubmissionWorkflowDiagram"; import { FontAwesomeIcon } from "@fortawesome/r...
import { useTranslation } from "react-i18next"; import React, { useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import { RootState } from "../../context/rootState.interface"; import { displayCreateChatModal, reloadChats } from "../../context/actions/chat"; import { Input } from "../inpu...
import { DashboardComponent } from './../dashboard/dashboard.component'; import { AdminComponent } from './../admin.component'; import { NgModule, Component } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule } from '@angular/router'; @NgModule({ imports: [ RouterModule....
import { Component, ChangeDetectorRef, NgZone } from '@angular/core'; import { ElectronService } from './core/services'; import { TranslateService } from '@ngx-translate/core'; import { AppConfig } from '../environments/environment'; import { ConfigService } from './config/config.service'; @Component({ selector: 'ap...
import PropTypes from 'prop-types'; import Gtk from '../gtk'; import Element from './Element'; export default class RecentChooserDialog extends Element { static propTypes = { useHeaderBar: PropTypes.number, acceptFocus: PropTypes.bool, application: PropTypes.object, attachedTo: PropTypes.object, ...
import {TransformableInfo} from 'logform'; import winston from 'winston'; import * as Transport from 'winston-transport'; import {createMorganStream} from './streams'; import {createConsoleTransport, createFileTransport, createFluentTransport} from './transports'; import {traceFormat} from './formats'; export {MCF_TRAC...
import React from 'react'; import { IPoolToken } from '../store/types'; export interface ITokenInfo { name: string; symbol: string; logoURI: string; address?: string; id?: string; price?: number; priceBtc?: number; decimals?: number; rank?: number; chainId?: number; } export interface IPoolTokenIn...
/* * Tencent is pleased to support the open source community by making * Hippy available. * * Copyright (C) 2017-2019 THL A29 Limited, a Tencent company. * 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. ...
import { Component, OnInit, Input, Output, EventEmitter, OnDestroy } from '@angular/core'; import { Observable } from 'rxjs/Rx'; @Component({ selector: 'app-simple-operation', templateUrl: './simple-operation.component.html', styleUrls: ['./simple-operation.component.css'] }) export class SimpleOperationComponen...
import { Base64 } from "./aliases"; /** * The different types of qr code output. */ export enum QRFormat{ PNG = 'png', JPEG = 'jpeg', WEBM = 'webm' } /** * The available languages for the host security notification */ export enum NotificationLanguage { PTBR = 'pt-br', ENGB = 'en-...
import { IsNotEmpty } from "class-validator"; import { ApiProperty } from "@nestjs/swagger"; /** * @author Jeyson Luiz Romualdo * @export * @class CreateOrUpdateCityGeonameDto */ export class CreateOrUpdateCityGeonameDto { @ApiProperty() @IsNotEmpty() cityName: string @ApiProperty() @IsNotEmpt...
import 'org_xprof/frontend/app/common/interfaces/window'; import {Component} from '@angular/core'; /** An empty page component. */ @Component({ selector: 'empty-page', templateUrl: './empty_page.ng.html', styleUrls: ['./empty_page.css'] }) export class EmptyPage { inColab = !!(window.parent.TENSORBOARD_ENV || ...
// Copyright (c) Microsoft Corporation. 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 app...
import { v4 as uuidv4 } from 'uuid'; import { SignedXml } from 'xml-crypto'; import { ISecurity } from '../types'; function addMinutes(date: Date, minutes: number) { return new Date(date.getTime() + minutes * 60000); } function dateStringForSOAP(date: Date): string { return date.getUTCFullYear() + '-' + ('0' + (d...
export interface Page { pageNumber: number; pageSize: number; totalRows: number; totalPages: number; }
import { g2lz, l2gz } from "../../../core/conversions"; import { addP, toGP, Vector } from "../../../core/geometry"; import type { GlobalPoint } from "../../../core/geometry"; import { rotateAroundPoint } from "../../../core/math"; import { SyncMode } from "../../../core/models/types"; import { sendTextUpdate } from "....
import React, { memo, useMemo } from 'react' import FormControl from '~components/inspector/controls/FormControl' import { useForm } from '~hooks/useForm' import usePropsSelector from '~hooks/usePropsSelector' import { Slider, SliderTrack, SliderFilledTrack, SliderThumb, } from '@chakra-ui/core' import TextCont...
export { default as Home } from './home'; export { default as ResetPasswordPage } from './resetPasswordPage';
import * as Path from 'path' import { pathExists } from 'fs-extra' import { IFoundEditor } from './found-editor' import { assertNever } from '../fatal-error' export enum ExternalEditor { Atom = 'Atom', MacVim = 'MacVim', VisualStudioCode = 'Visual Studio Code', VisualStudioCodeInsiders = 'Visual Studio Code (I...
import {Urls} from "../Urls"; export class LoginPage { registerNewAccount(){ const continueNewCustomerButton = $('a.btn.btn-primary'); continueNewCustomerButton.click(); } makeLogin(){ new Urls ().openMyAccountLoginURL(); const emailLogin = $('input[name="email"]'); ...
// Type definitions for lodash.isNaN 3.0 // Project: http://lodash.com/ // Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2...
import webpack from 'webpack'; import { merge } from 'webpack-merge'; import dir from 'pkg-dir'; import presets from './presets'; import Pack from './pack'; import Hints from './hints'; import Options from './options'; import BasePack from '../packs/base'; import OptimizationPack from '../packs/optimization'; import Mi...
/* * 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 React, { useMemo } from 'react'; import StructuredTab from 'components/StructuredTab'; import { useTranslation } from 'react-i18next'; import MigrateTab from '../MigrateTab'; const ActionBox: React.FC = () => { const { t } = useTranslation(); const tabData = useMemo( () => [ { title: t('layer2.acti...
import { ECS } from "../ECS"; import { ECSClient } from "../ECSClient"; import { ListTasksCommand, ListTasksCommandInput, ListTasksCommandOutput } from "../commands/ListTasksCommand"; import { ECSPaginationConfiguration } from "./Interfaces"; import { Paginator } from "@aws-sdk/types"; const makePagedClientRequest = a...
import { unformatMoney } from './unformatMoney'; export default unformatMoney;
import { Injectable } from '@nestjs/common'; import { envConfigs as env } from './environment'; @Injectable() export class ConfigurationService { get baseFolder(): string { const regex = /common+(\/|\\)+config/gi; return __dirname.replace(regex, ''); } get appName(): string { return String(env.APP_N...
/* * 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 React, { useState, useEffect } from 'react'; import { ScaleType } from...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { memo } from "react"; import { Star, Clock } from "react-feather"; import "../styles/movie-card.scss"; interface MovieCardProps { title: string; poster: string; rating: string; runtime: string; } export function MovieCardComponent(props: MovieCardProps) { return ( <div className="movie-card"> ...
/** * @module Intacct/SDK/Functions/Common/Query/Logical */ /** * Copyright 2018 Sage Intacct, 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/license...
import { FunctionComponent } from 'react'; import { Callback, DefaultProps, Size, Renderer } from './_shared'; export type ModalProps = DefaultProps & { /** * This prop defines whether the modal is shown or not. */ isOpen: boolean, /** * onShow will be performed when each time the modal will be open ...
// Generated by typings // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/string/string.d.ts interface StringJS { length: number; s: string; between(left: string, right?: string): StringJS; camelize(): StringJS; capitalize(): StringJS; ...
import { FC } from "react"; interface IOrganizace {} const Organizace: FC<IOrganizace> = ({}) => { return <div>Organizace</div>; }; export default Organizace;
import { getFontStyles, getFocusStyles, createStyles, MantineSize, getSizeValue, hexToRgba, } from '@mantine/core'; interface DayStyles { size: MantineSize; fullWidth: boolean; } export const sizes = { xs: 34, sm: 38, md: 46, lg: 58, xl: 66, }; export default createStyles((theme, { size, fu...
import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {ConfirmPopupDemo} from './confirmpopupdemo'; import {ConfirmPopupDemoRoutingModule} from './confirmpopupdemo-routing.module'; import {ConfirmPopupModule} from 'primeng/confirmpopup'; import {ToastModule} from 'primeng/toast'; ...
export declare class OrderDto { id: number; name: string; email: string; street: string; city: string; country: string; zip: string; card: string; date: string; cvc: string; }
// Loaded from https://raw.githubusercontent.com/denjucks/dex/master/lib/deps/path/_globrex.ts // This file is ported from globrex@0.1.2 // MIT License // Copyright (c) 2018 Terkel Gjervig Nielsen const isWin = Deno.build.os === "windows"; const SEP = isWin ? `(?:\\\\|\\/)` : `\\/`; const SEP_ESC = isWin ? `\\\\` : ...
import { ComponentSlotStylesPrepared, ICSSInJSStyle } from '@fluentui/styles'; import { DatepickerVariables } from './datepickerVariables'; import { DatepickerCalendarGridStylesProps } from '../../../../components/Datepicker/DatepickerCalendarGrid'; export const datepickerCalendarGridStyles: ComponentSlotStylesPrepare...
import jss from 'jss' import preset from 'jss-preset-default' jss.setup(preset() as any) const hmoeHomeStyleSheet = jss.createStyleSheet({ '@global': { [`.mainpage-newpage, .mainpage-donate-and-ads, .mainpage-help, .mainpage-needHelp `]: { display: 'none' }, '.mainpage-headt...
// menu module import produce from "immer"; // actionTypes const TOGGLE_MENU = "menu/TOGGLE_MENU" as const; // action creator export const toggleMenu = () => { return { type: TOGGLE_MENU, }; }; // 모든 액션 객체들에 대한 타입 type MenuAction = ReturnType<typeof toggleMenu>; // reducer // 모듈에서 관리할 상태의 타입 type Men...
import { LayoutProps } from 'styled-system'; /** * @classdesc * * <img src="components/table.png" /> * * Main Table wrapper. Along with _TableRow_, _TableCell_, _TableCaption_, * _TableHead_ and _TableBody_ gives you the powerful tool for building tables. * * ### Related Components * * - _Table_: {@link Layou...
import { makeStyles, Paper, Typography } from '@material-ui/core'; import { errors } from 'utils/errors'; import { useErrorStyles } from './_error'; import Layout from 'components/Layout'; export default function NotFound() { const classes = useErrorStyles(); const errorObj = errors.notfound; return ( <Layo...
/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { IFluidHandle } from "@fluidframework/core-interfaces"; import { IFluidSerializer, serializeHandles, } from "@fluidframework/shared-object-base"; import { ISerializableValue, ...
import { expect } from 'chai'; import * as gulp from 'gulp'; import { sandbox, SinonSandbox, SinonSpy } from 'sinon'; import iocContainer from '../lib/configuration'; import GulpMinion from '../lib/gulpMinion'; import GulpTaskFactory from '../lib/gulpTaskFactory'; import Task from '../lib/task'; import { TASKS, TASK_NA...
import { FieldType, MutableDataFrame } from '@grafana/data'; import { StaEntity, StaGrafanaParser } from './common'; export interface Sensor { id: string; name?: string; description?: string; raw: object; } export interface StaSensor extends StaEntity { name: string; description: string; } export class ...
import React from 'react'; import { RectButtonProps } from 'react-native-gesture-handler'; import { Button, Container, Icon, Title } from './styles'; interface Props extends RectButtonProps { title: string; type: 'income' | 'outcome', isActive: boolean; } const icons = { income: 'arrow-up-circle', outcome:...
import {AfterViewInit, Directive, TemplateRef, ViewContainerRef} from '@angular/core'; @Directive({ selector: '[three]' }) export class ThreeDirective implements AfterViewInit { constructor(private viewContainer: ViewContainerRef, private template: TemplateRef<any>) { } ngAfterViewInit(): void ...
/** * @file UploadComputer 计算机上传 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconHelper, IconWrapper} from '../runtime'; export default IconWrapper( 'upload-computer', true, (h: IconHelper, props: ISvgIconProps) => ( ...
import { RouterModule, Routes } from '@angular/router'; import { NgModule } from '@angular/core'; import { PagesComponent } from './pages.component'; import { DashboardComponent } from './dashboard/dashboard.component'; import { ECommerceComponent } from './e-commerce/e-commerce.component'; import { NotFoundComponent ...
/** * Copyright 2015 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 { ApiResponseBase } from '../../../models/apiResponseBase'; export enum FirmwareStatus { Available = 1, Approved = 2, Decline = 3, Started = 4, } export interface GetFirmwareJobsApiResponse extends ApiResponseBase { jobs: Array<{ id: number; index: string; firmware: string; currentFir...
// tracing: off import { chain_, succeed } from "./core" import type { Effect } from "./effect" /** * Returns an effect whose success is mapped by the specified `f` function. */ export function map_<R, E, A, B>(_: Effect<R, E, A>, f: (a: A) => B, __trace?: string) { return chain_(_, (a: A) => succeed(f(a)), __tra...
import { workspace, window, TextEditor, TextDocumentChangeEvent, TextEditorSelectionChangeEvent, Disposable, TextEditorVisibleRangesChangeEvent, Uri, TextDocument, FileWillDeleteEvent, FileWillRenameEvent, FileWillCreateEvent, TextDocumentWillSaveEvent, FileDeleteEvent, TextDocumentSaveRea...
/* * 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 createContainer from 'constate'; import { useState, useEffect, Dispatc...
/** * iCure Data Stack API Documentation * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2. * * OpenAPI spec version: v1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen...
<TS language="ca@valencia" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Feu clic dret per a editar l'adreça o l'etiqueta</translation> </message> <message> <source>Create a new address</source> ...
import { FrontType } from "@types"; export class RPassword extends FrontType { readonly maskText: string = "rakkit"; constructor(maskText?: string) { super("password"); this.maskText = maskText; } }
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { WBlockComponent } from './w-block.component'; describe('WBlockComponent', () => { let component: WBlockComponent; let fixture: ComponentFixture<WBlockComponent>; beforeEach(async () => { await TestBed.configureTestingModule({ ...
export { String } from './String' export { endsWith } from './endsWith' export { localeCompare } from './localeCompare' export { padEnd } from './padEnd' export { padStart } from './padStart' export { repeat } from './repeat' export { replaceAll } from './replaceAll' export { startsWith } from './startsWith' export { ...
import { Body, Controller, Post, Get, Param, Query, Delete, Patch, NotFoundException, UseInterceptors, ClassSerializerInterceptor, Session, UseGuards } from '@nestjs/common'; import {CreateUserDto} from "./dtos/create-user.dto"; import {UpdateUserDto} from "./dtos/update-user.dto"; import {UsersService} from ...
import { Component } from '@angular/core'; import { UploadFile } from 'ng-zorro-antd'; @Component({ selector: 'nz-demo-upload-filter', template: ` <nz-upload nzAction="https://jsonplaceholder.typicode.com/posts/" [nzFileList]="fileList" nzMultiple [nzLimit]="2" (nzChange)="handleChange($event...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ja" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Zetacoin</source> <translation>Zetacoinについて</translation> </mess...
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ import { Configuration } from 'webpack'; export default { extends: ['@nuxtjs/eslint-config-typescript'], babel: { plugins: [ ['@babel/plugin-proposal-decorators', { legacy: true }], ['@babel/plugin-proposal-class-properties', { ...
import { KlasaUser } from 'klasa'; import { SkillsEnum } from '../skilling/types'; import itemID from '../util/itemID'; export interface Eatable { name: string; id: number; healAmount: ((user: KlasaUser) => number) | number; pvmBoost?: number; } export const Eatables: readonly Eatable[] = [ { name: 'Anchovies...
/* eslint-disable */ import { ASN1Element as _Element, ASN1TagClass as _TagClass, OPTIONAL, } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { MarkingCodes, _decode_MarkingCodes, _encode_MarkingCodes, } from "../SIOsAccessControl-MODULE/MarkingCodes.ta"; import { M...