text stringlengths 10 953k |
|---|
import { TraverseComponentViaPreviewStructureParentFirst } from '../../../../utils/componentTraversal/traverseComponentsViaPreviewStructure/traverseComponentsViaPreviewStructureParentFirst';
import { ComponentPreviewTraversalState } from '../../../../../../../interfaces/componentTraversal';
import { Subcomponent, Works... |
export function getSeed() {
return Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
} |
export * from './MdHeading' |
import {File} from "@atomist/rug/model/File";
import {EditFunction} from "../EditFunction";
import {Params} from "../Params";
import {Project} from "@atomist/rug/model/Project";
import { liquibaseFunctions } from "../../../functions/LiquibaseFunctions";
export class AddCombinationTableChangeSet extends EditFunction {... |
import React from "react";
import debounce from "lodash/debounce";
import { AutoComplete } from "@webiny/ui/AutoComplete";
import { i18n } from "@webiny/app/i18n";
import { Link } from "@webiny/react-router";
import { useNewRefEntry } from "../hooks/useNewRefEntry";
import { useReference } from "./useReference";
import... |
export default () => ({
port: process.env.PORT || 3000,
urlmongo: process.env.URLMONGO || 'mongodb+srv://user_node_cafe:zabdiel1@mycluster.iafyy.mongodb.net/lds'
}) |
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'app-about',
templateUrl: './about.component.html',
styleUrls: ['./about.component.scss']
})
export class AboutComponent implements OnInit {
@Input() title: any;
public myMask = false;
constructor() { }
ngOnInit() {
}
pu... |
import type { ColProps } from '../grid/Col';
import Col from '../grid/Col';
import type { FormLabelAlign } from './interface';
import { useInjectForm } from './context';
import type { RequiredMark } from './Form';
import { useLocaleReceiver } from '../locale-provider/LocaleReceiver';
import defaultLocale from '../local... |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export type DiffOptionsColor = (arg: string) => string; // subset of Chalk type
export type DiffOptions = {
... |
export const lang = {
index: {
reg_placeholder: "将你想要查询的DAS(https://da.systems)账号列表(以空格或换行分割)输入即可批量查询",
save_history: "保存查询历史",
save_history_tips: "保存查询列表到浏览器,下次可以在同一浏览器加载历史",
load_history: "加载查询历史",
load_history_tips: "加载保存在浏览器中的历史数据",
search: "查询",
empty_tips: "暂时没有东西",
... |
export type XWSSquadron = {
faction: string;
pilots: Pilot[];
name?: string;
description?: string;
obstacles?: string[];
points?: number;
vendor?: Map<string, Vendor>;
version?: string;
}
export type Pilot = {
id: string;
ship?: string,
... |
/* Lib imports */
import express from "express";
import bodyParser from "body-parser";
import mongoose from "mongoose";
/* Feature imports */
import beveragesRouter from "../api/beverages/routes";
/* Util imports */
import { BASE_URL, MONGO_URI } from "../app/constants";
/* Config */
const app = express();
/* Datab... |
import * as React from 'react';
import { GetProps } from '_helpers';
import SvgIcon from '@material-ui/core/SvgIcon';
// tslint:disable:max-line-length
function AddPerson(props: GetProps<typeof SvgIcon>) {
return (
<SvgIcon {...props} viewBox="0 0 16 16">
<path fillRule="evenodd" clipRule="evenodd" d="M9.... |
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
import { PutBucketLoggingRequest } from "../models/models_0";
import {
deserializeAws_restXmlPutBucketLoggingCommand,
serializeAws_restXmlPutBucketLoggingCommand,
} from "../protocols/Aws_restXml";
import { getBucketEndpoin... |
import { IWalletConnector, WalletConnector, WalletManager } from '.';
import { getLogger } from '../util/logger';
import { Network } from '../util/types';
const logger = getLogger()
export class WalletConnectorFactory {
private readonly _walletManager: WalletManager
constructor(walletManager: WalletManager) {
... |
import { scim } from '../../shared/proto/ic-service';
import IUser = scim.v2.IUser;
export interface Identity {
account: UserInfo;
scopes: string[];
sandbox: boolean;
}
export interface UserInfo {
scim: IUser;
sub: string;
connectedAccounts: SimpleAccountInfo[];
}
export interface Visa {
type: string;
... |
import { UserDTO } from './../../common/models/users/user-data.dto';
import { CreateLoanModalComponent } from './create-loan-modal/create-loan-modal.component';
import { StatusENUM } from './../../common/enums/status.enum';
import { CurrentLoanDTO } from './../../common/models/current-loan.dto';
import { AllPaymentsDTO... |
export { BodyStart } from './BodyStart';
export { Header } from './Header';
export { ItemQuestion } from './ItemQuestion';
export { ItemReport } from './ItemReport'; |
import React from 'react';
import { render, cleanup } from '@testing-library/react';
import { typeIs } from '@leafygreen-ui/lib';
import Popover from './Popover';
import { Align, Justify } from './types';
afterAll(cleanup);
describe('packages/Popover', () => {
const { container, unmount } = render(
<>
<bu... |
import { Inject } from '@angular/core';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs';
import { filter, map, publishReplay, refCount, switchMap } from 'rxjs/operators';
import { CFAppState } from '../../../../../cloud-foundry/src/cf-app-state';
import {
serviceInstancesEntityType,
serviceP... |
import { isOk } from '../../../../../lib/utils';
import { IParameters } from '../../../../redux/reducers/formulas';
import * as React from 'react';
import * as _ from 'lodash';
const MathJax = require('react-mathjax');
import './ParametersTable.scss';
export type KeyValueType = {
key: string,
value: number | s... |
import { NgModule, Optional, SkipSelf } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { ConfigService } from './config.service';
import { PathsService } from './paths.service';
import { WebHelperService } from './web-helper.service';
import... |
// 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... |
import { Command, Logger, PermissionLevel } from "disharmony"
import { Message } from "../../models/message"
import SetJoinable from "../set-joinable"
async function invoke(params: string[], message: Message)
{
await message.reply("The `allow` command is deprecated, please use the `set-joinable` command instead. I... |
import { Storage } from '@ionic/storage';
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams, PopoverController } from 'ionic-angular';
import { PopoverComponent } from '../../components/popover/popover';
@IonicPage()
@Component({
selector: 'page-user',
templateUrl: 'user.html'... |
/*
* Copyright © 2018 Cask Data, Inc.
*
* 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 t... |
import { Client } from '../Client';
import { GuildChannel } from './Channel';
import { User } from './User';
import { Guild as IGuild, CreateGuild } from '../api/v1/api/guilds';
import { Collection } from '..';
export class Guild {
client: Client;
id: string;
name: string;
createdAt: Date;
iconURL: string;
... |
import {spec, Predicate} from '../../src/spec';
import * as sinon from 'sinon';
import {assert} from 'chai';
suite('spec fixture', () =>{
test('spec test', () =>{
let stub = sinon.stub().onFirstCall().returns(true).onSecondCall().returns(false);
let mySpec = spec(stub);
let result = mySpec(2);... |
import express from 'express';
import cors from 'cors';
import morgan from 'morgan';
//import connection from '../cars_database/database';
import { connect } from '../convert_database/database/mongodb';
import Routes from './routes/router';
class App {
public express: express.Application
public constructor... |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { UserComponent } from './component/user.component';
import { AppComponent } from './app.component';
import {AboutComponent} from './component/about.component'
import {ReactiveFormsModule,FormsModule} from... |
import {
IsNumber,
IsString,
Min,
Max,
IsLongitude,
IsLatitude,
} from 'class-validator';
export class CreateReportDto {
@IsNumber()
@Min(0)
@Max(1000000)
price: number;
@IsString()
make: string;
@IsNumber()
@Min(1930)
@Max(2050)
year: number;
@IsLongitude()
lng: number;
@IsLa... |
import { assert } from "chai";
import * as path from "path";
import { VSCodePosition } from "@common/types";
import {
OnTypeDefinition,
setupMockLanguageServer,
} from "../../../helpers/setupMockLanguageServer";
import { forceToUnixStyle } from "../../../helpers/forceToUnixStyle";
describe("Parser", () => {
desc... |
import { createNodeDescriptor, INodeFunctionBaseParams } from "@cognigy/extension-tools";
import axios from 'axios';
export interface IGetEventInviteesParams extends INodeFunctionBaseParams {
config: {
connection: {
personalAccessToken: string;
};
eventId: string;
inviteeEmail: string;
status: stri... |
import { HyperionModule } from '../../../core/module/HyperionModule';
import { HyperionBaseProcessType } from '../../../util/HyperionBaseProcessType';
import { LinesToListProcess } from 'asteria-cronos';
import { AbstractHyperionModule } from '../../../core/module/AbstractHyperionModule';
import { LinesToListValidator ... |
import { Injectable, PipeTransform, ArgumentMetadata } from '@nestjs/common';
import { ValidationException } from '../exceptions';
import { JoiRegisteredSchemas, ValidationError } from '../interfaces';
@Injectable()
export class JoiValidationPipe implements PipeTransform {
constructor(private schemas: JoiRegisteredS... |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/* eslint-disable comma-spacing */
// Note: these tests are basically pin tests, given that we're rendering svgs,
// these tests serve to ensure that the rendered output is exactly at the author
// intended. As a consequence, you may need to re-pin these tests if you change
// things.
import React from 'react';
impor... |
interface pos {
x: number;
y: number;
}
interface shape {
w: number;
h: number;
}
function intersectLength(theta, alpha, width, height): shape {
const beta = 2 * (Math.PI / 2 - alpha); // Angle between top corners
let x;
let y;
if (theta >= -alpha && theta < alpha) {
// 1st qu... |
/* tslint:disable */
/* eslint-disable */
export * from './Account'
export * from './AggregationEnum'
export * from './AuthIssuerEnum'
export * from './BillPeriodEnum'
export * from './BillingPeriodEnum'
export * from './BulkCreateInviteRequest'
export * from './ButtonField'
export * from './ButtonFieldRequest'
export ... |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { SignInComponent, SignUpComponent } from './components';
const routes: Routes = [
{ path: 'signin', component: SignInComponent },
{ path: 'signup', component: SignUpComponent },
];
@NgModule({
imports: [Ro... |
import { Component } from '@angular/core';
import { PoDialogService, PoNotificationService, PoToolbarAction, PoToolbarProfile } from '@portinari/portinari-ui';
@Component({
selector: 'sample-po-toolbar-logged',
templateUrl: './sample-po-toolbar-logged.component.html',
providers: [PoNotificationService]
})
expor... |
import * as path from 'path'
import { unflatten } from 'flat'
import { getToken, getUploadFiles, getUploadFilesWithRaw } from '../src/utils'
import en from './fixtures/nest/en.json'
import ja from './fixtures/nest/ja.json'
import { RawLocaleMessage } from 'vue-i18n-locale-message'
// ------
// mocks
// fs module
jest... |
import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { TeamService } from '../../services/domain/team.service';
import { TeamDTO } from '../../models/team.dto';
@IonicPage()
@Component({
selector: 'page-team-edit',
templateUrl: 'team-edit.html',
})
... |
import { Question } from "./question.model";
import { SingleMultipleAnswerQuestion } from "./single-multiple-question";
import { CodeSnippetQuestion } from "./code.snippet.model";
export class QuestionBase {
question: Question;
singleMultipleAnswerQuestion: SingleMultipleAnswerQuestion;
codeSnippetQuestion: Cod... |
// smithy-typescript generated code
import { Logger as __Logger } from "@aws-sdk/types";
import { parseUrl } from "@aws-sdk/url-parser";
import { defaultRegionInfoProvider } from "./endpoints";
import { LookoutVisionClientConfig } from "./LookoutVisionClient";
/**
* @internal
*/
export const getRuntimeConfig = (con... |
import { Quasar, Notify, Dialog, LoadingBar, Loading } from 'quasar'
export function initQuasar(app) {
app.use(Quasar, {
config: {
brand: {
primary: '#151515',
sunshine: '#f4f4f4',
whiteField: '#E2E1E1',
darkBG: '#151515',
},
globalProperties: {},
screen: {... |
import React from 'react';
import { createPlugin } from 'react-plugin';
import { RouterSpec } from '../Router/public';
import { RendererCoreSpec } from '../RendererCore/public';
import { RendererHeaderSpec } from './public';
import { RendererHeader } from './RendererHeader';
const { plug, register } = createPlugin<Ren... |
// (C) 2019-2021 GoodData Corporation
import { validateFilterOption } from "../OptionValidation";
import {
IExtendedDateFilterErrors,
IUiAbsoluteDateFilterForm,
IUiRelativeDateFilterForm,
DateFilterOption,
} from "../../interfaces";
describe("validateFilterOption", () => {
describe("absoluteForm va... |
import { PollingArticleResource } from '__tests__/common';
import SubscriptionManager, { Subscription } from '../SubscriptionManager';
import { SubscribeAction, UnsubscribeAction } from '../../types';
import {
UNSUBSCRIBE_TYPE,
SUBSCRIBE_TYPE,
RECEIVE_TYPE,
} from '../../actionTypes';
function onError(e: any) {... |
import { iterableSome, arrayIntercalate } from "collection-utils";
import { anyTypeIssueAnnotation, nullTypeIssueAnnotation } from "../Annotation";
import { ConvenienceRenderer, ForbiddenWordsInfo } from "../ConvenienceRenderer";
import { Name, Namer, funPrefixNamer } from "../Naming";
import { EnumOption, Option, Str... |
import { Injectable } from '@angular/core';
import { Router } from '@angular/router';
// import { TranslateService } from '@ngx-translate/core';
import { ToastrService } from 'ngx-toastr';
import { BehaviorSubject, Observable, Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { MainResponse } f... |
/* eslint-disable @typescript-eslint/ban-ts-ignore,no-unused-expressions */
import { describe, it } from 'mocha'
import { expect } from 'chai'
import { Args } from './args'
import { CortezaTypes } from './args-corteza'
import { Module } from '../compose/types/module'
describe(__filename, () => {
it('should provide ... |
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { ErrorModule } from 'src/app/components/error/error.module';
import { RouterTestingModule } from '@angular/router/testing';
import { AppInputModule } from 'src/app/components/input/app-input.module';
import { HttpClientTestingModu... |
import {ChildEntity, Column} from 'typeorm';
import {MediaEntity, MediaMetadataEntity} from './MediaEntity';
import {VideoDTO, VideoMetadata} from '../../../../common/entities/VideoDTO';
export class VideoMetadataEntity extends MediaMetadataEntity implements VideoMetadata {
@Column('int')
bitRate: number;
@Co... |
export interface EditNoteReqBody {
id: string;
title?: string;
body?: string;
} |
import React, { Fragment, useState } from "react";
import { useTranslation } from "react-i18next";
import {
Button,
ButtonVariant,
Divider,
Select,
SelectOption,
SelectVariant,
Toolbar,
ToolbarContent,
ToolbarItem,
} from "@patternfly/react-core";
import { FilterIcon } from "@patternfly/react-icons";
... |
import {Injectable} from '@angular/core';
import {HttpClient} from '@angular/common/http';
import {Observable} from 'rxjs';
import {Image} from '../model/image';
import {environment} from '../../environments/environment';
@Injectable({
providedIn: 'root'
})
export class ImageService {
constructor(private httpCl... |
declare module 'volleyball'; |
import { User } from 'types/User';
import { Enrollment } from 'types';
import { Maybe, Nullable } from 'types/utils';
import APIHandler from './lms';
const EnrollmentApi = (resourceLink: string) => {
const LMS = APIHandler(resourceLink);
return {
get: async (user: Nullable<User>) => {
return LMS.enrollm... |
// Styles
import './VCalendarWeekly.sass'
// Mixins
import VCalendarWeekly from './VCalendarWeekly'
// Util
import { VTimestamp, parseTimestamp, getStartOfMonth, getEndOfMonth } from './util/timestamp'
/* @vue/component */
export default VCalendarWeekly.extend({
name: 'v-calendar-monthly',
computed: {
stati... |
import moment from "../../../src/utils/momentWithTimezone";
import { fullyearFormat } from "../../../src/utils/dateFormats";
const currentYearDate = moment().format(fullyearFormat);
const nextYearDate = moment().add(1, "year").format(fullyearFormat);
const currentSeason = `${currentYearDate}${nextYearDate}`;
context... |
/// <reference path="../../references.d.ts" />
/// <reference path="./typings/objc!MBProgressHUD.d.ts" /> |
import * as React from 'react';
import {
Com,
TextCom,
ImageCom,
VideoCom,
PhotoGetCom,
LottieCom,
} from '../../types/coms';
import { TEXT, IMAGE, VIDEO, PHOTO_GET, LOTTIE } from '../../constants/coms';
import Text from '../create/Text';
import Image from '../create/Image';
import Video from '../create/Vid... |
import { RouterModule, Routes } from '@angular/router';
// components
import { HomeComponent } from './home/home.component';
import { CompareEditorComponent } from './compare-editor/compare-editor.component';
import { AboutComponent } from './about/about.component';
export const appRoutes: Routes = [
{ path: '', co... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {assert} from 'chai';
import type * as puppeteer from 'puppeteer';
import {$, getBrowserAndPages, step} from '../../shared/helper.js';
import {des... |
export interface FlexPropsType {
direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
justify?: 'start' | 'end' | 'center' | 'between' | 'around';
align?: 'start' | 'center' | 'end' | 'baseline' | 'stretch';
disabled?: boolean;
}
export interfac... |
// @module: amd
const foo = foo; // compile error
export const bar = bar; // should be compile error
function f() {
const bar = bar; // compile error
}
namespace NS {
export const bar = bar; // should be compile error
}
let foo1 = foo1; // compile error
export let bar1 = bar1; // should be compile error
function f... |
import * as React from "react";
import {
Component,
ComponentProps
} from "../component";
interface ScrollDrawerState{
direction: "" | "up" | "down";
hidden: boolean;
lastDown: number;
lastScrollTop: number;
lastUp: number;
offset: boolean;
scrollTop: number;
top: boolean;
}
... |
import { useCallback } from 'react'
import { NewOptionValue, NoOptionsValue } from '../constants'
import type { OnValidate, TagSuggestion } from '../sharedTypes'
export type InternalOptionsArgs = {
newOptionText: string
noOptionsText: string
onValidate?: OnValidate
}
export type InternalOptionsValue = {
newTa... |
/**
* @type {boolean} DEBUG is provided as a convenience so that debugging code
* that should not be included in a production. It can be easily stripped
* by specifying --define DEBUG=false to the Closure Compiler aka
* JSCompiler. For example, most toString() methods should be declared inside an
* "if (DEBUG)" co... |
import { IncomingMessage, ServerResponse } from 'http'
import { format as formatUrl, UrlWithParsedQuery, parse as parseUrl } from 'url'
import { parse as parseQs, ParsedUrlQuery } from 'querystring'
import { Rewrite } from '../../../../lib/load-custom-routes'
import { normalizeLocalePath } from '../../../../shared/lib/... |
import {
IntrospectionEnumType,
IntrospectionField,
IntrospectionInputObjectType,
IntrospectionInputTypeRef,
IntrospectionInputValue,
IntrospectionListTypeRef,
IntrospectionNamedTypeRef,
IntrospectionNonNullTypeRef,
IntrospectionObjectType,
IntrospectionOutputTypeRef,
Introsp... |
/*
* 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... |
/*
* Copyright 2019 Google LLC. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { MySubscriptionsComponent } from './mysubscriptions.component';
const routes: Routes = [
{
path: '',
component: MySubscriptionsComponent,
data: {
title: 'My Subscriptions'
}
}
];
@NgMod... |
import { Cidade } from "./models/cidade";
import { expect } from "chai";
import { PrimaryKeyType } from "../core/enums/primary-key-type";
import { Cliente } from "./models/cliente";
import { Regiao } from "./models/regiao";
import { SubRegiao } from "./models/sub-regiao";
import { Uf } from "./models/uf";
import { Cont... |
import { HttpErrorResponse, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Observable, throwError } from 'rxjs';
import { catchError } from 'rxjs/operators';
import { NotificationService } from '../modules/shared/services/notifica... |
/*
* @license NewConsensus Platform v0.1
* (c) 2020-2021 KaoGeek. http://kaogeek.dev
* License: MIT. https://opensource.org/licenses/MIT
* Author: chalucks <chaluck.s@absolute.co.th>, shiorin <junsuda.s@absolute.co.th>
*/
import { BaseModel } from "./BaseModel"
export class ActivityNews extends BaseModel{
p... |
import { Provider } from 'injection-js'
import {
ModuleProvidersMetadataKey,
ModuleImportsMetadataKey,
ModuleDeclarationsMetadataKey,
ModuleBootstrapMetadataKey
} from './module_token'
export class SetModule {
static setModuleProviders(providers: Provider[], target: any) {
Reflect.defineMet... |
import { AdapterPool } from './types'
const loadSnapshot = async (
{ snapshotsTableName, query, escapeId, escape }: AdapterPool,
snapshotKey: string
): Promise<string | null> => {
if (snapshotKey == null || snapshotKey.constructor !== String) {
throw new Error('Snapshot key must be a string')
}
const sn... |
import Vue, { DirectiveOptions } from 'vue'
import 'normalize.css'
import ElementUI from 'element-ui'
import SvgIcon from 'vue-svgicon'
import '@/styles/element-variables.scss'
import '@/styles/index.scss'
import App from '@/App.vue'
import store from '@/store'
import { AppModule } from '@/store/modules/app'
import ... |
import { Component, OnInit, AfterViewInit, ViewChild } from '@angular/core';
import { NgbModal, ModalDismissReasons } from '@ng-bootstrap/ng-bootstrap';
import { FormGroup, AbstractControl, FormBuilder, Validators } from '@angular/forms';
import { IMultiSelectOption, IMultiSelectSettings, IMultiSelectTexts } from 'angu... |
import { LazyArgument } from "./utils/LazyArgument";
export function lazyIn<A extends number>(_: LazyArgument<A>) {
return _
}
lazyIn(1)
// @ts-expect-error
lazyIn("ok") |
/**
* 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... |
import { ITechnology } from '../Technology/Technology';
export type IRadarColor = string[];
export interface IRadarColors {
default: IRadarColor;
infrastructures: IRadarColor;
frameworks: IRadarColor;
patterns: IRadarColor;
platforms: IRadarColor;
tools: IRadarColor;
practices: IRadarColor;
} |
/*
* Copyright 2020 The Kubernetes Authors
*
* 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... |
import firebase, {initializeApp} from 'firebase/app';
import Base64 from 'Base64';
import {Platform} from 'react-native';
import React from 'react';
import RootNavigator from './components/navigations/RootStackNavigator';
import RootProvider from './providers';
import {firebaseConfig} from './config';
import {getAuth}... |
import * as CountriesList from 'countries-list';
import ChargingStation, { ChargePoint, Connector, ConnectorType, CurrentType, Voltage } from '../../../../types/ChargingStation';
import { OCPICapability, OCPIEvse, OCPIEvseStatus } from '../../../../types/ocpi/OCPIEvse';
import { OCPIConnector, OCPIConnectorFormat, OCP... |
/**
* Thrown if custom repository inherits Repository class however entity is not set in @EntityRepository decorator.
*/
export declare class CustomRepositoryCannotInheritRepositoryError extends Error {
name: string;
constructor(repository: any);
} |
export type { filterType };
type filterType =
| {
kind: 'dropdown';
name: string;
computeChipLabel?: (value: string) => string;
label: string;
possibleValues: string[];
computeReadableValue?: (value: string) => string;
value: string | undefined;
onChange: (value: strin... |
export default {
colors: [
[20, 12, 28],
[68, 36, 52],
[48, 52, 109],
[78, 74, 78],
[133, 76, 48],
[52, 101, 36],
[208, 70, 72],
[117, 113, 97],
[89, 125, 206],
[210, 125, 44],
[133, 149, 161],
[109, 170, 44],
[2... |
import { Matrix4, Vector3 } from 'three';
import verb from '../../../lib/verb/verb';
import { TransformerType } from '../ITransformable';
import { NPlane } from '../NPlane';
import { NPoint } from '../NPoint';
import { IClosedCurve } from './IClosedCurve';
import { NEllipseArcCurve } from './NEllipseArcCurve';
import {... |
import React, { useEffect } from "react";
import logo from "./logo.svg";
import "./App.css";
import {OnAction} from "onaction";
// class OnAction implements IOnActionListener {
// private static _instance: OnAction = new OnAction();
// private onActionListener = new Object();
// private onActionHashMap = new Map... |
export interface ApplicationServer {
listen(): void
} |
import * as React from "react";
import * as ReactDOMServer from "react-dom/server";
export function renderStaticReactNode(body: React.ReactElement,
title: string,
instanceMetadata: { name: string },
extraS... |
/* eslint-disable @typescript-eslint/no-non-null-assertion */
import { renderWithTheme } from 'utils/tests/helpers'
import { screen } from '@testing-library/react'
import userEvent from '@testing-library/user-event'
import Dropdown from './'
describe('<Dropdown />', () => {
beforeEach(() => {
const title = <h1... |
import { DirectConnectClient } from "./DirectConnectClient";
import {
AcceptDirectConnectGatewayAssociationProposalCommand,
AcceptDirectConnectGatewayAssociationProposalCommandInput,
AcceptDirectConnectGatewayAssociationProposalCommandOutput,
} from "./commands/AcceptDirectConnectGatewayAssociationProposalCommand... |
const fetch = globalThis.fetch;
export { fetch };
declare type _BodyInit = BodyInit;
declare type _RequestInit = RequestInit;
declare type _Response = Response;
export type { _BodyInit as BodyInit, _RequestInit as RequestInit, _Response as Response }; |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-data-binding',
templateUrl: './data-binding.component.html',
styleUrls: ['./data-binding.component.css']
})
export class DataBindingComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
public contadorClique:... |
/*
* Copyright 2020 Spotify AB
*
* 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 i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.