text stringlengths 10 953k |
|---|
export declare const FIRST_KEY_INDEX = 1;
export declare const IS_READ_ONLY = true;
export declare function transformArguments(key: string, path?: string): Array<string>;
export declare function transformReply(): number | Array<number>; |
import { BottomTabBar } from '@react-navigation/bottom-tabs';
import { NavigationContainer } from '@react-navigation/native';
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import useCachedResources from './hooks/useCachedResou... |
/*
* 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 { EuiCallOut } from '@elastic/eui';
import * as React from 'react';
im... |
export interface UserRegisterDto{
nome: string;
email: string;
senha: string;
telefone: string;
cpf: string;
} |
import { Injectable, Pipe, PipeTransform } from '@angular/core';
import { Filter, FilterType } from './commonObject';
import { JobSeeker } from '../jobSeeker/jobSeeker.service';
@Pipe({
name: 'jobSeekerPipe',
pure: false
})
@Injectable()
export class JobSeekerPipe implements PipeTransform {
transform(jobSeekers:... |
import * as React from 'react';
import { Dimensions, StackMode, ValueRange } from 'types';
var d3 = require('d3');
export const YAxis = ({
...props
}: React.SVGProps<SVGElement> & { effectiveMaxY: number } & {
totalStackMode: StackMode;
} & { enabled: boolean } & { totalsDimensions?: Dimensions }) =>
createYAxi... |
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Avatar } from '../shared/entities/avatar.entity';
import { TweetImage } from '../shared/entities/tweetImage.entity';
import { FileProvider } from './file.provider';
import { FileService } from './file.service';
@Module({... |
import { Test, TestingModule } from '@nestjs/testing';
import { <%= classify(name) %>Service } from './<%= name %>.service';
describe('<%= classify(name) %>Service', () => {
let service: <%= classify(name) %>Service;
beforeAll(async () => {
const module: TestingModule = await Test.createTestingModule({
... |
import { TreeNodeKeyType, RenderTreeNodeType } from '../const';
interface IKeyOption {
[key: string]: TreeNodeKeyType;
}
export interface ITreeNodeOptions extends IKeyOption {
[key: string]: any;
}
const notAllowOverrideList: string[] = [
'_level',
'_filterVisible',
'_parent',
'_loading',
'_loaded',
... |
/**
* Icon
*/
import Icon from '@ant-design/icons-vue';
import { defineComponent, h } from 'vue';
import { Component } from '@vue/runtime-core';
import { isNullOrUndefined } from '@fatesigner/utils/type-check';
import { IconfontProps } from './types';
import { ANTDVX_ICONS_REGISTERED, IAntdvxIconNames } from './con... |
import React from 'react';
import { Header } from '../src';
import { AsElementLink } from '../src/util/types/LinkTypes';
// export const BasicHeader = (): JSX.Element => (
// <Header>
// <Header.Container>
// <Header.Logo href="/" />
// <Header.Content>
// <Header.MenuToggle />
// <He... |
import * as React from 'react';
declare const GlimmerIcon: React.FC<React.HTMLAttributes<HTMLSpanElement> & import("..").ISvgIconProps>;
export default GlimmerIcon; |
import { AfterViewInit, ChangeDetectorRef, Component } from '@angular/core';
import { ToastService } from 'src/app/shared/services/toast.service';
import { PopupModeEnum } from 'src/app/shared/enum/popup-mode.enum';
import * as moment from 'moment';
import { BaseComponent } from 'src/app/modules/base/components/base.co... |
import React, { useEffect, useState } from 'react'
import { formatEther } from '@ethersproject/units'
import { BigNumber } from 'ethers'
import { ContentBlock } from '../base/base'
import { TextBold } from '../../typography/Text'
import { Colors, BorderRad, Transitions } from '../../global/styles'
import styled from 's... |
import {IsNotEmpty, IsNumberString, IsUUID, Length, Matches, ValidateIf} from 'class-validator';
export class TransferTronTrc10 {
@ValidateIf(o => !(o.from || o.signatureId))
@IsNotEmpty()
@Length(64, 64)
public fromPrivateKey?: string;
@ValidateIf(o => !o.fromPrivateKey)
@IsNotEmpty()
@L... |
import useAddItem, { UseAddItem } from '@commerce/cart/use-add-item'
import { CommerceError } from '@commerce/utils/errors'
import { MutationHook } from '@commerce/utils/types'
import { useCallback } from 'react'
import useCart from './use-cart'
import { AddItemToOrderMutation } from '../schema'
import { normalizeCart ... |
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client.ts";
import { DescribeInstanceTypeOfferingsRequest, DescribeInstanceTypeOfferingsResult } from "../models/models_3.ts";
import {
deserializeAws_ec2DescribeInstanceTypeOfferingsCommand,
serializeAws_ec2DescribeInstanceTypeOf... |
/**
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 0.7.6
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
/**
* Not found
*/
export interface GetUniverse... |
export const vs_texture_grass = `
#ifdef GL_ES
precision mediump float;
#endif
attribute vec2 position;
varying vec2 surfacePosition;
attribute vec2 a_uv;
varying vec2 vUV;
uniform vec3 u_translate;
uniform vec3 u_scale;
uniform vec3 u_rotate;
uniform float u_time;
vo... |
export * from "./authutil";
export * from "./cookieutil";
export * from "./textutil"; |
import { MigrationInterface, QueryRunner, Table } from 'typeorm'
const table = 'categories'
export default class CreateCategories1587576379436
implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query('CREATE EXTENSION IF NOT EXISTS "uuid-ossp"')
aw... |
export interface EnvironmentVariables {
api: string;
example: string;
} |
import {queryDB} from "../src/server/db/db";
import {CommandHelper} from "../bin/commandHelper";
module.exports = function listProjectsCommand(program) {
'use strict';
program
.command('listProjects')
.description('fetches project list from database')
.action(function () {
... |
// Copyright 2017-2021 @axia-js/api-derive authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Observable } from 'rxjs';
import type { ApiInterfaceRx } from '@axia-js/api/types';
import type { AccountId } from '@axia-js/types/interfaces';
import { members as collectiveMembers } from '../collec... |
import React, { useState, useEffect } from 'react';
import styled from 'styled-components';
import equal from 'fast-deep-equal/react';
import { useSelector } from 'react-redux';
import { stateType } from '../../../replicant-store';
import { MapData } from './map-data';
import { MapImages, MapList } from '../../atoms/m... |
/**
* Retrieves the current Keycloak logged-in user.
* @since 1.5.0
*/
export declare const AuthenticatedUser: (...dataOrPipes: unknown[]) => ParameterDecorator; |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SaleComponent } from './sale.component';
const routes: Routes = [{ path: '', component: SaleComponent }, { path: 'price', loadChildren: () => import('./price/price.module').then(m => m.PriceModule) }];
@NgModul... |
/***********************************************************
* Copyright (C) 2022
* Worktez
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the MIT License
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without ... |
/*
Test Scenario summary:
- Creates a single sender and a single receiver on a session enabled queue.
- Receives a message and holds onto it for the duration of test.
- Autolockrenewal is disabled on session and lock renewal is manually done on the session periodically in user code.
The test assumes no other process i... |
import * as Promise from 'bluebird';
import { CronJob } from 'cron';
import * as moment from 'moment';
import fetch from 'node-fetch';
import mapper from './usersMapper';
import { config } from '../config';
import logger from '../logger';
import snax from './snax';
class ProducersObserver {
private headBlockMoment;... |
import { supportedLanguages } from "../../utils/languages";
export default {
name: "visSprakversjon",
title: "Vis Sprakversjon",
type: "object",
fields: supportedLanguages.map((lang) => ({
title: lang.title,
name: lang.id,
type: "boolean",
})),
}; |
import { TunnerR82xx, TunnerCtx } from "./tunners/r82xx";
// var nu = 1;
const R82XX_CHECK_VAL = 0x69;
const R82XX_IF_FREQ = 3570000;
const FIR_DEFAULT = [
-54, -36, -41, -40, -32, -14, 14, 53, /* 8 bit signed */
101, 156, 215, 273, 327, 372, 404, 421 /* 12 bit signed */
];
const DEF_RTL_XTAL_FREQ = 28800000;
con... |
import { JSONSchemaObject } from './types';
import { visitJSONSchema } from './visitJSONSchema';
export async function referenceJSONSchema(schema: JSONSchemaObject) {
const definitions: Record<string, JSONSchemaObject> = {};
const finalSchema = await visitJSONSchema<any>(schema, subSchema => {
if (typeof subSc... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sr" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Indocoin</source>
<translation>О Indocoin-у</translation>
</mess... |
<?xml version="1.0" encoding="UTF-8"?>
<tileset name="solid" tilewidth="16" tileheight="16" tilecount="2" columns="2">
<image source="solid.png" width="32" height="16"/>
</tileset> |
import { VNode, VNodeDirective } from 'vue'
import { ElementUIComponent } from './component'
export type PopoverTrigger = 'click' | 'focus' | 'hover' | 'manual'
export type PopoverPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'ri... |
import { Unit } from '../math/Unit';
import { DiffEqSolverSystem } from './DiffEqSolverSystem';
/**
* @hidden
*/
export interface Simulation extends DiffEqSolverSystem {
/**
*
*/
readonly time: number;
/**
* Handler for actions to be performed before getState and the evaluate calls.
... |
import React, { InputHTMLAttributes } from 'react';
import './styles.css';
interface InputProps extends InputHTMLAttributes<HTMLInputElement>{
label: string;
name: string;
type?: string;
}
const Input: React.FC<InputProps> = ({ label, name, ...rest }) => {
return (
<div className="input-block"... |
import { Path2, Vector3 } from '../Maths/math';
/**
* A cursor which tracks a point on a path
*/
export class PathCursor {
/**
* Stores path cursor callbacks for when an onchange event is triggered
*/
private _onchange = new Array<(cursor: PathCursor) => void>();
/**
* The value of the pa... |
/// <reference types="cypress" />
// to specify data-testid attribute selector add prefix 'testid:' to the locator
export const loginForm = () => cy.get('testid:login-form');
export const emailFieldLabel = () => cy.get('testid:email-field-label');
export const emailField = () => cy.get('testid:email-text-input');
expo... |
import { memo } from "react";
import { List } from "react-virtualized";
import { MovieCard } from "./MovieCard";
interface ContentProps {
selectedGenre: {
id: number;
name: "action" | "comedy" | "documentary" | "drama" | "horror" | "family";
title: string;
};
movies: Array<{
imdbID: string;
... |
import { Config } from './config'
import { Select } from './select'
import { Slim } from './slim'
import { Data, dataArray, Option, validateData } from './data'
import { hasClassInTree, putContent, debounce, ensureElementInView } from './helper'
interface Constructor {
select: string | Element
data?: dataArray
s... |
import IParseMailTemplateDTO from '@shared/container/providers/MailTemplateProvider/dtos/IParseMailTemplateDTO';
interface ImailContact {
name: string;
email: string;
}
export default interface ISendMailDTO {
to: ImailContact;
from?: ImailContact;
subject: string;
templateData: IParseMailTemplateDTO;
} |
import { Component, Element, Event, EventEmitter, h, Listen, Method, Prop, Watch } from "@stencil/core"
@Component({
tag: "smoothly-item",
styleUrl: "style.css",
scoped: true,
})
export class Item {
@Element() element: HTMLSmoothlyItemElement
@Prop() value: any
@Prop({ reflect: true, mutable: true }) selected: b... |
import * as React from 'react';
import Select, { components } from 'react-select';
import { graphql, useStaticQuery } from 'gatsby';
import { Options } from '../utilities';
import { ValueType } from 'react-select/lib/types';
const roleQuery = graphql`
{
allSanityRole {
edges {
node {
id
rol... |
export function shuffle<T>(randInt: (limit: number) => number, items: T[]) {
const shuffled = [...items];
for (let i = shuffled.length - 1; i > 0; i--) {
const j = randInt(i + 1);
[shuffled[i], shuffled[j]] = [shuffled[j], shuffled[i]];
}
return shuffled;
} |
import Vue from "vue";
import App from "./App.vue";
import BootstrapVue from "bootstrap-vue";
import "bootstrap/dist/css/bootstrap.css";
import "bootstrap-vue/dist/bootstrap-vue.css";
Vue.use(BootstrapVue);
Vue.config.productionTip = false;
new Vue({
render: (h) => h(App),
}).$mount("#app"); |
import 'rxjs-compat/add/observable/interval'; |
import { ArgumentsHost, Catch, ExceptionFilter, HttpException, HttpStatus, Logger } from '@nestjs/common';
import { Response } from 'express';
import { QueryFailedError, EntityNotFoundError } from 'typeorm';
import { Status } from '@constants/enums';
import { FailureResponse } from '@interfaces/response.interface';
@... |
/*
* 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 { UMElasticsearchQueryFn } from '../adapters';
import { GetMonitorAvai... |
<TS language="ur" 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>
<translation>... |
import { Injectable, Inject } from '@nestjs/common';
import { ResultadoDto } from 'src/dto/resultado.dto';
import { Repository } from 'typeorm';
import { Servico } from './servico.entity';
import { ServicoCadastrarDto } from './dto/servico.cadastrar.dto';
import { Usuario } from 'src/usuario/usuario.entity';
@Injectab... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../../utilities";
/**
* String dictionary resource.
*/
export class WebAppApplicationSettin... |
import Table from './table';
export * from './column';
export {
Table,
}; |
import * as fse from 'fs-extra';
import { config } from '../../barrels/config';
import { enums } from '../../barrels/enums';
import { helper } from '../../barrels/helper';
export async function isProjectExistOnDisk(projectId: string) {
let projectDir = `${config.DISK_BACKEND_PROJECTS_PATH}/${projectId}`;
let isEx... |
import jwt from 'jsonwebtoken';
import config from '../config';
const validateToken = (token:any) => {
try {
// verifica si la firma o seed no ha cambiado
jwt.verify(token, config.jwtSeed, (error:any, authData:any) => {
if (error) {
return { error };
}
// envia la data del token ver... |
import {
IoT1ClickProjectsClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
} from "../IoT1ClickProjectsClient";
import { DeletePlacementRequest, DeletePlacementResponse } from "../models/models_0";
import {
deserializeAws_restJson1DeletePlacementCommand,
serializeAws_restJson1DeletePlacementComman... |
import * as React from 'react';
function SvgIm02(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 242.94 164.08"
{...props}
>
<style>{'.IM02_svg__st0{fill:#414140}'}</style>
<g id="IM02_svg__IMAGOTIPO_HORIZONTAL">
<pat... |
import { Component, OnInit } from '@angular/core';
import { AlertService } from '../../../../services/alert.service';
import { LoginService } from '../../../../services/login.service';
@Component({
selector: 'app-emailverify',
templateUrl: './emailverify.component.html',
styleUrls: ['./emailverify.component.scss... |
import { ReactNode } from 'react';
interface Props {
hidden: boolean;
children: ReactNode;
}
export declare const ToggleVisibility: ({ hidden, children }: Props) => JSX.Element;
export {}; |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
export * from './create-progress';
export * from './create-progress-from-progress-event';
export * from './create-progress-safe';
export * from './is-progress-length-computable';
export * from './progress.type'; |
import type { Node as INode } from '@yozora/ast'
import { createNodesRenderer } from '@yozora/html-markdown'
export { createNodesRenderer }
export const renderChildren: (nodes: INode[]) => string = createNodesRenderer(
{},
{},
) |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../../types";
import * as utilities from "../../utilities";
/*... |
import * as Rx from '../../dist/cjs/Rx';
declare const {hot, asDiagram, expectObservable, expectSubscriptions};
const Observable = Rx.Observable;
/** @test {empty} */
describe('Observable.empty', () => {
asDiagram('empty')('should create a cold observable with only complete', () => {
const expected = '|';
c... |
import { Component, OnInit, Input } from '@angular/core';
import { PostComment } from 'src/app/shared/models/comment.model';
import { StorageService } from 'src/app/services/storage.service';
import { TutorialService } from '../../models/services/tutorial.service';
@Component({
selector: 'app-tutorial-singlecomment'... |
import { ConfigPlugin, WarningAggregator, withEntitlementsPlist } from '@expo/config-plugins';
import { ExpoConfig } from '@expo/config-types';
export const withDocumentPickerIOS: ConfigPlugin<{ appleTeamId?: string }> = (
config,
{ appleTeamId }
) => {
return withEntitlementsPlist(config, config => {
if (ap... |
export * from './RemixClerkProvider';
export { ConnectClerk } from './ConnectClerk';
export * from './ConnectClerkCatchBoundary';
export { WithClerkState } from './types'; |
export const AnimType = {
NONE: 0,
FORWARD: 1,
BACKWARD: 2,
LEFT: 3,
RIGHT: 4,
ACTION: 11,
JUMP: 14,
THROW: 15,
CROUCH: 16,
PUNCH_1: 17,
RUNNING_JUMP: 25,
TALK: 28,
DODGE_RIGHT: 40,
DODGE_LEFT: 41,
DODGE_FORWARD: 42,
DODGE_BACKWARD: 43,
}; |
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import {
Azu... |
import { useEffect, useState } from 'react';
import { SideBar } from './components/SideBar';
import { Content } from './components/Content';
import { Header } from './components/Header';
import { api } from './services/api';
import './styles/global.scss';
import './styles/sidebar.scss';
import './styles/content.scss... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import axios from '../../src/axios';
// 开启了该选项后才能携带cookie并接收到服务端返回的cookie
axios.post('http://192.168.1.2:3000/withCredentials', {}).then(res => {
console.log(res);
});
axios
.post(
'http://192.168.1.2:3000/withCredentials',
{},
{
withCredentials: true
}
)
.then(res => {
console.log(r... |
export interface Post{
id: string;
title: string;
content: string;
imagePath: string;
creator: string;
} |
export interface Request<T = never> {
url?: string;
baseURL?: string;
headers?: Record<string, string>;
params?: any;
data?: T;
timeout?: number;
timeoutErrorMessage?: string;
withCredentials?: boolean;
} |
import { Component, Input, OnInit } from '@angular/core';
import { NbDialogRef } from '@nebular/theme';
@Component({
selector: 'ngx-dialog-boleta',
templateUrl: './dialog-boleta.component.html',
styleUrls: ['./dialog-boleta.component.scss'],
})
export class DialogBoletaComponent implements OnInit {
private pd... |
import hash from 'object-hash';
export default class DomUtils {
public static addEventListenerOnce(
element: Element,
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions
) {
const key = 'attr_' + hash(listener);
if (element.hasAttribut... |
// built-in fetch client
import { VeloceClient } from './client'
import { GenericKeyValue } from './types'
/** Fetch Wrapper */
export async function f(
url: string,
method: string,
params?: GenericKeyValue,
options?: GenericKeyValue
) {
const opts = {
method,
headers: { 'Content-Type': 'application... |
/**
* Courtesy of https://github.com/vuejs/vue-apollo
*/
import { Ref, computed } from 'vue';
import type { DeepNonNullable, DeepRequired } from 'ts-essentials';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
type IsUnion<T, U = T> = U extends any
? [T] extends [U]
? false
: true
: never... |
<TS language="zh_TW" 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>
<translation>產生新位址</translation>
... |
import { Component, OnInit, OnDestroy, ElementRef, ViewChild } from '@angular/core'
import { map } from 'rxjs/operators'
import { ConfigurationsService, ValueService } from '@ws-widget/utils/src/public-api'
import { AccessControlService } from '@ws/author/src/lib/modules/shared/services/access-control.service'
// impor... |
import { Component } from '@angular/core';
@Component({
templateUrl: 'demo.component.html'
})
export class OffClickDemoComponent {
clicks: number = 0;
offClick() {
this.clicks++;
}
} |
export * from './SaTextEntities' |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
export class TreatmentVariables {
public static readonly VSCodeConfig = 'vscode';
public static readonly PresentWelcomePageByDefault = 'presentWelcomePageByDefault';
public static readonly JavaWalkthroughEnabled... |
import { IsIn, IsNotEmpty, IsOptional } from 'class-validator';
import { TaskStatus } from '../task-status.enum';
export class GetTasksFilterDto {
@IsOptional()
@IsIn([TaskStatus.DONE, TaskStatus.IN_PROGRESS, TaskStatus.OPEN])
status: TaskStatus;
@IsOptional()
@IsNotEmpty()
search: string;
} |
import { PropTypes } from '@material-ui/core';
import Button, { ButtonProps } from '@material-ui/core/Button';
import React from 'react';
export interface IRbButtonProps {
style?: React.CSSProperties;
type?: ButtonProps['type'];
variant?: ButtonProps['variant'];
color?: PropTypes.Color;
displayName: string;
... |
/**
* Copyright (c) Microsoft Corporation.
*
* 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 agr... |
export interface ClientProtocol { }
export interface ServerProtocol { }
export interface MessageResponse<Req = any, Res = any> {
request: Req;
data: Res;
}
export type ClientRequest<T extends keyof ClientProtocol = keyof ClientProtocol> = ClientProtocol[T]['request'];
export type ServerResponse<T extends keyof C... |
export type NonEmptyTuple<T> = (T[] & { "0" : T });
export type EmptyTuple<T> = (T[] & { length : 0 });
export type Tuple<T> = (
NonEmptyTuple<T> |
EmptyTuple<T>
); |
import * as dimension from './dimension';
import {Quantity, Unit} from '../../unit';
import {seconds} from '../../time';
/** A quantity of radioactivity. */
export type Radioactivity = Quantity<dimension.Radioactivity>;
/** The becquerel, symbol `Bq`, is the SI unit for radioactivity. */
export const becquerels: Unit... |
interface ITag {
id: string;
updated: string;
label: string;
} |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { StaticPool } from "../src";
import path from "path";
describe("progress function in static pool tests", () => {
test("test worker file with progess event", async () => {
const workerData = 100;
let progressCount = 0;
const pool = new StaticPool({
task: path.resolve(__dirname, "progress.js"... |
export interface StammDaten {
kundenNr: number;
email: string;
firstName: string;
lastName: string;
phoneNumbers: {
private: string;
business: string;
mobile: string;
fax: string
},
Lieferadresse: {
salutation: string;
firstName: string;
... |
// smithy-typescript generated code
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import { Command as $Command } from "@aws-sdk/smithy-client";
import {
FinalizeHandlerArguments,
Handler,
HandlerEx... |
/*
* Copyright 2018 Tallence AG
*
* 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 ... |
import * as Types from '../../../types/generatedTypes';
import { gql } from '@apollo/client';
import * as Apollo from '@apollo/client';
const defaultOptions = {}
export type UpdateSiteMutationVariables = Types.Exact<{
siteID: Types.Scalars['String'];
name?: Types.Maybe<Types.Scalars['String']>;
municipalityID?:... |
import * as React from 'react';
import { autobind } from '../../../Utilities';
import {
IDocumentCardActionsProps,
IDocumentCardPreviewProps,
IDocumentCardProps,
IDocumentCardTitleProps,
IDocumentCardActivityProps,
DocumentCard,
DocumentCardActions,
DocumentCardActivity,
DocumentCardLocation,
Docume... |
// package: google.ads.googleads.v1.services
// file: google/ads/googleads/v1/services/hotel_performance_view_service.proto
import * as jspb from "google-protobuf";
import * as google_ads_googleads_v1_resources_hotel_performance_view_pb from "../../../../../google/ads/googleads/v1/resources/hotel_performance_view_pb";... |
/**
* @license
* Copyright (c) 2021 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
/**
* Fired when the `value` property changes.
*/
export type GridFilterValueChangedEvent = CustomEvent<{ value: string }>;
export interface GridFilterCustomE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.