text stringlengths 10 953k |
|---|
import Fs from 'fs';
import Path from 'path';
import { BaseService, RequestHelper } from '../infrastructure';
import { assertEventOptions } from './Events';
import { RequestOptions } from '../infrastructure/RequestHelper';
/** TODO annotate options */
type ProjectOptions = temporaryAny;
class Projects extends BaseSer... |
export { default as createOmitTypenameLink } from "./createOmitTypenameLink"; |
export const UNCAUGHT = '<UNCAUGHT>';
export type Interceptor = (
send: (chain: string | string[], detail?: object) => void,
chain: string[],
detail: object,
) => boolean | void;
export interface InterceptRules {
[spyId: string]: Interceptor | InterceptRules
}
const currentRules: InterceptRules = {};
function ... |
/*
* 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 { EventEmitter } from 'events'
import stream = require('stream')
export enum Rank {
Top = 2,
True = 1,
Neutral = 0,
False = -1,
Bottom = -2,
Undefined = -Infinity
}
export interface Model {
rank: Rank | null
ctx?: ReduceContext
parse (ctx: Model, src: Model): Model
parseInThis (goal: Model,... |
import React from "react"
import { Link } from "react-router-dom"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import { faChevronLeft } from "@fortawesome/free-solid-svg-icons"
import classnames from "classnames"
import styles from "./CustomerDetail.module.css"
import { StaticData } from "../../App... |
import { SyncTo } from "../../../core/models/types";
import { socket } from "../../api/socket";
import { getLocalId } from "../../id";
import type { GlobalId } from "../../id";
import { partialTrackerFromServer, trackersFromServer } from "./conversion";
import type { ServerTracker, Tracker, TrackerId } from "./models"... |
import { Yaku } from './../yaku'
export class Chiihou extends Yaku {
hanOpen = null
hanClose = null
isYakuman = true
name = '地和'
englishName = 'chiihou'
isConditionMet(): boolean {
return false
}
} |
export class StringIterable implements Iterable<string> {
constructor(
private strings: string[] = [],
private currentIndex: number = 0
) {}
[Symbol.iterator](): Iterator<string> {
const that = this;
let currentIndex = that.currentIndex,
length = that.strings.leng... |
export * from './components/canvas';
export * from './components/drawables/aurum_rectangle';
export * from './components/drawables/aurum_text';
export * from './components/drawables/aurum_line';
export * from './components/drawables/aurum_elipse';
export * from './components/drawables/aurum_group';
export * from './com... |
import { Injectable } from '@angular/core';
import { Actions, createEffect, ofType } from '@ngrx/effects';
import { map } from 'rxjs/operators';
import { FavoriteStationsPageActions } from './actions';
import { FavoriteStationsActions } from '@core/store';
@Injectable()
export class FavoriteStationsFeatureEffects {
... |
import { JSON } from "@web3api/wasm-as";
import { COINGECKO_API_URL } from "../config";
import { getStringProperty } from "../utils";
import { CoinsList, HTTP_Query, HTTP_ResponseType, HTTP_UrlParam, Input_coinsList } from "../w3";
export function coinsList(input: Input_coinsList): Array<CoinsList> {
const urlParam... |
import * as classNames from 'classnames';
import { Kebab } from '@console/internal/components/utils';
export const tableColumnClasses = (showNamespace: boolean) => [
'', // name
classNames('pf-m-hidden', 'pf-m-visible-on-xl'), // provider
classNames('pf-m-hidden', { 'pf-m-visible-on-lg': showNamespace }), // nam... |
import type { MethodCall } from '@angular/compiler';
import {
createESLintRule,
ensureTemplateParser,
} from '../utils/create-eslint-rule';
type Options = [];
export type MessageIds = 'noAny';
export const RULE_NAME = 'no-any';
const ANY_TYPE_CAST_FUNCTION_NAME = '$any';
export default createESLintRule<Options, M... |
const identifier = 'is.workflow.actions.getupcomingevents';
const icon = 'Calendar';
const WFAction = {
ActionClass: 'WFGetUpcomingCalendarItemsAction',
ActionKeywords: ['calendar', 'event', 'events', 'next', 'upcoming'],
AppIdentifier: 'com.apple.mobilecal',
Description: {
DescriptionSummary:
'Gets ... |
import { Injectable, NotFoundException } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { CreateTaskDto } from './dto/create-task.dto';
import { GetTasksFilterDto } from './dto/get-tasks-filter.dto';
import { TaskStatus } from './task-status.enum';
import { Task } from './task.entity'... |
/// <reference path="../../../definitions/mocha.d.ts"/>
/// <reference path="../../../definitions/node.d.ts"/>
/// <reference path="../../../definitions/Q.d.ts"/>
import Q = require('q');
import assert = require('assert');
import trm = require('../../lib/taskRunner');
import psm = require('../../lib/psRunner');
import... |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ApiComponent } from '../../../documentation/core-helpers/api/api.component';
import { API_FILES } from '../../api-files';
import { CalendarHeaderComponent } from './calendar-header/calendar-header.component';
impo... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgbModule } from '@ng-boo... |
/*
* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "... |
/**
* @license
* Copyright 2020 Dynatrace LLC
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
import { EntityEventType, EventType } from '@/ADempiere/modules/window'
import { PanelContextType } from '@/ADempiere/shared/utils/DictionaryUtils/ContextMenuType'
import { IKeyValueObject } from '@/ADempiere/shared/utils/types'
import { IValueData } from '@/ADempiere/modules/core'
import { IPrivateAccessData } from '@... |
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,
HandlerExecutionContext,
HttpHandlerOptions... |
import {
NewDocumentIcon,
EmailIcon,
ProfileIcon,
PadlockIcon,
CodeIcon,
UserIcon,
GroupIcon,
LinkIcon,
TeamIcon,
BeakerIcon,
DownloadIcon,
} from "outline-icons";
import React from "react";
import { useTranslation } from "react-i18next";
import Details from "~/scenes/Settings/Details";
import Exp... |
import * as React from 'react';
import { Spinner } from './Spinner';
export interface ISpinnerProps extends React.Props<Spinner> {
type?: SpinnerType;
label?: string;
className?: string;
}
export enum SpinnerType {
small,
normal,
large
} |
declare module 'onoff' {
export class Gpio {
constructor(
gpio: number,
direction: Direction | 'high' | 'low',
edge?: Edge,
options?: { activeLow?: boolean },
);
public read(callback: PinStateCallback): void;
public readSync(): PinState;
public write(value: PinState, cal... |
import {PluginOptions, NgSelectPlugin} from "../../misc";
/**
* Options for keyboard handler plugin
*/
export interface KeyboardHandlerOptions extends PluginOptions
{
}
/**
* Keyboard handler plugin interface
*/
export interface KeyboardHandler extends NgSelectPlugin
{
} |
import { getCaseValidator } from '#/utils/case-validator';
describe('CaseValidator.getRecommendedName', () => {
const subject = (rule: string, name: string) => {
return getCaseValidator(rule).getRecommendedName(name);
};
describe('when the rule is camelCase', () => {
const rule = 'camelCase';
descr... |
import { InjectRepository } from '@nestjs/typeorm';
import {DataFactory, Seeder} from 'nestjs-seeder';
import { Repository } from 'typeorm';
import { Product } from './product.entity';
export class ProductSeeder implements Seeder{
constructor(
@InjectRepository(Product) private readonly productRepository:R... |
import {GroupAutocompleteComponent} from './group-autocomplete/group-autocomplete.component';
export * from './confirm-dialog/confirm-dialog.module';
export * from './countdown/countdown.module';
export * from './demo/demo.module';
export * from './highlight/highlight.module';
export * from './material-color-picker/ma... |
import { action, computed, observable } from 'mobx';
import StoreBase from '../../../DriverApp/store/StoreBase';
import { IDriverTruck } from '../../interfaces/shared/IDriverTruck';
import { IHosSettings } from '../../interfaces/shared/IHosSettings';
import { IPreferredPerMileRate } from '../../interfaces/shared/IPrefe... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { Component, OnInit } from '@angular/core';
import { User } from '../../user';
import { AuthService } from '../../services/auth.service';
import { Router } from '@angular/router';
@Component({
selector: 'app-dashboard',
templateUrl: 'login.component.html'
})
export class LoginComponent implements OnInit {
... |
/*
* 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, { ChangeEvent } from 'react';
import { createMockedDragDropCont... |
import * as React from "react";
import {Link, Route} from "react-router-dom";
import Button, { ButtonProps } from "semantic-ui-react/src/elements/Button";
interface IButtonLinkProps extends ButtonProps {
to: string;
}
/**
* The ButtonLink component mixes the visual style and behaviour of a semantic-ui-react butt... |
import { Optional } from '@angular/core';
import { MediaMonitor } from './media-monitor';
import { MatchMedia } from './match-media';
import { BreakPointRegistry } from './breakpoints/break-point-registry';
export declare function MEDIA_MONITOR_PROVIDER_FACTORY(parentMonitor: MediaMonitor, breakpoints: BreakPointRegist... |
import ICourse from "./rustici-course-interface";
export default interface ICourseUploadImportResult {
webPathToCourse: string;
parserWarnings: string[];
courseLanguages: string[];
course: ICourse;
}; |
import { ServiceMetadata as _ServiceMetadata_ } from "@aws-sdk/types";
export const ServiceMetadata: _ServiceMetadata_ = {
apiVersion: "2015-01-01",
endpointPrefix: "es",
protocol: "rest-json",
serviceFullName: "Amazon Elasticsearch Service",
serviceId: "Elasticsearch Service",
signatureVersion: "v4",
ui... |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';
import { LanguageCode } from '@app/core/translations';
import { StoreUrlService } from '@app/core/store-url/store-url.service';
@Component({
selector: 'app-root',
tem... |
import * as Validator from 'class-validator';
export class LoginAdministratorDto {
@Validator.IsNotEmpty()
@Validator.IsString()
@Validator.Matches(/^[a-z][a-z0-9\.]{3,30}[a-z0-9]$/)
username: string;
@Validator.IsNotEmpty()
@Validator.IsString()
@Validator.Length(6,128)
password: str... |
import * as fs from "fs";
import { nodesets } from "node-opcua-nodesets";
import { getFixture } from "node-opcua-test-fixtures";
import * as path from "path";
import * as should from "should";
import { AddressSpace } from "..";
import { generateAddressSpace } from "../nodeJS";
// tslint:disable-next-line:no-var-requir... |
/* tslint:disable */
/* eslint-disable */
/**
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated ... |
/*
* "© 2021 Thoughtworks, Inc.
*/
import moment from 'moment'
import { configLoader, Logger } from '@cloud-carbon-footprint/common'
import EstimatorCache from './EstimatorCache'
import { EstimationResult } from '@cloud-carbon-footprint/common'
import { EstimationRequest } from './CreateValidRequest'
import Estimato... |
import { UserLoginModule } from './userLogin/userlogin.module';
import { Module } from '@nestjs/common';
import { AuthModule } from './auth/auth.module';
import { MongooseModule } from '@nestjs/mongoose';
@Module({
imports: [AuthModule, MongooseModule.forRoot(
`mongodb+srv://${process.env.MONGODB_USER}:${proces... |
import { TestBed, async } from '@angular/core/testing';
import { EventService } from './eventService';
import { BaseEvent } from '../model/event/event';
describe('Event Service', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
}).compileComponents();
}));
describe('initi... |
export const LANG_ESP_NAME = 'esp';
export const LANG_ESP_TRANS = {
'hello world': 'hola mundo',
}; |
export interface Release {
album: string;
artist: string;
category: string;
id: string;
note: number;
releaseDate: string;
releaseDateRaw: number;
slug: string[];
}
export interface MenuItem {
name: string;
slugs: string[];
}
export interface ReleasesCheck {
checks: Check[];
id: number;
user... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { EditListComponent } from './edit-list.component';
describe('EditListComponent', () => {
let component: EditListComponent;
let fixture: ComponentFixture<EditListComponent>;
beforeEach(async(() => {
TestBed.configureTestingMod... |
import { Router } from '@angular/router';
import { SearchActions } from './../../home/reducers/search.actions';
import { getTaxonomies } from './../../product/reducers/selectors';
import { getTotalCartItems } from './../../checkout/reducers/selectors';
import { Component, OnInit, ChangeDetectionStrategy } from '@angula... |
import { FC, useReducer } from "react";
import socketIOClient, { Socket } from "socket.io-client";
import AppContext from "./AppContext";
import AppReducer from "./AppReducer";
import {
SET_SOCKET,
CLEAR_SOCKET,
IDENTIFIED_USER,
TOGGLE_DARK_MODE,
SET_DARK_MODE,
} from "../types";
import {
AppState as IAp... |
import { ApiPayload } from '../../common/api-payload.interface';
import axios from '../../common/axios';
function createMeetingPath(payload: CreateMeetingParam) {
return `/users/${payload.userId}/meetings`;
}
export async function createMeeting(payload: CreateMeetingPayload) {
const { param, body, accessToken } =... |
import { Injectable } from '@angular/core';
import { Subject, Observable } from 'rxjs';
import { Router } from '@angular/router';
import { AngularFirestore } from '@angular/fire/firestore';
import { v4 as uuid } from 'uuid';
import { Order, UpdateOrderAction } from './models';
import * as firebase from 'firebase';
impo... |
import { Contract, ContractDefinition, EvaluationOptions, GQLEdgeInterface, SmartWeave } from '@smartweave';
import { NetworkInfoInterface } from 'arweave/node/network';
import { BlockData } from 'arweave/node/blocks';
/**
* current execution context of the contract - contains all elements
* that are required to cal... |
import { writeFile } from 'fs/promises';
import epub from '../lib';
import { contentAlice, optionsAlice } from './aliceData';
(async () => {
const content = await epub(optionsAlice, contentAlice);
await writeFile(`${__filename.slice(0, -3)}.epub`, Buffer.from(content));
optionsAlice.numberChaptersInTOC = false;... |
import {isNumber} from "lodash"
import {State} from "../types"
export const get = (poolId: string) => (state: State) => state.ingests[poolId]
export const isInProgress = (poolId: string) => (state: State) => {
const i = state.ingests[poolId]
return !!i && isNumber(i.progress)
} |
export const actionExtractor = Symbol('Action Extractor') |
import type { AstJson } from "./ast";
import { decode, encode } from "./encode-decode";
import type { SdkgenError, SdkgenErrorWithData } from "./error";
import type { DeepReadonly } from "./utils";
interface ErrClasses {
[className: string]: (new (message: string, data: any) => SdkgenErrorWithData<any>) | (new (mess... |
export interface Config {
channelAccessToken?: string;
channelSecret?: string;
}
export interface ClientConfig extends Config {
channelAccessToken: string;
}
export interface MiddlewareConfig extends Config {
channelSecret: string;
}
export type Profile = {
displayName: string;
userId: string;
pictureU... |
import faker from "faker";
import factory from "factory-girl";
factory.define(
'User',
{},
{
name: faker.name.findName,
email: faker.internet.email,
password: faker.internet.password,
admin: faker.datatype.boolean,
}
);
factory.define(
'Tag',
{},
{
name: faker.lorem.word,
}
);
facto... |
import { WebdriverIO } from "@wdio/types/build/Options";
export default abstract class MobileScreen {
public driver: WebdriverIO.Browser;
constructor(driver: WebdriverIO.Browser) {
this.driver = driver;
}
abstract isPageLoaded(): any;
public async waitForPageToLoad(screen: MobileScreen)... |
import { useSelector } from "react-redux";
import { getCurrentPlayer } from "../../../state/selectors";
import "./profile.css";
enum Help {
start = "Draw a card or build line!",
draw = "Draw one more card or end turn!",
build_1 = "Select a destination from the map!",
build_2 = "Select the ending destin... |
import React, { useEffect, useState } from 'react';
import { View, StyleSheet, Image, TouchableOpacity, Text, SafeAreaView, Linking } from 'react-native';
import { Feather as Icon, FontAwesome } from '@expo/vector-icons';
import { useNavigation, useRoute } from '@react-navigation/native';
import { RectButton } from 're... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { InmobiliariaFormComponent } from './inmobiliaria-form.component';
describe('InmobiliariaFormComponent', () => {
let component: InmobiliariaFormComponent;
let fixture: ComponentFixture<InmobiliariaFormComponent>;
beforeEach(async... |
import { getConnection } from 'typeorm'
import MultisigConfig from 'database/chain/entities/multisig-config'
import { MultisigConfigNotExistError, MultisigConfigExistError } from 'exceptions/multisig'
export default class MultisigService {
async saveMultisigConfig(multisigConfig: MultisigConfig) {
const result =... |
// Copyright 2018 The Oppia 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 ap... |
import React from 'react';
import { RectButtonProperties } from 'react-native-gesture-handler';
import { Container, ButtonText } from './styles';
interface ButtonProps extends RectButtonProperties {
children: string;
}
const Button: React.FC<ButtonProps> = ({ children, ...rest }) => (
<Container {...rest}>
<... |
/* GENERATED FILE */
import React, { useContext, useMemo } from 'react'
import { IconProps, IconContext } from '../lib'
import bold from '../bold/ArrowBendRightUp'
import duotone from '../duotone/ArrowBendRightUp'
import fill from '../fill/ArrowBendRightUp'
import light from '../light/ArrowBendRightUp'
import regular ... |
import { Component, OnInit, Input } from '@angular/core';
import {FormArray, FormGroup, FormBuilder, Validators} from "@angular/forms";
import {I18nService} from "@app/shared/i18n/i18n.service";
@Component({
selector: 'app-title-localization-list',
templateUrl: './title-localization-list.component.html'
})
expor... |
/**
* MyBricks Opensource
* https://mybricks.world
* This source code is licensed under the MIT license.
*
* MyBricks team @2019
* mailTo:mybricks@126.com wechatID:ALJZJZ
*/
import * as Arrays from './arrays'
export {antiShaking} from './antiShaking'
export {Arrays}
export {copy} from './clipboard'
export {dee... |
export enum State {
Loading = "Loading...",
Ready = "Ready",
EmptyFile = "File is empty",
Fail = "Loading failed",
TooLarge = "File is too large",
}
export class LoadState {
static Ready = new LoadState(State.Ready);
static Loading = new LoadState(State.Loading);
static EmptyFile = new LoadState(State.... |
import { LookoutVisionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LookoutVisionClient";
import { UpdateDatasetEntriesRequest, UpdateDatasetEntriesResponse } from "../models/models_0";
import {
deserializeAws_restJson1UpdateDatasetEntriesCommand,
serializeAws_restJson1UpdateDatasetEntriesC... |
import { Entity } from '../entity';
export class Individual extends Entity {
cin: string
url: string
phone: string
email : string
password: string
pict: string[]
getCin(formated: boolean = false): string {
if (formated)
return this.cin.split(' - ').join('')
else
return this.cin
}
setCin(cin: strin... |
import { FunctionalComponent } from 'preact';
import { html } from 'htm/preact';
import { useState, useContext, useEffect } from 'preact/hooks';
import { route } from 'preact-router';
import { JsonRpcMethod } from '@mese/common/messaging/types';
import { sendMessage } from 'services/Messaging';
import { assetFormat, n... |
/** Functions to interact with the arxiv page ex. getting the arXiv ID of the page. */
import { Author, Paper } from './api/document'
export const RE_IDENTIFIER = new RegExp(
'(?:' + // begin OR group
'(?:arXiv:)(?:(\\d{4}\\.\\d{4,5})(?:v\\d{1,3})?)' + // there is a... |
import '../../../../styles/currency.scss';
import React, { createRef, PureComponent, RefObject } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators, Dispatch } from 'redux';
import { currencyActions } from '../../../../redux/reducers/currencyReducer';
import { IState } from '../../../../... |
import { View } from 'react-native';
import createThemedComponent from '../createThemedComponent';
import { transformPropsWithStyle } from './transformers';
export default createThemedComponent(View, transformPropsWithStyle); |
import { fmap } from "../../../../../Data/Functor";
import { map } from "../../../../../Data/List";
import { Nothing } from "../../../../../Data/Maybe";
import { OrderedMap } from "../../../../../Data/OrderedMap";
import { Record } from "../../../../../Data/Record";
import { IdPrefixes } from "../../../../Constants/IdP... |
import { Component, DebugElement } from '@angular/core';
import { By } from '@angular/platform-browser';
import { TestBed, ComponentFixture } from '@angular/core/testing';
import { RutDirective } from './rut.directive';
import { newEvent } from '../testing';
@Component({
template: `
<input formatRut>
`,
})
cl... |
import { getPPMApp } from './utils'
import _ from 'lodash'
import { LoggerServiceInterface } from '../interface/service.interface'
/**
* A handy log() function that will pass log messages to the LoggerService running in the background
*/
let loggerService: LoggerServiceInterface
export const log = (message?: any, .... |
/**
* The IStorage interface
*/
interface IStorage {
/**
* The method returns the flag whether supported this storage type or not
* @returns {boolean}
*/
isSupported(): boolean;
/**
* The method sets the value and returns true if it has been set
* @param checkSupport {boolean}
... |
import { AnyAction } from "redux";
import { ActionType, getType } from "typesafe-actions";
import { launchAuditAction, pollAuditStatusAction, stopPollingAuditStatusAction } from "./actions";
export type AuditsAction = ActionType<
| typeof launchAuditAction
| typeof pollAuditStatusAction
| typeof stopPolli... |
import React from 'react';
import { createStackNavigator } from '@react-navigation/stack';
import { theme } from '../global/styles/theme';
import { Home } from '../screens/Home';
import { AppointmentDetails } from '../screens/AppointmentDetails';
import { AppointmentCreate } from '../screens/AppointmentCreate';
cons... |
import {LoginService} from './../../services/login.service';
import {Component, OnInit} from '@angular/core';
import {Endpoint} from '../../models/endpoint';
import {EndpointService} from '../../services/endpoint.service';
@Component({
selector: 'app-list',
templateUrl: './list.component.html',
styleUrls: ['./li... |
import { FieldArray } from 'formik';
import { countBy } from 'lodash';
import React from 'react';
import type { IExecutionAndStagePickerProps } from './ExecutionAndStagePicker';
import { ExecutionAndStagePicker } from './ExecutionAndStagePicker';
import type { IFormikStageConfigInjectedProps } from '../FormikStageConf... |
export * from './multer-config.loader';
export * from './multer-extended.module';
export * from './interceptors';
export * from './interfaces';
export * from './constants'; |
import { ElementRef } from '@angular/core';
export declare class Scroll {
private _elementRef;
_scrollX: boolean;
_scrollY: boolean;
_zoom: boolean;
_maxZoom: number;
scrollX: any;
scrollY: any;
zoom: any;
maxZoom: any;
maxScale: number;
zoomDuration: number;
scrollElemen... |
import Menu from './Menu';
import { IConfig } from './Menu';
declare type MenuFactory = (
config?: IConfig
) => Menu;
export default MenuFactory; |
import { Injectable } from '@nestjs/common';
import { BaseEntityService } from 'src/shared/core/class/base.service';
import { DriverFilesEntity } from '../entities/driver-files.entity';
import { DriverFilesRepository } from '../repositories/driver-files.repository';
@Injectable()
export class DriverFilesEntityServic... |
// Copyright 2016-2018, Pulumi 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... |
namespace Shine
{
/** 领取邮件内容消息(generated by shine) */
export class TakeMailRequest extends GameRequest
{
/** 数据类型ID */
public static dataID:number=GameRequestType.TakeMail;
/** 邮件序号 */
public index:number;
/** 邮件实例ID */
public instanceID:number;
constructor()
{
super();
this._dataID=Ga... |
import * as React from 'react';
import TooltipOptions from '../tooltip/tooltipoptions';
import { CSSTransitionProps } from '../csstransition';
import { VirtualScrollerProps } from '../virtualscroller';
type DropdownOptionGroupTemplateType = React.ReactNode | ((option: any, index: number) => React.ReactNode);
type Dro... |
declare const __VERSION__: string
declare const __DEV_SERVER__: string |
import { Observable, Subject } from 'rxjs';
import Rabbit from './rabbit';
import Envelope from './envelope';
import IListenOptions from './listen-options';
export interface IRabbitObserver<T> {
observable: Observable<T>;
cancel: () => void;
}
export default async function<T>(
rabbit: Rabbit,
exchange: string... |
import { NotFoundError } from './not-found-error';
describe('NotFoundError', () => {
it('should create an instance', () => {
expect(new NotFoundError()).toBeTruthy();
});
}); |
import Command from "~/core/Command";
import { AUTO_OUT } from "~/const/command/setting";
import * as PERMISSION from "~/const/permission";
import GuildConfig, { GuildConfigDocument } from "~/model/GuildConfig";
export default new Command({
name: AUTO_OUT.CMD,
description: AUTO_OUT.DESC,
permissions: [PERMISSION... |
import { Cardano, ProtocolParametersRequiredByWallet } from '@cardano-sdk/core';
import { InitializeTxProps, Transaction } from '../../src';
describe('Transaction.computeImplicitCoin', () => {
it('sums registrations for deposit, withdrawals and deregistrations for input', async () => {
const protocolParameters =... |
/// <reference types="node" />
/// <reference path="shared.ts" />
/// <reference path="session.ts" />
namespace ts.server {
interface IOSessionOptions {
host: ServerHost;
cancellationToken: ServerCancellationToken;
canUseEvents: boolean;
installerEventPort: number;
useSingle... |
import { createStyles, makeStyles, Theme } from "@material-ui/core/styles";
const useStyles = makeStyles((theme: Theme) =>
createStyles({
header: {
textAlign: "center",
},
body: {
marginBottom: theme.spacing(8),
marginTop: theme.spacing(8),
},
support: {
marginBottom: them... |
// *** 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 { Gradient24 } from "../../";
export = Gradient24; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.