text stringlengths 10 953k |
|---|
import { ObjectID } from "mongodb";
export interface IBier {
_id: ObjectID;
userId: string;
amount: number;
date: Date;
}
export interface IUser {
_id: ObjectID;
name: string;
email: string;
date: Date;
bier: IBier[];
} |
import { ComponentOverviewComponent } from '../../components/shared/component-overview/component-overview.component';
import { Routes, RouterModule } from '@angular/router';
import { setEchartRoutes } from './echarts-content';
import { TdReadmeLoaderComponent } from '../../documentation-tools/readme-loader/readme-load... |
import { FrameElement, FrameElementDelegate, FrameLoadingStyle } from "../../elements/frame_element"
import { FetchMethod, FetchRequest, FetchRequestDelegate, FetchRequestHeaders } from "../../http/fetch_request"
import { FetchResponse } from "../../http/fetch_response"
import { AppearanceObserver, AppearanceObserverDe... |
export type Logger = (logged: string) => void;
export function getLogger(isVerbose: boolean): Logger {
// tslint:disable-next-line:no-console
return isVerbose ? console.log : () => void 0;
} |
import * as Fauna from 'faunadb/src/types/values';
import { Canvas } from './Canvas';
export type CanvasDatasetResult = Fauna.values.Document<Canvas['data']>; |
import { apiClient } from 'app/services/client';
import ApiConfig from 'app/config/api-config';
import { Author } from 'app/screens/ComicInfo/component';
export function GetListComic(start: number, end: number) {
return apiClient.get(ApiConfig.COMIC.lISTCOMIC + `${start}/${end}`)
// return apiClient.get(ApiConfig.... |
import React, { useEffect } from 'react';
import {
FiAlertCircle,
FiCheckCircle,
FiInfo,
FiXCircle,
} from 'react-icons/fi';
import { setTimeout } from 'timers';
import { ToastMessage, useToast } from '../../../hooks/toast';
import { Container } from './styles';
interface ToastProps {
message: ToastMessag... |
import {
CONTRACTS,
DATA_AVAILABILITY,
FORCE_TRANSACTIONS,
NEW_CRYPTOGRAPHY,
OPERATOR,
RISK_VIEW,
STATE_CORRECTNESS,
} from './common'
import { Project } from './types'
export const aztec: Project = {
name: 'Aztec',
slug: 'aztec',
bridges: [
{
address: '0x737901bea3eeb88459df9ef1BE8fF3Ae1... |
import { Network } from '.';
import { UploadInvalidMnemonicError } from './errors';
import { Crypto, EncryptFileFunction, UploadFileFunction } from './types';
export async function uploadFile(
network: Network,
crypto: Crypto,
bucketId: string,
mnemonic: string,
fileSize: number,
encryptFile: EncryptFileFu... |
import * as React from "react";
const Line = () => (
<div
style={{
height: 1,
width: "100%",
backgroundColor: "rgba(0, 0, 0, 0.1)",
margin: "10px 0"
}}
></div>
);
export { Line }; |
import { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient.ts";
import { GetDeviceRequest, GetDeviceResult } from "../models/models_0.ts";
import { deserializeAws_json1_1GetDeviceCommand, serializeAws_json1_1GetDeviceCommand } from "../protocols/Aws_json1_1.ts";
import { ... |
/* Copyright 2020 The TensorFlow 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 applicable law or a... |
import { Component, OnInit, Inject, Input } from '@angular/core';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { IntentService } from '../../services/intent.service';
import {TrainingService} from '../../services/training.service'
import { UtilsService } from '../../services/utils.service'... |
import React, { useContext } from 'react';
import IconLeft from '../../icon/react-icon/IconLeft';
import IconRight from '../../icon/react-icon/IconRight';
import IconUp from '../../icon/react-icon/IconUp';
import IconDown from '../../icon/react-icon/IconDown';
import cs from '../_util/classNames';
import { ConfigContex... |
import React from 'react';
import { Box, FormField, ResponsiveContext } from 'grommet';
import { Formik } from 'formik';
import * as Yup from 'yup';
import { Document } from '@centrifuge/gateway-lib/models/document';
import { AttrTypes, Schema } from '@centrifuge/gateway-lib/models/schema';
import { SearchSelect } 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";
/*... |
/*
* Copyright 2017 OICR
*
* 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... |
import { A } from "ts-toolbelt";
import { M } from "index";
// --- PRIMITIVE ---
const test1: A.Equals<M.Resolve<M.Const<null>>, null> = 1;
test1;
const test2: A.Equals<M.Resolve<M.Const<true>>, true> = 1;
test2;
const test3: A.Equals<M.Resolve<M.Const<"foo">>, "foo"> = 1;
test3;
const test4: A.Equals<M.Resolve<M... |
import { SimulationModel } from "../../models/simulation";
import * as THREE from "three";
export const DEFAULT_UP = new THREE.Vector3(0, 0, 1);
export const PLANE_WIDTH = 1;
export const planeHeight = (simulation: SimulationModel) =>
simulation.config.modelHeight * PLANE_WIDTH / simulation.config.modelWidth;
// ... |
import { render } from '@testing-library/react';
import GoogleCalendar from '../GoogleCalendar';
import { getLocalTimezone } from '../../localization';
jest.mock('../../localization');
const mockGetLocalTimezone = getLocalTimezone as jest.MockedFunction<
typeof getLocalTimezone
>;
it('renders an iframe', () => {
... |
import { normalizeUrl } from '@worldbrain/memex-url-utils'
import { VisitInteraction, PageAddRequest } from '.'
import pipeline, { transformUrl } from './pipeline'
import { Page, FavIcon } from './models'
import { getPage } from './util'
import { PipelineReq, DBGet } from './types'
import { initErrHandler } from './st... |
import { IoLogoGithub, IoOpenOutline } from 'react-icons/io5'
import { Link as ReactRouterLink } from 'react-router-dom'
import {
Box,
Button,
ButtonGroup,
Divider,
Grid,
Link,
styled,
Theme,
Typography,
useMediaQuery,
useTheme,
} from '@mui/material'
import { WhatIsASpace } from '../WhatIsASpace'
import A... |
import { Component } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { TranslateService } from '@ngx-translate/core';
import { App, Events, NavController, NavParams } from 'ionic-angular';
import { Logger } from '../../../providers/logger/logger';
// Pages
import { Dis... |
import {
AfterViewInit,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ElementRef,
EventEmitter,
Input,
NgZone,
OnChanges,
OnDestroy,
Output,
ViewChild,
} from '@angular/core';
import { Subject } from 'rxjs';
import { filter, map, startWith, take, takeUntil } from 'rxjs/operators';
impo... |
import { GraphQLRuleTester, ParserOptions } from '../src';
import rule from '../src/rules/unique-operation-name';
import { join } from 'path';
const TEST_OPERATION = `query test { foo }`;
const SIBLING_OPERATIONS = (...operations: string[]) => ({
parserOptions: <ParserOptions>{
operations,
},
});
const ruleT... |
import { Model, ObjectId, Schema } from '@mongozest/core';
import createResource, { Resource } from '@mongozest/resource';
import { isObject, omit } from 'lodash';
import { getDbName } from 'root/test/utils';
import { makeFetch } from 'supertest-fetch';
import { URLSearchParams } from 'url';
import { breakdownMiddlewar... |
import {App} from 'vue'
import mAreaChoose from "./src/index.vue"
export default {
// 单独引入UI组件,app.use要求组件要导出一个install方法或者带有install方法的对象
install(app: App) {
app.component('m-area-choose', mAreaChoose)
}
} |
import React from 'react'
import { shallow, mount } from 'enzyme'
import { mocked } from 'ts-jest/utils'
import { Menu } from 'react-feather'
import { Drawer, DrawerContent, ChakraProvider } from '@chakra-ui/react'
import { SideBarElement } from '../components/SidebarElement'
import { SideBar } from '../components/Side... |
/**
* Copyright 2017 Google 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 to i... |
import specHelper from "../utils/specHelper";
import { Plugin, Queue, Worker } from "../../src";
let queue;
const jobDelay = 100;
const jobs = {
slowAdd: {
plugins: ["JobLock"],
pluginOptions: { jobLock: {} },
perform: async (a, b) => {
const answer = a + b;
await new Promise((resolve) => {
... |
import {Component, OnInit} from '@angular/core';
import {flyInOutTrigger} from '../animations/flyInOutTrigger-animation';
import {ActivatedRoute, Router} from '@angular/router';
import {Title} from '@angular/platform-browser';
import {AbstractDemoComponent} from '../abstract-demo.component';
import {Prism} from '../pri... |
import { capitalize } from './case'
import type { StringCase, Prefix } from './types'
/**
* Returns `str` prefixed with `prefix`. Optionally, allows prefxing in camel
* case, i.e. `prefix('foo', 'bar', 'camel') => 'fooBar'`, or snake case, i.e.
* `prefix('foo', 'bar', 'snake') => 'foo_bar'`.
*
* The result is str... |
import Alloy from 'alloy';
import { logger } from '/logger';
import { SoundAbstract } from './SoundAbstract';
export default class Sound extends SoundAbstract {
public openSoundComponent(e: Ti.UI.ListView_itemclick_Event): void {
const item = e.section.getItemAt(e.itemIndex);
if (!item || !item.properties) {
r... |
import React from "react";
import { List } from "@material-ui/core";
import { Infolinkslistitem } from "../atomic/infolinkslistitem2";
import arrayinfolink from "../../infolinkslist/arrayinfolink.json";
export const Infolinkslistmenu = () => {
const data = arrayinfolink;
const listitems = data.map((elm) => (
<... |
import GillNumberFactory from "lib/gill/model/number/factory.class";
const gillNumberFactory = new GillNumberFactory();
export default gillNumberFactory; |
import Bootstrapper = require("../../Bootstrapper");
import BootstrapParams = require("../../BootstrapParams");
import {MetricType} from "./MetricType";
import Params = require("../../Params");
interface IExtension{
addTimestamp(uri: string): string;
bootstrapper: Bootstrapper;
changeLocale(locale: string)... |
import '../../../setup'
/* External Imports */
import { ethers } from '@nomiclabs/buidler'
import {
getLogger,
ZERO_ADDRESS,
NULL_ADDRESS,
hexStrToNumber,
numberToHexString,
} from '@eth-optimism/core-utils'
import { Contract, ContractFactory, Signer } from 'ethers'
/* Internal Imports */
import {
GAS_LIM... |
///
/// Copyright © 2016-2021 The Thingsboard 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... |
import {_ErrorStatistics} from './_ErrorStatistics';
import {_FaultStatistics} from './_FaultStatistics';
import {Structure as _Structure_} from '@aws-sdk/types';
export const _ServiceStatistics: _Structure_ = {
type: 'structure',
required: [],
members: {
OkCount: {
shape: {
... |
export const mediaQuery = (maxWidth: number) => `
@media (max-width: ${maxWidth}px)
`
const media = {
xxlarge: mediaQuery(1920),
xlarge: mediaQuery(1440),
large: mediaQuery(1200),
medium: mediaQuery(1024),
small: mediaQuery(768),
xsmall: mediaQuery(375),
custom: mediaQuery,
}
export default media |
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { AddUserTypePage } from './add-user-type';
@NgModule({
declarations: [
AddUserTypePage,
],
imports: [
IonicPageModule.forChild(AddUserTypePage),
],
})
export class AddUserTypePageModule {} |
import { Component, Input } from "@angular/core";
import { EditFilterService } from "../edit-filter.service";
import { Element } from "../element";
@Component({
selector: "sbsdb-filter",
templateUrl: "./filter.component.html",
styleUrls: ["./filter.component.scss"],
})
export class FilterComponent {
@Input() d... |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {Directive, ElementRef, NgZone} from '@angular/core';
import {
ColumnResize,
ColumnResizeNotifier,
Colum... |
/* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
ABOUT THIS NODE.JS EXAMPLE: This example works with Version 3 (V3) of the AWS SDK for JavaScript,
which is scheduled for release later in 2020. The prerelease version of the SDK is available
at https://github.com/... |
import React from "react";
import Svg from "../../../components/Svg/Svg";
import { SvgProps } from "../../../components/Svg/types";
const Icon: React.FC<SvgProps> = (props) => {
return (
<Svg viewBox="0 0 24 24" {...props}>
</Svg>
);
};
export default Icon; |
/*
Copyright (C) 2013-2015 by Justin DuJardin and 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 applicable law or... |
import { spawnSync, SpawnSyncOptions } from 'child_process';
import * as fs from 'fs';
import * as os from 'os';
import * as path from 'path';
export interface CallSite {
getThis(): any;
getTypeName(): string;
getFunctionName(): string;
getMethodName(): string;
getFileName(): string;
getLineNumber(): numbe... |
import {
BadRequestException,
Injectable,
NotFoundException,
} from '@nestjs/common';
import { UserService } from '../users/user.service';
import { randomBytes, scrypt as _scrypt } from 'crypto';
import { promisify } from 'util';
import { User } from '../users/user.entity';
import { RoleService } from '../roles/r... |
// Copyright 2021 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... |
/**
* @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
*/
import {inspect} from 'util';
import {tsSourceMapBug29300Fixed} from '../../src/ngtsc/util/src/ts_source_map_bug_29... |
import { Component, Input, EventEmitter } from "@angular/core"
import { Product } from "../product.model";
import { NavController, ModalController, AlertController } from "ionic-angular";
import { ListDetailsComponent } from "./list-details-component/list.details.component";
import { ListService } from "../list.service... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { RouterModule } from '@angular/router';
import { AppComponent } from './components/app/app.component';
import { NavMenuComponent } ... |
// *** 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 * as inputs from "../../types/input";
import * as outputs from "../../types/output";
import * as utilities from "..... |
import {Transform} from "../transforms/transform"
import {Factor} from "../ranges/factor_range"
import * as p from "core/properties"
import {Arrayable, Color} from "core/types"
import {color2hex} from "core/util/color"
import {is_little_endian} from "core/util/compat"
export interface RGBAMapper {
v_compute(xs: Arr... |
/**
* A find options property bag with the selector and thisArg for binding all optional.
*
* @export
* @interface OptionalFindOptions
* @template T The type of the elements in the source sequence.
*/
export interface OptionalFindOptions<T> {
/**
* The optional `this` binding for the predicate function.
*... |
<TS language="sl_SI" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Desni klik za urejanje naslovov ali oznak</translation>
</message>
<message>
<source>Create a new address</source>
<tran... |
export { ListenNotesEpisode } from 'components/listennotes/listennotes-episode'; |
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { logger } from './middleware/logger.middleware';
import * as express from 'express';
import { TransformInterceptor } from './interceptor/transform.interceptor';
import { DataInterceptor } from './interceptor/data.interceptor';... |
import type {
DiscardJobMutation,
DiscardJobMutationVariables,
} from '@/typings/gql';
import { networkMockData } from '../data';
export const discardJobMock = (
args: DiscardJobMutationVariables
): Promise<DiscardJobMutation> => {
return Promise.resolve({
discardJob: networkMockData.findJob(args.queue, ar... |
import { executeTx, deployContract, recordAddress, ChainId, getAddress } from "../helper";
import { task, types } from "hardhat/config";
import { factory } from "typescript";
const assert = (condition, message) => {
if (condition) return;
throw new Error(message);
};
task("vaultmanager-verify", "Verify Standa... |
import Head from "@/components/Head";
import Main from "@/components/Main";
import { RouteLink } from "@/components/RouteLink";
import { Code, Heading, Text } from "@chakra-ui/layout";
import { useRouter } from "next/router";
const NotFound = () => {
const { asPath } = useRouter();
return (
<Main textAlign="ce... |
import { assert } from 'chai';
import { IObfuscationResult } from '../../../../../src/interfaces/IObfuscationResult';
import { NO_ADDITIONAL_NODES_PRESET } from '../../../../../src/options/presets/NoCustomNodes';
import { readFileAsString } from '../../../../helpers/readFileAsString';
import { JavaScriptObfuscator ... |
import { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient.ts";
import { DeleteTableRequest, DeleteTableResponse } from "../models/models_0.ts";
import {
deserializeAws_json1_1DeleteTableCommand,
serializeAws_json1_1DeleteTableCommand,
} from "../protocols/Aws_json1_1.ts";
import... |
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
@Component({
selector: 'ngx-inline-example-block',
template: `
<ngx-example-block *ngIf="isOneFile" [content]="content"></ngx-example-block>
<ngx-tabbed-example-block *ngIf="isTabbed" [content]="content"></ngx-tabbed-example-block>
... |
/// <reference types="cypress" />
context.skip("Utilities", () => {
beforeEach(() => {
cy.visit("https://example.cypress.io/utilities");
});
it("Cypress._ - call a lodash method", () => {
// https://on.cypress.io/_
cy.request("https://jsonplaceholder.cypress.io/users").then((response) => {
let... |
import React from 'react';
import { $rootScope } from 'ngimport';
import { ReactInjector } from 'core/reactShims';
import { Tooltip } from 'core/presentation';
import './FilterCollapse.less';
export class FilterCollapse extends React.Component<{}> {
private onClick = (pin: boolean) => {
ReactInjector.insightFil... |
import {Container} from 'aurelia-dependency-injection';
import {History} from 'aurelia-history';
import {Router} from './router';
import {PipelineProvider} from './pipeline-provider';
import {isNavigationCommand} from './navigation-commands';
import {EventAggregator} from 'aurelia-event-aggregator';
export class AppRo... |
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false,
dashboardBaseUrl: 'http://localhost:3000/#',
... |
/**
* Copyright (c) 2018-Present, Nitrogen Labs, Inc.
* Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms.
*/
import MaterialTextField, {StandardTextFieldProps} from '@material-ui/core/TextField';
import React from 'react';
import {Controller, useFormContext} from 'react-hook-for... |
import React, {FC, useState} from 'react';
import {Text, StyleSheet, View, Image} from 'react-native';
import {useTranslation} from 'react-i18next';
import {StackNavigationProp} from '@react-navigation/stack';
import {useExposure} from 'react-native-exposure-notification-service';
import Button from '../../atoms/butto... |
import { Injectable, Injector } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
import { OBreadcrumb } from '../types/o-breadcrumb-item.type';
@Injectable({ providedIn: 'root' })
export class OBreadcrumbService {
public breadcrumbs$: BehaviorSubject<OBreadcrumb[]> = new BehaviorSubject([]);
constr... |
// Code generated by Prisma (prisma@1.30.1). DO NOT EDIT.
// Please don't change this file manually but run `prisma generate` to update it.
// For more information, please read the docs: https://www.prisma.io/docs/prisma-client/
import { DocumentNode } from "graphql";
import {
makePrismaClientClass,
BaseClientOpti... |
import React, { createRef} from 'react';
import './ChoiceButton.css';
import { ButtonGroup, Button } from 'react-bootstrap';
// push/receive STATE on parent component
export default class ChoiceButton extends React.Component<any, any> {
constructor(props: any) {
super(props);
// console.log('item ... |
'use strict';
const GuildChannel = require('./GuildChannel');
/**
* Represents a guild store channel on Discord.
* @extends {GuildChannel}
*/
class StoreChannel extends GuildChannel {
/**
* @param {*} guild The guild the store channel is part of
* @param {*} data The data for the store channel
*/
cons... |
/**
* @module botbuilder-ai
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Metadata associated with the answer.
*/
export interface QnAMakerMetadata {
/**
* Metadata name. Max length: 100.
*/
name: string;
/**
* Metadata ... |
import { RawPocketItem } from "./rawPocketItem";
import { PocketItem } from "./pocketItem";
function parseStatus(status: string): "normal" | "archived" | "deleted" {
switch (status) {
case "0":
return "normal";
case "1":
return "archived";
case "2":
retur... |
// Generated Source
import SecretQuestionInfoValidationRequest from "./SecretQuestionInfoValidationRequest";
interface ValidateExtensionUserCredentials {
/**
* User password of an extension
*/
password?: string;
/**
* User pin of an extension
*/
ivrPin?: string;
/**
* Se... |
///
/// Copyright © 2016-2021 The Thingsboard 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... |
import { Node } from 'src/facet/layout/node';
import { FrozenGroup } from 'src/group/frozen-group';
import { Event as CanvasEvent } from '@antv/g-canvas';
import { SpreadSheet } from './spread-sheet';
import { TableDataCell, TableRowCell } from '@/cell';
import {
InterceptType,
KEY_GROUP_PANEL_FROZEN_BOTTOM,
KEY_... |
import { RootState } from './root'
import * as fromTasks from './tasks'
import * as fromSnackbar from './snackbar'
export const getAllTasks = (state: RootState) => fromTasks.getAllTasks(state.tasks)
export const getSnackbar = (state: RootState) => fromSnackbar.getSnackbar(state.snackbar) |
/*eslint-disable max-classes-per-file*/
import { Mock } from "../lib/mock";
describe("Mock: instanceof", () => {
it("Returns true when instanceof is the same", () => {
class Prototype {
method(value: number): number {
throw new Error("Not Implemented");
}
}... |
import {Assert ,noLeftSpace} from "../../pea-script";
import {CommentInfo ,UserInfo ,FireBean ,ArticleInfo} from "@foxzilla/fireblog";
import * as Comment from '../../../model/comment';
import * as User from '../../../model/user';
import * as Article from '../../../model/article';
import {stringify} from '../../firebea... |
/*!
* Copyright 2016 The ANTLR Project. All rights reserved.
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
*/
// ConvertTo-TS run at 2016-10-04T11:26:53.1043451-07:00
import { ActionTransition } from './atn/ActionTransition';
import { ATN } from './atn/ATN... |
import { Field, ObjectType } from '@nestjs/graphql';
import {
Entity,
PrimaryGeneratedColumn,
CreateDateColumn,
UpdateDateColumn,
Column,
JoinColumn,
ManyToOne
} from 'typeorm';
import TesteRelacao from './TesteRelacao.entity'
@ObjectType()
@Entity({ name: 'teste' })
export default class Teste {
@Fiel... |
import Renderer from '../../Renderer';
import Element from '../../../nodes/Element';
import Wrapper from '../shared/Wrapper';
import Block from '../../Block';
import { is_void, sanitize } from '../../../../utils/names';
import FragmentWrapper from '../Fragment';
import { escape_html, string_literal } from '../../../uti... |
import { motion } from 'framer-motion'
export const LogoAnimation = ({ transition, startingDelay }) => {
const parentAnimation = {
initial: { opacity: 0 },
transition: {
...transition,
staggerChildren: 0.05,
opacity: { duration: 0.05 },
},
variants: {
out: { scale: 0.1, opacit... |
import * as Names from "app/models/names";
import { NameList } from "./name-list";
/* cSpell:disable */
/* Adapted from http://www.fantasynamegenerators.com/dnd-goliath-names.php */
export const Goliath: Names.NameDefinition = new Names.NameDefinition({
name: "Goliath",
formats: [
{ name: "Forename '... |
"use strict";
export default interface IUserTokenRequest {
accessToken: string;
} |
export { DomHandler } from '../dom/domhandler';
export { TreeNode } from './treenode';
export { TreeDragDropService } from './treedragdropservice';
export { TreeNodeDragEvent } from './treenodedragevent';
export { BlockableUI } from './blockableui';
export { Confirmation } from './confirmation';
export { ConfirmationSe... |
/**
* Collection
* @author Simpli CLI generator
*/
import { ID, Resource, TAG } from '../../simpli'
import { ResponseSerialize, ValidationMaxLength, ValidationRequired } from '../../simpli'
import { User } from './User'
import CollectionSchema from '../../schemas/Collection.schema'
import { UserSavedChart } from './... |
import * as MailService from "../services/mailService"
import {jobResultOkay} from "./scheduler";
export default {
name: 'MailQueueJob',
description: 'Send pending emails (up to 5 attempts in case of failures).',
async run() {
await MailService.sendPendingMails();
return jobResultOkay();
... |
import {
DatabaseContextFactory,
ProjectConfig,
SystemContainer,
SystemContainerFactory,
typeDefs as systemTypeDefs,
} from '@contember/engine-system-api'
import { MigrationFilesManager, MigrationsResolver, ModificationHandlerFactory } from '@contember/schema-migrations'
import { GraphQlSchemaBuilderFactory } from... |
const pre_path = '';
export const environment = {
production: true,
apiURL: {
login: `${pre_path}/web/user/login`,
logout: `${pre_path}/web/oauth/logout`,
workResFul: `${pre_path}/web/work/`,
proxyipResFul: `${pre_path}/web/proxyip/`,
scheduleResFul: `${pre_path}/web/sche... |
import { Collection, Client as DiscordClient } from 'discord.js';
import { Service } from 'typedi';
import { Logger } from './utils/Logger';
import { BotSettings, BotClient } from './types';
import { Command } from './Command';
import { ActionManager } from './managers/ActionManager';
import { settings as configuration... |
import styles from './MediaBlock.module.scss';
import { Component } from 'react';
import { MediaLinkItem } from '../../typings';
import MediaLink from '../media-link/MediaLink';
class MediaBlock extends Component {
private readonly items: MediaLinkItem[] = [
{
url: "https://dev.to/koddr/build-a-restful-api... |
import { DocBuilder, isReadonlyDoc } from '@epam/uui-docs';
import { NumericInputProps } from '@epam/uui-components';
import { NumericInput, NumericInputMods } from '../NumericInput';
import { iEditable, sizeDoc, isDisabledDoc, iHasPlaceholder, iFormatter } from '../../../docs';
import { DefaultContext, FormContext } f... |
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CatsModule } from './cats/cats.module';
import { Cats } from './cats/cats.entity';
import { DogsModule } from './dogs/dogs.module';
import { Dogs } from './dogs/dogs.entity';
@Module({
imports: [
TypeOrmModule.forR... |
import {
h,
nextTick,
ref,
provide,
defineComponent,
PropType,
watch,
onBeforeUnmount,
onMounted,
toRef,
computed
} from 'vue'
import { unwrapElement } from 'seemly'
import { onFontsReady } from 'vooks'
import { keysOf } from '../../_utils'
import { anchorInjectionKey } from './Link'
import { thro... |
import Debug from 'debug'
import { Connection } from 'typeorm'
import {
ConnectionConfig,
ConnectionTypeEnum,
IConnection,
IConnectionIdentifier,
IConnectionMetadataItem,
IConnectionParty,
IDidAuthConfig,
IOpenIdConfig
} from '@sphereon/ssi-sdk-core'
import { AbstractConnectionStore } from '@sphereon/ss... |
import React from 'react'
import { ChainId, Currency, currencyEquals, ETHER, Token } from '@pancakeswap/sdk'
import { Text } from '@honorswap/uiex'
import styled from 'styled-components'
import { useTranslation } from 'contexts/Localization'
import { SUGGESTED_BASES } from '../../config/constants'
import { AutoColumn ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.