text stringlengths 10 953k |
|---|
export enum TermsType {
Terms,
Cookie,
Privacy
} |
import {
CognitoIdentityProviderClientResolvedConfig,
ServiceInputTypes,
ServiceOutputTypes,
} from "../CognitoIdentityProviderClient";
import { RevokeTokenRequest, RevokeTokenResponse } from "../models/models_0";
import {
deserializeAws_json1_1RevokeTokenCommand,
serializeAws_json1_1RevokeTokenCommand,
} fro... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-statistics',
templateUrl: './statistics.component.html',
styleUrls: ['./statistics.component.css']
})
export class StatisticsComponent implements OnInit {
// Doughnut
public doughnutChartLabels: string[] = ['Rejected', 'Approved',... |
import { MoreConfigurationModule } from './more-configuration.module';
describe('MoreConfigurationModule', () => {
let moreConfigurationModule: MoreConfigurationModule;
beforeEach(() => {
moreConfigurationModule = new MoreConfigurationModule();
});
it('should create an instance', () => {
expect(moreC... |
import { reactive, ref, Ref } from 'vue';
import { useQuery } from 'vue-query';
import { UseQueryOptions } from 'react-query/types';
import QUERY_KEYS from '@/constants/queryKeys';
import { coingeckoService } from '@/services/coingecko/coingecko.service';
import { TokenPrices } from '@/services/coingecko/api/price.serv... |
declare module 'web-worker:*' {
const WokerFactory: new () => Worker;
export default WokerFactory;
} |
import classNames from 'classnames';
import { ComponentClassNames } from '../../shared';
import { View } from '../../View';
export const IconPhoneForwarded = (props) => {
const { className, ...rest } = props;
return (
<View
as="span"
width="1em"
height="1em"
className={classNames(Compo... |
import {
Field,
Type,
toType,
eType,
Protocol,
} from "./meta";
import {
Sproto
} from "./sproto";
// 类型
// string
// binary (string)
// interger
// interger(n)
// double ieee 754
// boolean
// * 数组
// unordered map
// Each integer number must be serialized in little-endian format.
// The he... |
import React from 'react';
/**
* Terms content
*/
// tslint:disable max-line-length
export const TermsContent: React.FC = () => (
<>
<h1>Terms & Privacy</h1>
<p>
<em>Last updated: July 11, 2019</em>
</p>
<p>
Welcome to Gift. This document sets out the terms for using the Gift websi... |
import { Injectable } from "@angular/core";
import {
HttpRequest,
HttpHandler,
HttpEvent,
HttpInterceptor,
} from "@angular/common/http";
import { AuthService } from "./auth.service";
import { Observable } from "rxjs";
@Injectable()
export class TokenInterceptor implements HttpInterceptor {
intercept(
req... |
import { AdminDeleteUserDocument } from "@app/graphql"
import {
asRoot,
createEventDataAndLogin,
deleteTestData,
runGraphQLQuery,
setup,
teardown,
} from "../helpers"
beforeEach(deleteTestData)
beforeAll(setup)
afterAll(teardown)
describe("AdminDeleteUser", () => {
it("can delete a user as an admin use... |
// Type definitions for non-npm package plaid-link-browser 2.0
// Project: https://github.com/plaid/link (Does not have to be to GitHub, but prefer linking to a source code repository rather than to a project website.)
// Definitions by: Aaron Holderman <https://github.com/afholderman>
// Hannes Kindstr... |
export const ERC20Basic =
{
"contractName": "ERC20Basic",
"abi": [
{
"constant": true,
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": ... |
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('porfoli... |
import React, { useEffect, useRef, useState } from 'react';
interface RenderOnIntervalProps {
refreshIntervalInSeconds?: number;
live?: boolean;
render: () => React.ReactNode;
}
export const RenderOnInterval = ({
refreshIntervalInSeconds = 1,
live = true,
render,
}: RenderOnIntervalProps) => {
const setT... |
import { get as extractObjectProperty } from 'lodash'
export const isArraySorted = (array: any[], ascending = true) => {
if (ascending) return array.every((element, index) => index === 0 || element >= array[index - 1])
else
return array.every(
(element, index) => index === array.length - 1 || element >= ... |
export interface IMeta {
coverage: string;
planName: string;
status: string;
effectiveDate: string;
asOfDate: string;
createdOn: string;
updatedOn: string;
} |
/* eslint no-console: "off" */
import * as path from 'path';
import { Server } from 'http';
import * as express from 'express';
import * as React from 'react';
import { renderToString } from 'react-dom/server';
import { StaticRouter as Router } from 'react-router-dom';
import { MainApp } from './pages/App';
import * ... |
import { addDao, addToEachEnv } from '@restlessness/utilities';
const postInstall = async () => {
const PROJECT_PATH = process.argv[2];
try {
await addDao(PROJECT_PATH, 'mongo', {
id: 'mongo',
name: 'MongoDB',
package: '@restlessness/dao-mongo',
});
} catch (e) {
console.error('Unha... |
import { Injectable, EventEmitter } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class EventsService {
// Update event emiting the time since the last frame
public update: EventEmitter<number>;
constructor() {
this.update = new EventEmitter();
}
start() {
this.updateEvent();... |
export default {
route: {
dashboard: '首页',
example: '综合实例',
nested: '路由嵌套',
menu1: '菜单 1',
'menu1-1': '菜单 1-1',
'menu1-2': '菜单 1-2',
'menu1-2-1': '菜单 1-2-1',
'menu1-2-2': '菜单 1-2-2',
'menu1-3': '菜单 1-3',
menu2: '菜单 2',
tree: '树形控件',
table: '表格',
form: '表单',
exte... |
import process from "https://deno.land/std@0.119.0/node/process.ts";
const packageInfo = { version: "3.32.0" };
import { decorateDefaultCredentialProvider } from "../client-sts/mod.ts";
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "../config-resolver/mod.ts";
import { defaultProvider as ... |
// Import tasks from vsts
import * as tl from "azure-pipelines-task-lib/task";
// Import the glob library so that wildcard paths can be resolved
import * as glob from "glob";
// Import common tasks
import * as task from "./common/TaskConfiguration";
import {sprintf} from "sprintf-js";
async function run() {
//... |
import { Action } from '../';
export const ADD_TEXT_EDITOR = 'ADD_TEXT_EDITOR';
export function AddTextEditorAction(filePath: string | undefined): Action {
return {
type: ADD_TEXT_EDITOR,
payload: {
filePath
}
}
} |
import styled from 'styled-components';
import tw from 'twin.macro';
const Title = styled.p`
${tw`text-gray-500 text-xl px-12 py-2 md:text-2xl font-bold sm:(font-semibold)`};
`;
export default Title; |
import "reflect-metadata";
export type {DecoratorParameters, DecoratorMethodParameters, StaticMethodDecorator, MetadataTypes, ValueOf, HashOf} from "./interfaces";
export * from "./utils";
export * from "./domain";
export * from "./errors/UnsupportedDecoratorType";
export * from "./decorators"; |
type Heap<T> = {
insert: (elem: T) => void;
del: () => T;
size: () => number;
getInnerArray: () => T[];
};
type Comparator<T> = (a: T, b: T) => number;
function create<T>(comparator: Comparator<T>): Heap<T> {
const arr: T[] = [];
const leftChildIndex = (index: number): number => {
return index * 2 + ... |
import './style.less'
import BreadCrumb from '@/components/BreadCrumb'
import { wholeModel } from '@/util/store'
import { Avatar, Badge, Dropdown, Icon, Layout, Menu } from 'antd'
import React from 'react'
import { RouteComponentProps, withRouter } from 'react-router'
const { Header } = Layout
const { Item, SubMenu }... |
import { Curricula } from "./curricula.bean";
import { User } from "./user.bean";
export class ProfessionalSchool {
idProfessionalSchool: number;
name: string;
curricula: Array<Curricula>;
users: Array<User>;
} |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { AppComponent } from './app.component';
import { CommonModule } from '@angular/common';
import { BrowserAni... |
export * from '../../gui/login/login.activateguard';
export * from '../../gui/login/login.deactivateguard';
export * from '../../gui/logout/logout.guard';
export * from '../../gui/members-area/members-area.activateguard';
export * from './transcr-end.activateguard';
export * from './settings.activateguard'; |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... |
import { Participant } from "../model/participant";
import { Thread } from "../model/thread";
import { Message } from "../model/message";
export interface AllUserData{
participants: Participant[];
threads: Thread[];
messages: Message[];
} |
import { EventType } from 'engine/enums/event-type';
import _events from 'engine/events';
import { chatnpc, chatplayer } from 'shared/dialog';
import { getName } from 'shared/util';
_events.bindEventListener(EventType.OPNPC1, 14745, async (ctx) => {
await chatplayer(ctx.player, "Merry Christmas Zavistic!");
awai... |
import { Component, OnInit, ViewChild, HostListener, AfterViewInit, ChangeDetectorRef } from '@angular/core';
import { DomSanitizer, SafeResourceUrl, SafeUrl} from '@angular/platform-browser';
import { ApiService } from '../api.service';
import { MdbTablePaginationComponent, MdbTableDirective } from 'angular-bootstrap-... |
import { Logger } from 'winston';
import { promises as fs } from 'fs';
import db, { Transaction } from './db';
import { Job, JobStatus, terminalStates } from '../models/job';
import env from './env';
import { updateWorkItemStatusesByJobId, WorkItemStatus } from '../models/work-item';
import { ConflictError, NotFoundErr... |
import { createContext } from '../utils/context';
import { UseDropdownReturn } from './use-dropdown';
export const [DropdownProvider, useDropdownContext] =
createContext<UseDropdownReturn>({
name: 'DropdownContext',
errorMessage:
'useDropdownContext: `context` is undefined. Seems you forgot to wrap all... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { BrowserStringUtils } from "../utils/BrowserStringUtils";
import { BrowserAuthError } from "../error/BrowserAuthError";
// SHA-256 hashing algorithm
const HASH_ALG = "SHA-256";
/**
* This class implements f... |
import type { GraphQLFieldConfig } from 'graphql'
import { GraphQLID } from 'graphql'
import { fromGlobalId } from 'graphql-relay'
import { DeckModel } from '../../mongo'
import { DeckStatisticsType } from './types'
interface DeckStatisticsArgs {
deckId?: string
}
export const deckStatistics: GraphQLFieldConfig<
... |
import * as functions from 'firebase-functions';
import * as admin from 'firebase-admin';
import * as firebaseHelper from 'firebase-functions-helper';
import * as express from 'express';
import * as bodyParser from 'body-parser';
admin.initializeApp(functions.config().firebase);
const db = admin.firestore();
const ... |
import React from 'react'
import {css} from 'aphrodite/no-important'
import VolumeSlider, {VolumeSliderProps} from '../VolumeSlider'
import * as icons from '../icons/controller'
import styles from '../Controller.styles'
import ControllerButton from './ControllerButton'
import {useLocaleText} from '../../contexts/Locale... |
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 { Application } from 'egg';
export default (app: Application) => {
const { controller, router } = app;
// 添加文章
router.put('/article',controller.article.addArticle);
// 获取文章数据
router.get('/article',controller.article.getArticle);
// 获取最近文章
router.get('/article/recently',controller.article.getRecen... |
import { createExtension } from "@cognigy/extension-tools";
import { googleFirebaseConnection } from "./connections/googleFirebaseConnection";
import { getNode } from "./nodes/get";
import { setNode } from "./nodes/set";
import { updateNode } from "./nodes/update";
export default createExtension({
nodes: [
setNod... |
import { Container } from '../container'
import { Token } from '../token'
import { CannotInjectValueError } from '../error/cannotInjectValue'
import { resolveToTypeWrapper } from '../utils/resolveToTypeWrapper'
import { Constructable } from '../types/constructable'
import { ServiceIdentifier } from '../types/serviceIde... |
/* tslint:disable max-line-length */
import { TestBed, getTestBed } from '@angular/core/testing';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { HttpClient, HttpResponse } from '@angular/common/http';
import { of } from 'rxjs';
import { take, map } from 'rxjs/ope... |
import { HttpClient } from '@angular/common/http';
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-demand',
templateUrl: './demand.component.html',
styleUrls: ['./demand.component.css']
})
export class DemandComponent implements OnInit {
list:demand[] = [];
empty:boolean = f... |
import { optionEnabled } from '../../runtime/helper/options.js';
import { Expectation } from '../logging/result.js';
import { CaseParams } from '../params_utils.js';
import { assert, unreachable } from '../util/util.js';
import { compareQueries, Ordering } from './compare.js';
import { encodeURIComponentSelectively } ... |
import { Component, OnInit, Input, OnDestroy } from '@angular/core';
import { Observable } from 'rxjs';
import { Store } from '@ngrx/store';
import { AppState } from '@store';
import * as scenesStore from '@store/scenes';
import { ScenesService, ScreenSizeService } from '@services';
import { SubSink } from 'subsink';... |
import React from 'react';
import { Button, Text, useTheme } from 'react-native-paper';
interface StyledButtonProps {
categoryButton: () => void;
name: string;
}
export const StyledButton = (props: StyledButtonProps) => {
const { colors, roundedCorner } = useTheme();
return (
<Button
style={{ just... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import cytoscape from 'cytoscape';
import type { WorkflowNode, WorkflowEdge } from '@/commons/types';
type Path = WorkflowNode[];
/**
* Get different paths from the root node to the goal node with no loop.
* @note
* The implementation cann... |
/*
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requi... |
import {expect, test} from '@oclif/test'
import cmd = require('../src')
describe('ms-teams-adaptive-notifications', () => {
test
.stderr()
.do(() => cmd.run([]))
.catch(error => {
expect(error.message).to.contain('Missing 1 required arg:')
expect(error.message).to.contain('webhookURL Microsoft Teams ... |
import { BaseEntity } from './base.entity';
import { UserEntity } from './user.entity';
export { UserEntity, BaseEntity }; |
import React from 'react'
import { Main } from './components'
export const App = (): JSX.Element => (
<Main />
) |
import { CertificatesClient } from "../src";
import { DefaultAzureCredential } from "@azure/identity";
// This sample creates a self-signed certificate, reads it in various ways,
// updates the tags of the certificate and finaly deletes the certificate.
async function main(): Promise<void> {
// If you're using MSI,... |
import { Component } from "@angular/core";
@Component({
selector: "ns-app",
templateUrl: "./shared/app.component.html"
})
export class AppComponent {} |
export { DaffAnalyticsDataLayer } from './lib/data-layer.service';
export {
DataLayer,
DataLayerItem,
} from './lib/data-layer';
export { EcommerceDataLayer } from './lib/layers/ecommerce';
export { VirtualPageViewDataLayer } from './lib/layers/pageview';
export {
provideDataLayerTracker,
DataLayerTracker,
} fr... |
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class ParticleService {
constructor() { }
} |
/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
import { ITelemetryLogger } from "@fluidframework/common-definitions";
import { IConnectionDetails } from "@fluidframework/container-definitions";
import { ConnectionMode, IQuorumClients, ISequenced... |
/*
Copyright 2020-2021 University of Oxford
and Health and Social Care Information Centre, also known as NHS Digital
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/licens... |
import { Component } from '@angular/core';
import { ClickMe3Component } from './final.component'
import { array3 } from './array'
export class Array3 {
marry: string;
unmarry: string;
spouse: string;
kids: number;
constructor(marry:string, unmarry:string, spouse:string, kids:number){
this.marry = m... |
import { RootState } from "../../utils/types"
export const currentStrokeSelector = (state: RootState) =>
state.currentStroke |
/**
* Function that returns a new decorator that applies all decorators provided by param
*
* Useful to build new decorators (or a decorator factory) encapsulating multiple decorators related with the same feature
*
* @param decorators one or more decorators (e.g., `ApplyGuard(...)`)
*
* @publicApi
*/
export de... |
import { EntityRepository, Repository } from "typeorm";
import { Tag } from '../entities/Tag';
@EntityRepository(Tag)
class TagsRepository extends Repository<Tag>{}
export { TagsRepository }; |
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { CoreModule } from '../../../core/core.module';
import { SharedModule } from '../../../shared/shared.module';
import { ConnectEndpointComponent } from '../connect-endpoint/connect-endpoint.component';
import { CreateEndpo... |
import Player from '../Actors/Player';
import Sounds from './Sounds';
const SOUND_MAP = {
PLACING_LOO_PAPER: 'placing_loo_paper',
PLACING_BOMB: 'placing_bomb',
PLACING_PAPER: 'placing_paper',
};
class PlayerSounds extends Sounds {
player: Player;
constructor(player: any) {
super();
this.player = p... |
import { APIError } from 'linode-js-sdk/lib/types';
export const baseGaugeProps = {
height: 110,
width: '100%'
};
export interface BaseProps {
clientID: number;
lastUpdatedError?: APIError[];
} |
import React, { Component, HTMLAttributes } from "react"
import styled from "styled-components"
// images
import mainImage from "../../images/suapc2020.jpg"
const LogoWrap = styled.div`
padding: 6.7rem 0.7rem 4.3rem 1rem;
margin: 1rem auto 5rem auto;
background-image: url(${mainImage});
background-repeat: no-... |
import { Injectable } from "@angular/core";
import { Http, Response } from "@angular/http";
import { Mod } from "../models/mod";
import 'rxjs/add/operator/toPromise';
@Injectable()
export class ModService {
private host = 'http://localhost:3001/';
private get_url = this.host + 'mods';
private post_url = this.h... |
import { Key } from "selenium-webdriver";
import { WindowControls, ContextMenu } from "../..";
import { Menu } from "./Menu";
import { MenuItem } from "./MenuItem";
/**
* Page object representing the custom VSCode title bar
*/
export class TitleBar extends Menu {
constructor() {
super(TitleBar.locators.T... |
import { ipcRenderer } from 'electron';
import AutoLaunch from 'auto-launch';
import pkg from '$Package';
export const mockPromise = ( data = null ) =>
new Promise( ( resolve ) => {
setTimeout( () => {
resolve( data );
}, 1000 );
} );
export const checkOnBoardingCompleted = () => ... |
import React from "react"
import { render } from "react-dom"
import { createStyles } from "@material-ui/core"
import "./FrontDesk.css"
import logo from "../../logo.svg"
interface FrontDeskState {
searchBlock: JSX.Element | null,
availablePractitioners: JSX.Element | null | JSX.Element[],
promotionBlock:... |
import { Parameter } from './parameter';
export interface Feature extends Parameter {
} |
import {Game} from "./game";
const g = new Game(); |
import { NotificationType } from "vscode-languageserver-protocol";
export namespace ShowScenarios {
export const type = new NotificationType<
ShowScenariosParam,
void
>("weave/workspace/publishScenarios");
export interface ShowScenariosParam {
nameIdentifier: string,
scenarios: Array<Scenario>
... |
/**
* @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 {disableDebugTools, enableDebugTools} from '@angular/platform-browser';
import {callNgProfilerTimeChangeDete... |
import { ConfigParams } from 'pip-services3-commons-node';
import { IConfigurable } from 'pip-services3-commons-node';
import { IReferences } from 'pip-services3-commons-node';
import { IReferenceable } from 'pip-services3-commons-node';
import { FilterParams } from 'pip-services3-commons-node';
import { PagingParams }... |
import { HomeLayout } from '../components/layouts/Home';
export const Home = () => {
return <HomeLayout />;
}; |
import { ForecastClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ForecastClient";
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
import {
deserializeAws_json1_1TagResourceCommand,
serializeAws_json1_1TagResourceCommand,
} from "../protocols/Aws_json1_1";
import ... |
/**
* @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 { BuilderContext } from '@angular-devkit/architect';
import { json } from '@angular-devkit/core';
import * as ... |
import { Controller, Post, Body, UseGuards, Get } from '@nestjs/common';
import { CreateOrgDTO } from './dto/createOrg.dto';
import { AuthGuard } from '@nestjs/passport';
import { GetUser } from 'src/auth/get-user.decorator';
import { OrganisationsService } from './organisations.service';
import { User } from 'src/auth... |
import {
randomCommodity,
randomDesk,
randomEmail,
randomFeeRate,
generateFilledQuantity,
randomId,
randomIncoterm,
generateIsFilled,
randomQuantity,
randomTraderName,
randomUnitPrice,
randomUnitPriceCurrency,
randomStatusOptions,
randomPnL,
randomTradeDate,
randomMaturityDate,
randomB... |
import { Component, Prop } from '@stencil/core';
import * as L from 'leaflet';
// const canvg: any = require('canvg-browser');
import html2canvas from 'html2canvas';
import canvgbrowser from 'canvg-browser';
@Component({
tag: 'gis-viewer',
styleUrls: ['gis-viewer.scss', '../../../node_modules/leaflet/dist/leaf... |
export interface SymbolIndex {
[sym: symbol]: unknown;
}
export interface PartialIndex {
[optName: `data-${string}`]: unknown;
}
export interface UnionIndex {
[optName: string | symbol]: unknown;
} |
import { expect, haveResource, haveResourceLike, ResourcePart } from '@aws-cdk/assert';
import assets = require('@aws-cdk/assets');
import cdk = require('@aws-cdk/cdk');
import cxapi = require('@aws-cdk/cx-api');
import { Test } from 'nodeunit';
import path = require('path');
import lambda = require('../lib');
// tsli... |
import {GetServerSideProps, InferGetServerSidePropsType} from 'next'
import Head from 'next/head'
export const getServerSideProps: GetServerSideProps = async () => {
// TODO try to access database from here directly?!
const res = await fetch('http://localhost:3001/messages')
const data = await res.json()
retu... |
export default function useEnv() {
const appDomain = process.env.VUE_APP_DOMAIN || 'app.balancer.fi';
return { appDomain };
} |
import { Field, InputType } from '@nestjs/graphql';
import { FindManyOptions, ILike } from 'typeorm';
import { User } from 'src/module/user/model/user';
import { UserList } from 'src/module/user/model/user-list';
@InputType()
export class ListUser {
@Field(() => String, { nullable: true })
query = '';
@Field({ ... |
export * from './confirmed-acount-object.interface'; |
import * as React from 'react';
export type MaytagProps = React.ComponentPropsWithoutRef<'svg'> & {
/**
* 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 | n... |
import { ChangeEvent, Fragment } from 'react'
import { approxOptions } from '@core/approxOptions'
import { ApproxNameTypes } from '@core/enum/approxNameTypes'
import { t } from '@i18n'
import datasetStore from '@store/dataset/dataset'
import { Select } from '@ui/select'
interface IProps {
approx: string
handleSet... |
/* eslint-disable sonarjs/cognitive-complexity */
import { ok } from 'assert';
import AwaitEventEmitter from 'await-event-emitter/types';
import { uniq } from 'lodash';
import { ImportSpecifierStructure, Project } from 'ts-morph';
import { generate } from '../generate';
import { generateFileName } from '../helpers/gen... |
export interface AfterwareResponse {
response: Response;
options: RequestInit;
}
export interface AfterwareInterface {
applyAfterware(response: AfterwareResponse, next: Function): any;
}
export interface BatchAfterwareResponse {
responses: Response[];
options: RequestInit;
}
export interface BatchAfterware... |
/// <reference path="node.d.ts" />
import * as net from 'net';
import * as events from 'events';
import * as crypto from 'crypto';
import * as stream from 'stream';
var gearman_packet = require('gearman-packet');
var through = require('through2');
var uuid = require('uuid');
let packet_handler_lists = {
common_h... |
import * as zmq from "zeromq"
export async function run(name: string) {
const sock = new zmq.Subscriber;
sock.connect("tcp://127.0.0.1:6667");
sock.subscribe();
console.log("Subscriber connected to backbone.");
let id = 0;
for await (const [topic, msg] of sock) {
console.log(`Module ${... |
import { BrowserModule } from '@angular/platform-browser';
import { HttpModule } from '@angular/http';
import { NgModule, ErrorHandler } from '@angular/core';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { SplashScreen } from '@ionic-native/splash-screen';
import { IonicStorageMod... |
import {Type} from '@angular/core';
import {InternalEvent} from '@paddls/ngx-repository';
export class BeforeHttpFindAllEvent implements InternalEvent {
public type: Type<any>;
public query: any;
public constructor(data: Partial<BeforeHttpFindAllEvent>) {
Object.assign(this, data);
}
} |
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
/* @relayHash eed57fcf2a7d986e20a7b00bc432b9e1 */
import { ConcreteRequest } from "relay-runtime";
import { FragmentRefs } from "relay-runtime";
export type MyCollectionArtworkFullDetailsQueryVariables = {
artworkSlug: string;
};
export type MyCollectionArtw... |
// eslint-disable-next-line
export default {
name: 'default_light',
/**
* Primary Color
*/
primary: '#4440ed',
/**
* Text/icons on primary color
*/
on_primary: '#ffffff',
/**
* Foreground color
*/
fg: '#232633',
/**
* Accents
*/
accent_1: '#9194a4',
accent_2: '#d7dcec',
acc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.