text stringlengths 10 953k |
|---|
import { errorMessage } from '@hydrooj/utils/lib/utils';
import { SystemError, UserFacingError } from 'hydrooj/src/error';
import type { KoaContext } from '../server';
function serializer(k: string, v: any) {
if (k.startsWith('_') && k !== '_id') return undefined;
if (typeof v === 'bigint') return `BigInt::${v... |
import { createDefaultTestClient } from './helpers/clientFactory'
describe('SSO feature check', () => {
const { client } = createDefaultTestClient({ sso: false })
test('checkSession', async () => {
await expect(client.checkSession())
.rejects.toThrow(new Error(`Cannot call 'checkSession' if SSO is not e... |
export default GridSharp;
declare function GridSharp({ height, width, style, color, cssClasses, className, onClick }: {
height?: number;
width?: number;
style?: {};
color?: string;
cssClasses?: string;
className?: string;
onClick?: () => any;
}): any; |
import { useServiceStore, WidgetInterface } from "../../..";
import { useMonitoringService } from "./useMonitoringService";
export function useWidgets(): WidgetInterface<any>[] {
const monitoring = useMonitoringService();
return useServiceStore(monitoring, (state) => state.allWidgets);
} |
import {NgModule, Component, Pipe, PipeTransform} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {Observable} from 'rxjs/Observable';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {HttpModule, Http} from '@angular/http';
@Component({
selector:... |
module.exports = (__getArgsNames) => {
describe('sugar.js.dev.getArgsNames', () => {
it('Should get the args names correctly', () => {
function hello(param1, world2, youhou = 10) {}
const args = __getArgsNames(hello);
expect(args).toEqual(['param1', 'world2', 'youhou']);
});
});
}; |
import { Component, OnInit } from '@angular/core';
import { FormControl, FormGroup, Validators } from '@angular/forms';
import { Partner } from 'app/shared/models/partner';
import { TaikhoanService } from 'app/shared/services/web-partner/account.service';
import { PartnerService } from 'app/shared/services/web-partner/... |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {absoluteFrom, getFileSystem} from '../../../src/ngtsc/file_system';
import {runInEachFileSystem} from '../../.... |
declare var gs: sn.Server.IGlideSystem;
declare var GlideAggregate: sn.Server.IGlideAggregate;
declare var GlideAjax: sn.Server.IGlideAjax;
declare var GlideDate: sn.Server.IGlideDate;
declare var GlideDateTime: sn.Server.IGlideDateTime;
declare var GlideDuration: sn.Server.IGlideDuration;
declare var GlideElement: sn.... |
export * from 'roosterjs-html-sanitizer';
export * from 'roosterjs-editor-types';
export * from 'roosterjs-editor-dom';
export * from 'roosterjs-editor-core';
export * from 'roosterjs-editor-api';
export * from 'roosterjs-editor-plugins';
export * from 'roosterjs-react-common';
export * from 'roosterjs-react-command-ba... |
/**
* Api Documentation
* Api Documentation
*
* OpenAPI spec version: 1.0
*
*
* 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.
*/
/* tslint:disable:no-unused-variable member-ordering */
import { ... |
// vendors
import React from 'react';
// provider
import { ProductDetailPageProvider } from '../context/productDetailPage.context';
// components
import ProductDetailPage from '../ProductDetailPage';
const HomePageContainerProvider = (): JSX.Element => {
return (
<ProductDetailPageProvider>
<ProductDetailP... |
import { InvalidBalanceParametersError } from '@/domain/errors'
import { Balance } from '@/domain/object-value/payment/Balance'
const invalidResponse = (result: any, message: string) => {
expect(result.isFailure()).toBe(true)
expect(result.value).toBeInstanceOf(InvalidBalanceParametersError)
expect((result... |
import path from 'path';
import getTemplatePath from './getTemplate';
export default function getModulePath(templateName: string, moduleName: string): string | undefined {
const templatePath: string | undefined = getTemplatePath(templateName);
if (templatePath == null) return undefined;
return path.join(templa... |
import * as React from 'react';
import renderer, { ReactTestRendererJSON } from 'react-test-renderer';
import { Scroller } from '../component';
it('component renders', () => {
const tree: ReactTestRendererJSON | null = renderer
.create(<Scroller />)
.toJSON();
expect(tree).toMatchSnapshot();
}); |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {LContainer} from './container';
import {LInjector} from './injector';
import {LProjection} from './projectio... |
import { BorderedRadio, Button } from "@artsy/palette"
import {
Buyer,
OfferOrderWithShippingDetails,
OfferOrderWithShippingDetailsAndNote,
Offers,
OfferWithTotals,
} from "Apps/__tests__/Fixtures/Order"
import { OfferHistoryItemFragmentContainer } from "Apps/Order/Components/OfferHistoryItem"
import { DateTi... |
import { AllMarkdownRemarkResponse } from '../../graphql';
import React from 'react';
import { graphql, Link, useStaticQuery } from 'gatsby';
export const HouschengCard: React.FC = () => {
const data = useStaticQuery<AllMarkdownRemarkResponse>(graphql`
{
allMarkdownRemark(
limit: 200
filter... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ProactiveAutohealingComponent } from './proactive-autohealing.component';
describe('ProactiveAutohealingComponent', () => {
let component: ProactiveAutohealingComponent;
let fixture: ComponentFixture<ProactiveAutohealingComponent>;... |
import { APP_BASE_HREF } from '@angular/common';
import { DynamicModule, Inject, Module, OnModuleInit } from '@nestjs/common';
import { HttpAdapterHost } from '@nestjs/core';
import { existsSync } from 'fs';
import { join } from 'path';
import 'reflect-metadata';
import { ANGULAR_UNIVERSAL_OPTIONS } from './angular-uni... |
import { ExecutionReport } from './ExecutionReport';
import { TableBuilder, ITableDataSource } from './TableBuilder';
import { IQueryResult } from '../../rest/QueryResult';
import { IRankingExpression } from '../../rest/RankingExpression';
import { map, find } from 'underscore';
import { GenericValueOutput } from './Ge... |
export * from "./visualizations";
export * from "./visualizations/visualizationsSettings";
export { VisualizationType } from "./visualizations/prop-types";
export {
default as registeredVisualizations,
getDefaultVisualization,
newVisualization,
} from "./visualizations/registeredVisualizations"; |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import * as React from "react"
import ContentLoader, { Rect } from "react-content-loader/native"
import { StyleProp, Text, View, ViewStyle } from "react-native"
import EStyleSheet from "react-native-extended-stylesheet"
import { translate } from "../../i18n"
import { palette } from "../../theme/palette"
import { Curren... |
import { Meta } from "../../mod/utils/types.ts";
type Arg = string; // `[${string}]` | `\<${string}\>`;
/** Command option */
export interface Option {
flag: string; // `${`-${string}, ` | ""}--${string}`;
argument?: Arg;
description: string;
}
/** Command argument */
export interface Argument {
name: Arg;
... |
const Cart = () => {
return (
<div id="cart">
<h1>Giỏ hàng</h1>
</div>
)
}
export default Cart; |
import { Component, OnInit } from '@angular/core';
import { FormControl, FormGroupDirective, NgForm } from '@angular/forms';
import { ErrorStateMatcher } from '@angular/material/core';
import { StudentInfoService } from '../student-info.service';
import { CourseDataService } from '../coursedata-service.service';
impor... |
import { DayOfWeek } from "./period-stats";
import { run, Config } from "./calendar-metrics"
import { dumpEvents } from "./gcalendar-repository";
/** EXECUTION PARAMETERS **/
const calendarName = 'adam.dubiel@allegro.pl';
const startDate = date(2019, 1, 15);
const endDate = date(2019, 2, 28);
const timezone = "Euro... |
/**
* Generated bundle index. Do not edit.
*/
export * from './index';
//# sourceMappingURL=ngx-bootstrap-progressbar.d.ts.map |
import * as React from 'react';
import { TableData } from '@console/internal/components/factory';
import { KebabOption, Kebab } from '@console/internal/components/utils';
import { diskReplacementModal } from './disk-replacement-modal';
import { OCSDiskList, OCSColumnStateAction } from './state-reducer';
const startDis... |
import * as apiURL from '../configs/ApiUrls'
import * as Utils from '../utils/Utils'
import PaymentService from './PaymentService'
import Charge from '../payments/business/Charge'
import { chargeAuthorizeObject } from '../payments/business/Authorization'
import FetchPayment from './FetchPayment'
import ResponseErrorsMa... |
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const jamCalculator: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligat... |
import { ApiProperty } from "@nestjs/swagger";
import { modelOptions, prop } from "@typegoose/typegoose";
@modelOptions({
schemaOptions: {
timestamps: true
}
})
export class User {
@ApiProperty({description: '用户名', example: 'user1'})
@prop()
username: string
@ApiProperty({description: '密码', example:... |
import {
useLocation,
Route,
matchPath,
Redirect,
generatePath,
} from 'react-router-dom';
import { connect } from 'react-redux';
import { useMemo } from 'react';
import { Config as ConfigType } from '@speedy-tuner/types';
import Dialog from '../components/Tune/Dialog';
import SideBar, { DialogMatchedPathType... |
import React from 'react';
//Graveyard ecosystem logos
import SCTLogo from '../../assets/img/SCT.png';
import pSharesLogo from '../../assets/img/PSHARES.png';
import tombLogoPNG from '../../assets/img/SCT.png';
import tShareLogoPNG from '../../assets/img/PSHARES.png';
import pBondLogo from '../../assets/img/PBOND.png'... |
import { User } from '../../../../src/api/models/User';
export const systemUser: Partial<User> = {
email: 'vivekfitkariwala@gmail.com',
firstName: 'Vivek',
lastName: 'Fitkariwala',
imageUrl: 'https://res.cloudinary.com/dk-find-out/image/upload/q_80,w_1920,f_auto/A-Alamy-BXWK5E_vvmkuf.jpg',
}; |
import * as React from "react";
import { CarbonIconProps } from "../../";
declare const Csv16: React.ForwardRefExoticComponent<
CarbonIconProps & React.RefAttributes<SVGSVGElement>
>;
export default Csv16; |
import { ArgumentMetadata, BadRequestException, Injectable, PipeTransform } from '@nestjs/common';
import { validate } from 'class-validator';
import { plainToClass } from 'class-transformer';
@Injectable()
export class ValidationPipe implements PipeTransform {
async transform(value: any, metadata: ArgumentMetadata)... |
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
//
// Copyright 2016-2018 Pascal ECHEMANN.
//
// 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.apac... |
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RecipientEditPage } from './recipient-edit.page';
describe('RecipientEditPage', () => {
let component: RecipientEditPage;
let fixture: ComponentFixture<RecipientEditPage>;
... |
import {
CurrentElection,
ElectionState,
ElectionStatus,
VoteData,
} from "elections/interfaces";
import { MemberData } from "members";
import {
getFixtureEdenMember,
getFixtureMemberData,
} from "members/api/fixtures";
// The following fixtures represent the following Election/round layout
// ... |
import {readdirSync, lstatSync} from 'fs';
import * as gulp from 'gulp';
import * as gulpLoadPlugins from 'gulp-load-plugins';
import {join} from 'path';
import Config from '../../config';
import {makeTsProject, TemplateLocalsBuilder} from '../../utils';
const plugins = <any>gulpLoadPlugins();
/**
* Executes the bu... |
import * as mongoose from 'mongoose';
export declare const UserSchema: mongoose.Schema<mongoose.Document<any>, mongoose.Model<mongoose.Document<any>>>; |
import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { ItemsController } from './items.controller';
import { ItemSchema } from './schema/item.schema';
import { ItemsService } from './service/items.service';
@Module({
imports: [MongooseModule.forFeature([{ name: 'Item', s... |
/*
* 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 may ... |
import { storiesOf } from '@storybook/react'
import React from 'react'
import { messages } from '@cucumber/messages'
import GherkinDocumentList from '../src/components/app/GherkinDocumentList'
import '../src/styles/react-accessible-accordion.css'
import '../src/styles/styles.scss'
import Wrapper from '../src/components... |
/*
* 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.
*/
export {
ApiContractProperties,
ApiEntityBaseContract,
ApiTagResourceContractProper... |
import Sync from '../entities/trellis-config/Sync'
import uuid from 'uuid/v4'
import DatabaseService from './database/DatabaseService'
import DeviceService from './device/DeviceService'
import { syncInstance } from './http/AxiosInstance'
import { AxiosRequestConfig, CancelTokenSource } from 'axios'
import { Connection ... |
import { Component, OnInit, ViewChild } from '@angular/core';
import { AbstractControl, FormArray, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
import { Role } from '../constants/role.enum';
import { State } from '../constants/state.e... |
import { Term } from "./terms/@Term";
export declare const GetTerm: ((id: string) => Term) & {
Wait: (id: string) => Term;
};
export declare const GetTerms: (() => Term[]) & {
Wait: () => Term[];
};
export declare const GetTermsByName: ((name: string) => Term[]) & {
Wait: (name: string) => Term[];
};
export... |
export const grepFormatBaseSyntax: Array<string> = [
String.raw`syntax match FzfPreviewGrepHeader /^>\?\s*\(\S\s\s\)\?\S\+\(\(:\d\+:\)\|\(\.\.\s\)\)/`,
String.raw`syntax match FzfPreviewGrepFile /\s*\(\S\s\s\)\?\S\+\(\(:\d\+:\)\|\(\.\.\s\)\)/ contained containedin=FzfPreviewGrepHeader`,
String.raw`syntax match Fz... |
export const deployed = {
'rinkeby': {
'TestToken': '0x5a3e721b5eda6eb1e7d7f921e47d8ff65f90f71f',
'TestDAO': '0x41f829adb761c89051621394bc63c3c9e19e646a',
'Migrations': '0x7d57b008b1e3754aaa829e4c33795f579782b342',
'MerkleProof': '0xcd8f54ed0dcfda2f44064ad279c8c559ff7ff244',
... |
import { History } from "./History";
export const App = () => {
return <History />;
}; |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; under version 2
* of the License (non-upgradable).
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WA... |
export interface NextObserver<T> {
isUnsubscribed?: boolean;
next: (value: T) => void;
error?: (err: any) => void;
complete?: () => void;
}
export interface ErrorObserver<T> {
isUnsubscribed?: boolean;
next?: (value: T) => void;
error: (err: any) => void;
complete?: () => void;
}
export ... |
/**
* @file DatePicker
* @description 时间选择器组件
* @author fex
*/
import React from 'react';
import cx from 'classnames';
import moment from 'moment';
import 'moment/locale/zh-cn';
import {Icon} from './icons';
import PopOver from './PopOver';
import Overlay from './Overlay';
import {ClassNamesFn, themeable, ThemePro... |
/// <reference path="../_references.ts"/>
namespace demo.network {
'use strict';
doConfig.$inject = ["$stateProvider"];
function doConfig($stateProvider:ng.ui.IStateProvider) {
$stateProvider.state('network', {
url: '/network',
templateUrl: 'app/network/network.html'
});
}
angular.modul... |
import { HttpException, HttpStatus } from '@nestjs/common'
export class CustomException extends HttpException {
constructor(httpStatus: number, flag: string, options?) {
super(
{
flag,
options
},
httpStatus
)
}
}
export class SuccessResponse extends HttpException {
cons... |
import styled from '@emotion/styled';
import { Dec, IntPretty } from '@keplr-wallet/unit';
import { PricePretty } from '@keplr-wallet/unit/build/price-pretty';
import { observer } from 'mobx-react-lite';
import React, { FunctionComponent, useState } from 'react';
import { ButtonPrimary } from 'src/components/layouts/Bu... |
export interface CmsConfigOption {
/**
* The first segment of route to access the edit and admin view. Default `/typijs`
*
* For example:
*
* `adminRoute = '/typijs'` -> edit route: `/typijs/edit`, admin route: `/typijs/admin`
*/
adminRoute?: string;
/**
* The configurati... |
import {DefaultCrudRepository} from '@loopback/repository';
import {QuestionOrder, QuestionOrderRelations} from '../models';
import {PostgresqlDataSource} from '../datasources';
import {inject} from '@loopback/core';
export class QuestionOrderRepository extends DefaultCrudRepository<
QuestionOrder,
typeof Question... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About GXCash</source>
<translation>Tietoa GXCashista</translation>
</m... |
import { PolymerElement } from '@polymer/polymer'
export interface EntityStoreMixin extends PolymerElement {
noInherit: boolean
store: any
storeChanged(): Promise<void>
}
// Used by our Vaadin components, which are Polymer 3
export const EntityStoreMixin = (base) => class EntityStoreMixinClass extends bas... |
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';
import {BrowserModule} from '@angular/platform-browser';
import {HttpClientModule} from '@angular/common/http';
import {BrowserAnimationsModule} from '@angular/platform-browser... |
import { AkairoModule, AkairoModuleOptions } from 'discord-akairo';
export type Constructor<T> = new (...args: any[]) => T;
const createClassDecorator = <T extends (...args: any[]) => void>(
fn: T
): ClassDecorator => fn;
/**
* Applies options onto a given `AkairoModule` using a class decorator.
*/
// eslint-dis... |
/**
*
*
* OpenAPI spec version: 20200407
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ... |
import React, {PureComponent, ChangeEvent, FormEvent} from 'react'
// Components
import {
Form,
Input,
Button,
ComponentColor,
ComponentStatus,
ButtonType,
Grid,
} from 'src/clockface'
import Retention from 'src/organizations/components/Retention'
// Types
import {BucketRetentionRules} from 'src/api'
in... |
export default class Pokemon {
name: string;
strength: number;
speed: number;
hp: number;
level: number;
constructor(name: string, strength: number, speed?: number);
attackLevel(): number;
loose(attacker: Pokemon): void;
} |
import { Component, OnInit, Input, DoCheck } from '@angular/core';
import { Location } from '@angular/common';
import { Post } from '../models/post.model';
import { PostService } from '../post.service';
import { Router } from '@angular/router';
import { ActivatedRoute, Params } from '@angular/router';
import { Firebase... |
import { PinpointEmail } from "../PinpointEmail";
import { PinpointEmailClient } from "../PinpointEmailClient";
import {
ListDomainDeliverabilityCampaignsCommand,
ListDomainDeliverabilityCampaignsCommandInput,
ListDomainDeliverabilityCampaignsCommandOutput,
} from "../commands/ListDomainDeliverabilityCampaignsCom... |
import { Role } from '../config'
import { Team } from './team'
export class Member {
public id: string
public name: string
public nickname?: string
public profile_img?: string
public role?: Role
public timezone?: string
public email?: string
public mobile?: number
public static fromJSON(obj: ... |
/**
* coronavirus-server
* coronavirus-server
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { InfectedKeyFields } from './infectedKeyFi... |
import { DbIconDefinition } from "@digibearapp/digibear-common-types";
declare const dbPowerOff: DbIconDefinition;
export default dbPowerOff; |
export default class Settings {
readonly deckName: string | undefined;
readonly useInput: boolean;
readonly maxOne: boolean;
readonly noUnderline: boolean;
readonly isCherry: boolean;
readonly isAvocado: boolean;
readonly isAll: boolean;
readonly fontSize: string;
readonly isTextOnlyBack: boolean;
r... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { PluginContext, SystemError, UserError } from "@microsoft/teamsfx-api";
import { Constants } from "./../constants";
import { GLOBAL_CONFIG, REMOTE_TEAMS_APP_ID } from "../../../solution/fx-solution/constants";
export enum TelemetryProp... |
export { BlogModule } from './blog.module'; |
import {
MongoClient
} from 'mongodb';
import { bson } from '@mongosh/service-provider-core';
import { eventually } from './helpers';
import { TestShell } from './test-shell';
import {
startTestServer
} from '../../../testing/integration-testing-hooks';
describe('BSON e2e', function() {
const testServer = startT... |
import compiler from './compiler';
/**
* This uses Webpack's compiler function (see compiler.js) to
* generate an in-memory test of the loader.
*
* We load a dummy css and check for its creation and integrity of its
* content.
*
* Right now, it duplicates most of the logic from template.spec.ts
*
*/
des... |
import { PrismaFieldAdapter, PrismaListAdapter } from '@keystone-next/adapter-prisma-legacy';
import { getImageRef, SUPPORTED_IMAGE_EXTENSIONS } from '@keystone-next/utils-legacy';
import { ImageData, KeystoneContext, BaseKeystoneList } from '@keystone-next/types';
import { Implementation } from '../../Implementation';... |
import { CSSProperties } from 'react';
import { MentionData, MentionPluginStore } from '..';
export interface PositionSuggestionsParams {
decoratorRect: ClientRect;
popover: HTMLElement;
props: {
open: boolean;
suggestions: MentionData[];
store: MentionPluginStore;
};
}
export de... |
import { Callback } from '../types/core'
const callbacks: Callback[] = []
let pending = false
export function flushCallbacks(): void {
pending = false
const copies = callbacks.slice(0)
callbacks.length = 0
for (const job of copies) {
job()
}
}
const p = Promise.resolve()
export default function nextTic... |
/**
* @author WMXPY
* @namespace Brontosaurus_Red
* @description Placeholder
* @package Unit Test
*/
import { expect } from 'chai';
describe('placeholder', (): void => {
it('placeholder', (): void => {
expect(1).to.be.equal(1);
});
}); |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// DO NOT ADD public exports to this file.
// The public API exports are specified in the `./localize` module, which... |
import Uppy = require('@uppy/core')
import AudioLocale = require('./generatedLocale')
declare module Audio {
export type AudioMode =
| 'wav'
export interface AudioOptions extends Uppy.PluginOptions {
replaceTargetContent?: boolean
target?: Uppy.PluginTarget
modes?: AudioMode[]
locale?: AudioLo... |
/**
* Processing-vscode - Processing Language Support for VSCode
*
* @version 2.4.1
* @copyright (C) 2016 - 2020 Tobiah Zarlez, 2021 Luke Zhang
*/
import {processingCommand, shouldEnableDiagnostics} from "./config"
import isValidProcessingCommand from "./validateCommand"
import subscribeCommands from "./commands"... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PromocionesComponent } from './promociones.component';
describe('PromocionesComponent', () => {
let component: PromocionesComponent;
let fixture: ComponentFixture<PromocionesComponent>;
beforeEach(async () => {
await TestBed.config... |
/*
* 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 fs from 'fs';
import { InstallationType } from '../../common/installa... |
import parseDate from './utils/date.js'
import parseName from './utils/name.js'
export type RECORD_TYPE = 'article' | 'book' | 'booklet' | 'proceedings' | 'mastersthesis'
| 'inbook' | 'incollection' | 'conference' | 'inproceedings' | 'phdthesis'
| 'techreport' | 'unpublished' | 'manual' | 'misc';
export type Iden... |
/*
* 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 { SPACES } from '../../common/lib/spaces';
import { TestInvoker } from... |
/**
* @asdf Some example text
*/
export type Foo = (arg: string) => string; |
/**
* Servicio Reportes Kallsonys
* Servicio para generar reportes
*
* OpenAPI spec version: 1.0.0
*
*
* 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.
*/
import { ClienteRsType } from './cliente... |
import Axios from 'axios-observable';
import { SERVER_API_URL } from '@/constants';
const TIMEOUT = 1000000;
const onRequestSuccess = config => {
const token = localStorage.getItem('jhi-authenticationToken') || sessionStorage.getItem('jhi-authenticationToken');
if (token) {
if (!config.headers) {
config... |
import { HistoricoService } from './../../service/historico.service';
import { Component, OnInit } from '@angular/core';
import { FormGroup, FormControl, Validators } from '@angular/forms';
import { Historico } from './models/historico.class';
@Component({
selector: 'app-cadastro',
templateUrl: './cadastro.compo... |
import {Component, HostBinding} from '@angular/core';
@Component({
selector: 'hc-modal-footer',
template: `<ng-content></ng-content>`
})
export class ModalFooterComponent {
@HostBinding('class.hc-modal-footer') modalFooterClass = true;
} |
import { Structure as _Structure_ } from "@aws-sdk/types";
export const _DesiredPlayerSession: _Structure_ = {
type: "structure",
required: [],
members: {
PlayerId: {
shape: {
type: "string",
min: 1
}
},
PlayerData: {
shape: {
type: "string",
min: 1
... |
import GameServerPacket from "./GameServerPacket";
import L2Item from "../../entities/L2Item";
import { ShotsType } from "../../enums/ShotsType";
export default class RequestAutoSoulShot extends GameServerPacket {
private _shotItemId: number;
private _enabled: boolean;
constructor(shot: L2Item | ShotsType | nu... |
import React, { useState } from 'react';
import Box from '@material-ui/core/Box';
import Button from '@material-ui/core/Button';
import Typography from '@material-ui/core/Typography';
import TextField from '@material-ui/core/TextField';
import { makeStyles, createStyles, Theme } from '@material-ui/core/styles';
import... |
/**
* @copyright Valor Software
* @copyright Angular ng-bootstrap team
*/
import { ComponentRef, ViewRef } from '@angular/core';
export class ContentRef {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
nodes: any[];
viewRef?: ViewRef;
// eslint-disable-next-line @typescript-eslint/no-explic... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Bitcoin</source>
<translation>À propos de Angora</translation>
<... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-sidebar',
templateUrl: './sidebar.component.html',
styles: [
]
})
export class SidebarComponent implements OnInit {
ngOnInit(): void {
/* ========= sidebar toggle ======== */
const sidebarNavWrapper = document.query... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.