text stringlengths 10 953k |
|---|
import { Module } from '@nestjs/common';
import { AuthService } from './auth.service';
import { PassportModule } from '@nestjs/passport';
import { LocalStrategy } from './local.strategy';
import { AuthController } from './auth.controller';
import { PrismaService } from 'src/prisma/prisma.service';
import { JwtModule } ... |
import React from 'react';
import MyDiagram from './MyDiagram';
import { DiagramState, modelSelector, NodeModel } from '../reducers/diagramReducer';
import { connect } from 'react-redux';
import { Dispatch } from 'redux';
import {
nodeSelected,
nodeDeselected,
removeNode,
removeLink,
UpdateNodeTextE... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_CN" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Powercoin</source>
<translation>关于莱特币</translation>
</message... |
interface Random {
nextInt(max: number): number;
}
export default Random; |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { SavedObjectIndexStore } from './saved_object_store';
describe('Lens... |
// @ts-ignore: package.json will be imported from dist folders
import packageInfo from "../package.json"; // eslint-disable-line
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
import { defa... |
function reloadSelect(id: string) {
//現状のURLからpageは抜いてリロード
const value = (document.getElementById(id) as HTMLInputElement).value;
const url = new URL(location.href);
url.searchParams.delete('page');
document.cookie = `${id}=${value};Path=/`;
location.href = url.href;
}
// 「全て選択」チェックで全てにチェック付く
... |
import React from 'react'
const trophy2 = () => {
return (
)
}
export default trophy2 |
/** @format */
export function clamp(num: number, min: number, max: number): number {
return Math.min(Math.max(num, min), max);
}
export function stepify(num: number, step_value: number) {
return Math.round(num / step_value) * step_value;
} |
import createPool from "./createPool";
import { Tenant } from "@magda/typescript-common/dist/tenant-api/Tenant";
import * as pg from "pg";
import * as _ from "lodash";
export interface DatabaseOptions {
dbHost: string;
dbPort: number;
}
export default class Database {
private pool: pg.Pool;
construct... |
export default {
name: 'teleport-project-react',
files: [
{
name: 'package',
content: `
{
"name": "teleport-project-react",
"version": "1.0.0",
"private": true,
"dependencies": {
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router-dom": "5.1.2",
"react-helmet": "^5.2.... |
import { isPrimitive, isPlainObject, isEmptyObject } from "./common"
// shallow clone, doesn't preserve type
function clone(value) {
if (isPrimitive(value)) {
return value
}
if (Array.isArray(value)) {
return value.slice(0)
}
return Object.assign({}, value)
}
function clonePatch(t... |
import webpack from 'webpack';
import VirtualModulePlugin from 'webpack-virtual-modules';
module.exports = {
addons: [],
babel: async (config: webpack.Configuration) => {
return config;
},
managerBabel: async (config: webpack.Configuration) => {
return config;
},
managerWebpack: async (config: webp... |
// @ts-ignore
import { parseConnectionString as parse } from "mongodb-core";
import { NextApiRequest, NextApiResponse } from "next";
import { dbConnect, sendApiResponse } from "@/utils/server-fns";
import { MongoClient, Db, Collection } from "mongodb";
import { UserRecord } from "@/utils/types";
import Joi from "@hapi/... |
require('dotenv').config();
import { assert } from 'chai';
import { describe, it } from 'mocha';
import MusicPlayceClient from '../../lib';
describe('MusicPlayceClient', function () {
it('should authenticate with username & password and set the client token', async function () {
const username = process.env.CLIENT... |
import * as React from 'react';
export interface TokenInterface {
authToken: string | null
authTokenType: string | null
expireAt: Date | null
authState: object | null
}
export interface signInFunctionParams {
token: string,
tokenType: string | 'Bearer',
expiresIn: number,
authState: ob... |
import { Trait } from '@lifaon/traits';
@Trait()
export abstract class TraitSingleLinkedListNodeGetNext<GSelf> {
abstract getNext(this: GSelf): GSelf;
} |
import { Tile } from '@megafon/ui-core';
import * as React from 'react';
export const DemoSlide = ({ children }: Record<string, React.ReactChildren>): JSX.Element => (
<Tile isInteractive shadowLevel="high" radius="rounded">
<div
style={{
height: '200px',
display... |
/**
* Copyright (c) 2020-2021 WebMMB contributors, licensed under MIT, See LICENSE file for details.
*
* @author Michal Malý (michal.maly@ibt.cas.cz)
* @author Samuel C. Flores (samuelfloresc@gmail.com)
* @author Jiří Černý (jiri.cerny@ibt.cas.cz)
*/
import * as React from 'react';
import { ErrorBox } from './co... |
export * from "./Dialog";
export * from "./init";
export * from "./resize"; |
import { IsEmail, IsNotEmpty } from 'class-validator';
export class CreatePlayerDTO {
@IsNotEmpty({ message: 'Name is required' })
readonly name: string;
@IsNotEmpty({ message: 'Phone Number is required' })
readonly phoneNumber: string;
@IsEmail({}, { message: 'E-mail invalid' })
@IsNotEmpty({ message: 'E-... |
type WithCharacterData = {
characterData: SingleCharacterData
displayServer?: boolean
forceSubtitle?: string
characterName?: never
}
type WithForcedData = {
characterName: string
forceSubtitle: string
characterData?: never
displayServer?: never
}
export type CharacterMiniCardProps = {
isCard?: boole... |
import { NgModule, Injectable } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
import { IonicModule } from '@ionic/angular';
import { CommonModule } from '@angular/common';
import { Routes, RouterModule, Resolve, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
import ... |
/*
* Copyright 2020 Juan José González Abril
*
* 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 ... |
// -- copyright
// OpenProject is an open source project management software.
// Copyright (C) 2012-2020 the OpenProject GmbH
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License version 3.
//
// OpenProject is a fork of ChiliProject, which i... |
import {
Body, Controller, Delete, ForbiddenException, Get, InternalServerErrorException,
NotFoundException, Param, ParseIntPipe, Patch, Post, Put, Query, UseInterceptors, Req
} from '@nestjs/common';
import { ApiOperation, ApiResponse, ApiUseTags } from '@nestjs/swagger';
import { FindManyOptions, FindOneOptio... |
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* CreateComponentOutput shape
*/
export interface CreateComponentOutput extends __aws_sdk_types.MetadataBearer {
/**
* Metadata about the response received, including the HTTP status code, HTTP headers, and any request identifiers recognized by the SDK.
... |
import { correctHtml } from 'common/utils'
import { DraftToContentResolver } from 'definitions'
// ACL for article content
const resolver: DraftToContentResolver = async (
{ authorId, content },
_,
{ viewer }
) => {
const isAdmin = viewer.hasRole('admin')
const isAuthor = authorId === viewer.id
if (isAdmi... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ChoroplethComponent } from './charts/choropleth/choropleth.component'
import { LineComponent } from './charts/line/line.component'
import { ScatterPlotComponent } from './charts/scatter-plot/scatter-plot.component'
import... |
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const biFolderMinus: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligat... |
import * as React from 'react';
import { Component } from 'react';
import * as PropTypes from 'prop-types';
import TodoTextInput from './TodoTextInput';
export interface HeaderProps {
addTodo: (text: string) => void;
};
export default class Header extends Component<HeaderProps> {
static propTypes = {
... |
import {CoreOpsMap} from './core-ops.ts';
import {
InflateSkylinkLiteral, DeflateToSkylinkLiteral, Entry,
} from './api/entries/index.ts';
import { Environment } from "./api/environment.ts";
import { SkylinkExtension, SkyRequest, WireRequest, WireResponse, WireType, WireTypeUnknown } from "./types.ts";
export class ... |
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { AuthGuardGuard, HomePageResolverService } from '@i-eat/core'
import { HeaderComponent, SidebarComponent } from '@i-eat/i-eat-modules'
const rootPath = 'app'
const homePath = 'home'
const routes: Routes = [
// {
... |
/// <reference types="node" />
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
import { Readable } from 'stream';
expor... |
import {
AccountsProvider,
ConnectionProvider,
StoreProvider,
WalletProvider,
MetaProvider,
} from '@oyster/common';
import React, { FC } from 'react';
import { ConfettiProvider } from './components/Confetti';
import { AppLayout } from './components/Layout';
import { LoaderProvider } from './components/Loader... |
import { range, Sequence } from '../src'
describe('range', () => {
it('works with a single argument', () => {
const value = range(5).toArray()
expect(value).toEqual([0, 1, 2, 3, 4])
})
it('works with a two arguments', () => {
const value = range(2, 5).toArray()
expect(value).toEqual([2, 3, 4])
... |
/*
* Copyright (c) 2021 Elastos Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, ... |
import { CommandHandler, ICommandHandler } from '@nestjs/cqrs';
import * as clc from 'cli-color';
import { NotificationCommand } from '../../impl/notification.command';
@CommandHandler(NotificationCommand)
export class NotificationHandler
implements ICommandHandler<NotificationCommand> {
async execute(command: Not... |
// Copyright 2017 The Oppia 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 ap... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 - present Instructure, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the ri... |
import { BackSide, BoxGeometry, Mesh, ShaderMaterial, UniformsUtils, Vector3 } from 'three'
/**
* Based on "A Practical Analytic Model for Daylight"
* aka The Preetham Model, the de facto standard analytic skydome model
* https://www.researchgate.net/publication/220720443_A_Practical_Analytic_Model_for_Daylight
*
... |
import cn from 'classnames';
import { bind } from 'decko';
import * as React from 'react';
import { connect } from 'react-redux';
import { Link, RouteComponentProps, withRouter } from 'react-router-dom';
import { bindActionCreators, Dispatch } from 'redux';
import {
Artifact,
checkArtifactWithPath,
checkArtifact... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AddEditAlarmComponent... |
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types";
export const definition: IconDefinition;
export const jamDigg: IconDefinition;
export const prefix: IconPrefix;
export const iconName: IconName;
export const width: number;
export const height: number;
export const ligatures: ... |
import { Router } from 'express'
import apiProduct from './api-product'
import apiCategory from './api-category'
import apiCart from './api-cart'
const router = Router()
router.use('/products', apiProduct)
router.use('/category', apiCategory)
router.use('/cart', apiCart)
export default router |
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
import { baseAvatarNameComponentClass } from '@datahub/shared/components/avatar/avatar-name';
import { Avatar } from '@datahub/shared/module... |
import { Component, ViewChild } from '@angular/core';
import { Observable } from 'rxjs';
import {
TocSection,
TocSectionsContainerDirective,
} from '@biosimulations/shared/ui';
import { ConfigService } from '@biosimulations/shared/services';
import initElementLevelLog from './init-element-level-log.json';
import f... |
function integerBetween (start: number, end: number): number {
const min = Math.ceil(start)
const max = Math.floor(end)
return Math.floor(Math.random() * (max - min + 1)) + min
}
function rotation (increment = 1): number {
const range = Math.floor(360 / increment)
return integerBetween(0, range) * increment... |
export interface ItemNode {
kind: 'item'
url: string
label: string
tbd: boolean
}
export interface SectionNode {
kind: 'section'
url: string | null
label: string
items: Array<ItemNode>
}
function createSection(label: string, url: string | null, items: Array<ItemNode>): SectionNode {
return {
kin... |
/*
Copyright 2016 - 2021 The Matrix.org Foundation C.I.C.
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... |
import React from 'react';
import ReactDOM from 'react-dom';
import { Container } from './container';
ReactDOM.render(
<>
<Container />
</>,
document.getElementById('app'),
); |
import { Module, HttpModule } from '@nestjs/common';
import { PostsController } from './posts.controller';
import { PostsService } from './posts.service';
import { MsgService } from '@app/msg';
@Module({
imports: [HttpModule],
controllers: [PostsController],
providers: [PostsService, MsgService],
})
export class... |
declare namespace matcher {
interface Options {
/**
Treat uppercase and lowercase characters as being the same.
Ensure you use this correctly. For example, files and directories should be matched case-insensitively, while most often, object keys should be matched case-sensitively.
@default false
*/
reado... |
import { Injectable, Logger } from "@nestjs/common";
import { PassportStrategy } from "@nestjs/passport";
import { ExtractJwt, Strategy } from "passport-jwt";
import { User } from "src/users/users.service";
import { jwtConstants, JwtPayload } from "./auth.constants";
@Injectable()
export class JwtStrategy extends Pass... |
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { FullStateComponent } from './full-state.component';
describe('FullStateComponent', () => {
let component: FullStateComponent;
let fixture: ComponentFixture<FullStateComponent>;
beforeEach(async () => {
await TestBed.configureTestin... |
import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* ListFieldLevelEncryptionProfilesInput shape
*/
export interface ListFieldLevelEncryptionProfilesInput {
/**
* <p>Use this when paginating results to indicate where to begin in your li... |
import { Reducer } from 'redux';
import { Actions } from './actions';
import {
IS_SOMETHING_LOADING_STATE_KEY,
RESPONSES_STATE_KEY,
} from '../constants';
export enum RequestsStatuses {
None = 'none',
Loading = 'loading',
Success = 'success',
Failed = 'failed',
Canceled = 'canceled',
}
export type Requ... |
export type TypographyType =
| "display"
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "p"
| "caption"
| "label"
| "none";
export enum TextTag {
display = "h1",
h1 = "h1",
h2 = "h2",
h3 = "h3",
h4 = "h4",
h5 = "h5",
h6 = "h6",
p = "p",
caption = "p",
label = "div",
none = "div... |
import {createContext} from 'react';
import {LocalTimestamp} from '../types';
import {ISpwConcept} from '../actions/util';
type SaveState = { timestamp: LocalTimestamp, item: ISpwConcept } | null
export type ISpwServiceState = {
loadedItem: {
'[server]'?: SaveState,
'[clie... |
import * as https from 'https';
import * as http from 'http';
import { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http';
import * as url from 'url';
import { Readable, Writable } from 'stream';
import { EventEmitter } from 'events';
import { LookupFunction } from 'net';
export { IncomingHttpHeaders, OutgoingHttp... |
const appConfig = {
titlePrefix: 'Little BWI - cari kafe, working space, komunitas, dan banyak lagi',
description:
'Hal-hal positif yang ada di Banyuwangi. Little BWI - cari kafe, working space, komunitas, dan banyak lagi',
siteUrl: 'https://littlebwi.vercel.app'
}
export default appConfig |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import * as Joi from 'joi';
import { resolve } from 'path';
import { LegacyPl... |
import * as React from 'react';
import { CommonProps } from '../../';
import * as types from '../../types';
export interface MultiList extends CommonProps {
beforeValueChange?: (...args: any[]) => any;
customQuery?: (...args: any[]) => any;
dataField: string;
nestedField?: string;
defaultSelected?: types.stringAr... |
import { Flex, Input, Icon } from "@chakra-ui/react";
import { RiSearchLine } from "react-icons/ri";
export function SearchBox() {
return (
<Flex
as="label"
position="relative"
flex="1"
align="center"
alignSelf="center"
ml="6"
py="4"
px="8"
maxWidth={480}
... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import React from 'react';
import { render, fireEvent, waitFor } from '@testing-library/react';
import SignIn from '../../pages/SignIn';
const mockedHistoryPush = jest.fn();
const mockedSignIn = jest.fn();
const mockedAddToast = jest.fn();
jest.mock('react-router-dom', () => {
return {
useHistory: () => ({
... |
import { render, screen, waitFor } from '@testing-library/react';
import { MemoryRouter } from 'react-router';
import * as Marvel from './api/Marvel';
import { Heroes } from './Heroes';
jest.mock('./api/Marvel');
test('page title', async () => {
expect(document.title).toEqual('');
const { rerender } = render(
... |
import * as React from 'react'
import pups from '@pups/js'
import executor from '@redux-store/executor'
import Grid from '@components/Grid'
import Checkbox from '@components/input/Checkbox'
interface DrawerClearCanvasProps {
clear: boolean
ghosts: number
}
const DrawerClearCanvas: React.FunctionComponent<DrawerCl... |
import * as webpack from 'webpack'
import * as path from 'path'
export default {
entry: {
index: path.join(__dirname, '../src/index.tsx'),
options: path.join(__dirname, '../src/options.tsx'),
background: path.join(__dirname, '../src/background.ts'),
},
output: {
path: path.join(__dirname, '../dis... |
import { Module } from '@nestjs/common';
import { CpuService } from './cpu.service';
import { PowerModule } from 'src/power/power.module';
@Module({
imports:[PowerModule],
providers: [CpuService],
exports: [CpuService]
})
export class CpuModule {} |
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.15.10
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ro_RO" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About NOBTCOIN</source>
<translation>Despre NOBTCOIN</translation>
</message>
<message>
<l... |
import { RumResourceEvent } from '@vidyard/browser-rum'
import { createTest, html } from '../../lib/framework'
import { sendXhr } from '../../lib/helpers/browser'
import { flushEvents } from '../../lib/helpers/sdk'
const REQUEST_DURATION = 200
describe('rum resources', () => {
createTest('track xhr timings')
.w... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/**
* Copyright 2017 Google Inc. All rights reserved.
* Modifications 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.or... |
import { motion } from 'framer-motion';
import matter from 'gray-matter';
import React from 'react';
import ReactMarkdown from 'react-markdown';
import Head from '../components/head';
import { fade } from '../styles/animations/transitions';
export async function getStaticProps() {
const fs = require("fs");
const c... |
import { Request, Response, NextFunction } from 'express';
import logger from '../logger';
import config from '../config';
const showHeaders = (config.get('Logger:ShowHeaders') as string).toLowerCase() === 'true';
export default function logMiddleware(req: Request, res: Response, next: NextFunction): void {
if (pro... |
import { ts, SyntaxKind } from 'ts-simple-ast';
import { JSDocParameterTag } from 'typescript';
import * as _ from 'lodash';
import { JSDocParameterTagExt } from '../app/nodes/jsdoc-parameter-tag.node';
export class JsdocParserUtil {
public isVariableLike(node: ts.Node): node is ts.VariableLikeDeclaration {
... |
import { Radio } from './Radio'
import Group from './Group'
import Button from './Button'
Radio.Group = Group
Radio.Button = Button
export { Radio } |
export {FileLocationInterface} from './FileLocationInterface';
export {default as LocalFileLocation} from './LocalFileLocation';
export {default as SpacesFileLocation} from './SpacesFileLocation';
export {default as FileCleaner} from './FileCleaner'; |
interface Props {
color: string;
size: number
}
export const ArrowRight = ({ color, size }: Props) => {
return (
<svg width={size} height={size} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 12H20" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="roun... |
import * as React from "react";
import Quiz from './grid-elements-in-a-row/quiz';
import './App.scss';
export interface HelloProps {
compiler: string;
framework: string;
}
// 'HelloProps' describes the shape of props.
// State is never set so we use the '{}' type.
export class App extends React.Component<HelloP... |
import { Component, OnInit, Output, EventEmitter } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
@Component({
selector: 'app-registration-complete',
templateUrl: './registration-complete.component.html',
styleUrls: ['./registration-complete.component.sass']
})
export class Registrat... |
import * as React from 'react';
export type QatarairwaysProps = {
/**
* Hex color or color name
*/
title?: string;
/**
* The size of the Icon.
*/
color?: string;
/**
* The title provides an accessible short text description to the SVG
*/
size?: string | number;
};
const Qatarairways = Re... |
import { useContext, useEffect } from 'react';
import { useSystemProperties } from './use-system-properties';
import { useIsMountedRef } from '../helpers/use-is-mounted-ref';
import { BalanceReturnType, getAccountBalance } from '../helpers/get-account-balance';
import { useApiProvider } from './use-api-provider';
impor... |
/**
* @file GoldMedalTwo 金牌
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconWrapper} from '../runtime';
export default IconWrapper(
'gold-medal-two',
true,
(props: ISvgIconProps) => (
<svg
width={p... |
export const VARIABLES = {
"adjustment_variables": {
"Agriculture": {
"var6": {
"long_name": "Amount of fertilizer added",
"SVO_name": "land_fertilizer__applied_mass"
},
"var7": {
"long_name": "Amount of weed",
... |
import { inject, injectable } from "inversify";
import LDFetch from "ldfetch";
import { Catalog } from "../../entities/catalog/catalog";
import { Dataset } from "../../entities/catalog/dataset";
import DatasetDistribution from "../../entities/catalog/dataset_distribution";
import { LDLoader } from "../../loader/ldloade... |
/**
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.o... |
export const INLINE_FORM_FIELD_STORY_TYPOGRAPHY_SOURCE = {
html: `
<es-inline-form-field [text]="text" typography="mat-h2">
<mat-form-field>
<input [(ngModel)]="text" matInput />
</mat-form-field>
</es-inline-form-field>
`
}; |
// MOST Web Framework 2.0 Codename Blueshift Copyright (c) 2017-2020, THEMOST LP All rights reserved
export * from "./ClosureParser";
export * from "./PrototypeMethodParser";
export * from "./MathMethodParser";
export * from "./DateMethodParser";
export * from "./StringMethodParser"; |
import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* GetCampaignDateRangeKpiInput shape
*/
export interface GetCampaignDateRangeKpiInput {
/**
* <p>The unique identifier for the application. This identifier is displayed as the <b>Projec... |
/*!
* @license
* Alfresco Example Content Application
*
* Copyright (C) 2005 - 2020 Alfresco Software Limited
*
* This file is part of the Alfresco Example Content Application.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the ... |
import * as THREE from 'three';
declare type FBOSettings<T extends boolean = false> = {
multisample?: T;
samples?: number;
} & THREE.WebGLRenderTargetOptions;
export declare function useFBO<T extends boolean = false>(width?: number | FBOSettings<T>, height?: number, settings?: FBOSettings<T>): T extends true ? ... |
export { GameBoardComponent } from './board/game-board.component';
export { MapBoardComponent } from './map-board/map-board.component';
export { GameSidenavComponent } from './sidenav/game-sidenav.component';
export { GameNavigationComponent } from './navigation/game-navigation.component'; |
import { Col } from 'react-bootstrap';
import styled from 'styled-components';
import { FastCurrencyInput, Form, Input, Select } from '.';
import { FastDatePicker } from './FastDatePicker';
export const InlineForm = styled(Form)`
font-size: 1.44rem;
display: flex;
align-items: baseline;
gap: 0.8rem;
`;
expor... |
import {Game} from "../../Game";
import {SceneComponent} from "../SceneComponent";
import {MeshGroup} from "../../Render/Resources/Mesh/MeshGroup";
import {StaticMesh} from "../../Render/Resources/Mesh/StaticMesh";
import {Box, Vector3} from "../../../Math/Mathf";
export class StaticMeshComponent extends SceneComponen... |
import * as Actions from "./actions";
import { Consts } from "./consts";
export function writeBatchLog(debug: boolean, ...message: any[]) {
const args = ["[Batch]"].concat(Array.prototype.slice.call(arguments, 1));
if (Consts.DevelopmentMode === true && debug === true) {
console.debug.apply(console, args);
}... |
import './AttachmentExampleIcon.css';
import React from 'react';
import { cnDocsDecorator } from '../../../../../uiKit/components/DocsDecorator/DocsDecorator';
import { cnDocsExample } from '../../../../../uiKit/components/DocsExample/DocsExample';
import { cn } from '../../../../../utils/bem';
import { Attachment } ... |
import { Component, OnInit } from '@angular/core';
import { FormGroup, FormBuilder } from "@angular/forms"
import { RxwebValidators } from '@rxweb/reactive-form-validators';
import { HttpClient } from '@angular/common/http';
import { FormBuilderConfiguration,RxFormBuilder} from '@rxweb/reactive-form-validators';
import... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.