text stringlengths 10 953k |
|---|
import React from 'react';
import { Route, Routes } from 'react-router-dom';
import { Search } from '../pages/Search';
import { Profile } from '../pages/Profile';
import { NotFound } from '../pages/NotFound';
import { ProtectedRoute } from './ProtectedRoute';
export const AppRoutes = (): JSX.Element => (
<Routes>
... |
/* eslint-disable */
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import { HTMLStencilElement, JSXBase } from '@stencil/core/internal';
export namespace Components {
interface GtSpinn... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import { HeroComponent } from './hero/hero.compo... |
import { IsEmail, IsNotEmpty } from 'class-validator';
export class RegisterDTO {
@IsEmail()
@IsNotEmpty()
email: string;
@IsNotEmpty()
password: string;
} |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sk" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Vertex</source>
<translation>O BTestcoine</translation>
</message>
<message>
<location ... |
import { FormControlOptions, useFormControl } from "@chakra-ui/form-control"
import {
chakra,
forwardRef,
layoutPropNames,
omitThemingProps,
PropsOf,
SystemStyleObject,
ThemingProps,
useMultiStyleConfig,
HTMLChakraProps,
} from "@chakra-ui/system"
import { cx, mergeWith, split, __DEV__ } from "@chakra... |
import * as v from 'villa';
import {
CastableType,
CastingContext,
GeneralValidator,
StringCastable,
buildCastingContext,
cast,
} from '..';
export interface ArrayCastingOptions<T> {
/** Separator to split the input string, defaults to ",". */
separator?: string | RegExp;
/** Whether to trim split s... |
/* Copyright (c) 2018-2020 Environmental Systems Research Institute, Inc.
* Apache-2.0 */
import { IRequestOptions, request } from "@esri/arcgis-rest-request";
/**
* Request app-specific token, passing in the token for the current app.
*
* This call returns a token after performing the same checks made by validat... |
// import '../utils/enzymeConfig';
//
// import * as React from 'react';
// import { mount } from 'enzyme';
// import { Provider } from 'react-redux';
// import { ConnectedRouter } from 'react-router-redux';
// import CounterPage from '../../app/containers/CounterPage';
// import { IState } from '../../app/reducers';
/... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {MatAutocompleteModule} from '@angular/material/autocomplete';
import {MatBadgeModule} from '@angular/material/badge';
import {MatBottomSheetModule} from '@angular/material/bottom-sheet';
import {MatButtonModule} from '@ang... |
import {TypedMediaQueryStyleSheet, TypedStyleSheet} from "./TypedStyleSheet";
import {TemplateStringStyleSheet} from "./TemplateStringStyleSheet";
export interface StyleFunction {
(webComponent: any, theme?: any): TypedStyleSheet|TypedMediaQueryStyleSheet|TemplateStringStyleSheet;
} |
import { ComponentFixture, TestBed, inject } from '@angular/core/testing';
import { FormBuilder, NgModel } from '@angular/forms';
import { of, throwError } from 'rxjs';
import { ArtemisTestModule } from '../../test.module';
import { PasswordResetInitComponent } from 'app/account/password-reset/init/password-reset-init.... |
import { getNotifications, getReferences } from "@socialgouv/modeles-social";
import Engine from "publicodes";
import React, { createContext, useMemo, useState } from "react";
import {
handleExecute,
PublicodesIndemniteLicenciementResult,
updateSituation,
} from ".";
import {
PublicodesContextType,
Publicode... |
import {
Body,
Controller,
Delete,
Get,
Logger,
Param,
Post,
UseGuards,
UsePipes,
Query,
} from '@nestjs/common';
import { AuthGuard } from 'src/shared/auth.guard';
import { CustomValidationPipe } from 'src/shared/custom-validation.pipe';
import { User } from '../shared/user.decorator';
import { Com... |
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { FilmesModule } from './filmes/filmes.module';
import { CadastroFilmesComponent } from './filmes/cadastro-filmes/cadastro-filmes.component';
import { ListagemFilmesComponent } from './filmes/listagem-filmes/listage... |
/*
Service for interacting with cloudwatch
*/
import { KeyValue } from '../../common/key-value';
import { DynamoRatchet } from '../dynamo-ratchet';
import { QueryInput, ScanInput } from 'aws-sdk/clients/dynamodb';
export interface CloudWatchMetricsMinuteLevelDynamoCountRequest {
dynamoRatchet: DynamoRatchet;
... |
export interface SelectChangeEventDetail {
value: any | any[] | undefined | null;
} |
import { Message } from "discord.js";
import { Command, handlerLoadOptionsInterface, musicSettingsInterface } from "../../../handler";
module.exports = class extends Command {
constructor({ prefix }: handlerLoadOptionsInterface) {
super("pause", {
categories: "music",
info: "Disconnect from voice channel and ... |
/**
* This file is part of OpenTSDB.
* Copyright (C) 2021 Yahoo.
*
* 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 require... |
import { ProfileModule } from "./profile/profile.module";
import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";
import { AuthGuard } from './../../shared/guards/auth.guard';
import { AdminComponent } from "./admin.component";
const routes: Routes = [
{
path: "",
co... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="af_ZA" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About NewEnglandcoin</source>
<translation type="unfinished"/>
</me... |
export type storageValue = string | null;
export abstract class StorageProvider {
public abstract store(key: string, value: unknown): storageValue;
public abstract retrieve(key: string): storageValue;
public abstract clear(key: string): void;
}
export class MemoryStorageProvider extends StorageProvider ... |
import fs from 'fs'
import path from 'path'
import { createFs, IFS, copy } from 'buffs'
import { Context, inflateFile } from '../freemarker'
import { Recipe, Command } from './recipe'
import { isManifestPath, mergeManifests } from '../android/manifest'
import {
isValueResourcePath,
mergeValueResourceFiles,
} from '... |
import { Injectable } from '@nestjs/common';
import { Model } from 'mongoose';
import { InjectModel } from '@nestjs/mongoose';
import { Ticket } from 'src/interfaces/ticket.interface';
import { CreateTicketDTO, UpdateTicketDTO } from 'src/dto/tickets.dto';
import { User } from 'src/interfaces/user.interface';
import {... |
/*
* @adonisjs/core
*
* (c) Harminder Virk <virk@adonisjs.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
export { InferListFromConfig, hashConfig } from '@adonisjs/hash/build/config'
export { InferDisksFromConfig, driveConfi... |
import { CmdCategory } from '@prisma/client';
import { redisQueue } from '../../data/redisClient';
import { lightErrorEmbed } from '../../shared/embeds';
import { Command } from '../../types/command';
import { QueueItem } from '../../types/queue';
import { tryToConnect } from './utils/client';
import {
sendAddedToQue... |
import buildDebug from 'debug';
import _ from 'lodash';
import request from 'supertest';
import {
DIST_TAGS,
HEADERS,
HEADER_TYPE,
HTTP_STATUS,
LATEST,
TOKEN_BEARER,
} from '@verdaccio/core';
import { Package } from '@verdaccio/types';
import { buildToken } from '@verdaccio/utils';
import { generateRandomH... |
import { Directive, Input, ElementRef } from '@angular/core';
/*
*
*/
@Directive({
selector: '[mkMenuToggle]'
})
export class SidebarLeftToggleDirective {
@Input('mkMenuToggle') item;
/**
* @method constructor
* @param elementRef [description]
*/
constructor(
public elementRef: ElementRef
) {... |
import React from 'react'
import { useTranslation } from 'react-i18next'
import {
useRouteMatch,
Switch,
Route,
Link,
useHistory,
} from 'react-router-dom'
import { Button } from '@material-ui/core'
import PersonAddIcon from '@material-ui/icons/PersonAdd'
import EditIcon from '@material-ui/icons/Edit'
impor... |
const clamp = function(a: number, min: number, max: number): number {
if (a < min) {
return min;
} else if (a > max) {
return max;
}
return a;
};
export default clamp; |
import {
EntityManager,
getManager,
Repository,
TransactionManager,
} from 'typeorm';
import {
HttpException,
HttpStatus,
Injectable,
NotFoundException,
} from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { SolveQuizBookDTO } from './dto/user-solve-quiz-book-request.dto'... |
import React, { FormEvent, useState } from "react";
import Modal from "react-modal";
import { uid } from "react-uid";
import { getUserById } from "../../actions/actions";
import {
Button,
Typography,
TableContainer,
Table,
TableHead,
TableRow,
TableCell,
TableBody,
Select,
MenuItem,
} from "@mui/mat... |
import { SnackbarProvider, SnackbarProviderProps } from 'notistack'
import React, { useLayoutEffect, useRef } from 'react'
export type NotifyType = 'default' | 'info' | 'success' | 'warning' | 'error'
export type NotifyPositions = ['top' | 'bottom', 'left' | 'center' | 'right']
export interface Notify {
(message: s... |
import { Component, OnInit, ViewEncapsulation, EventEmitter, Output, Input } from '@angular/core';
import {ExpandableDivHeaderTags} from './expandable-div-header-tags.enum';
@Component({
selector: 'app-expandable-div',
templateUrl: './expandable-div.component.html',
styleUrls: ['./expandable-div.component.scss']... |
export * from "./common.module"; |
//
// Copyright (c) 2021-present Ganbaro Digital Ltd
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Re-distributions of source code must retain the above copyright
// notice,... |
import EventEmitter from 'eventemitter3'
import type { SyntheticEvent } from './synthetic-event'
import type { SyntheticEventListener, SyntheticEventTarget } from './types'
type EventListeners =
| { fn: SyntheticEventListener, once: boolean }[]
| {
fn: SyntheticEventListener
once: boolean
}
type EventEm... |
import { List, Comparable, Ordering, Applicative, Of } from "./fantasy-land";
import * as L from "./fantasy-land";
export * from "./index";
declare module "./index" {
interface List<A> {
empty(): List<any>;
of<B>(b: B): List<B>;
append(value: A): List<A>;
nth(index: number): A | undefined;
prepe... |
import { ChangeDetectionStrategy, Component } from '@angular/core';
@Component({
selector: 'app-different-sizes',
templateUrl: './different-sizes.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class DifferentSizesComponent {}
export default DifferentSizesComponent; |
/**
* Created by perlerd on 2017-07-09.
*/
import {RuntimeError} from "./errors";
import {decoratedInstToObj, instToObj, objectToSelf} from "./transforms";
export interface Type<T, U> {
instanceToObject: (v: T, cycle: Set<object>) => U;
objectToInstance: (v: U) => T;
}
export const identity: Type<any, any>... |
// Libraries
import _ from 'lodash'
import React, {PureComponent} from 'react'
import {connect} from 'react-redux'
import {withRouter, WithRouterProps} from 'react-router'
// Components
import {Button, EmptyState, Grid, Sort} from '@influxdata/clockface'
import SearchWidget from 'src/shared/components/search_widget/Se... |
import React, { useEffect, useState, useRef, useReducer } from "react";
import { BAR_INACTIVE_COLOR, BAR_ACTIVE_COLOR, } from "../utils/colors";
import { ProgressItemProps } from "../utils/interfaceHelper";
import { progressReducer, initialState, PROGRESS } from "./ProgressReducer";
import { View, StyleSheet, Animated,... |
import dashify from 'dashify'
import parsePath from 'path-parse'
import {
AllDocsMap,
FolderDoc,
FolderDocEditibleProps,
TagDocEditibleProps,
TagDoc,
NoteDoc,
NoteDocEditibleProps,
ExceptRev,
ObjectMap,
Attachment,
PopulatedFolderDoc,
} from './types'
import {
getFolderId,
createUnprocessableE... |
import { Controller, Post, Body, Delete, Get, Param } from '@nestjs/common';
import { Cart } from './cart';
import { Item } from './item.model';
@Controller('cart')
export class CartController {
constructor(private cart: Cart) { }
@Post()
add(@Body() item: Item) {
console.log('item', item);
... |
import React, { useState, useEffect } from "react";
import { ReactSortable } from "react-sortablejs";
import { Grid, Button } from '@material-ui/core';
import Dialog from '@material-ui/core/Dialog';
import './questionComponents.scss';
import ShortAnswerComponent from '../questionTypes/shortAnswerBuild/shortAnswerBuild... |
/**
* External dependencies
*/
import { useMemo, useRef, useEffect } from '@wordpress/element';
/**
* Internal dependencies
*/
import { useStoreNoticesContext } from '../providers/store-notices/context';
type WPNoticeAction = {
label: string;
url?: string;
onClick?: () => void;
};
type WPNotice = {
id: strin... |
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Receipe } from '../../receipe';
@Component({
selector: 'app-receipe-item',
templateUrl: './receipe-item.component.html',
styleUrls: ['./receipe-item.component.css']
})
export class ReceipeItemComponent implements OnInit {
... |
import 'rxjs/add/operator/take';
import { Subscription } from 'rxjs/Subscription';
import { ReflectiveInjector } from '@angular/core';
import { TestBed, getTestBed } from '@angular/core/testing';
import {
StoreModule,
Store,
StateObservable,
ActionReducer,
Action,
ReducerManager,
} from '@ngrx/store';
impor... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import isInstalled from './isInstalled';
import register from './registerNativeModule';
import unregister from './unregisterNat... |
import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* DiscoverPollEndpointInput shape
*/
export interface DiscoverPollEndpointInput {
/**
* <p>The container instance ID or full ARN of the container instance. The ARN contains the <code>ar... |
import { Component, Input, Output, EventEmitter } from '@angular/core';
import { Movie } from './movie.model';
@Component({
moduleId: module.id,
selector: 'my-movie',
templateUrl: 'movie.component.html',
styleUrls: [ 'movie.component.css' ]
})
export class MovieComponent {
@Input() public movie: Movie;
@Output... |
import { GridColumns, GridOverlay, GridRowsProp, XGrid } from '@material-ui/x-grid';
import * as React from 'react';
import { randomCreatedDate, randomUpdatedDate } from '@material-ui/x-grid-data-generator';
function CustomErrorOverlay(props) {
return (
<GridOverlay className="custom-error-overlay">
<div>
... |
import React from "react";
function Loader() {
return (
<div className="flex items-center justify-center ">
<div className="w-8 h-8 border-b-2 border-gray-900 rounded-full animate-spin"></div>
</div>
);
}
export default Loader; |
import firebase from "firebase/app"
import "firebase/functions"
import Web3 from 'web3'
import { firebaseConfig } from "./config"
import { INFURA_PROJECT_ID } from "./constants"
import { htmlTemplate } from "./template"
import { AbiItem } from "web3-utils"
import { abi } from "../../contracts/contracts/artifacts/GLSLM... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CategoryFeatureCarouselComponent } from './category-feature-carousel.component';
import { CmsCategoryFeatureCarouselComponent } from '../../../occ/occ-models';
import { CmsComponentData } from '@spartacus/storefront';
import { of } from ... |
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { MatNativeDateModule } from '@angular/material/core';
import { MatDatepickerModule } from '... |
// *** 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";
/**
* P... |
import Plugin, { IOptions, IApi } from './plugin';
export {
Plugin as default,
IOptions,
IApi,
}; |
import { Component, OnInit } from '@angular/core';
import { NavController } from '@ionic/angular';
import { SettingsService } from '../../services/settings.service';
import { BoxOfQuestionsService } from '../../services/box-of-questions.service';
// This module treats item objects as word objects (obj.word, obj.trans... |
import { Component, OnInit, OnDestroy } from '@angular/core';
import { HttpErrorResponse, HttpHeaders, HttpResponse } from '@angular/common/http';
import { ActivatedRoute, Router } from '@angular/router';
import { Subscription } from 'rxjs';
import { JhiEventManager, JhiParseLinks, JhiAlertService } from 'ng-jhipster';... |
import { X } from 'react-feather'
const CloseIcon = (props) => <X className="cursor-pointer" {...props} />
export default CloseIcon |
import { mergeProps, splitProps } from "solid-js";
import { useComponentStyleConfigs } from "../../theme/provider";
import { classNames, createClassSelector } from "../../utils/css";
import { hope } from "../factory";
import { ElementType, HTMLHopeProps } from "../types";
import { useTableContext } from "./table";
imp... |
import {RouterModule, Routes} from "@angular/router";
import {PhotosComponent} from "./photos.component";
import {AddPhotoComponent} from "./add-photo/add-photo.component";
import {NgModule} from "@angular/core";
import {OverviewComponent} from "./overview/overview.component";
const routes: Routes = [
{
path: '... |
import { useRoute } from '@react-navigation/core';
import React, { FC, useCallback, useEffect, useState } from 'react';
import {
Alert,
Pressable,
SafeAreaView,
ScrollView,
StyleSheet,
Text,
View,
} from 'react-native';
import FastImage from 'react-native-fast-image';
import Api from '../Api';
import colo... |
import { ApiProperty } from '@nestjs/swagger';
import { IsString } from 'class-validator';
import { Constants } from '../../common/constants';
import { ResponseBase } from '../../common/dtoBase/response.dtoBase';
import { User } from '../../users/entities/user.entity';
export class VerifyEmailResponse extends Response... |
import { Injectable } from '@angular/core';
import {Hero} from './hero';
import {HEROES} from './mock-heroes';
@Injectable()
export class HeroService {
getHeroes(): Promise<Hero[]> {
return Promise.resolve(HEROES);
}
} |
import { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient";
import { InstallToRemoteAccessSessionRequest, InstallToRemoteAccessSessionResult } from "../models/models_0";
import {
deserializeAws_json1_1InstallToRemoteAccessSessionCommand,
serializeAws_json1_1InstallTo... |
import { Destroyer } from "./Destroyer";
export { Destroyer };
export default Destroyer; |
import { Plugin } from "@webiny/plugins/types";
import { SecurityIdentity } from "@webiny/app-security";
export type GraphQLPlaygroundTab = {
name: string;
endpoint: string;
headers: Record<string, string>;
query: string;
};
export type GraphQLPlaygroundTabPlugin = Plugin<{
type: "graphql-playgrou... |
import Router, { Middleware } from "@koa/router";
import { isLoggedInDiscord, isCorsace } from "../../../../Server/middleware";
import { Category, CategoryGenerator } from "../../../../Models/MCA_AYIM/category";
import { MCA } from "../../../../Models/MCA_AYIM/mca";
import { ModeDivision } from "../../../../Models/MCA_... |
import { ValidationPipe } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { AllExceptionFilter } from './commons/filters/http-exception.filter';
import { TimeoutInterceptor } from './commons/interceptors/timeout.interceptor';
async function bootstrap(... |
/** @format */
import { Subscription } from 'rxjs'
import CodeMirror, { TextMarker } from 'codemirror'
import { TypeDoc } from '../model'
import { isPresent, PresenterPosition } from '../presenter'
import { logFactory } from '.'
import { IconForTypeModule } from './icon-for-type-module.view'
const log = logFactory().g... |
import React, { useState} from 'react';
import { Fontisto } from '@expo/vector-icons'; //Fontisto: lib withing expo vector icons
import { View, Text, ImageBackground, FlatList } from 'react-native';
import { BorderlessButton } from 'react-native-gesture-handler';
import { Background } from '../../components/Background... |
import { Router, Request, Response } from 'express'
import { success, error } from '../../network/response';
import Server from '../../class/server'
import controller from './index'
const server = Server.instance;
export const router = Router()
const get = async( req: Request, res: Response ) => {
const move = re... |
import styled from 'styled-components/native';
export const Container = styled.TouchableOpacity`
flex-direction: row;
align-items: center;
justify-content: center;
`;
export const Title = styled.Text`
font-size: 14px;
font-family: ${({ theme }) => theme.FONTS.TITLE};
color: ${({ theme }) => theme.COLORS.T... |
export interface IGameInfo {
fileNamePart: string;
title: string;
} |
// __PROFILER_ENABLED__ = true;
import './proto/Creep';
import './proto/Misc';
import './proto/Room';
import './proto/RoomPosition';
import './proto/RoomVisual';
import * as Config from "./config/config";
// import * as FlagManager from "./components/flags/flagManager";
import * as OperationManager from "operation/o... |
import { assertPageContextProvidedByUser } from '../assertPageContextProvidedByUser'
import { assertUsage, hasProp, isObjectWithKeys } from './utils'
import { PageRoutes } from './loadPageRoutes'
import { assertRouteParams } from './resolveRouteFunction'
export { callOnBeforeRouteHook }
export type { OnBeforeRouteHook... |
/*!
* @license
* Copyright 2019 Alfresco, Inc. and/or its affiliates.
*
* 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... |
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { PopoverModule } from 'ng-devui/popover';
import { ResizeDirective } from './resize.directive';
import { SplitterBarComponent } from './splitter-bar.component';
import { Splitt... |
import { By } from '@angular/platform-browser';
import { ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
import { configureTestSuite } from './../../../../util-test/util-expect.spec';
import { PoMultiselectDropdownComponent } from './po-multiselect-dropdown.component';
import { PoMultiselec... |
import { Server, Socket } from 'socket.io';
import { RoomEvent } from 'web-shared';
export default class SocketService {
private onSocketConnectedCallbacks: Array<(socket: Socket) => void> = [];
constructor(private io: Server) {
this.allowRoomJoining();
}
/**
* This will allow room joining for all new... |
import React from 'react';
import { Cell } from 'react-vant';
export default () => {
return (
<>
<Cell title="单元格" isLink />
<Cell title="单元格" isLink value="内容" />
<Cell title="单元格" isLink arrowDirection="down" value="内容" />
</>
);
}; |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from "react";
import { toast } from "react-toastify";
import { Modal, ModalBody, ModalFooter, ModalHeader, InputGroup, Input } from "reactstrap";
import { strings, interpolate } from "../../../../common/strings";
import { IConnecti... |
import * as React from 'react';
import { StyledIconProps } from '../../StyledIconBase';
export declare const FreeCodeCampDimensions: {
height: undefined;
width: undefined;
}; |
import { InputType } from '@nestjs/graphql'
@InputType()
export class CreatePhotoInput {
url: string
} |
interface Source { [key: string]: unknown }
/**
* Returns the value at given path of given object. If path is not found then default value is returned. No exceptions
* are thrown when undefined/null value gets in the way.
*
* @param {Object} source - source object to search in
* @param {string|Array<string>} prop... |
export { default as MenuPage } from "./MenuPage/MenuPage";
export { default as CardPage } from "./CardPage/CardPage";
export { default as Credits } from "./CreditsPage/CreditsPage"; |
import React from 'react';
declare const ChevronRightIcon: React.FunctionComponent;
export default ChevronRightIcon; |
// Copyright 2020 The Kubermatic Kubernetes Platform contributors.
// 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 app... |
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
import { ReaderFragment } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type PaymentApp_me = {
readonly name: string | null;
readonly " $fragmentRefs": FragmentRefs<"PaymentSection_me">;
readonly " $refType": "PaymentApp_... |
import React from 'react'
import { AuthForm } from '@sarair/shared/context'
import { useAuth } from '../../../hooks/useAuth'
import { Form, Input } from '@sarair/desktop/shared/ui'
import { LongButton } from '../index'
interface RegisterProps {
onError: (error: Error) => void
}
export const Register: React.FC<R... |
// Type definitions for minio 7.0
// Project: https://github.com/minio/minio-js#readme
// Definitions by: Barin Britva <https://github.com/barinbritva>
// Lubomir Kaplan <https://github.com/castorw>
// Panagiotis Kapros <https://github.com/loremaps>
// Ben Watkins <https:... |
import { relative } from 'path';
import { ConfigurationService, Context } from '@backyard/types';
import { ContextModeRemote, invariant } from '@backyard/common';
import { NextJsServiceSettings } from './types';
import { getSourceDir } from './util';
export { stage } from './stage';
export function config(
contex... |
/**
* @license
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
/**
* License https://github.com/Remix-Design/RemixIcon/blob/master/License
*/
import { SVGIconDef } from './types';
const ThumbDownFilled: SVGIconDef = {
name: 'thumb-down',
theme: 'filled',
attrs: {
viewBox: '0 0 24 24',
},
children: '<path fill="none" d="M0 0h24v24H0z"/><path d="M22 15h-3V3h3a1 1 0 ... |
import { TestBed } from '@angular/core/testing';
import { Router } from '@angular/router';
import { RouterTestingModule } from '@angular/router/testing';
import { provideMockActions } from '@ngrx/effects/testing';
import { Action } from '@ngrx/store';
import { hot } from 'jasmine-marbles';
import { Observable } from 'r... |
const Env = require('./static/env').env;
const kavaUtils = require('../src/utils').utils;
const KavaClient = require('../src/client').KavaClient;
const KAVA_CONVERSION_FACTOR = 10 ** 6;
var main = async () => {
const recipient = 'kava1g0qywkx6mt5jmvefv6hs7c7h333qas5ks63a6t';
// Start new Kava client
kavaClient... |
declare const jest: any;
export interface IAgentOptions {
keepAlive?: boolean;
keepAliveMsecs?: number;
maxSockets?: number;
maxFreeSockets?: number;
}
export interface IVoidMockInstance {
(): void;
mockReset: () => void;
}
/*
agent.createConnection(options[, callback])
agent.keepSocketAlive(socket)... |
import * as TypeGraphQL from "type-graphql";
import * as GraphQLScalars from "graphql-scalars";
import { Prisma } from "../../../client";
import { DecimalJSScalar } from "../../scalars";
import { MainUserOrderByWithRelationAndSearchRelevanceInput } from "../inputs/MainUserOrderByWithRelationAndSearchRelevanceInput";
im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.