text stringlengths 10 953k |
|---|
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Any modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
/*
* Licensed to Ela... |
export * from './enumeration.pipe';
export * from './to-first-upper.pipe'; |
import { createCmd, createCmdKey } from '@milkdown/core';
import { createNode, findSelectedNodeOfType } from '@milkdown/utils';
import { InputRule } from 'prosemirror-inputrules';
import { NodeSelection } from 'prosemirror-state';
export const ModifyImage = createCmdKey<string>();
export const InsertImage = createCmdK... |
import { Story, Meta } from '@storybook/react/types-6-0';
import Radio, { RadioProps } from '../../src/components/Radio';
import FormControlLabel, { FormControlLabelProps } from '../../src/components/FormControlLabel';
export default {
title: 'Components/Inputs/Radio',
component: Radio,
argTypes: {
size: {
... |
import React,{useEffect,useState,useRef} from 'react';
import { AgGridReact } from 'ag-grid-react';
import Header from '../../containers/Header';
import NameRenderer from '../../components/renderers/NameRenderer';
import VerifiedRenderer from '../../components/renderers/VerifiedRenderer';
import { InfiniteRowModelModul... |
declare class Phaser {
static VERSION: string;
static DEV_VERSION: string;
static GAMES: Array;
static AUTO: number;
static CANVAS: number;
static WEBGL: number;
static SPRITE: number;
static BUTTON: number;
static BULLET: number;
static GRAPHICS: number;
... |
import { ICommitType } from "./commit-type.interface";
/**
* IConfig provides the description of configurable parts of @priestine/semantics. Each entry can be set via
* environment variable or command line argument.
*
* To use environment variables in upper-snake case, e.g. `PRIVATE_TOKEN=$TOKEN` for `password`.
... |
/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/en/configuration.html
*/
export default {
// All imported modules in your tests should be mocked automatically
// automock: false,
// Stop running tests after `n` failures
bail: tru... |
/**
* Database Service API
* The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).
* OpenAPI spec version: 20160918
* Contact: sic_dbaas_cp_us_grp@oracl... |
import React from "react";
import DialogComponent, { IDialogProps } from "../../components/dialog";
const DialogContainer: (props: IDialogProps) => JSX.Element = (props: IDialogProps) => ( <DialogComponent {...props}/>);
export default DialogContainer; |
/// <reference path="Object.d.ts" />
module dojox.dtl.tag.date{
export function now (parser:any,token:any) : any;
} |
/**
* Core Services API
* Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
compute instances, and block storage volumes. For more information, see the console
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
[Compute](/iaas/Content/Compute/Concepts/c... |
import 'icmaa-logs/lib/gcloud'
import { DefaultVuestorefrontApiModule } from '@storefront-api/default-vsf'
import { DefaultCatalogModule } from '@storefront-api/default-catalog'
import { DefaultImgModule } from '@storefront-api/default-img'
import { IcmaaModule, IcmaaMiddleware } from 'icmaa'
import { StorefrontApiMod... |
import { Injectable } from '@angular/core';
import { CanActivate, UrlTree, Router, CanLoad } from '@angular/router';
import { UserCredential } from '@root/models/auth-token';
import { TokenService } from '@root/services/token.service';
import { HOME_PAGE_URL } from '@shared/constants/common-constants';
@Injectable()
e... |
/* Copyright Contributors to the Open Cluster Management project */
import { listResources } from './utils/resource-request'
import { IResource, IResourceDefinition } from './resource'
import { Metadata } from './metadata'
export const DiscoveredClusterApiVersion = 'discovery.open-cluster-management.io/v1alpha1'
expor... |
// /src/image/navigate_before/materialicons/24px.svg
import { createSvgIcon } from './createSvgIcon';
export const SvgNavigateBefore = createSvgIcon(
`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M15.41 7.41L14 6l-6 6 6 6 1... |
<TS language="uz@Cyrl" 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>
... |
import { shelfTheme } from '@vtex/store-ui'
export default shelfTheme |
import {default as example1Html} from '!!raw-loader!./examples/1/index.html';
import {default as example1Less} from '!!raw-loader!./examples/1/index.less';
import {default as example1Ts} from '!!raw-loader!./examples/1/index.ts';
import {default as example2Html} from '!!raw-loader!./examples/2/index.html';
import {def... |
import React from 'react';
import Layout from '../primitives/Layout';
import SEO from '../primitives/Seo';
const PageNotFound = () => (
<Layout>
<SEO title="404: Not found" />
<h1>NOT FOUND</h1>
<p>You just hit a route that doesn't exist... the sadness.</p>
</Layout>
);
export def... |
import { SearchableType, Searcher } from "@/types";
import { buildURL } from "@/url_builder";
export class ArchiveToday implements Searcher {
public baseURL: string;
public name: string;
public supportedTypes: SearchableType[] = ["url"];
public constructor() {
this.baseURL = "http://archive.fo";
this.... |
/* eslint-disable max-len */
/**
* The checkmark, exclamation mark and failure animations as HTML strings for dialogs
*/
const statusAnimations = {
ERROR: `
<div class="api-dialog__header ">
<div class="header__description">
<div style="text-align: center">
<style>
... |
import { ArtworkTypeIDs } from '@lib/MB/CoverArt';
import { convertCaptions, mapJacketType, VGMdbProvider } from '@src/mb_enhanced_cover_art_uploads/providers/vgmdb';
import { setupPolly } from '@test-utils/pollyjs';
import { itBehavesLike } from '@test-utils/shared_behaviour';
import { findImagesSpec } from './find_i... |
(function() {
class Handler {
constructor(private name: string) {
}
callme() {
console.log(`${this.name} called`);
}
makeBindedCallMe() {
return this.callme.bind(this);
}
}
let timerHandler = new Handler('timer handler');
// 1.
... |
import React from 'react'
import { axe } from 'jest-axe'
import { render, fireEvent } from '@testing-library/react'
import { Button } from './Button'
describe('Button', () => {
it('shoud render a button if there is no to prop', () => {
const { queryByRole } = render(<Button />)
expect(queryByRole('button')).... |
import React from "react"
import type { AppProps } from "next/app"
import { ThemeProvider } from "styled-components"
import { Layout } from "components/Layout"
import { GlobalStyles, theme } from "styles"
export default function BlogApp({ Component, pageProps }: AppProps) {
return (
<ThemeProvider theme={theme}... |
import { EntityRepository, Repository } from 'typeorm';
import Event from '../models/Event';
@EntityRepository(Event)
class EventsRepository extends Repository<Event> {
public async findByDate(
fromDate: Date,
toDate: Date,
userId: string,
): Promise<Event[]> {
const findEvent = await this.query(
... |
/* electron.ts – electron-specific functions made to work cross-platform. */
import { app } from "electron";
import { existsSync } from "fs";
import { resolve } from "path";
/** The current application directory. Cross-process safe method. */
export function getAppPath(): string {
if (process.type === 'browser')
re... |
// *** 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";
/**
* R... |
import {TestBed, ComponentFixture} from '@angular/core/testing';
import {createGenericTestComponent} from '../test/common';
import {Component} from '@angular/core';
import {NgbDatepickerModule} from './datepicker.module';
import {NgbDatepickerMonthView} from './datepicker-month-view';
import {MonthViewModel} from './... |
'use strict';
import app from './angular.ts';
// Autocomplete service provides data for autocompletion.
app.service('autocompleteService', function($http, $compile, pageService, stateService) {
var that = this;
// Take data we get from BE search, and extract the data to forward it to
// an autocompelete input. Al... |
import { natsWrapper } from './nats-wrapper';
const start = async () => {
if (!process.env.NATS_CLIENT_ID) {
throw new Error('NATS_CLIENT_ID must be defined');
}
if (!process.env.NATS_URL) {
throw new Error('NATS_URL must be defined');
}
if (!process.env.NATS_CLUSTER_ID) {
throw new Error('NATS_C... |
// Auto-generated. Do not edit.
declare const enum Pins {
P0 = 3,
P1 = 2,
P2 = 1,
P3 = 4,
P4 = 5,
P5 = 17,
P6 = 12,
P7 = 11,
P8 = 18,
P9 = 10,
P10 = 6,
P11 = 26,
P12 = 20,
P13 = 23,
P14 = 22,
P15 = 21,
P16 = 16,
P19 = 0,
P20 = 30,
}
... |
import { Selector, createSelector } from 'reselect';
import { UserItem } from 'src/api';
import { AppState, UserState } from 'src/reducers/types';
import { initialState } from 'src/reducers/user';
export const userStateSelector: Selector<AppState, UserState> = (state) => state.user || initialState;
export const selec... |
/* eslint-disable @typescript-eslint/ban-ts-comment */
import { Extension } from 'magic-sdk';
import {
OAuthErrorData,
OAuthPayloadMethods,
OAuthRedirectError,
OAuthRedirectResult,
OAuthRedirectConfiguration,
} from './types';
import { createCryptoChallenge } from './crypto';
export class OAuthExtension ext... |
export type Routes = {
'Default Examples': undefined
'Dark Mode Examples': undefined
'Custom Variants Examples': undefined
'Global Config Examples': undefined
'Global Types Config Examples': undefined
'Single Custom Cases': undefined
'Redux Example': undefined
'Animations Examples': undefined
} |
import { SagaIterator } from 'redux-saga';
import { fork } from 'redux-saga/effects';
import { watchFetchTextResourcesSaga } from './fetch/fetchTextResourcesSagas';
import { parseText, watchFetchFormDataFulfilled } from './replace/replaceTextResourcesSagas';
export default function* textResourceSagas(): SagaIterator ... |
import * as React from 'react';
import { List } from './rcFieldForm';
import { ValidatorRule, StoreValue } from './rcFieldForm/interface';
import warning from '../../utils/warning';
import { FormItemPrefixContext } from './context';
export interface FormListFieldData {
name: number;
key: number;
}
export interfac... |
#!/usr/bin/env node
/*!
* Copyright (c) 2019 Ville de Montreal. All rights reserved.
* Licensed under the MIT license.
* See LICENSE file in the project root for full license information.
*/
import * as prog from 'caporal';
import { about } from './command/about';
import { task } from './command/create/task';
impo... |
// Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0
import React from "react";
import { Text, ThemeConsumer } from "react-native-elements";
import { appTheme } from "../styles";
interface InputErrorMessageProps {
message: string;
}
function InputErrorMessage({ message }: InputErrorMe... |
import { Command } from 'commander';
import { Release } from '../src/Release';
import { ReleaseOptions } from './types';
const program = new Command();
program
.option('-f, --force', 'Overwrite an existing entry')
.requiredOption('-v, --version <string>', 'Release version. Ex: 1.1.0')
.option('-t, --title <strin... |
import * as functions from 'firebase-functions';
export class ArgumentError extends functions.https.HttpsError {
constructor(message: string) {
super('invalid-argument', message);
this.name = 'ArgumentError';
}
}
exports.echoMessage = functions.https.onCall((data) => {
const { message } = data;
if (!m... |
import { Component, OnInit } from '@angular/core';
import { Router, NavigationEnd } from '@angular/router';
import { IconSetService } from '@coreui/icons-angular';
import { freeSet } from '@coreui/icons';
import { HttpClient, HttpParams, HttpHeaders } from '@angular/common/http';
@Component({
// tslint:disable-next... |
import * as tf from '@tensorflow/tfjs';
import loadPretrainedModel, {
PRETRAINED_MODELS_KEYS,
PRETRAINED_MODELS,
} from './loadPretrainedModel';
jest.genMockFromModule('@tensorflow/tfjs');
jest.mock('@tensorflow/tfjs', () => ({
model: (params) => ({
...params,
save: (handlerOrURL) => {
return handl... |
import { Routes, RouterModule } from '@angular/router';
import { ChaincodeSampleComponent } from './chaincode-sample.component';
// import { AuthGuard } from '../auth.guard';
const childRoutes: Routes = [
{
path: '',
// canActivate: [AuthGuard],
component: ChaincodeSampleComponent
}
];
export const rou... |
import { TimeSeries } from '../../../util/Types';
export default class MergeJoiner
{
public static join (series1: TimeSeries[], series2: TimeSeries[]): TimeSeries[]
{
return [...series1, ...series2];
}
} |
<TS language="it" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Fai clic con il tasto destro del mouse per modificare l'indirizzo o l'etichetta</translation>
</message>
<message>
<source>Create a... |
import React, { Component } from 'react';
import { testMount, testSnapshot } from '../../../tests';
import enUS from 'antd/es/locale/en_US';
import ConfigProvider from '..';
describe('📦 ConfigProvider', () => {
testMount(ConfigProvider, {
locale: enUS,
});
testSnapshot(ConfigProvider, {
staticRendered:... |
import {
Getters,
Mutations,
Actions,
Module,
createMapper
} from 'vuex-smart-module';
import { Users } from '@/model/Users';
class UserState {}
class UserGetters extends Getters<UserState> {
get getUserList() {
return Users.list;
}
}
class UserMutations extends Mutations<UserState> {}
class UserA... |
/**
* @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 {Portal} from '@angular/cdk/portal';
import {Direction, Directionality} from '@angular/cdk/bidi';
/**
* Basi... |
import { Component, OnInit } from '@angular/core';
import { ChartType, ChartOptions } from 'chart.js';
import { Router } from '@angular/router';
import { ApisService } from 'src/app/services/apis.service';
import { UtilService } from 'src/app/services/util.service';
import * as moment from 'moment';
@Component({
sel... |
import appendQuery from 'append-query';
export const isObject = (obj: any) => {
return typeof obj === 'object' && obj !== null
}
export const getObjectType = (obj: any) => Object.prototype.toString.call(obj)
export const removeUrlPostfix = (url: string) => {
let res = url.split('?')?.[0] ?? ''
res = res.split(... |
export interface IVcard {
/**
* VERSION: X.X
*/
version: string;
/**
* N, name
*/
N?: string[];
/**
* FN, Full name
*/
FN?: string;
/**
* item1.TEL field
*/
TEL?: {
waid: string;
phone: string;
};
[k: string]: any;
}
/**
* parse vcard body
* @param body vcard body ... |
import { Component, OnInit } from "@angular/core";
import { ActivatedRoute, Router } from "@angular/router";
import { projectResolvers } from "@baw-api/project/projects.service";
import {
regionResolvers,
RegionsService,
} from "@baw-api/region/regions.service";
import {
editRegionMenuItem,
regionMenuItem,
re... |
import {Schedule} from "../states/schedule";
import {defaultSchedule} from "../defaults";
import {ScheduleAction} from "../actions/schedule";
import {
PRIMARY_SCHEDULE_FAILURE,
PRIMARY_SCHEDULE_REQUEST,
PRIMARY_SCHEDULE_SUCCESS,
SCHEDULE_ADD_CUSTOM,
SCHEDULE_DEL_OR_HIDE,
SCHEDULE_UPDATE_ALIAS,
SECONDARY_SCHEDULE... |
import * as React from 'react'
import { MenuItem as MuiMenuItem } from 'material-ui/Menu'
import { ListItemIcon, ListItemText } from 'material-ui/List'
// TYPES
interface IMenuItem {
label: string,
icon: React.SFC | React.ComponentClass,
href: string,
}
interface IMenuItemProps {
key: number,
type: stri... |
import {
ConflictException,
InternalServerErrorException,
} from '@nestjs/common';
import { EntityRepository, Repository } from 'typeorm';
import { AuthCredentialsDto } from './dto/auth-credential.dto';
import { User } from './user.entity';
import * as bcrypt from 'bcryptjs';
@EntityRepository(User)
export class U... |
import { render } from '@testing-library/react';
import React from 'react';
import { Repository } from '../../../types';
import HelmInstall from './HelmInstall';
const repo: Repository = {
kind: 0,
name: 'repo',
displayName: 'Repo',
url: 'http://repo.test',
userAlias: 'user',
};
const defaultProps = {
nam... |
import { Injectable } from '@angular/core';
import { Recipe } from './recipe.model';
import { Ingredient } from '../shared/ingredient.model';
import { ShoppingListService } from '../shopping-list/shopping-list.service';
@Injectable()
export class RecipeService {
private recipes: Recipe[] = [
new Recipe(
... |
import CryptoJS from 'crypto-js';
import { Formik } from 'formik';
import React, { ChangeEvent, MouseEvent, useEffect, useRef, useState } from 'react';
import { useAlert } from 'react-alert';
import Modal from 'react-bootstrap/Modal';
import CurrencyInput from 'react-currency-input-field';
import { useSelector } from '... |
import { Event, Message } from '@klasa/core';
import type { Command, Finalizer } from 'klasa';
import type { Stopwatch } from '@klasa/stopwatch';
export default class extends Event {
public run(_message: Message, _command: Command, _response: Message[], _timer: Stopwatch, finalizer: Finalizer, error: Error): void {... |
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
import { GetSegmentExportJobsRequest, GetSegmentExportJobsResponse } from "../models/index";
import { Command as $Command } from "@aws-sdk/smithy-client";
import { Handler, MiddlewareStack, HttpHandlerOptions as __H... |
import IPosition from "../../interfaces/lexer/IPosition";
import Error from "./Error";
class SyntaxError extends Error
{
// Constructor
constructor(details:string,position:IPosition)
{
super('SyntaxError',details,position);
}
}
export default SyntaxError; |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { LeadsPriorityComponent } from './leads-priority.component';
describe('LeadsPriorityComponent', () => {
let component: LeadsPriorityComponent;
let fixture: ComponentFixture<LeadsPriorityComponent>;
beforeEach(async(() => {
Te... |
/**
* This service keeps tracks of and manages templates in the application.
*/
import { Injectable } from '@angular/core';
import * as nanoid from 'nanoid';
import { BehaviorSubject, Observable } from 'rxjs';
import { Template } from '../interfaces/template.interface';
import { copyObject } from 'src/app/utils/help... |
import commonjs from "rollup-plugin-commonjs"
import sourceMaps from "rollup-plugin-sourcemaps"
import typescript from "rollup-plugin-typescript2"
import { terser } from "rollup-plugin-terser";
const pkg = require("./package.json")
export default {
input: `src/index.ts`,
external: ["vue"],
output: [
... |
import { ErrorDocument } from '../interfaces/json-api.interface';
import { isPlainObject } from './is-plain-object';
import JapiError from '../models/error.model';
/**
* Detects an `ErrorDocument` like object
*
* @param document An unknown object
*/
export function isErrorDocument(document: unknown): document is E... |
export const AsyncFunction: Function;
export const GeneratorFunction: Function;
export declare class TypeValidationError {
constructor(errors: any[], message: string);
name: string;
message: string;
stack: string;
raw: Object;
}
export declare class AggregateError {
constructor(errors: any[], message: str... |
namespace RelatosdeSeguranca.Membership {
@Serenity.Decorators.registerClass()
export class SignUpPanel extends Serenity.PropertyPanel<SignUpRequest, any> {
protected getFormKey() { return SignUpForm.formKey; }
private form: SignUpForm;
constructor(container: JQuery) {
s... |
import OctagonSquareTiling from "./OctagonSquareTiling";
import Point from "./Point";
import TilingPolygon from "./TilingPolygon";
/**
* Represents any polygon in an OctagonSquareTiling
*
* @param {*} tiling
* @param {*} a
* @param {*} b
*/
export default abstract class OctagonSquareTilingPolygon extends TilingP... |
import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
import { Hero } from './hero';
@Injectable()
export class HeroSearchService {
constructor(private http: Http) {}
search(term: string): Observable<H... |
import { Module, AxonClient, ModuleData } from 'axoncore';
import * as commands from './commands/index';
import * as listeners from './listeners/index';
class Core extends Module {
constructor(client: AxonClient, data: ModuleData = {} ) {
super(client, data);
this.label = 'Core';
this.en... |
import { flags } from "@oclif/command";
import { ProjectCommand } from "../../Command";
export default class ServiceDownload extends ProjectCommand {
static aliases: string[];
static description: string;
static flags: {
tag: flags.IOptionFlag<string | undefined>;
variant: flags.IOptionFlag<s... |
import React, { memo, useMemo, useState, useCallback } from 'react'
import styled from 'styled-components'
import { ControlsGroup } from './ControlsGroup'
import { PropertyHeader } from './PropertyHeader'
import { Cell, Toggle } from './styled'
import { Help } from './Help'
import { ChartProperty, Flavor } from '../../... |
/**
* Callable method with generic params and return.
*/
export type TCallable = () => void;
/**
* Optional generic.
*/
export type TOptional<T> = T | null;
/**
* Any generic object.
*/
export type TAnyObject<T = any> = Record<string, T>;
/**
* Any empty object.
*/
export type TEmptyObject = Record<string, n... |
import { Service } from "typedi";
import Twitter from "twitter";
import { MongoDBService } from "../Services/MongoDBService";
import { TweetDBSearch, SearchTweetData } from ".";
import { ElasticSearchService } from "./ElasticSearchService";
type searchQueryOptions = {[key: string]: string| number};
/**
* Twitter ser... |
import { Box, CardActionArea, CardContent, Divider, Grid, Typography } from "@mui/material";
import { useContext, useMemo, useState } from "react";
import Assets from "../../Assets/Assets";
import Character from '../../Character/Character';
import CharacterSheet from "../../Character/CharacterSheet";
import { DatabaseC... |
declare module codediff {
export interface Options {
/**
* Language to use for syntax highlighting.
*
* This parameter is passed through to highlight.js, which does the highlighting.
* Any value it will accept is fine. You can do hljs.getLanguage(language) to see
* if a language code is v... |
import { TestBed } from '@angular/core/testing'
import { PlatformInfoService } from './platform-info.service'
describe('PlatformInfoService', () => {
beforeEach(() => TestBed.configureTestingModule({}))
it('should be created', () => {
const service: PlatformInfoService = TestBed.get(PlatformInfoService)
... |
/*
* Public API Surface of unisys-angular-tab-router
*/
export * from './lib/unisys-angular-tab-router.component';
export * from './lib/unisys-angular-tab-router.module'; |
import { Router } from "../deps.ts";
const router = Router();
// GET users listing.
router.get("/", (req, res, next) => {
res.send("Users are coming shortly!");
});
export default router; |
/**
@license
Copyright 2020 EMEXAL 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 a... |
import { IsNotEmpty } from 'class-validator'
export class CreateTaskDto {
@IsNotEmpty()
title: string
@IsNotEmpty()
description: string
} |
import * as React from 'react'
import { LinkButton } from '../lib/link-button'
import { Octicon } from '../octicons'
import * as OcticonSymbol from '../octicons/octicons.generated'
import { Banner } from './banner'
interface ISuccessBannerProps {
readonly timeout: number
readonly onDismissed: () => void
readonly... |
import {UserAuthPresentation} from "../../../presentations/UserAuth/UserAuthPresentation";
export interface LoginErrorMessagePresenterInterface {
format(): UserAuthPresentation;
} |
import { ArtifactConfig } from '../../domain';
import { addFilesToArtifactContents } from './addFilesToArtifactContents';
import { clearArtifactDirectory } from './clearArtifactDirectory';
import { defineAllPickedFilesSpecified } from './defineAllPickedFilesSpecified';
import { defineAllTracedFilesSpecified } from './d... |
import { ArgumentMetadata, PipeTransform } from '@nestjs/common';
export declare class JoiValidationPipe implements PipeTransform {
private readonly schema;
constructor(schema: Object);
transform(value: any, metadata: ArgumentMetadata): any;
} |
/**
* Copyright (c) Haiku 2016-2018. All rights reserved.
*/
const STRING = 'string';
const FUNCTION = 'function';
const OBJECT = 'object';
function getType (virtualElement) {
const typeValue = virtualElement.elementName;
if (typeValue && typeValue.default) {
return typeValue.default;
}
return typeValue... |
/**
* 调用入口。
* @packageDocumentation
*/
export {
IQSParseOptions,
IQSStringifyOptions
} from './interfaces';
export {
parse
} from './parse';
export {
stringify
} from './stringify';
export {
appendToURL
} from './append'; |
import * as t from 'io-ts';
import { RTTI_id } from '../Scalar/RTTI_id';
import { RTTI_Meta, IMeta } from './RTTI_Meta';
import { RTTI_uri } from '../Scalar/RTTI_uri';
import { RTTI_Element, IElement } from './RTTI_Element';
import { RTTI_code } from '../Scalar/RTTI_code';
import { RTTI_Narrative, INarrative } from './... |
import React from "react"
import {css} from "@emotion/react"
import {DialogDisclosure, DialogStateReturn} from "reakit/Dialog"
import {Tooltip} from "@reach/tooltip"
import {MdHearing, MdPauseCircleOutline, MdPlayCircleOutline} from "react-icons/md"
import {flatMap} from "lodash"
import {BasicMorphemeSegment, morphemeD... |
import IBuild from '@/interfaces/builds/IMacroBuild';
import dashedDirectExpenses from './charts/dashed-direct-expenses';
import dashedTotalExpenses from './charts/dashed-total-expenses';
import directExpenses from './charts/direct-expenses';
import totalExpenses from './charts/total-expenses';
import general from './... |
import { DataVal, Func, Region } from "@atlasacademy/api-connector";
import { FuncDescriptorSections } from "./FuncDescriptorSections";
export default function handleDurationSection(
region: Region,
sections: FuncDescriptorSections,
func: Func.BasicFunc,
dataVal: DataVal.DataVal
): void {
const se... |
/// <reference path="../../../../dist/preview release/glTF2Interface/babylon.glTF2Interface.d.ts"/>
module BABYLON.GLTF2 {
/**
* @hidden
* Interface to store animation data.
*/
export interface _IAnimationData {
/**
* Keyframe data.
*/
inputs: number[],
... |
export interface PnlpError {
message: string; // TODO: this is useful in redux state but probably doesn't belong in the domain.ts. it also needs to carry more information from the Error() and not just the message
}
export class PnlpConstant {
public static INDEX_FILENAME = '.pnlp.json';
public static SETTINGS_FI... |
import React, { Fragment } from "react"
import { Link } from "../components/Link"
import { SEO } from "../components/SEO"
function ArchivesPage() {
return (
<Fragment>
<SEO title="Tech Spotlights Archives" />
<p>Welcome to the TPH tech spotlights archives.</p>
<p>
This regroups the arc... |
import { fetchCusdisLang } from '@/lib/cusdisLang'
import BLOG from '@/blog.config'
import dynamic from 'next/dynamic'
import { useRouter } from 'next/router'
import type { ReactCusdis as ReactCusdisType } from 'react-cusdis'
import { Post } from '@/types'
const UtterancesComponent = dynamic(
() => {
return impo... |
export { Splide } from './core/Splide/Splide';
export { Splide as default } from './core/Splide/Splide';
export { SplideRenderer } from './renderer/SplideRenderer/SplideRenderer';
export * from './components/types';
export * from './constructors';
export * from './types';
export * from './constants/events';
export * fr... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Bot Framework: http://botframework.com
//
// Bot Framework Emulator Github:
// https://github.com/Microsoft/BotFramwork-Emulator
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// MIT License:
// ... |
import type * as d from '../../declarations';
import { isOutputTargetDistTypes } from '../output-targets/output-utils';
import ts from 'typescript';
export const getTsOptionsToExtend = (config: d.Config) => {
const tsOptions: ts.CompilerOptions = {
experimentalDecorators: true,
declaration: config.outputTarg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.