text stringlengths 10 953k |
|---|
import { Contracts, DTO } from "@payvo/sdk-profiles";
export interface Action {
label: string;
value: string;
}
export interface NotificationItemProperties {
id: string;
body: string;
name: string;
action?: string;
icon: string;
image?: string;
onAction?: (id: string) => void;
onVisibilityChange?: (isVisibl... |
export * from "./get_package_version"; |
import { AppPage } from './app.po';
import { browser, logging } from 'protractor';
describe('workspace-project App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome... |
import RdfResourceImpl, { Constructor, namespace, RdfResource } from '@tpluscode/rdfine';
import * as $rdf from '@rdf-esm/data-model';
import type * as RDF from 'rdf-js';
import { schema } from './lib/namespace';
import type { Initializer, ResourceNode } from '@tpluscode/rdfine/RdfResource';
import type { Mixin } from ... |
import { CertificateValidation, DnsValidatedCertificate } from '@aws-cdk/aws-certificatemanager';
import { AllowedMethods, Distribution, ViewerProtocolPolicy } from '@aws-cdk/aws-cloudfront';
import { S3Origin } from '@aws-cdk/aws-cloudfront-origins';
import { ARecord, RecordTarget } from '@aws-cdk/aws-route53';
import... |
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* ---------------------------------------------------------------... |
import db from 'lesgo/lib/utils/db';
import Paginator, { PaginatorObject } from 'lesgo/lib/services/pagination/Paginator';
import LengthAwarePaginator from 'lesgo/lib/services/pagination/LengthAwarePaginator';
const paginator = new Paginator(db, 'SELECT * FROM Users;', []); // $ExpectType Paginator
paginator.previousP... |
import type { Add } from '../';
/**
* Returns the first index of `U` in `T` or `-1` if it's not present.
*
* @example
* ```ts
* const colors = ['green', 'red', 'blue', 'yellow', 'red', 'pink'] as const;
*
* type T0 = IndexOf<typeof colors, 'red'>;
* // ^ = type T0 = 1
*
* type T1 = IndexOf<typeof colors, 're... |
import * as actionTypes from './action-types';
import { createReducer } from './reducer';
const context: any = {};
beforeEach(() => {
context.initialState = {
product: 'jelly-chat-test',
productTitle: 'Jelly Chat Test',
cards: {},
currentUser: null,
};
context.reducer = createReducer(context.initialState);... |
import { Entity, PrimaryGeneratedColumn } from 'typeorm'
@Entity('gg_tiers')
class Tier {
@PrimaryGeneratedColumn('uuid')
id: string
}
export default Tier |
/**
* Copyright (c) 2021 OpenLens Authors
*
* 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, p... |
import {
Avalanche
} from "../../dist"
import { AuthAPI } from "../../dist/apis/auth"
const ip: string = 'localhost'
const port: number = 9650
const protocol: string = 'http'
const networkID: number = 12345
const avalanche: Avalanche = new Avalanche(ip, port, protocol, networkID)
const auth: AuthAPI = avalanche.A... |
import styled from "@emotion/styled"
import { BlogLayout, IndexBlogLayout } from "../../../layout/layout"
import { singaporePrimaryColor, singaporePrimaryColorDarker } from "./singapore.variables"
import { WeatherEntry } from "../../../../types/shared"
import { Lang } from "../../links/links.types"
import { Headline } ... |
import photoUploaderReducer from '../reducer';
// import { someAction } from '../actions';
import { ContainerState } from '../types';
describe('photoUploaderReducer', () => {
let state: ContainerState;
beforeEach(() => {
state = {
default: null,
};
});
it('returns the initial state', () => {
... |
// *** 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 { FrontType } from "@types";
export class RImage extends FrontType {
readonly placeholder: string;
readonly sizeUnit: string;
readonly maxSize: number;
readonly acceptedMime: string[];
constructor(
acceptedMime?: string[],
sizeUnit?: string,
maxSize?: number,
placeholder?: string
) ... |
import { TestBed, async } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [
RouterTestingModule
],
... |
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'cc-menu';
} |
import { distinctUntilChanged } from '../../operator/distinctUntilChanged';
declare module 'rxjs/internal/Observable' {
interface Observable<T> {
distinctUntilChanged: typeof distinctUntilChanged;
}
} |
import type { FindPetById } from 'types/graphql'
import type { CellSuccessProps, CellFailureProps } from '@redwoodjs/web'
import Pet from 'src/components/Pet/Pet'
export const QUERY = gql`
query FindPetById($id: Int!) {
pet: pet(id: $id) {
id
species
name
createdAt
}
}
`
export co... |
import 'bootstrap/dist/css/bootstrap-grid.min.css';
import 'antd/dist/antd.css';
import App from 'next/app';
import { END } from 'redux-saga';
import { Provider, useStore } from 'react-redux';
import { wrapper } from '../redux/store';
import { BreakpointProvider } from '../hooks/breakpoints';
import { queries } from '... |
import React from 'react';
const SVG = ({
fill = '#000',
height = '100%',
width = '100%',
className = '',
viewBox = '0 0 16 16',
}) => (
<svg
className={className}
focusable="false"
height={height}
version="1.1"
viewBox={viewBox}
width={width}
x="0px"
xmlSpace="preserve"
... |
import { Injectable } from "@angular/core";
import { Student } from "../models/student.model";
@Injectable({
providedIn: "root"
})
export class StudentService {
students: Student[] = [
new Student('Francesco', 'Totti'),
new Student('François', 'Tout'),
new Student('Frances', 'Todo'),
... |
import { Field } from 'formik';
import React from 'react';
import Select, { Option } from 'react-select';
import { HelpField, MapEditor, PlatformHealthOverride } from '@spinnaker/core';
import { AWSProviderSettings } from 'amazon/aws.settings';
import { IServerGroupAdvancedSettingsProps } from './ServerGroupAdvancedS... |
export class RemoteHost {
constructor(public id: string,
public name: string,
public url: string,
public username: string,
public token: string,
public created_at: Date,
public modified_at: Date) {}
} |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
import { Logger, JwtUtils } from "./utils";
import { IFrameNavigator, NavigateResponse, PopupNavigator, RedirectNavigator, PopupWindowParams, I... |
require('source-map-support').install();
import test from 'tape';
import { Document, NodeIO } from '../../';
test('@gltf-transform/core::camera', t => {
const doc = new Document();
doc.createCamera('p')
.setType('perspective')
.setZNear(0.1)
.setZFar(10)
.setYFov(Math.PI / 5)
.setAspectRatio(.5);
doc.c... |
import { makeAutoObservable } from "mobx";
import Drawing from "./drawing";
export default class Options {
offsetContour = false;
constructor(public drawing: Drawing) {
makeAutoObservable(this);
}
set(newOptions: Partial<Options>): void {
Object.assign(this, newOptions);
}
} |
export class ActivityStateHistory {
state: string;
executionDateTime: Date;
message: string;
} |
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
export const iconsTags = {
'activity': ['pulse', 'health', 'action', 'motion'],
'alert-circle': ['warning'],
'alert-triangle': ['warning'],
'archive': ['d... |
import { Component, ChangeDetectionStrategy } from '@angular/core';
import { DataService, Atom } from '../data.service';
import { Observable } from 'rxjs';
const EXAMPLE_TAGS = [
'pivot-column-basic',
'Different implementations of pivot columns'
];
@Component({
selector: 'example-pivot-column-basic',
templateUrl:... |
import { Component, OnInit, Input, ViewChild, Output, EventEmitter } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
import { I18nService } from '../../../../service/i18n.service';
import { PidProcess } from '../../../domain';
interface PidNodeConfigData {
nodeName: string;
nodeIP: s... |
import { shallow } from "enzyme";
import * as React from "react";
import CardGrid from "./CardGrid";
it("should render the className", () => {
const wrapper = shallow(<CardGrid className="foo" />);
expect(wrapper.find(".foo")).toExist();
});
it("should render the children elements", () => {
const wrapper = sha... |
import {
IsBoolean,
IsEnum,
IsNumber,
IsOptional,
IsString,
validateOrReject
} from 'class-validator';
import { Calendar, GymZone, VirtualGym } from '@hubbl/shared/models/entities';
import {
booleanError,
enumError,
numberError,
stringError,
validationParser
} from '@hubbl/shared/models/helpers';... |
/* tslint:disable */
/* eslint-disable */
// This file was automatically generated and should not be edited.
// ====================================================
// GraphQL mutation operation: ProductImageCreate
// ====================================================
export interface ProductImageCreate_productImag... |
import { path as pathModule } from '@graphql-mesh/cross-helpers';
import { MeshResolvedSource } from '@graphql-mesh/runtime';
import {
ImportFn,
Logger,
MeshHandlerLibrary,
MeshMerger,
MeshMergerLibrary,
MeshPubSub,
MeshTransform,
MeshTransformLibrary,
YamlConfig,
} from '@graphql-mesh/types';
import ... |
import { batch, state as s, setObserver } from 'state';
import { IState } from 'state/State';
import Observer from 'observer';
import { ObserverListener } from 'observer/Observer';
const observer = new Observer();
setObserver(observer);
function state<T>(name: string): IState<T> {
return s<T>(name);
}
type State... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NgbCarouselModule, NgbAlertModule } from '@ng-bootstrap/ng-bootstrap';
import { DisplayScreenRoutingModule } from './displayScreen-routing.module';
import { DisplayScreenComp... |
import applyStyle from '../../../../../client/applyStyle'
import namespaceURI from '../../../../../client/component/namespaceURI'
import { Element } from '../../../../../client/element'
import { PropHandler, svgPropHandler } from '../../../../../client/propHandler'
import { Pod } from '../../../../../pod'
import { Syst... |
import {
WebComponent,
EventAttribute,
HOST_SELECTOR,
Lifecycle,
Partial,
ShadowAttachMode,
ShadowDOM,
Style,
Template,
TypedMediaQueryStyleSheet
} from "@springtype/core";
import template from "./Logo.tpl";
@WebComponent('app-logo')
@ShadowDOM(ShadowAttachMode.CLOSED)
@Template... |
import { Component, ViewChild } from '@angular/core';
import { NgForm } from '@angular/forms';
import { faSave } from '@fortawesome/free-solid-svg-icons';
import { UpdateSiteSettingsInput } from '@looped-cms/graphql';
import { SettingsQuery } from '../../state/settings.query';
import { SettingsService } from '../../sta... |
import { GlobalState } from 'ducks/rootReducer';
import { SendingState } from 'components/Feedback/types';
const globalState: GlobalState = {
announcements: {
posts: [{
date: '12/31/1999',
title: 'Y2K',
html_content: '<div>The end of the world</div>',
},
{
date: '01/... |
const dateRegex = /(?=(YYYY|YY|MM|DD|HH|mm|ss|ms))\1([:\/]*)/g;
const timespan = {
YYYY: ['getFullYear', 4],
YY: ['getFullYear', 2],
MM: ['getMonth', 2, 1], // getMonth is zero-based, thus the extra increment field
DD: ['getDate', 2],
HH: ['getHours', 2],
mm: ['getMinutes', 2],
ss: ['getSeco... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-task',
templateUrl: './task.component.html',
styleUrls: ['./task.component.scss']
})
export class TaskComponent implements OnInit {
constructor() { }
ngOnInit() {
}
} |
import {ICommandDescriptor} from "./ICommandDescriptor";
export interface IJSONConfigFile {
commands: Array<ICommandDescriptor>;
name?: string;
output?: {
timestamp?: boolean;
logfile?: string;
}
} |
/**
*
*
* OpenAPI spec version: 20180222
*
*
* NOTE: This class is auto generated by OracleSDKGenerator.
* Do not edit the class manually.
*
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 ... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
import {Component, OnInit} from '@angular/core';
import {Observable} from 'rxjs/Rx';
import {PhotoAlbum} from '../model/photo-album.service';
import {Photo} from '../model/photo';
@Component({
moduleId: module.id,
selector: 'photo-list',
templateUrl: 'photo-list.component.html',
styleUrls: ['photo-list.compone... |
import { CompOptions } from './comp-options.d';
import { Field } from "./field";
declare class ResolvedField extends Field {
_slots:{
[key:string]:CompOptions
};
_formItem: CompOptions;
} |
// ------------------------------------------------------------------------------
/// <auto-generated>
/// This code was generated by a tool.
///
/// Changes to this file may cause incorrect behavior and will be lost if
/// the code is regenerated.
/// </auto-generated>
// ---------------------------------------------... |
import { ExpressContext } from "apollo-server-express/dist/ApolloServer";
import { TokenPayload } from "../@types/types";
import { AuthService } from "../app/auth/auth.service";
import { TodoService } from "../app/todo/todo.service";
import { UserService } from "../app/user/user.service";
export class Context {
pr... |
import { BadRequestException, NotFoundException, PipeTransform } from '@nestjs/common';
export interface IErrorObject {
error: (item: string | undefined) => string;
description: (item: string | undefined) => string;
}
export abstract class ParseEntitySortActivePipe implements PipeTransform {
protected construct... |
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'app-rainy',
templateUrl: './rainy.component.html',
styleUrls: ['./rainy.component.scss']
})
export class RainyComponent implements OnInit {
@Input() text:string = ''
constructor() { }
ngOnInit() {
}
} |
import {
ApplicationOptions
} from './config';
function makeConfigFile(applicationOptions: ApplicationOptions): void {
const hostInfo = applicationOptions.server.split(':');
const serverHost = hostInfo[0];
const serverPort = (hostInfo.length >= 2) ? hostInfo[1] : 80;
const content = `client
dev tun
proto tc... |
/* tslint:disable */
/* eslint-disable */
/**
* Fatture in Cloud API v2 - API Reference
* Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior au... |
import {User} from './user';
/*
Schema derived from the mongodb backend schema.
*/
export class Shuttle {
_id:string;
isActive: boolean;
maxCapacity: number;
vacancies: number;
guestsAllowed: number;
riders: Array<User>;
waitlist: Array<User>;
destination: Array<any>;
origin: Array<any>;
message:str... |
import { Component, ElementRef, EventEmitter, Input, OnDestroy, Output } from '@angular/core';
import { Title, Meta } from '@angular/platform-browser';
import { asapScheduler, Observable, of, timer } from 'rxjs';
import { catchError, observeOn, switchMap, takeUntil, tap } from 'rxjs/operators';
import { DocumentConte... |
import { Component, OnInit, DoCheck } from '@angular/core';
import {Settler, City, SailBoat} from "../shared/units";
import {Game, Tile, Board, Direction, Land, Sea} from "../shared/world";
/**
* This class represents the lazy loaded HomeComponent.
*/
@Component({
moduleId: module.id,
selector: 'sd-home',
temp... |
import {
computeProximityPercent,
formatDistance,
generateSquareCharacters,
getDirectionEmoji,
} from "../domain/geography";
import { Guess } from "../domain/guess";
import React, { useCallback, useEffect, useState } from "react";
import CountUp from "react-countup";
import { SettingsData } from "../hooks/useSe... |
/**
* @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
*/
/**
* @module
* @description
* Entry point for all public APIs of the common package.
*/
import {Version} from ... |
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* 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 l... |
import * as React from 'react';
import { Link } from '@fluentui/react/lib/Link';
import { Sticky, StickyPositionType } from '@fluentui/react/lib/Sticky';
import { IRenderFunction, SelectionMode } from '@fluentui/react/lib/Utilities';
import { DetailsListLayoutMode, Selection, IColumn, ConstrainMode, IDetailsHeaderProps... |
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
// Copyright Joyent, Inc. and Node.js contributors. All rights reserved. MIT license.
import { default as randomBytes } from "./_crypto/randomBytes.ts";
import randomFill, { randomFillSync } from "./_crypto/randomFill.ts";
import randomInt from ... |
import Bus from './bus'
export default (bus: Bus) => () => ({
inspector() {
return Promise.resolve({
apis: bus.listApis(),
clientCount: bus.clientCount(),
uptime: process.uptime(),
})
},
}) |
import Visitor from ".";
import { ASTNode } from "guru-lang-parser";
import RuntimeException from "../../exceptions/runtimeException";
import InterpreterModule from "../../module/interpreterModule";
import Scope from "../scope";
export default class WhileStatement implements Visitor {
visitNode(node: ASTNode) {
... |
export abstract class ResourceListFilter {
inputBoxVisible: boolean;
inputBoxFocused: boolean;
abstract toggleInputBoxVisibility();
abstract publishValue();
protected showInputBoxAndSetFocusOnIt() {
this.inputBoxVisible = true;
this.inputBoxFocused = true;
}
protected removeFocusFromInputBoxAn... |
// THIS FILE IS AUTO GENERATED
import { IconTree, IconType } from '../lib'
export declare const FaDownload: IconType; |
// Generate random room name if needed
if (!location.hash) {
location.hash = Math.floor(Math.random() * 0xF).toString(16);
}
const roomHash = location.hash.substring(1);
// TODO: Replace with your own channel ID
const drone = new ScaleDrone('2xmbUiTsqTzukyf7');
// Room name needs to be prefixed wit... |
import { ElementRef } from '@angular/core';
import { Observable } from 'rxjs';
export declare const stagger: (targets: ElementRef<any>[], animation: (target: ElementRef<any>) => Observable<any>, d: number) => Observable<any>; |
// *** 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 Chris Dunphy and Myles Trevino
Licensed under the Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0
*/
import Head from 'next/head';
import Constants from '../../common/constants';
export default function Help(): JSX.Element {
// Render.
return (<>
<Head>
<title>Saving a... |
import React, { FC, useCallback, useState } from 'react'
import { Select } from './index'
export default { title: 'Select' }
export const Common: FC = () => {
return (
<Select
data={[
{ value: 1, name: '三星' },
{ value: 2, name: '苹果' },
{ value: 3... |
export { AsyncEventObservable } from './async-event-observable';
export { AsyncEventSubject } from './async-event-subject';
export { AsyncEvent, AsyncEventState, IAsyncEvent, InitAsyncEvent } from './async-event'; |
/* *************************************************************************
The MIT License (MIT)
Copyright (c)2016-2017 Atom Software Studios. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
dea... |
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Opcion } from 'src/app/entidades/opcion';
import { Pregunta } from 'src/app/entidades/pregunta';
@Component({
selector: 'app-consulta',
templateUrl: './consulta.component.html',
styleUrls: ['./consulta.component.scss'],
})
e... |
import { Tooltip, Position, TipPointerPosition } from '../../src/tooltip/tooltip';
/**
* tooltip position sample
*/
let tooltip: Tooltip = new Tooltip({
content: 'Tooltip Content',
opensOn: 'Click',
animation: {
open: { effect: 'None', duration: 0, delay: 0 },
close: { effect: 'None', dur... |
import {
CloudHSMClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes
} from "../CloudHSMClient";
import { ModifyHapgRequest, ModifyHapgResponse } from "../models/index";
import {
deserializeAws_json1_1ModifyHapgCommand,
serializeAws_json1_1ModifyHapgCommand
} from "../protocols/Aws_json1_1";
import { ... |
import * as lc from 'vscode-languageclient/node';
import * as vscode from 'vscode';
import * as ra from '../src/lsp_ext';
import * as Is from 'vscode-languageclient/lib/common/utils/is';
import { assert } from './util';
import { WorkspaceEdit } from 'vscode';
import { Workspace } from './ctx';
export interface Env {
... |
import { SceneObject } from '../objects/SceneObject.js';
import { Intersection } from './Intersection.js';
import { Ray } from './Ray.js';
export class RayTracer {
constructor(public readonly ray: Ray) { }
/**
* Determine the hit.
* @description Requires an intersection array
* sorted in ascend... |
import {
CmsFieldTypePlugins,
CmsModel,
CmsModelFieldDefinition,
CmsModelFieldToGraphQLPlugin
} from "~/types";
interface RenderInputFields {
(params: { model: CmsModel; fieldTypePlugins: CmsFieldTypePlugins }): CmsModelFieldDefinition[];
}
export const renderInputFields: RenderInputFields = ({ mo... |
import ts from 'typescript';
import { ScriptBuilder } from '../../sb';
import { VisitOptions } from '../../types';
import { Helper } from '../Helper';
// Input: [...[key, val]]
// Output: [map]
export class NestedArrToMapHelper extends Helper {
public emit(sb: ScriptBuilder, node: ts.Node, options: VisitOptions): vo... |
import { RequestSender, Response } from '@bigcommerce/request-sender';
import { AddressRequestBody } from '../../../address';
import { BillingAddressActionCreator, BillingAddressUpdateRequestBody } from '../../../billing';
import { CheckoutStore, InternalCheckoutSelectors } from '../../../checkout';
import {
Missi... |
import {
$mobx,
IIsObservableObject,
ObservableObjectAdministration,
warnAboutProxyRequirement,
assertProxies,
die,
isStringish,
globalState,
CreateObservableOptions,
asObservableObject
} from "../internal"
// 返回目标对象的$mobx
function getAdm(target): ObservableObjectAdministration {... |
import * as PIXI from 'pixi.js';
import { BasicLayout } from './utils/Layout';
import { UIComponent } from './types/UIComponent';
import { STATE_DEFAULT } from './Constant';
import {
EVENT_ADDED,
EVENT_REMOVED,
EVENT_POINTER_CANCEL,
EVENT_POINTER_DOWN,
EVENT_POINTER_MOVE,
EVENT_POINTER_OUT,
... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule } from '@angular/forms';
import Spy = jasmine.Spy;
import { EMPTY } from 'rxjs';
import { BulkUploadComponent } from './bulk-upload.component';
import { Person } from '../../lib';
import { PersonService } from '../p... |
export enum MessageType {
Text = 0,
MethodInvocation = 1,
ConnectionEvent = 2
}
export class Message {
public messageType: MessageType;
public data: string;
} |
import { IPersonaProps } from 'office-ui-fabric-react';
import { IPersonaCoinComponent, IPersonaCoinStylesReturnType } from './PersonaCoin.types';
import { getPersonaInitialsColor } from 'office-ui-fabric-react/lib/Persona';
export const DEFAULT_PERSONA_COIN_SIZE = 48;
export const PersonaCoinStyles: IPersonaCoinComp... |
<TS language="ach" version="2.1">
<context>
<name>AboutDialog</name>
</context>
<context>
<name>AddressBookPage</name>
</context>
<context>
<name>AddressTableModel</name>
</context>
<context>
<name>AskPassphraseDialog</name>
</context>
<context>
<name>KrugercoinGUI</name>
</conte... |
import 'reflect-metadata';
import express, { Response, Request, NextFunction } from 'express';
import swaggerUi from 'swagger-ui-express';
import cors from 'cors';
import helmet from 'helmet';
import { RegisterRoutes } from './tsoa_generated/routes';
import swaggerJSON from './swagger.json';
import logger from './loggi... |
import { Component, OnInit } from '@angular/core';
import {CommonapiService} from '../../../dashboard/_services/commonapi.service';
import { CommonVariableService } from '../../../dashboard/_services/commonvariable.service';
import { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';
im... |
import { Address } from '@xchainjs/xchain-client'
import { ETHAddress, getTokenAddress } from '@xchainjs/xchain-ethereum'
import {
Asset,
assetAmount,
AssetAmount,
AssetBCH,
AssetBNB,
AssetBTC,
AssetETH,
assetFromString,
AssetLTC,
AssetRune67C,
AssetRuneB1A,
AssetRuneERC20,
AssetRuneERC20Testn... |
import { GIModel, TId } from '@design-automation/mobius-sim';
import { _EOffset } from './_enum';
/**
* Offset a polyline or polygon, with chamfered joints.
*
* @param __model__
* @param entities A list of pollines or polygons, or entities from which polylines or polygons can be extracted.
* @param dist Offset dis... |
import { IconDefinition } from '../types';
declare const AmazonOutline: IconDefinition;
export default AmazonOutline; |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { CommonModule } from '@angular/common';
import { ButtonModule } from '../component/button';
import { E2ERouterModule } from './e2e-route';
import { RootComponent } from './root-app/root-app';
import { Button... |
import * as React from 'react';
const Gift24FilledIcon = () => {
return(
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 59.1 (86144) - https://ske... |
import { Organizations } from "../Organizations";
import { OrganizationsClient } from "../OrganizationsClient";
import {
ListTargetsForPolicyCommand,
ListTargetsForPolicyCommandInput,
ListTargetsForPolicyCommandOutput,
} from "../commands/ListTargetsForPolicyCommand";
import { OrganizationsPaginationConfiguration... |
import tw, { styled, css } from 'twin.macro';
import { Input } from '../input';
import { TogglerProps } from './toggler-types';
export const Toggler = ({
label, value, onChange = () => {}, disabled,
}: TogglerProps) => (
<Checkbox disabled={disabled}>
<CheckboxInput type="checkbox" checked={Boolean(value)} va... |
import { MigrationInterface, QueryRunner, Table } from 'typeorm';
export class CreateSurveys1614120192116 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.createTable(
new Table({
name: 'surveys',
columns: [
{
... |
import cloudtrail = require('@aws-cdk/aws-cloudtrail');
import lambda = require('@aws-cdk/aws-lambda');
import s3 = require('@aws-cdk/aws-s3');
import cdk = require('@aws-cdk/cdk');
import codepipeline = require('../lib');
const app = new cdk.App();
const stack = new cdk.Stack(app, 'aws-cdk-codepipeline-lambda');
co... |
export interface UserDAO {
getUserByToken(token: string): User | null
}
export type User = {
id: string
limit: number
}; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.