text stringlengths 10 953k |
|---|
import { Row, Col } from 'antd'
import WidgetLoader from 'os/components/widgetLoader'
import { useRootSelector, RootState } from 'os/store'
const Dashboard = () => {
const { widgetIds, register } = useRootSelector(
(state: RootState) => state.page,
)
return (
<Row gutter={[24, 24]}>
<Col span={24... |
import * as N3 from "n3";
import * as RDF from "rdf-js";
import * as fs from "fs";
import * as stream from "stream";
function test_add_prefix() {
const writer: N3.N3Writer = new N3.Writer();
writer.addPrefix('xsd', 'http://www.w3.org/2001/XMLSchema#');
writer.end((error, result) => {
console.log(r... |
import { injectable } from 'tsyringe';
import * as createError from 'http-errors';
import User from './entity';
import UserRepository from './repository';
@injectable()
export default class UserService {
constructor(private userRepository: UserRepository) {}
getUser = async (email: string) => await this.user... |
import {Column} from "../../../../../src/decorator/columns/Column";
import {JoinColumn} from "../../../../../src/decorator/relations/JoinColumn";
import {OneToOne} from "../../../../../src/decorator/relations/OneToOne";
import {User} from "./User";
import {Subcounters} from "./Subcounters";
export class Counters {
... |
// © 2018 Joseph Cameron - All Rights Reserved
// Project: HTML53DRenderer
// Created on 2018-01-09.
import Debug from "Engine/Debug"
import Exceptions from "Engine/Debug/Exceptions"
import Color from "Engine/Graphics/Color"
import WebGLCanvas from "Engine/Graphics/WebGL/WebGLCanvas"
import Vector2 from "Engine/Math/V... |
export * from './def-pool';
export * from './svc-def';
export * from './exceptions'; |
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
import reportWebVitals from './reportWebVitals';
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getE... |
// metadata
export const version = "0.8.13"
export const title = "Uni-Directional Payment Channel"
export const description = "An example of uni-directional payment channels in Solidity"
const html = `<p>Payment channels allow participants to repeatedly transfer Ether off chain.</p>
<p>Here is how this contract is use... |
import { expect } from 'chai';
import { describe } from 'mocha';
import { ddMultBy4 } from '../../../src/index.js';
describe('ddMultBy4', function() {
it('should correctly multiply some double-double precision values by 4',
function() {
let a = [-4.357806199228875e-10, 11_638_607.274152497];
expec... |
import * as React from 'react';
import { FormattedMessage, useIntl } from 'react-intl';
import Box from '@navikt/sif-common-core/lib/components/box/Box';
import { YesOrNo } from '@navikt/sif-common-core/lib/types/YesOrNo';
import intlHelper from '@navikt/sif-common-core/lib/utils/intlUtils';
import { getStringValidator... |
/** @jsx jsx */
import { jsx } from '@emotion/react';
import React, { useCallback, SyntheticEvent } from 'react';
import { Modal } from '@material-ui/core';
import { Colors } from '../../shared/constants/colors';
import DialogProps from './dialog.types';
import DialogContent from './_private/dialogContent';
import Dial... |
import { LoadingSpinner } from '@sourcegraph/react-loading-spinner'
import * as _graphiqlModule from 'graphiql' // type only
import * as H from 'history'
import { upperFirst } from 'lodash'
import * as React from 'react'
import { Link } from 'react-router-dom'
import { from as fromPromise, Subject, Subscription } from ... |
// 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 writing, software
// distributed... |
import { Injectable } from '@angular/core';
import { Message } from '../models/message';
/**
* Declaring SockJS and Stomp : check the assets/js folder and the index.html script section
*/
declare var SockJS;
declare var Stomp;
@Injectable({
providedIn: 'root'
})
export class ChatService {
// Store the chat messa... |
import { Field, ID, ObjectType } from '@nestjs/graphql';
@ObjectType()
export class Cat {
@Field(() => ID)
id: number;
@Field()
name: string;
} |
<TS language="it" version="2.1">
<context>
<name>AddNewAddressDialog</name>
<message>
<source>Dialog</source>
<translation>Finestra di dialogo</translation>
</message>
<message>
<source>My Address</source>
<translation>Il mio indirizzo</translation>
</message>
<me... |
export { Input } from './Input';
export * from './FileInput';
export * from './FileInput/Props'; |
require('./bootstrap');
import React from 'react';
import { render } from 'react-dom';
import { createInertiaApp } from '@inertiajs/inertia-react';
import { InertiaProgress } from '@inertiajs/progress';
const appName =
window.document.getElementsByTagName('title')[0]?.innerText || 'Laravel';
createInertiaApp({
t... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_CN" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About GoldPieces</source>
<translation>关于黑币</translation>
</message>
<message>
<location ... |
export const LocalURI = "mongodb://localhost:27017/portfolio";
export const HostName = "localhost" |
const chart_color_cyan_100: {"name": "--pf-chart-color-cyan-100"; "value": "#a2d9d9"; "var": "var(--pf-chart-color-cyan-100)";}
export default chart_color_cyan_100 |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs, enums } from "../../types";
import * as utilities from "../../utilities";
/*... |
import { Injectable, Logger, NestMiddleware } from '@nestjs/common';
import { Request, Response, NextFunction } from 'express';
@Injectable()
export class LoggerMiddleware implements NestMiddleware {
private logger = new Logger('HTTP');
use(req: Request, res: Response, next: NextFunction) {
const { ip, method... |
/**
* @license Copyright 2021 The Lighthouse Authors. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applica... |
import { CustomData } from '../shared';
import { Nullable } from '../utils';
/** @public */
export interface External {
id: string;
provider: string;
providerName: Nullable<string>;
data: Nullable<CustomData>;
} |
<TS language="ru" 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 { inject, injectable } from 'tsyringe';
import AppError from '@shared/errors/AppError';
import { IProductsRepository } from '../domain/repositories/IProductsRepository';
import { IShowProduct } from '../domain/models/IShowProduct';
import { IProduct } from '../domain/models/IProduct';
@injectable()
class ShowPr... |
import { ActorQueryOperationTypedMediated, IActorQueryOperationOutputBindings, IActorQueryOperationTypedMediatedArgs } from "@comunica/bus-query-operation";
import { IActionRdfSourceIdentifier, IActorRdfSourceIdentifierOutput } from "@comunica/bus-rdf-source-identifier";
import { ActionContext, Actor, IActorTest, Media... |
import { useTranslation } from 'react-i18next';
import styled from 'styled-components';
export interface DashboardProps {}
const TestStyleComponent = styled.div`
color: red;
`;
const Dashboard = () => {
const { t: translate } = useTranslation();
return <TestStyleComponent>{translate('message')}</TestStyl... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { TermsPageComponent } from './terms-page.component';
describe('TermsPageComponent', () => {
let component: TermsPageComponent;
let fixture: ComponentFixture<TermsPageComponent>;
beforeEach(async(() => {
TestBed.configureTesti... |
import { EnumGender } from '../infra/typeorm/entities/Developer';
export default interface ICreateDeveloperDTO {
fullname: string;
hobby?: string;
gender: EnumGender;
dateofborn: Date;
age: number;
level_id: number;
} |
import { hydra } from "../../namespaces";
import { IClass } from "../IClass";
import { IOperation } from "../IOperation";
import ResourceFilterableCollection from "./ResourceFilterableCollection";
/**
* Provides a collection of {@link IOperation} that can be filtered with relevant criteria.
* @class
*/
export defau... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { GraphComponent } from './graph/graph.component';
@NgModule({
imports: [ CommonModule ],
exports: [ GraphComponent ],
declarations: [ GraphComponent ]
})
export class GraphModule { } |
/* GENERATED FILE */
import React, { useContext, useMemo } from 'react'
import { IconProps, IconContext } from '../lib'
import bold from '../bold/GitMerge'
import duotone from '../duotone/GitMerge'
import fill from '../fill/GitMerge'
import light from '../light/GitMerge'
import regular from '../regular/GitMerge'
impor... |
export interface ContentFormProps {
contentItemId: string
/**
* 类型名称
*/
typeName: string
} |
import { Injectable, NgZone } from "@angular/core";
import { ToastController } from "@ionic/angular";
import { TranslateService } from "@ngx-translate/core";
import { BehaviorSubject } from "rxjs";
import { runDelayed } from "src/app/helpers/sleep.helper";
import { Logger } from "src/app/logger";
import { Events } from... |
import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
const routes: Routes = [
{
path: '',
loadChildren: () => import('./pages/ingame/ingame.module').then( m => m.IngamePageModule)
}
];
@NgModule({
imports: [
RouterModule.forRoot(routes,... |
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { RouterModule } from '@angular/router';
import { HttpClientModule } from '@angu... |
/**
* 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 type {PluginOptions} from '@docusaurus/plugin-content-docs';
import {
Joi,
RemarkPluginsSchema,
RehypePluginsSchema,
... |
import { createQueryBuilder, createUseQuery } from "../builder";
import { getUserDetails } from "api/Api";
const builder = createQueryBuilder().query("getUserDetails", getUserDetails);
export const useUserQuery = createUseQuery(builder); |
/*
* Copyright 2021 Collate
* 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 writing,... |
import { Document } from 'mongoose';
export interface IProyects extends Document {
readonly name: String;
readonly link: String;
readonly linkGitHub: String;
readonly technologies: Array<String>;
readonly image: String;
readonly height: Number;
readonly proyectType: String;
} |
import { allChangelogs } from '.contentlayer/data'
import { Changelog } from '.contentlayer/types'
import { MDXComponents } from '@/docs/components/mdx-components'
import Layout from 'src/layouts'
import { GetStaticProps } from 'next'
import { useMDXComponent } from 'next-contentlayer/hooks'
import React from 'react'
... |
/* tslint:disable */
// This is a generated file from running the "createIcons" script. This file should not be updated manually.
import React, { FC } from "react";
import { FontIcon, FontIconProps } from "@react-md/icon";
const BorderAllFontIcon: FC<FontIconProps> = props => (
<FontIcon {...props}>border_all</Font... |
export class AppComponent {
constructor() {
}
static message = "For The Glory!";
} |
/// <reference types="@welldone-software/why-did-you-render" />
import React from "react";
if (process.env.NODE_ENV === "development") {
const whyDidYouRender = require("@welldone-software/why-did-you-render");
whyDidYouRender(React, {
trackAllPureComponents: true,
// include: [/^.*/], // all
include:... |
import { IParticles } from "../../Options/Interfaces/Particles/IParticles";
import { RecursivePartial } from "../../Types";
export interface IShapeValues {
close?: boolean;
fill?: boolean;
particles?: RecursivePartial<IParticles>;
[key: string]: unknown;
} |
import { Listener } from '@sapphire/framework';
import type { ApiRequest } from '../lib/structures/api/ApiRequest';
import type { ApiResponse } from '../lib/structures/api/ApiResponse';
import { ServerEvents } from '../lib/structures/http/Server';
import type { RouteMatch } from '../lib/structures/RouteStore';
export ... |
import { Metrics } from '../constants/Metrics';
import { ToastyEntry } from './ToastyEntry';
import { useSelector } from '../states/store';
import React from 'react';
import styled from 'styled-components';
// == styles =======================================================================================
const Root ... |
import { CommonModule } from '@angular/common';
import { APP_INITIALIZER, NgModule } from '@angular/core';
import { EffectsModule } from '@ngrx/effects';
import { StoreModule } from '@ngrx/store';
import { StateModule } from '../../state/state.module';
import { ANONYMOUS_CONSENTS_STORE_FEATURE } from './anonymous-conse... |
import { combineReducers } from "redux";
import userSessionReducer from "./userSession";
import mainMenuReducer from "./mainMenu";
const rootReducer = combineReducers(userSessionReducer, mainMenuReducer);
export default rootReducer; |
import { PostTagDto } from "src/dto/posttag.dto";
export interface IPosttagRepository {
getAll() : Promise<PostTagDto>;
getById(id: number) : Promise<PostTagDto>;
create(posttag: PostTagDto) : Promise<PostTagDto>;
update(posttag: PostTagDto, id: number) : Promise<PostTagDto>;
delete(id: numbe... |
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
import * as React from 'react'
import AccountBoxFillSvg from '@airclass/icons-svg/lib/asn/AccountBoxFill';
import AntdIcon, { AntdIconProps } from '../components/AntdIcon';
const AccountBoxFill = (
props: AntdIconProps,
ref: React.MutableRefObject<H... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { FormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { StoreModule, Store } from '@ngrx/store';
import { LoginComponent } from './login.component';
// import { MockStore } from '@ngrx/store/... |
import { css, Global } from '@emotion/core';
import React from 'react';
import AssetLoader from './@core/AssetLoader';
import Game from './@core/Game';
import Scene from './@core/Scene';
import SceneManager from './@core/SceneManager';
import useWindowSize from './@core/useWindowSize';
import OfficeScene from './scenes... |
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get('/');
}
getMainHeading() {
return element(by.css('app-root h1')).getText();
}
} |
import { GoogleGtagState } from '../types/GoogleGtagState';
export const state: GoogleGtagState = {
key: null,
product_list: null,
product_current: null,
product_click: null,
home_click: null,
product_wishlist: null,
product_compare: null,
cart: null,
checkout: null,
checkout_begin: null,
checkou... |
const vars = {
border: {
radius: {
default: '5px',
},
},
color: {
grey1: '#f1f1f1',
grey2: '#d0d0d0',
grey3: '#808080',
grey4: '#333',
red: '#E84343',
green: '#68C872',
blue: '#3F82F8',
primary: '#E14E4E',
secondary: '#2A79E8',
},
font: {
family: "'Source ... |
import { injectable, inject } from 'inversify';
import { IAudioPlayer } from './../contracts';
import { VoiceChannel, VoiceConnection } from 'discord.js';
import * as path from 'path';
import { TYPES } from '../ioc/types';
@injectable()
export class AudioPlayerService implements IAudioPlayer {
_ytdl: any;
_workin... |
import { Button, Layout, Result } from 'antd'
import React, { useEffect } from 'react'
import { Link } from 'react-router-dom'
import Footer from '../../components/Footer'
import Header from '../../components/Header'
const Thanks: React.FC = () => {
useEffect(() => {
window.scrollTo(0, 0)
}, [])
return (
... |
export { Physics, IPhysicsOptions, PhysicsState } from './physics'
export { Vec2, Vec2Like } from './vec2'
export * as angles from './angles' |
import React, {useState, useEffect, useRef, KeyboardEvent, useCallback} from 'react';
import {connect, ConnectedProps} from 'react-redux';
import styles from './index.module.scss';
import {sendMessages} from '../../../actions/messages';
import TemplateSelector from '../TemplateSelector';
import 'emoji-mart/css/emoji-ma... |
import { unixEOL } from '@sap-cloud-sdk/util';
import {
multiChangesetResponse,
singleChangesetResponse
} from './changeset-response';
import {
errorChangesetResponse,
errorRetrieveResponse
} from './error-response';
import { getAllResponse, getByKeyResponse } from './retrieve-response';
export const multiRetr... |
import SectionsSlice, {
getDeadSectionId,
getResetSectionId,
getSections,
getSectionsState,
getUnusedSectionId,
} from "store/slices/SectionsSlice";
import store from "store";
describe("SectionsSlice tests", () => {
const state = store.getState().Sections;
beforeEach(() => {
localStorage.clear();
... |
/**
* 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... |
declare namespace ಠ_ಠ.clutz.suppress {
class A {
private noStructuralTyping_suppress_A : any;
foo ( ) : number ;
}
class B extends ಠ_ಠ.clutz.suppress.A {
private noStructuralTyping_suppress_B : any;
}
}
declare module 'goog:suppress' {
import suppress = ಠ_ಠ.clutz.suppress;
export = suppress;
} |
<TS language="cy" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Clic-dde i olygu cyfeiriad neu label</translation>
</message>
<message>
<source>Create a new address</source>
<translation>... |
import { findByText, render } from '@testing-library/react';
import React from 'react';
import GlossaryPageV1 from './GlossaryPageV1.component';
jest.mock('react-router-dom', () => ({
useHistory: jest.fn(),
useParams: jest.fn().mockReturnValue({
glossaryName: 'GlossaryName',
}),
}));
jest.mock('../../auth-p... |
import { TestBed } from '@angular/core/testing';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { DaffCart } from '@daffodil/cart';
import { DaffCartFactory } from '@daffodil/cart/testing';
import { DaffInMemoryCheckoutService } from './checkout.service';
descri... |
import { Filter, Class } from '@ptc-org/nestjs-query-core';
import { Field, ArgsType } from '@nestjs/graphql';
import { ValidateNested } from 'class-validator';
import { Type } from 'class-transformer';
import { AggregateFilterType } from '../query';
export interface AggregateArgsType<DTO> {
filter?: Filter<DTO>;
}
... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ActivatedRoute } from '@angular/router';
import { of } from 'rxjs';
import { HttpHeaders, HttpResponse } from '@angular/common/http';
import { ArtemisTestModule } from '../../test.module';
import { TextExerciseDetailComponent } from 'app/exerci... |
/**
* @author WMXPY
* @namespace Logic
* @description Source
* @override Unit
*/
import { expect } from 'chai';
import * as Chance from 'chance';
import { Source } from '../../../src';
describe('Given an {Source} class', (): void => {
const chance: Chance.Chance = new Chance('logic-source');
it('should... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { CollectionCache, CollectionKey } from "../../../common";
import { CampaignGroups } from "./CampaignGroups";
import { PostAnnexationOptions } from "./PostAnnexationOptions";
export namespace CampaignGroupPostAnnexationOptions {
export const KEY = new CollectionKey("campaign_group_post_annexation_options");
... |
/* Copyright Contributors to the Open Cluster Management project */
import { SelectOption, SelectVariant } from '@patternfly/react-core'
import { render } from '@testing-library/react'
import userEvent from '@testing-library/user-event'
import { axe } from 'jest-axe'
import React, { useState } from 'react'
import { Ac... |
/**
* @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
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
export default [
'es-SV... |
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
export default class CreateTagDto {
@ApiProperty({description:'Enter the name of the tag: ', minLength: 1, default: 'Tag' ,maxLength:20})
readonly name: string;
} |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ProblemComponent } from './problem.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { Anomaly, Subcategory } from '../../../model/Anomaly';
import { deserialize } from 'json-typescript-mapper';
impor... |
import React, { memo } from "react";
import { DataGrid } from "@material-ui/data-grid";
import useModelsList from "./index.hooks";
import { Button } from "@material-ui/core";
const ModelsList = () => {
const { columns, classes, modelsList, onModelSelected } = useModelsList();
return (
<div className={classes.... |
import { Injectable } from '@angular/core';
import { HttpClient, HttpParams } from '@angular/common/http';
import { Observable } from 'rxjs';
import { appConfig } from 'src/app/shared/helpers/config';
import * as D from 'io-ts/Decoder';
import { decodeSnakeCase } from 'src/app/shared/operators/decode';
import { ActionR... |
import { Component, OnInit } from '@angular/core';
import { ImageService } from 'src/app/services/image.service';
@Component({
selector: 'app-main',
templateUrl: './main.component.html',
styleUrls: ['./main.component.scss']
})
export class MainComponent implements OnInit {
public content: string = "";
publi... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About MasterMold</source>
<translation>Informatio de MasterMold</translati... |
import { Component, OnInit } from '@angular/core';
import { ShoppingCartService } from './shopping-cart.service';
import { CartItem } from './types/cart-item';
@Component({
selector: 'app-shopping-cart',
templateUrl: './shopping-cart.component.html',
styleUrls: ['./shopping-cart.component.scss']
})
export class ... |
import { AgnosticAttribute } from '@vue-storefront/core';
import { Product } from '@vue-storefront/magento-api';
export const getAttributeValue = (attribute) => attribute.values;
export const formatAttributeList = (attributes): AgnosticAttribute[] => attributes.map((attr) => {
const attrValue = getAttributeValue(at... |
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
import {IntakeMomentsComponent} from './intake-moments.component';
import {RouterTestingModule} from '@angular/router/testing';
import {NgbModule} from '@ng-bootstrap/ng-bootstrap';
import {HttpClientTestingModule} from '@angular/common/http/testi... |
import React from 'react';
import { Home } from 'src/components/Home';
import { PageLayout } from 'src/pages/layouts/PageLayout';
const _HomePage = () => {
return (
<PageLayout>
<Home />
</PageLayout>
);
};
const HomePage = React.memo(_HomePage);
export default HomePage; |
/**
* @file CakeOne 蛋糕
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconWrapper} from '../runtime';
export default IconWrapper('cake-one', (props: ISvgIconProps) => (
'<?xml version="1.0" encoding="UTF-8"?>'
+ '<svg width=... |
import React, { FC } from "react";
import styles from "./GuiLogo.module.css";
import { LogoSvg } from "../Guiicons";
import { DefaultProps } from "../../types";
import cx from "classnames";
interface Props extends DefaultProps {
/** Size of logo, text scales with logo */
size: number;
/** What happens when click... |
import Joi from 'joi';
import { NextFunction, Request, Response } from 'express';
import { Middleware } from '@decorators/express';
import { ICarDTO } from '../../helpers/interfaces/entities/car.interface';
import CarConstant from '../../constants/car.constant';
import BadRequest from '../../errors/http/bad-request.er... |
import { BncClient } from "../src/client"
import * as crypto from "../src/crypto"
/* make sure the address from the mnemonic has balances, or the case will failed */
export const mnemonic =
"offer caution gift cross surge pretty orange during eye soldier popular holiday mention east eight office fashion ill parrot v... |
export function isGreaterThan(attribute, value, data, key = 'data') {
return data && data[key] && (value < data[key][attribute]);
}
export default isGreaterThan; |
export class BioDareEndPoints {
login_url: string;
logout_url: string;
user_url: string;
user_register_url: string;
user_update_url: string;
user_activate_url: string;
user_requestreset_url: string;
user_reset_url: string;
user_available_login_url: string;
user_academic_email_url: string;
user_s... |
import React from 'react';
import PolymorphThemeProvider from '../../source/styles/theme/PolymorphThemeProvider';
import '../../source/styles/global/fonts.scss';
import '../../source/styles/global/reset.scss';
import { bccExplorerTheme } from '../../source/styles/theme/theme';
import styles from './ThemeDecorator.scs... |
import { FixedPointNumber as FN, MaybeAccount } from "@setheum.js/sdk-core";
import { SwapPromise } from "@setheum.js/sdk-swap";
import { WalletPromise } from "@setheum.js/sdk-wallet";
import { ApiPromise } from "@polkadot/api";
import { Option } from "@polkadot/types";
import { Balance, Permill } from "@polkadot/type... |
/**
* LUSID API
*
* The version of the OpenAPI document: 0.11.3822
* Contact: info@finbourne.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
/**
* An... |
import React from 'react'
import { NoProfileAvatarIcon } from '@honorswap/uiex'
import { Profile } from 'state/types'
import styled from 'styled-components'
export interface ProfileAvatarProps {
profile: Profile
}
const TeamAvatar = styled.img`
border: 1px solid ${({ theme }) => theme.card.background};
border-r... |
import Command from '../../command';
import { fromBase64, unpackCommand, packCommand, buildCommandMessage } from '../../../utils';
import { migrate } from '../../../api/consumer';
import { checkVersionCompatibilityOnTheServer } from '../../../scope/network/check-version-compatibility';
import clientSupportCompressedCom... |
import { Request, Response } from 'express';
import { container } from 'tsyringe';
import { AuthenticateUserService } from '../services/AuthenticateUserService';
class AuthenticateUserController {
async handle(request: Request, response: Response): Promise<Response> {
const { email, password } = request.b... |
import React from 'react'
import KeyboardArrowDownIcon from '@material-ui/icons/KeyboardArrowDown'
import KeyboardArrowUpIcon from '@material-ui/icons/KeyboardArrowUp'
import { IconButton, TableCell, TableHead, TableRow, Typography } from '@material-ui/core'
import useStyles from './styles'
const ReportTableTitle: Re... |
// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
export declare const IoIosAddCircleOutline: IconType; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.