text
stringlengths
10
953k
export default class IID { static IDisposable: string; static IObservableProperty: string; static IObservableReadOnlyProperty: string; static IObservableList: string; static ICommand: string; static IHandleObservableErrors: string; }
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import...
import './Search.scss' import { SearchComparator } from './SearchComparator' import ViewDivElement from '../ViewDivElement' export default class Search extends ViewDivElement { private input: HTMLInputElement private button: HTMLButtonElement public elements: NodeListOf<HTMLElement> private _onSearch: (search...
import { ICodeableConcept } from "./CodeableConcept"; import { IDetectedIssue_Evidence } from "./DetectedIssue_Evidence"; import { IDetectedIssue_Mitigation } from "./DetectedIssue_Mitigation"; import { IElement } from "./Element"; import { IExtension } from "./Extension"; import { IIdentifier } from "./Identifier"; im...
import * as dotenv from 'dotenv'; import * as Joi from 'joi'; import * as fs from 'fs'; import { join } from 'path'; export interface EnvConfig { [key: string]: string; } export class ConfigService { private readonly envConfig: EnvConfig; constructor(filePath: string) { const config = dotenv.parse(fs.readF...
interface SalesforceTable { tableName: string tableColumns?: string[] } interface Source { read: (salesforceConnection: any, salesforceTable: any) => Promise<any> } interface TableStatus { salesforceTable: SalesforceTable startedAt: number stoppedAt: number status: string message: stri...
import Benchmark from './benchmark'; export type TargetFunc = ( /** * The target function for benchmarking. * * @return If returns Promise, {@link Benchmark} will measure the time it takes for the * Promise to resolve. Otherwise will measure the time it to method return. * * @since 1.0.0 ...
import { browser, by, element } from 'protractor'; export class AppPage { navigateTo() { return browser.get('/'); } getParagraphText() { return element(by.css('mat-toolbar span span')).getText(); } }
// generated by vite-plugin-components // read more https://github.com/vuejs/vue-next/pull/3399 declare module 'vue' { export interface GlobalComponents { Counter: typeof import('./src/components/Counter.vue')['default'] Footer: typeof import('./src/components/Footer.vue')['default'] GraphQL: typeof impo...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="he" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Mkcoin</source> <translation>אודות לייטקוין</translation> </mess...
import * as express from 'express' import { PostController } from '../../Controllers/PostController' import { ExtractJWT } from '../../middlewares/ExtractJwt' const router = express.Router() router.use(ExtractJWT) router.route('/').get(PostController.index).post(PostController.store) router.route('/:id').get(PostCo...
const Dropdown = (props: any) => { const { getSelected, name } = props; return <option value={name}>{props.children}</option>; }; export default Dropdown;
import { createEntypo, CreateEntypo } from '../createEntypo' export const ArrowBoldDown: CreateEntypo = createEntypo( <path d="M2.5,10H6V3h8v7h3.5L10,17.5L2.5,10z" /> )
/* * @Description: * @Version: 1.0 * @Autor: Derek Xu * @Date: 2022-01-12 15:50:08 * @LastEditors: Derek Xu * @LastEditTime: 2022-04-21 13:53:46 */ import { actionTypes } from './actionTypes' export const action = { listSync(payload) { return { type: actionTypes.LIST_SYNC, payload } }, ...
import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm'; @Entity() export class Usuario { @PrimaryGeneratedColumn('uuid') id: number; @Column() name: string; @Column('varchar', {unique: true}) email: string; @Column() phone: string; @Column() password: string; }
/* GENERATED FILE */ import * as React from "react"; import Svg, { Rect, Path } from "react-native-svg"; import { IconProps } from '../lib' function ArrowFatRight(props: IconProps) { return <Svg viewBox="0 0 256 256" width={props.size} height={props.size} {...props}><Rect width={256} height={256} fill="none" /><Pat...
import { text, boolean } from '@storybook/addon-knobs'; import { LabeledCheckbox } from '@asap-hub/react-components'; export default { title: 'Molecules / Labeled Checkbox', component: LabeledCheckbox, }; export const Normal = () => ( <LabeledCheckbox groupName="test1" checked={boolean('Checked', false...
import * as React from "react"; import { Helmet } from "react-helmet"; import { ControlGroup, Form, LeadHeading, Paragraph, } from "@Styles/general-components"; import { Text, TextArea } from "@Input"; import { Button, Loading, AlertBox, CustomLink } from "@Gen"; import { useValidation } from "@Hooks"; impor...
// tslint:disable: no-string-literal import {AxiosError, AxiosResponse} from 'axios' import * as ciUtils from '../../../helpers/utils' import {DEFAULT_COMMAND_CONFIG, RunTestCommand} from '../cli' import {ExecutionRule} from '../interfaces' import * as runTests from '../run-test' import * as utils from '../utils' impor...
<TS language="af_ZA" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Skep 'n nuwe adres</translation> </message> <message> <source>&amp;New</source> <translation>&amp;Nuwe</translation> </message> ...
// <auto-generated /> module TypeScript { export var DiagnosticCode = { error_TS_0_1: "error TS{0}: {1}", warning_TS_0_1: "warning TS{0}: {1}", Unrecognized_escape_sequence: "Unrecognized escape sequence.", Unexpected_character_0: "Unexpected character {0}.", Missing_close_qu...
import * as React from 'react' import { Formik } from 'formik' import { Div } from '@maker-ui/primitives' import { type MakerProps, type ResponsiveScale, Global } from '@maker-ui/css' import { merge } from '@maker-ui/utils' import * as Yup from 'yup' import { ValidateIcon } from '../Icons' import type { FieldProps, ...
// tslint:disable:max-line-length variable-name export namespace PayQrcodePayQrcodesGet { /** * 请求参数 */ export interface Request { /** * 是否不返回二维码图片,1即不返回qr_code数据 */ ignore_qrcode?: string; /** * 标签 json格式字符串,例如:[1,2],表示有两个标签 */ label_ids?: string; /** * 当前页码 ...
import { prefixCSS } from "framework-utils"; export const EDITOR_CSS = prefixCSS("scenejs-editor-", ` { position: absolute; left: 10%; top: 10%; width: 80%; height: 80%; z-index: 1; overflow: hidden; font-family: sans-serif; } .label { position: fixed; top: 0; left: 0; ...
import * as extend from 'extend'; import { MetadataHandler } from './metadataHandler'; import { Exception } from 'jaydata-error-handler'; import { PromiseHandler } from 'jaydata-promise-handler'; export { MetadataHandler, odatajs } from './metadataHandler'; export class ServiceParams{ public serviceUri:string public...
import React, { PureComponent } from "react"; import ProfilePicture from "@components/profile-picture"; import Message from "./message.component"; import { CgSmileMouthOpen } from "react-icons/cg"; import { IoMicOutline } from "react-icons/io5"; import { AppState } from "@redux/app-state.interface"; import { AppDispatc...
import { Localized } from "fluent-react/compat"; import React, { FunctionComponent } from "react"; import { Field } from "react-final-form"; import { colorFromMeta, ValidationMessage } from "coral-framework/lib/form"; import { composeValidators, required, validateEmail, } from "coral-framework/lib/validation"; i...
import '@ungap/custom-elements'; import * as fgui from "../../build/FairyGUI"; async function start() { await fgui.UIPackage.loadPackage("assets/Package1"); let view = fgui.UIPackage.createObject("Package1", "Main"); view.makeFullScreen(); fgui.GRoot.inst.addChild(view); } start();
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) export class AppComponent implements OnInit{ constructor( ) { } ngOnInit(){ } }
import { useEffect, useMemo, useState } from 'react'; import { css } from '@emotion/css'; import Stack from '@mui/material/Stack'; import Paper from '@mui/material/Paper'; import Accordion from '@mui/material/Accordion'; import AccordionDetails from '@mui/material/AccordionDetails'; import AccordionSummary from '@mui/m...
import {throwError as observableThrowError } from 'rxjs'; import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Params } from '@angular/router'; @Injectable() export class Api { pathMEM: string; pathEPIC: string; hostnameMEM: string; hostnameEPIC: string; p...
import { TestBed, inject } from '@angular/core/testing'; import { GithubprofileService } from './githubprofile.service'; describe('GithubprofileService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [GithubprofileService] }); }); it('should be created', inject([Githubpro...
function twoSum( numbers: number[], target: number ): number[] { for (let l = 0, r = numbers.length - 1; l < r; ) { const sum = numbers[l] + numbers[r]; if (sum > target) r--; else if (sum < target) l++; else return [l + 1, r + 1]; } return [-1, -1]; }
export * from './v_hover';
import { TestEntity4 } from './TestEntity4'; import { TestEntity4RequestBuilder } from './TestEntity4RequestBuilder'; import { CustomField, DefaultDeSerializers, DeSerializers, AllFields, EntityBuilderType, EntityApi, FieldBuilder, EdmTypeField } from '@sap-cloud-sdk/odata-v4'; export declare class Test...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export ...
import * as signalR from '@aspnet/signalr'; import { NgZone, Output, EventEmitter } from '@angular/core'; import { Injectable, Injector } from '@angular/core'; import { LCUServiceSettings } from '../lcu-service-settings'; import { Observable, BehaviorSubject, ReplaySubject, Observer, Subject } from 'rxjs'; im...
import {Component, OnInit} from '@angular/core'; import {AlarmClockService} from './alarm-clock.service'; import {AlarmClock} from './alarm-clock'; import {WebRadio} from '../web-radio/web-radio'; import {WebRadioService} from '../web-radio/web-radio.service'; import {ModalDismissReasons, NgbModal} from '@ng-bootstrap/...
// Copyright IBM Corp. 2019,2020. All Rights Reserved. // Node module: @loopback/repository // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT import {expect, toJSON} from '@loopback/testlab'; import {cloneDeep} from 'lodash'; import { bindModel, Defaul...
export { INamingLinter } from './applications/INamingLinter'; export { ILintNamingUseCase } from './usecases/ILintNamingUseCase'; export { IExtractElementUseCase } from './usecases/IExtractElementUseCase'; export { ISliceImageUseCase } from './usecases/ISliceImageUseCase'; export { IGenerateCodeUseCase } from './usecas...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Injectable } from '@angular/core'; import { AppAuthService } from '@app/shared/common/auth/app-auth.service'; import { AppUrlService } from '@shared/common/nav/app-url.service'; import { AccountServiceProxy, ImpersonateInput, ImpersonateOutput, DelegatedImpersonateInput } from '@shared/service-proxies/service...
import fs from 'fs'; import path from 'path'; import { exitProcess } from '../process'; import { setOutput } from '../proxy'; import message from '../utils/message'; const filePath = path.join(__dirname, '../../config.json'); export const readConfig = (key: string | boolean | undefined) => { console.log(message.co...
export default class OfferModel { _alias: string _title: string _path: string _thumbnail: string _postData?: Map<string, string> constructor(params: { alias: string title: string path: string thumbnail: string postData?: Map<string, string> }) { this._alias = params.alias this...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-kelly-monster-share-page', templateUrl: './kelly-monster-share-page.component.html', styleUrls: ['./kelly-monster-share-page.component.styl'] }) export class KellyMonsterSharePageComponent implements OnInit { constructor() { } n...
/* @internal */ namespace ts { function getModuleTransformer(moduleKind: ModuleKind): TransformerFactory<SourceFile | Bundle> { switch (moduleKind) { case ModuleKind.ESNext: case ModuleKind.ES2020: case ModuleKind.ES2015: return transformECMAScriptModule; ...
declare module 'ytdl-core' { import { ClientRequest } from 'http'; import { Readable } from 'stream'; namespace ytdl { type Filter = 'audioandvideo' | 'videoandaudio' | 'video' | 'videoonly' | 'audio' | 'audioonly' | ((format: videoFormat) => boolean); interface getInfoOptions { lang?: string; ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Rover</source> <translation type="unfinished"/> </message> <message> <location line=...
import { combineHandlers } from 'ngrx-handlers'; export const featureName = 'movies'; export interface State { movies: string[]; selectedMovie: string | null; } const initialState: State = { movies: ['Movie 1', 'Movie 2', 'Movie 3'], selectedMovie: null, }; export const { actions: MoviesActions, reducer } =...
/* Author: Data: Desc: local data config NOTE: Don't modify this file, it's build by xml-to-python!!! */ module config{ let cards_initcards_map = null; export function cards_initcards_map_init(config_obj:Object):void{ cards_initcards_map = config_obj["cards_initcards_map"]; } export class Cards_initcards extends...
it('sanity test', () => { expect(1).toBe(1) })
import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { Helpers } from '../../../../../../../helpers'; @Component({ selector: "app-icon-flaticon", templateUrl: "./icon-flaticon.component.html", encapsulation: ViewEncapsulation.None, }) export class IconFlaticonComponent implements OnInit { co...
export type ModalWindowOptions = { /** * Element to place the modal window into. Optional. * * @type {HTMLElement} */ container?: HTMLElement /** * Time (ms) until the embedded typeform will automatically close after a respondent clicks the Submit button. * * @type {number|boolean} */ au...
export default { 'menu.welcome': '欢迎', 'menu.more-blocks': '更多区块', 'menu.home': '首页', 'menu.admin': '管理页', 'menu.admin.sub-page': '二级管理页', 'menu.login': '登录', 'menu.register': '注册', 'menu.register.result': '注册结果', 'menu.dashboard': 'Dashboard', 'menu.dashboard.analysis': '分析页', 'menu.dashboard.mon...
import React from 'react' import classNames from 'classnames' import { ARROW_MARGIN_X, ARROW_MARGIN_Y, ARROW_THRESHOLD, DEBUG, INTERACTIVE_STROKE_WIDTH, STROKE_WIDTH, } from '../constants' import {arrowPath, generateConnectorPath} from './connectorPath' import {mapConnectorToLine} from './mapConnectorToLin...
import React from 'react' export default function FxBuiltInSVG(props: React.SVGProps<SVGSVGElement>) { return ( <svg {...props} viewBox="0 0 1024 1024" focusable="false"> <path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H20...
import { Box, Button, IconButton, Link, List, ListItem, ListItemSecondaryAction, ListItemText, TextField, Typography } from '@material-ui/core' import Alert from '@material-ui/lab/Alert' import IcScience from '@material-ui/icons/Science' import IcDelete from '@material-ui/icons/Delete' import React from 'react' import ...
#!/usr/bin/env ts-node // tslint:disable:no-shadowed-variable import * as test from 'blue-tape' import { dataUrlToBase64, httpHeadHeader, httpHeaderToFileName, httpStream, streamToBuffer, } from './misc' test('dataUrl to base64', async t => { const base64 = [ 'R0lGODlhEAAQAMQ...
/* * 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 { IS_PROXY, ProxyStateTree } from './' describe('CREATION', () => { test('should create a ProxyStateTree instance', () => { const tree = new ProxyStateTree({}) expect(tree).toBeInstanceOf(ProxyStateTree) }) }) describe('TrackStateTree', () => { test('should create proxy of root state', () => { ...
import { ActionReducerMap } from '@ngrx/store'; /** * Every reducer module's default export is the reducer function itself. In * addition, each module should export a type or interface that describes * the state of the reducer plus any selector functions. The `* as` * notation packages up all of the exports into a...
import React from 'react'; import { useGeneralSettings, usePosts } from '@wpengine/headless/react'; import { Pagination } from '@wpengine/headless/next'; import { getApolloClient, getPosts, categoryOptions } from '@wpengine/headless'; import { useRouter } from 'next/router'; import { GetStaticPropsContext } from 'next'...
import { browser, logging } from 'protractor'; import { AppPage } from './app.po'; describe('workspace-project App', () => { let page: AppPage; beforeEach(() => { page = new AppPage(); }); it('should display welcome message', async () => { await page.navigateTo(); expect(await page.getTitleText()...
import { Component, OnInit } from '@angular/core'; import { ModalController } from '@ionic/angular'; import { FormGroup, FormBuilder } from '@angular/forms'; import { SessionStorageService, LocalStorageService } from 'ngx-webstorage'; @Component({ selector: 'app-voter-search-settings', templateUrl: './voter-search-...
import { Events } from "../../utils/src/Constants"; import { Logger } from "../../../utils"; export const qrReceived = (qrCode: string): void => { const log = Logger(`Event:${Events.QR_RECEIVED}`); log.info(`QR code recieved - ${qrCode}`); };
import { ChangeEvent, useEffect, useState } from "react" import Button from "asmr/components/Button" import Form from "asmr/components/Form" import ImageCropper from "asmr/components/ImageCropper" import Modal from "asmr/components/Modal" import User from "asmr/core/entities/User" import UpdateUserRequestModel from "as...
export { BufReader, BufWriter, } from "https://deno.land/std@0.130.0/io/buffer.ts"; export { TextProtoReader } from "https://deno.land/std@0.130.0/textproto/mod.ts"; export { decode as base64Decode } from "https://deno.land/std@0.130.0/encoding/base64.ts";
/** * @license Copyright 2021 The Lighthouse 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 applica...
/* Copyright 2015, 2016 OpenMarket Ltd Copyright 2017 Vector Creations Ltd Copyright 2017-2019 New Vector Ltd Copyright 2019, 2020 The Matrix.org Foundation C.I.C. 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 t...
import * as React from 'react'; import styled from '@emotion/styled'; import Hero from './Hero'; const Root = styled('section')` display: flex; flex-direction: column; flex: 1; `; interface PageWrapperProps { className?: string; isHomepage?: boolean; title?: string; } const PageWrapper: React.FC<PageWra...
import React, { Fragment, useState, useEffect } from "react"; import ProTable from "@/pages/system/permission/component/ProTable"; import { ColumnProps } from "antd/lib/table"; import { Button, Tag, message, Popconfirm, Divider } from "antd"; import SearchForm from "@/components/SearchForm"; import encodeQueryParam fro...
import type {Plugin} from 'onecmd'; import {vscode} from './vscode'; export const npm = (): Plugin => ({ setup: () => [ vscode.extensionsFile.merge(() => ({ recommendations: [`eg2.vscode-npm-script`], })), {type: `ref`, path: `node_modules`}, { type: `ref`, path: `package-lock.jso...
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack"; import * as __aws_sdk_types from "@aws-sdk/types"; import { GetCloudFormationStackRecords } from "../model/operations/GetCloudFormationStackRecords"; import { InputTypesUnion } from "../types/InputTypesUnion"; import { OutputTypesUnion } from "../...
import React, { useMemo } from 'react'; import { TooltipDisplayMode, StackingMode } from '@grafana/schema'; import { PanelProps, TimeRange, VizOrientation } from '@grafana/data'; import { TooltipPlugin, useTheme2 } from '@grafana/ui'; import { BarChartOptions } from './types'; import { BarChart } from './BarChart'; imp...
import { DOCUMENT } from '@angular/common'; import { Component, ContentChildren, ElementRef, Inject, Input, OnDestroy, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core'; import { NavigationCancel, NavigationEnd, NavigationError, RouteConfigLoadEnd, RouteConfigLoadStart, Ro...
import { SnapshotMetric } from "back-end/types/experiment-snapshot"; import { MetricInterface } from "back-end/types/metric"; import { useState } from "react"; import { ExperimentInterfaceStringDates } from "back-end/types/experiment"; import { defaultMaxPercentChange, defaultMinPercentChange, defaultMinSampleSiz...
import { Util, Collection } from './Util'; import { Container, ContainerConfig } from './Container'; import { Node } from './Node'; import { Factory } from './Factory'; import { SceneCanvas, HitCanvas } from './Canvas'; import { Stage } from './Stage'; import { GetSet } from './types'; import { Group } from './Group';...
import * as React from 'react'; import { Link } from 'react-router-dom'; import { RateTableGrpc, RateTableHttp } from '../../components/SummaryPanel/RateTable'; import { RpsChart, TcpChart } from '../../components/SummaryPanel/RpsChart'; import { SummaryPanelPropType, NodeType } from '../../types/Graph'; import { getAc...
import { Vector2 } from './vector'; import { TILE_SIZE } from './constants'; import { SPRITES_MAP } from './sprites'; import { EntityEngine } from "./systems/ecs"; import { PlayerComponent, PlayerSystem } from "./systems/player"; import { PropComponent } from "./systems/props"; import { BarrierComponent } from './syst...
declare const config: any; // eslint-disable-next-line @typescript-eslint/no-namespace namespace Uno.UI { export class WindowManager { public static current: WindowManager; private static _isHosted: boolean = false; private static _isLoadEventsEnabled: boolean = false; /** * Defines if the WindowManage...
export class Validator { isValidInteger(input: string): number { const parsed: number = parseInt(input); if (!isNaN(parsed)) { return parsed; } else { throw new Error('index is not a number'); } } isUndefined(input: any): any { if (typeof input === 'boolean') { throw new Err...
import Vue, { PluginFunction } from 'vue'; export function CorePlugin(vue: typeof Vue) { Object.defineProperty(vue.prototype, '$vm', { get() { return this; }, }); }
import path from 'path' import fs from 'fs' import { defineConfig } from 'vite' import Vue from '@vitejs/plugin-vue' import Pages from 'vite-plugin-pages' import generateSitemap from 'vite-ssg-sitemap' import Layouts from 'vite-plugin-vue-layouts' import Components from 'unplugin-vue-components/vite' import AutoImport ...
import { ChildProcess, spawn } from "child_process"; import { log, resolvePath, waitForOutput, shutdown, isWin, findFreePort, logWarn, logInfo, prepareApp, prepareDevice, getReportPath, ensureReportsDirExists, logError, checkImageLogType } from "./utils"; import {...
// 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
import { HttpParams } from '@angular/common/http'; import { Injectable } from '@angular/core'; import * as _ from 'lodash'; import { Logger } from '../../providers/logger/logger'; // providers import { AppProvider } from '../app/app'; import { ConfigProvider } from '../config/config'; import { HomeIntegrationsProvider...
import * as React from "react"; import * as PropTypes from "prop-types"; import ComponentDetail from "components/ComponentDetail"; import * as docEntry from "react-uwp/ColorPicker/index.doc.json"; import * as readmeText from "!raw!./README.md"; import CodeExample from "components/CodeExample"; import SimpleExample f...
import { Format } from '../src'; describe('Format', () => { it('should get all the list', async () => { const formats = await Format.getAll(); expect(formats).toEqual([ { code: 'VI', name: 'vintage' }, { code: 'LE', name: 'legacy' }, { code: 'MO', name: 'modern' }, { code: 'PI', name:...
import GenericPickerLogic, { GenericPickerDependencies, GenericPickerEvent, GenericPickerState, } from 'src/common-ui/GenericPicker/logic' export interface DomainPickerDependencies extends GenericPickerDependencies { query?: string removeToolTipText?: string searchInputPlaceholder?: string ...
import __SClass from '@coffeekraken/s-class'; import __isNode from '@coffeekraken/sugar/shared/is/node'; import __md5 from '@coffeekraken/sugar/src/shared/crypt/md5'; import __isClass from '@coffeekraken/sugar/src/shared/is/class'; import __deepMerge from '@coffeekraken/sugar/src/shared/object/deepMerge'; import __toSt...
export interface Star { ra: number dec: number mag: number proper?: string alt?: number az?: number } export interface StarProjection extends Partial<Star> { x: number y: number width: number height: number } export default Star
import { IsString, IsNumber, IsUrl, IsNotEmpty, IsPositive, IsOptional, Min, ValidateIf, } from 'class-validator'; import { ApiProperty, PartialType } from '@nestjs/swagger'; export class CreateProductDto { @IsString() @IsNotEmpty() @ApiProperty({ description: `product's name` }) readonly name:...
import loadable from "@loadable/component" import { graphql } from "react-relay" import { RedirectException } from "found" import { paramsToCamelCase } from "v2/Components/ArtworkFilter/Utils/urlBuilder" import { allowedFilters } from "v2/Components/ArtworkFilter/Utils/allowedFilters" import { AppRouteConfig } from "v2...
const packageInfo = { version: "3.4.1" }; import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "../config-resolver/mod.ts"; import { defaultProvider as credentialDefaultProvider } from "../credential-provider-node/mod.ts"; import { Hash } from "https://jspm.dev/@aws-sdk/hash-node"; import { NODE...
import { offsetDaysFormatted } from '../lib/time'; import { getBlockNumber } from '../lib/chain'; import { query } from '../lib/graph'; import { RegisterFunction } from '../types'; import { getHistoricalPrice } from '../lib/pricedata'; import icon from 'icons/liquity.svg'; export async function getLiquityData(date: st...
import { Component, Input, OnChanges, SimpleChanges } from '@angular/core'; import { Observable, of as observableOf } from 'rxjs'; import { map } from 'rxjs/operators'; import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { SubmissionRestService } from '../../../core/submission/submission-rest.service'; impo...
import { BadRequestException } from "./BadRequestException"; import { InternalServerErrorException } from "./InternalServerErrorException"; import { ForbiddenException } from "./ForbiddenException"; import { NotFoundException } from "./NotFoundException"; import { MethodNotAllowedException } from "./MethodNotAllowedExc...
export interface CouplingComplexity { id: number; regularMethodCallingAnotherRegularMethodInTheSameFile: number; regularMethodCallingAnotherRegularMethodInaDifferentFile: number; regularMethodCallingARecursiveMethodInTheSameFile: number; regularMethodCallingARecursiveMethodInaDifferentFile: number; recursiv...
import { Component, Inject, Input, Optional } from '@angular/core'; import { NB_DOCUMENT, NbDialogRef } from '@nebular/theme'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; import { take, takeUntil } from 'rxjs/operators'; import { NbFileItem, NbFileUploaderOptions, StorageProvider } from '../../../@the...
import { Router } from 'express'; import { json } from 'body-parser'; import * as moment from 'moment'; import { getFinancas, removeFinanca, saveFinanca, marcarPago } from '../service/financas.service'; import { TokenMiddleware } from '../middleware/token.middleware'; import * as fileUpload from 'express-fileupload'; i...