text stringlengths 10 953k |
|---|
import { EventEmitter, ElementRef } from '@angular/core';
export declare const exportedConstant = "An exported constant";
export declare type ButtonSize = 'small' | 'medium' | 'large' | 'xlarge';
export interface ISomeInterface {
one: string;
two: boolean;
three: any[];
}
/**
* This is a simple button that... |
// References:
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// https://gist.github.com/1579671
// http://updates.html5rocks.com/2012/05/requestAnimationFrame-API-now-with-sub-millisecond-precision
// https://gist.github.com/timhall/4078614
// https://github.com/Financial-Times/polyfill-servic... |
import { ALIASED } from '../alias';
describe('alias', () => {
it('should return the ALIASED action type', () => {
expect(ALIASED).toBe('ALIASED');
});
}); |
import { expect } from 'chai';
import { it, describe } from 'mocha';
import { timeout, runSequentially } from '../../../src/util/promise';
describe('UTIL: promise', () => {
describe('runSequentially', () => {
it('should run promises sequentially returning their corresponding results.', async () => {
const... |
import { SESv2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SESv2Client";
import { CreateDedicatedIpPoolRequest, CreateDedicatedIpPoolResponse } from "../models/index";
import {
deserializeAws_restJson1CreateDedicatedIpPoolCommand,
serializeAws_restJson1CreateDedicatedIpPoolCommand,
} from ... |
const and = (...args: any[]) => args.map(Boolean).reduce((acc, curr) => acc && curr);
const or = (...args: any[]) => args.map(Boolean).reduce((acc, curr) => acc || curr);
const not = (a: any) => !a;
const eq = (a: any, b: any) => a === b;
const is = (a: any, b: any) => a == b;
const gt = (a: any, b: any) => a > b;
cons... |
//
// Copyright (c) 2020-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 { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';
import { UserData } from '../user-data';
import { AppConfig } from '../../lib/config/app-config';
import { Crypto } from '../../lib/security/security';
import { RequestUtil } from '../../lib/util/request-u... |
/**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { ActivityTypes } from 'botbuilder-core';
import { Dialog } from 'botbuilder-dialogs';
import { OnActivity } from './onActivity';
/**
* Actions triggered when a... |
import { Command, flags } from '@oclif/command';
// @ts-ignore
import { createFileTree } from '@useoptic/cli-config';
import colors from 'colors';
import cli from 'cli-ux';
import fs from 'fs-extra';
//@ts-ignore
import jsesc from 'jsesc';
import path from 'path';
// @ts-ignore
import { fromOptic } from '@useoptic/cli-... |
import { useLocalStorageState } from './utils';
import { Account, AccountInfo, Connection, PublicKey } from '@solana/web3.js';
import React, { useContext, useEffect, useMemo, useRef } from 'react';
import { setCache, useAsyncData } from './fetch-loop';
import tuple from 'immutable-tuple';
import { ConnectionContextValu... |
import { Component, OnInit, Input } from '@angular/core';
import { TransmogrifierProgramApplication } from '../../../core/models/transmogrifier-program-application.class';
import { iProgramApplication } from '../../../core/models/program-application.interface';
@Component({
selector: 'app-review-application',
temp... |
import React, { useEffect, useState } from 'react';
import { DataList, Bullseye } from '@patternfly/react-core';
import TaskListItem from '../../Molecules/TaskListItem/TaskListItem';
import { KogitoEmptyState, KogitoEmptyStateType, KogitoSpinner } from '@kogito-apps/common';
import '@patternfly/patternfly/patternfly-ad... |
import { isArray } from 'lodash';
import { NextApiResponse } from 'next';
import { NextApiRequestWithSession, GroupPassengerTypesCollectionWithErrors } from '../../interfaces';
import { updateSessionAttribute } from '../../utils/sessions';
import { redirectToError, redirectTo } from '../../utils/apiUtils/index';
import... |
import { Location, Range } from '../core';
import { MutantStatus } from './mutant-status';
export interface BaseMutantResult {
id: string;
fileName: string;
mutatorName: string;
replacement: string;
originalLines: string;
mutatedLines: string;
nrOfTestsRan: number;
location: Location;
range: Range;
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="tr" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Asscoin</source>
<translation>Asscoin hakkında</translation>
</m... |
import * as React from 'react';
import { OverridableComponent, OverrideProps } from '../OverridableComponent';
export interface CardContentTypeMap<P = {}, D extends React.ElementType = 'div'> {
props: P;
defaultComponent: D;
classKey: CardContentClassKey;
}
declare const CardContent: OverridableComponent<CardCo... |
import type { SVGProps } from 'react';
export const EmojiAddIcon = (props: SVGProps<SVGSVGElement>) => (
<svg
width="1em"
height="1em"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
focusable="false"
role="img"
{...props}
>
<path
d="M12 1.5C6.201 1.5 1.5... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
/**
* Manages an EC2 Transit Gateway Route Table propagation.... |
/*
* Copyright 2022 Salto Labs Ltd.
*
* 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 ... |
import {
Component,
ChangeDetectionStrategy,
HostBinding
} from '@angular/core';
@Component({
selector: 'd-range-today',
changeDetection: ChangeDetectionStrategy.OnPush,
templateUrl: './range-today.component.html',
styleUrls: ['./range-today.component.css']
})
export class RangePickerTodayComponent {
d... |
// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../../utilities";
// Export members:
export * from "./rubberTree";
// Export enums:
export * from "../../types/e... |
export * from './Command';
export * from './Event';
export * from './Game';
export * from './GameType'; |
export * from "./breakpoints";
export * from "./prototope";
export * from "./registry";
export * from "./sub-selectors";
export * from "./utils"; |
import { Range } from './types'
export function xor(a:boolean, b:boolean): boolean {
return (a || b) && !(a && b)
}
export function binarySearch(haystack: any[], needle:any) : boolean {
let start = 0
let end = haystack.length - 1
while(start <= end) {
let mid = Math.floor((start + end) / 2)
if (haystac... |
/* --------------------------------------------------------------------------------------------
* Copyright (c) Red Hat, Inc. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* ------------... |
import * as t from 'io-ts';
import { RTTI_Extension, IExtension } from '../';
import { RTTI_Quantity, IQuantity } from '../';
import { RTTI_decimal } from '../Scalar/RTTI_decimal';
import { RTTI_Element, IElement } from '../';
import { RTTI_positiveInt } from '../Scalar/RTTI_positiveInt';
export interface ISampledData... |
import * as React from 'react';
import { useTranslation } from 'react-i18next';
import { ExternalLink, HintBlock } from '@console/internal/components/utils';
import { useK8sWatchResource } from '@console/internal/components/utils/k8s-watch-hook';
import { getOwnerReferences } from '@console/shared/src';
import { Virt... |
import {Injectable} from '@angular/core'
import {WsConnectionService} from "./ws.connection.service"
@Injectable()
export class RoomsService {
private cache: any
constructor(private server: WsConnectionService) {
console.info("Starting RoomsService.")
this.clearCache()
this.subscribe()... |
import { StorageService } from '.'
import { MockSettingsStorage } from 'src/features/settings/storage/mock-storage'
describe('local storage service tests', () => {
function setup() {
const storage = new StorageService({
settingsStorage: new MockSettingsStorage(),
})
return { sto... |
import { Flex, Text } from "@chakra-ui/react";
import Head from 'next/head';
import { CreateInvoiceEntryForm } from "../../../../components/Foms/InvoiceEntry/CreateInvoiceEntryForm";
import { Heading } from "../../../../components/Heading";
import { Layout } from "../../../../components/Layout";
import { setupApiClient... |
import { Card } from '../../../interfaces'
import Set from '../Unbroken Bonds'
const card: Card = {
name: {
en: "Devolution Spray Z",
fr: "Spray Dés-Évoluant Z",
es: "Chorro de Devolución Z",
it: "Getto di Involuzione Z",
pt: "Spray de Involução Z",
de: "Rückentwicklungsspray Z"
},
illustrator: "Toyste ... |
import * as React from 'react';
import JqxPivotGrid, { IPivotGridProps, jqx } from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxpivotgrid';
class App extends React.PureComponent<{}, IPivotGridProps> {
private myPivotGrid = React.createRef<JqxPivotGrid>();
constructor(props: {}) {
super(props);
... |
import { BaseRule, Options } from './base-rule';
const srcTags = [
'audio',
'embed',
'iframe',
'img',
'input',
'source',
'track',
'video'
];
export class SrcNotEmpty extends BaseRule {
constructor(options: any) {
super({
name: 'src-not-empty',
message: 'src attribute should not be em... |
import { Injectable } from '@angular/core'
import { ApiService } from '@ws/author/src/lib/modules/shared/services/api.service'
// tslint:disable-next-line:max-line-length
const VALIDATE_PDF_CONTENT = '/apis/protected/v8/profanity/validatePdfContent'
// const backwordSlash = '/'
@Injectable()
export class ProfanityServ... |
import { BaseEntity } from "./base.entity";
import { Course } from "./course.entity";
import { Student } from "./student.entity";
import { Video } from "./video.entity";
export declare class Order extends BaseEntity {
question: string;
answer: string;
course: Course;
}
export declare class OrderResponse ext... |
import * as React from 'react';
import { TooltipHostBase } from './TooltipHost.base';
import { TooltipDelay, ITooltipProps } from './Tooltip.types';
import { ICalloutProps } from '../Callout';
import { DirectionalHint } from '@uifabric/utilities';
import { IRefObject } from '@uifabric/utilities';
import { IStyle, IThem... |
import React, { ReactNode, useState, useEffect } from 'react'
import {
ModalProps,
FlatListProps,
StyleProp,
ViewStyle,
ImageSourcePropType,
ImageStyle,
} from 'react-native'
import { CountryModal } from './CountryModal'
import { HeaderModal } from './HeaderModal'
import { Country, CountryCode, FlagType, Re... |
/**
* @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 {compilePipeFromMetadata, Identifiers, R3FactoryTarget, R3PipeMetadata, Statement, WrappedNodeExpr} from '@ang... |
import postcss from 'postcss';
import { expandShorthands } from '../../expand-shorthands';
const transform = (css: TemplateStringsArray) => {
const result = postcss([expandShorthands]).process(css[0], {
from: undefined,
});
return result.css;
};
describe('place items property expander', () => {
it('shoul... |
import { Component, OnInit } from '@angular/core';
import { BlogService } from '../shared/services/blog.service';
import { BlogPost } from '../shared/models/blog-post.model';
@Component({
selector: 'app-blog',
templateUrl: './blog.component.html',
styleUrls: ['./blog.component.scss']
})
export class BlogComponen... |
/******************************************************************************
* Spine Runtimes Software License
* Version 2.5
*
* Copyright (c) 2013-2016, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable, and
* non-transferable license to use, install,... |
import { Body, Controller, Get, Param, Post, UseGuards } from '@nestjs/common';
import { ApiOperation, ApiResponse } from '@nestjs/swagger';
import { RolesGuard } from 'src/auth/roles-guard/roles-guard';
import { Roles } from 'src/auth/roles-guard/roles-auth.decorator';
import { CreateUserDto } from './dto/create-user.... |
import { message, Modal, Popover, Tag, Typography } from 'antd';
import React from 'react';
import { Link } from 'react-router-dom';
import styled from 'styled-components';
import { useRemoveOwnerMutation } from '../../../../../graphql/mutations.generated';
import { EntityType, Owner } from '../../../../../types.gener... |
/*
* 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 { EuiButtonIcon } from '@elastic/eui';
import React, { FunctionCompone... |
import { StorySortObjectParameter, StorySortComparator } from '@storybook/addons';
export declare const storySort: (options?: StorySortObjectParameter) => StorySortComparator; |
import React from "react";
import "./body.scss";
const Body: React.FC<{
content: String;
}> = ({ content }) => {
return <div>{content}</div>;
};
export default Body; |
export interface UpgradeOrderByDto {
name?: boolean | undefined;
version?: boolean | undefined;
active?: boolean | undefined;
}
export module UpgradeOrderByDto {
}
export interface UpgradeFilterDto {
active?: boolean | undefined;
id?: string | undefined;
fulltext?: string | undefined;
}
export module Upgrade... |
export const denyList = [
'DQcegDuBQG6V99hgRd87UJ8anZxTcumJEVBAnAGomXCJ3dc', // RMRK Minter -> Kanaria
'Gskn3eRyr3tDiKxhzU1MPG4ha8RFTBG9ft3C6Rrn3kGJMXn' // No One, art thief
] |
// smithy-typescript generated code
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
import {
decorateServiceException as __decorateServiceException,
expectBoolean as __expectBoolean,
expectInt32 as __expectInt32,
expectNonNull as __expectNonNull,
expectNu... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import { Injectable } from '@angular/core';
import { Http , Headers} from '@angular/http';
import { HttpClient } from '@angular/common/http';
import { environment } from '../../environments/environment';
@Injectable({
providedIn: 'root'
})
export class PageService {
headers:any;
private master = environment.dom... |
import { CollectionCache, CollectionKey } from "../../../common";
import { Factions } from "./Factions";
import { Agents } from "./Agents";
import { AgentSubtypes } from "./AgentSubtypes";
import { Tristates } from "./Tristates";
export declare namespace FactionAgentPermittedSubtypes {
const KEY: CollectionKey;
... |
import { TextStyle, ViewStyle } from "react-native";
export const defaultStyles = {
wrapper: { position: "relative" } as ViewStyle,
dotsContainerHorizontal: {
position: "absolute",
bottom: 25,
left: 0,
right: 0,
display: "flex",
flexDirection: "row",
justifyContent: "center",
alignI... |
import baseRendererFactory from './base';
import { IBaseRendererProps, IBaseRenderComponent } from '../types';
export default function componentRendererFactory(): IBaseRenderComponent {
const BaseRenderer = baseRendererFactory();
return class CompRenderer extends BaseRenderer {
static dislayName = 'comp-render... |
import fs from "fs";
import path from "path";
import {Func} from "../func";
import {APP_LOGGER} from "../../main";
export class InitFunc extends Func {
public static _instance: InitFunc = new InitFunc();
private constructor() {
super("init");
}
override run(currentPath: string, args: string[]... |
import * as React from 'react';
import {StorySection} from './helpers';
import {useElementDimensions, Text2, ButtonPrimary} from '..';
export default {
title: 'Hooks/useElementDimensions',
};
const SomeComponent = ({innerRef}: {innerRef?: (node: HTMLElement | null) => void}) => {
return (
<div
... |
import { createContext } from 'react';
export const FetcherContext = createContext<Object>([]); |
import { Injectable } from "@angular/core";
import { Subject } from "rxjs";
import Device from "../utils/device";
declare let window: any;
export class StatusbarOptions {
enabled = false;
overlay?: string | boolean = "auto";
iosOverlaysWebView? = false;
iosTextColor? = "black";
iosBackgroundColor? = "whit... |
import { ValidatePipe } from './validate.pipe';
describe('ValidatePipe', () => {
it('should be defined', () => {
expect(new ValidatePipe()).toBeDefined();
});
}); |
import { IGraph, IVertex } from "../graph/graph";
import { IQuery, Gremlin, State, MaybeGremlin } from "../query/query";
import { IBGraph } from "..";
export type PipeResult = Gremlin | 'done' | 'pull' | false;
export type PipeFunction = (
graph: IGraph,
args: any[],
gremlin: MaybeGremlin,
state?: State,
[s... |
import prismaClient from '../prisma'
class ProfileUserService {
async execute(user_id: string){
const user = await prismaClient.user.findFirst({
where: {
id: user_id
}
})
return user;
}
}
export { ProfileUserService }; |
import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular';
import { NativescriptStripeComponent } from './nativescript-stripe.component';
@NgModule({
imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ pa... |
import { ILongText } from "BugBashPro/Interfaces";
import * as ExtensionDataManager from "Common/Utilities/ExtensionDataManager";
export namespace LongTextDataService {
export async function loadLongText(id: string): Promise<ILongText> {
return ExtensionDataManager.readDocument<ILongText>(
getC... |
import {writeFileSync} from 'fs';
import {format} from 'prettier';
import {jsRules, rules} from '.';
import {commandName as initTsLintCommandName} from './commands/init-tslint';
import {commandName as initTypeScriptCommandName} from './commands/init-typescript';
import {RuleName, allRules, prettierRules} from './rules'... |
// Types for compiled templates
declare module '@sentry/ember/templates/*' {
import { TemplateFactory } from 'htmlbars-inline-precompile';
const tmpl: TemplateFactory;
export default tmpl;
} |
// Adding a comment to the syntax will become the first
// comment in the output source file.
//
import { ImportedThing } from './import_dir/thing';
import { Observable } from 'rxjs';
import { GrpcMethod, GrpcStreamMethod } from '@nestjs/microservices';
/**
* * Example comment on the Simple message */
export inte... |
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
//app.setGlobalPrefix('api');
//const server =
await app.listen(8080);
//console.log("address => " + server.address().address);
//console.log... |
import { REGISTER_STEP, CREATE_ACCOUNT } from "../constants/index";
import {
IRegisterStep,
ICreateAccountParams,
ISetRegisterStepAction,
ISetCreateAccountParamsAction,
} from "../../typings/ILoginRegis";
const registerStep = (data: IRegisterStep): ISetRegisterStepAction => {
return {
type: REGISTER_STEP... |
import { browser, element, by } from 'protractor';
export class ChampionPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
} |
/*
* SonarTS
* Copyright (C) 2017-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or ... |
import path from 'path'
import { remote } from 'electron'
import { Client } from 'minecraft-launcher-core'
import { usersStore } from './store-accessor'
import Modpack from '~/../types/Modpack'
export default async function launch (instance: Modpack | null) {
if (!instance) return
console.log(instance)
const cli... |
import React from "react";
import { StyledFooter } from "./style";
const Footer = () => {
return (
<StyledFooter>
<span>© Bobak Oftadeh</span>
<span>This is not a real store, no orders will be fufilled</span>
</StyledFooter>
);
};
export default Footer; |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "../utilities";
/**
* Manages a ServiceBus Topic authorization Rule within a ... |
import { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient";
import { CreateTopicRuleDestinationRequest, CreateTopicRuleDestinationResponse } from "../models/models_0";
import {
deserializeAws_restJson1CreateTopicRuleDestinationCommand,
serializeAws_restJson1CreateTopicRuleDestinat... |
import { ListOfOrders } from "./order";
export const OrdersDetails: ListOfOrders[] = [
{ id:1, userName: 'nafel', fullName: 'Ghosdfst reisfdder', productOrder: 'banana,soap,ampalaya',
totalOrder: 3 , location:'Sogod', status:'pending', action:'active'},
{ id:2, userName: 'anfel', fullName: 'Ghossdft resdf... |
/**
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.0.2
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
... |
import { gaEvent } from "../src";
describe("Decorator Test", () => {
class TestClass {
constructor() {
this.testFunction = this.testFunction.bind(this);
}
@gaEvent({ category: "test", action: "action" })
testFunction() {}
@gaEvent()
testFunction2() {}
}
it("should be call gaEvent"... |
import * as path from 'path';
import * as ts from 'typescript';
import {
ResolverPlugin,
Callback,
Tapable,
NormalModuleFactory,
NormalModuleFactoryRequest,
} from './webpack';
const ModulesInRootPlugin: new (a: string, b: string, c: string) => ResolverPlugin
= require('enhanced-resolve/lib/ModulesInRootP... |
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
import { AppModule } from "./app.module";
const platform = platformBrowserDynamic();
platform.bootstrapModule(AppModule); |
export * from './provider-protocol';
export * from './provider-details-manager'; |
/**
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//
import { createSpanFunction } from "@azure/core-tracing";
/**
* Creates a span using the global tracer.
*
* @param name - The name of the operation being performed.
* @param tracingOptions - The options for the underlying http request.
... |
/*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
// tslint:disable: max-line-length
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { ApiUrlConfig, AppLanguageDto, AuthService, AutoS... |
import { layoutMixin } from '../mixins/layoutMixin';
import { refMixin } from '../mixins/refMixin';
import { saveStyleMixin } from '../mixins/saveStyleMixin';
import { baseNodeMixin } from '../mixins/baseNodeMixin';
import { exportMixin } from '../mixins/exportMixin';
import { blendMixin } from '../mixins/blendMixin';
... |
/* eslint-disable import/prefer-default-export */
import { QueryCache, QueryClient, MutationCache } from "react-query";
interface InterceptorManagerUseParams<V> {
onFulfilled?: (value: V) => V | Promise<V>;
onRejected?: (error: any) => any;
}
export interface IInterceptors<C, R> {
request?: InterceptorManagerU... |
import { Resolver, Query, Mutation, Args } from '@nestjs/graphql';
import { ProjectsService } from './projects.service';
import { CreateProjectInput } from './dto/create-project.input';
import { CreateContributionInput } from './dto/createContribution.input';
import { FindUserProjectsInput } from './dto/find-users-proj... |
import * as vscode from 'vscode';
import { runCommand } from '../../utils';
import * as shell from 'shelljs';
import * as OKiCE40Pro from '../ok-ice40pro';
export * from './top';
export * from './constraint';
export * from './lib';
export * from './build';
export * from './files';
export const createProject = async (... |
/*
* 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... |
export * from './admin'
export * from './admin/routes'
export * from './admin/routes/entity/edit'
export * from './admin/routes/entity/list'
export * from './admin/routes/entity/file/create'
export * from './admin/routes/types'
export * from './admin/templates/cards'
export * from './admin/templates/entity-cards'
expor... |
import Particle from "./particle";
import _, { merge } from "lodash";
// 默认参数
const __default_option = {
effect: "circlewave",
accuracy: 128,
width: 800,
height: 800,
circlewave: {
maxHeight: 100,
minHeight: -5,
spacing: 1,
color: ["#fb6d6b", "#c10056", " #a50053", "#51074b"],
shadowBlur:... |
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { GlobalService, NeonService, ChromeService, AssetState, HttpService, TransactionState } from '@/app/core';
import { Transaction, TransactionInput, InvocationTransaction } from '@cityofzion/neon-core/lib/... |
import { makeStyles } from '@material-ui/core/styles';
export default makeStyles({
root: {
flexGrow: 1,
},
menuButton: {
marginRight: 2,
},
title: {
flexGrow: 1,
},
}); |
/* tslint:disable:no-unused-variable */
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { PatientComponent } from './Patient.component';
describe('PatientComponent', () => {
let component: ... |
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CategoriesController } from './categories.controller';
import { CategoriesService } from './categories.service';
import { Category } from './entities/category.entity';
@Module({
imports: [TypeOrmModule.forFeature([Cate... |
import {GardBase} from "../models/gard-base";
import {GardReference} from "../models/gard-reference";
import {Serializer} from "../../../../../interfaces/core-interfaces/src/lib/interfaces/serializer";
export class GeneAssociation extends GardBase {
geneAssociationType: string;
genes: Gene[];
constructor(){
... |
export interface GuessedMega {
attack?: number
defense?: number
stamina?: number
tempEvoId?: number
type1?: string
type2?: string
}
export interface Generation {
[id: string]: {
name: string
range: number[]
}
}
export interface EvolutionQuest {
questType?: number
target?: number
assetsRe... |
import { Operation, Range } from '..';
/**
* `RangeRef` objects keep a specific range in a document synced over time as new
* operations are applied to the editor. You can access their `current` property
* at any time for the up-to-date range value.
*/
declare class RangeRef {
id: number;
current: Range | n... |
namespace RazorSharp {
export class OnAfterActionExecutedEventArgs {
public Url: string;
public Method: string;
public Data: any;
public AjaxResult: any;
public IsPartial: boolean;
public constructor(url: string, method: string, data: any, ajaxResult: any, isPartial... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.