text
stringlengths
10
953k
import { MigrationInterface, QueryRunner, TableForeignKey } from 'typeorm' export class AddUserRelationToPetTable1577009377346 implements MigrationInterface { private tableForeignKey = new TableForeignKey({ name: 'fk_user_pet', columnNames: ['user_id'], referencedColumnNames: ['id'], referencedTabl...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
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...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Builder SDK Github: // https://github.com/Microsoft/BotBuilder // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // Permission ...
/* * Copyright 2020 EPAM Systems * * 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 in ...
export default interface Metadata { readonly cardKingdomIdsSize: number; readonly cardNamesSize: number; readonly date: string; readonly scryfallIdsSize: number; readonly setCodesSize: number; readonly setIndexCardIndexMultiverseIdsSize: number; readonly setNamesSize: number; readonly tcgplayerProductId...
const theme = { '--background': '#F3F0F7', '--primary': '#CC0FE0', '--primary-dark-1': '#B80ECA', '--primary-dark-2': '#A30CB3', '--primary-light-1': '#D127E3', '--primary-light-2': '#D63FE6', '--secondary': '#7E1BCC', '--secondary-transparent': 'rgba(126, 27, 204, 0.85)', '--secondary-dark-1': '#71...
// This file is intented to be used simply calling "pnpm i" or "pnpm migrate" import type { FeedbackQuestionOption } from "../entities/feedback"; import type { FeedbackQuestionType } from "../../client/constants"; import fs from "fs"; import path from "path"; const migration = async () => { const { FeedbackQuestion...
let _ = require('lodash'); let async = require('async'); let assert = require('chai').assert; import { ConfigParams } from 'pip-services3-commons-node'; import { Descriptor } from 'pip-services3-commons-node'; import { BeaconV1 } from '../../../src/clients/version1/BeaconV1'; import { BeaconsMemoryClientV1 } from '.....
import { Controller, Get, Post } from '@nestjs/common'; import { AppService } from './app.service'; @Controller() export class AppController { constructor(private readonly appService: AppService) {} @Get('/hello') getHello(): string { return this.appService.getHello(); } @Post('/hello') postHello(): ...
class Home { public static Start(): void { $.ajax( { url : "./pages/menu.html", success: (data) => { $("#page").fadeOut( 500, "linear", () => { document.getElementById("page").innerHTML = data; $("#page").fadeIn(500); } ) } } ); } }
import React, { ChangeEventHandler, HTMLAttributes } from 'react' import useInput from '../src/hooks/useInput' import useTextInput, { useInputValueState } from '../src/hooks/useTextInput' import TextInput from '../src/TextInput' export const TextInputExample0: React.FC = () => { const textInput = useTextInput() r...
import { Injectable } from '@angular/core'; import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { AccountService } from '../_services'; @Injectable({ providedIn: 'root' }) export class AuthGuard implements CanActivate { constructor( private router: R...
export class AssignmentUser { id: number; course: string; name: string; type: number; open: number; due: number; instruction: string; instructionLink: string; typeName: string; year: number; quarter: string; user: string; grade: number; }
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-accountinfos', templateUrl: './accountinfos.page.html', styleUrls: ['./accountinfos.page.scss'], }) export class AccountinfosPage implements OnInit { constructor() { } ngOnInit() { } } @Component({ selector: 'slider', te...
import { render } from '../'; import { desktop } from '@b/Page/Page.registry/desktop'; import { Page } from '@b/Page'; render(Page, desktop); module.hot && module.hot.accept( '../components/Page', () => render(require('@b/Page').Page, desktop) );
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
import { registerMigration, fillDefaultValues } from './migrationUtils'; import { Notifications } from '../../lib/collections/notifications/collection'; registerMigration({ name: "setDefaultNotificationValues", dateWritten: "2019-10-23", idempotent: true, action: async () => { await fillDefaultValues({ ...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdPhonePaused extends React.Component<IconBaseProps, any> { }
import { GetStaticProps } from 'next'; import client from 'graphql/client'; import { GetPlacesQuery } from 'graphql/generated/graphql'; import { GET_PLACES } from 'graphql/queries'; import HomeTemplate from 'templates/Home'; import { MapProps } from 'components/Map'; const Home = ({ places }: MapProps) => <HomeTempl...
import type { Mixin } from '@tpluscode/rdfine/lib/ResourceFactory'; import { SpatialThingMixin } from '../lib/SpatialThing'; export const SpatialThingBundle = [ SpatialThingMixin as Mixin];
import RGL from 'react-grid-layout'; import React from 'react'; import { css } from '@emotion/css'; import { useResizeDetector } from 'react-resize-detector'; import { DROP_EXAMPLE_SIZE_PREFIX, GRID_HEIGHT } from '../../constants'; import { decodeDragDataTransfer } from '@sunmao-ui/shared'; const GridLayout: React.FC<...
import { Module } from '@nestjs/common'; import { AnswersController } from './answers.controller'; import { AnswersService } from './answers.service'; @Module({ controllers: [AnswersController], providers: [AnswersService] }) export class AnswersModule {}
/* * Copyright 2019 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
import Head from 'next/head'; import Layout, { siteTitle } from '../components/layout'; import styles from '../styles/index.module.css'; import { getBasePath } from '../lib/path'; const Home = () => ( <Layout> <Head> <title>{siteTitle}</title> </Head> <section className={`${styles.section} ${styles...
import { ResourceBase } from '../resource'; import { Value } from '../dataTypes'; export interface ParameterGroupProperties { CacheParameterGroupFamily: Value<string>; Description: Value<string>; Properties?: { [key: string]: Value<string>; }; } export default class ParameterGroup extends Resour...
/** * 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 { GAME_TYPES } from "../ab-protocol/src/lib"; import { AuthData } from "../app-context/auth-data"; import { EventQueueProcessor } from "../app-context/eventqueue-processor"; import { HandlerCollections } from "../app-context/handler-collections"; import { IContext } from "../app-context/icontext"; import { ILogg...
export const Size = { Small: 'small', Default: 'default', Large: 'large', XLarge: 'xlarge', } as const; export type Size = typeof Size[keyof typeof Size]; export const sizeMap: Record<Size, number> = { small: 14, default: 16, large: 20, xlarge: 24, } as const; export function getGlyphTitle(name: stri...
import { JestTask } from "./jestTask"; export { IJestTaskConfig } from "./iJestTaskConfig"; export { JestTask } from "./jestTask"; /** * @public */ export const jest: JestTask = new JestTask(); // tslint:disable-next-line:no-default-export export default jest;
/** @jsx jsx */ import { jsx } from 'theme-ui' import { Link } from 'gatsby' import Layout from '@lekoarts/gatsby-theme-minimal-blog/src/components/layout' import Listing from './listing' import useSiteMetadata from '@lekoarts/gatsby-theme-minimal-blog/src/hooks/use-site-metadata' import replaceSlashes from '@lekoarts/...
import Image from 'next/image'; import Link from 'next/link'; import { CharityColumn } from './styles'; const ProfileVotes = (charity: any, index: number) => ( <CharityColumn> <Link href={`/charity/${charity.id}`}> <a> <span className="rank">{index + 1}</span> <span className="logo"> ...
import { ConnectionInfo } from './connectionStatusService' export { connectionStatusEpic } from './epics' export { connectionStatusReducer } from './reducer' export type ConnectionInfo = ConnectionInfo export * from './selectors'
/** * Sleeper API * The Sleeper API is a read-only HTTP API that is free to use and allows access to a users leagues, drafts, and rosters. No API Token is necessary, as you cannot modify contents via this API. Be mindful of the frequency of calls. A general rule is to stay under 1000 API calls per minute,...
/// <reference types="react" /> export default function SearchIcon(): JSX.Element
/** * Anti-spoofing model implementation */ import { log, join } from '../util/util'; import type { Config } from '../config'; import type { GraphModel, Tensor } from '../tfjs/types'; import * as tf from '../../dist/tfjs.esm.js'; import { env } from '../util/env'; let model: GraphModel | null; const cached: Array<n...
import { JsonSchema } from '@nrwl/nx-dev/models-package'; import { slugify } from './slugify.utils'; interface ParameterMetadata { name: string; key: string; value: string; } export function getParameterMetadata(schema: JsonSchema): ParameterMetadata[] { const parameterMetadata: ParameterMetadata[] = []; if...
/* * @Author: yanxiaodi * @Date: 2020-09-14 19:44:20 * @Last Modified by: yanxiaodi * @Last Modified time: 2020-09-14 19:45:27 */ export default { navigationBarTitleText: '干系人', enablePullDownRefresh: true, backgroundTextStyle: 'dark', }
#!/usr/bin/env node import commander from 'commander'; import buildIOSArtifact from './commands/build-ios'; import buildAndroid from './commands/build-android'; const program = new commander.Command(); program.version( require('../package.json').version, '-v, --version', 'output the current version', ); progra...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="ru_RU"> <context> <name></name> <message id="url_name"> <source>Open URL</source> <translation>Открыть ссылку</translation> </message> </context> </TS>
import * as fs from 'fs'; import { keyGenerator } from './key-generator'; import { Options } from './options'; export class ThingRegistry { private certsPath: string; private rootCaCertificate: string; private caCertificate: string; private caPrivateKey: string; private deviceCsr: string; private dev...
import {Customer} from '../api/base'; const customers: Customer[] = []; let id = 0; export function getCustomers(): Promise<Customer[]> { return new Promise(resolve => resolve(customers)); } export function addCustomer(customerName: string): Promise<Customer> { const newCustomer = {name: customerName, id: id...
import { Component, Prop, Method, Event, EventEmitter, State} from '@stencil/core'; // import /** as*/ L from 'leaflet'; import { GisViewerProps, Coordinate } from '../../models/apiModels'; // import MapContainer from './classes/MapContainer/MapContainer'; // import { MAX_NORTH_EAST, MAX_SOUTH_WEST } from './classes/st...
export declare class MyName { render(): any; log(event: any): void; }
/* * Copyright 2020 Spotify AB * * 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...
/// !hide class EnumType { public static readonly ENUM_VALUE_A = 'a'; public static readonly ENUM_VALUE_B = 'b'; } /// !show console.log(EnumType.ENUM_VALUE_A);
import React from 'react'; import { wrapDisplayName, setDisplayName, DEFAULT_FLAGS_PROP_KEY, } from '@flopflip/react'; import { useFlagVariations } from '../../hooks'; import { FlagName, Flags } from '@flopflip/types'; type InjectedProps = { [propKey: string]: Flags; }; export default <OwnProps extends object...
import './components.routes';
import { Component, OnInit, ViewChild, NgZone, } from "@angular/core"; import { remote } from "electron"; import { CountdownComponent } from "ngx-countdown"; import { SumPointsPipe } from "src/app/_pipes/sum-points.pipe"; import { Team } from "../../_models/Team"; declare const FlipClock: any; declare const $: any...
export class PubSub { newSet() { return JSON.stringify({newSet:{}}); } newBloom(maxElements: number = 1000, collisionProb: number = 0.01) { return JSON.stringify({ newBloom: { maxElements: maxElements, collisionProb: collisionProb } }); } addAddresses(addresses: string[...
import { IQueryTermMap } from './types'; import { QueryBuilder } from '@orbit/data'; export function buildQueryTermMap(queryBuilderMap: any, queryBuilder: QueryBuilder) { const queryTermMap: IQueryTermMap = {}; const queryBuilderKeys = Object.keys(queryBuilderMap).filter(k => k !== 'cacheKey'); queryBuilderKey...
import { logger } from '../utils/logger'; import type { LoaderCallbacks, LoaderContext, LoaderStats, Loader, LoaderConfiguration, } from '../types/loader'; import { LoadStats } from '../loader/load-stats'; class XhrLoader implements Loader<LoaderContext> { private xhrSetup: Function | null; private reque...
import MaterialIcon from "@material/react-material-icon"; import Menu, { MenuList, MenuListItem, MenuListItemGraphic, MenuListItemText } from "@material/react-menu"; import { TopAppBarIcon } from "@material/react-top-app-bar"; import { Component, MouseEvent as ReactMouseEvent } from 'react'; interface MenuOptionProps ...
declare module "guerrillamail-api" { import EventEmitter from "events"; interface GuerillaConfig { emailUser: boolean | string; pollInterval: number } interface EmailAddressAPI { email_addr: string; email_timestamp: number; alias: string; alias_error: string; sid_token: String; ...
import commands from '../../commands'; import { CommandOption, CommandValidate } from '../../../../Command'; import SpoCommand from '../../../base/SpoCommand'; import GlobalOptions from '../../../../GlobalOptions'; import { ClientSidePage, CanvasSection } from './clientsidepages'; import { Page } from './Page'; cons...
import RecyclerListView, { RecyclerListViewProps, RecyclerListViewState } from './RecyclerListView'; export interface ProgressiveListViewProps extends RecyclerListViewProps { maxRenderAhead?: number; renderAheadStep?: number; /** * A smaller final value can help in building up recycler pool in advance...
interface Variable { name: string; value: number; // TODO: Is this always a number? isPersistent: boolean; } type ScriptComment = [number, number, number, number, boolean, number, string]; interface Sound { soundName: string; soundID: number; md5: string; sampleCount: number; rate: number; format: s...
import { Request, Response } from 'express'; import { showTransactionProvider } from '@shared/providers'; import { ShowTransactionUseCase } from './ShowTransactionUseCase'; export class ShowTransactionController { async handle(request: Request, response: Response): Promise<Response> { const { id } = request.pa...
import * as path from 'path'; import * as tl from 'vsts-task-lib/task'; import * as toolLib from 'vsts-task-tool-lib'; import * as semver from 'semver'; import { VersionInfo } from "./models" export function versionCompareFunction(versionA: string, versionB: string): number { if (!toolLib.isExplicitVersion(version...
import { GridSize } from '@material-ui/core'; import { IMapping, IOption, Triggers } from '../../../types'; export interface ILayouts { [id: string]: ILayout; } export interface ILayoutEntry { id: string; type: GroupTypes | ComponentTypes; triggers?: Triggers[]; } export interface ILayoutGroup extends ILayou...
import { $enum } from "../src"; // NOTE: Intentionally out of order keys and values to confirm original // defined order is retained enum TestEnum { D = 0, // duplicate of A B = -1.7, // not a positive integer A = 0, C = 2 } describe("EnumWrapper: string enum", () => { const enumWrapper = $e...
import locale from '../locale/ko_KR'; export default locale;
// Copyright 2019 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...
import "reflect-metadata"; import {createTestingConnections, closeTestingConnections, reloadTestingDatabases} from "../../utils/test-utils"; import {Connection} from "../../../src/connection/Connection"; import {expect} from "chai"; import {User} from "./entity/User"; import {MysqlDriver} from "../../../src/driver/mysq...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { EventEmitter, Input, Output } from '@angular/core'; import { PoDynamicFormField } from '@portinari/portinari-ui'; import { browserLanguage, poLocaleDefault } from '../../../utils/util'; export const poAdvancedFiltersLiteralsDefault = { en: { title: 'Advanced search', primaryActionLabel: 'Apply fil...
export class Orm { static config: any = { type: 'sqlite', database: 'vuttr.db', entities: [], synchronize: true, logging: true, type: 'postgres', host: '34.68.139.182', port: 5432, username: 'blueghost', password: 'bg2019!', da...
import './core' export * from './computed' export * from './config' export * from './context' export * from './enhance-app' export * from './page' export * from './plugin' export * from './plugin-api' export * from './store' export * from './theme' export * from './theme-api'
import { Link as ThemeLink } from "theme-ui"; import Link from "next/link"; export const LinkCardWrapper = ({ link, children, }: { link: { as: string } | undefined; children: any; }) => { return ( <Link passHref href={link?.as || ""}> <ThemeLink sx={{ textDecoration: "none", ...
/* * Copyright (C) 2020-2021 HERE Europe B.V. * * 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...
import { Test, TestingModule } from '@nestjs/testing'; import { INestApplication } from '@nestjs/common'; import * as request from 'supertest'; import { AppModule } from '../src/app.module'; describe('Authentication sytem', () => { let app: INestApplication; beforeEach(async () => { const moduleFixture: Testi...
import fetch from 'cross-fetch'; import Logger from '../lib/logger'; import { COUCHDB_ADMIN_TOKEN, COUCHDB_ENDPOINT } from '../setup/env'; const headers = { 'Content-Type': 'appliceation/json', Authorization: COUCHDB_ADMIN_TOKEN, }; async function handleResponse(res: Response) { if (!res.ok) { throw await r...
///<reference path='../references.ts' /> /** * Created by Bob on 5/6/2014. */ //import BaseController = require('base-controller'); class BaseListController extends BaseController { init(){ "use strict"; this.context.resourceScope = "list"; super.init(); } getData(){ "...
import { Direction, SeparatorLocationsOptional } from '.'; export default interface GuardianClue { clue: string; direction: Direction; group: string[]; humanNumber: string; id: string; length: number; number: number; position: { x: number; y: number }; separatorLocations: SeparatorLocationsOptional; ...
// Project: https://github.com/vueComponent/ant-design-vue // Definitions by: akki-jat <https://github.com/akki-jat> // Definitions: https://github.com/vueComponent/ant-design-vue/types import { AntdComponent } from './component'; export declare class LocaleProvider extends AntdComponent { /** * language package...
import {MigrationInterface, QueryRunner} from "typeorm"; export class AddRelationMoovieToVotes1612040752616 implements MigrationInterface { name = 'AddRelationMoovieToVotes1612040752616' public async up(queryRunner: QueryRunner): Promise<void> { await queryRunner.query(`ALTER TABLE "vote_movies" ADD "...
import { FC } from '../codes/index.js' import WriteSingleRegisterRequestBody from '../request/write-single-register.js' import ModbusWriteResponseBody from './write-response.body.js' /** WriteSingleRegister Resonse Body (Function code 0x05) * @extends ModbusResponseBody * @class */ export default class WriteSingleR...
export interface Credentials { readonly email: string; readonly password: string; }
import 'isomorphic-unfetch'; import { DPApiResultBase } from './base.types'; export interface ValidateParamsTypesArray { [paramName: string]: [any, string]; } export declare class BaseController { private host; private controllerName; constructor(host?: string, controllerName?: string); protected va...
import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { NavController, MenuController, LoadingController, Platform, ModalController } from '@ionic/angular'; import { AuthService } from './../../services/auth.service'; import { Router } f...
import {Middleware} from './middleware' import {RequestInit} from 'node-fetch' import {get, set} from './url' import params from 'jquery-param' declare module 'node-fetch' {interface RequestInit {query?: string | {[key: string]: string | string[]}}} export const query: Middleware = (url, init, next) => { if (init &...
const debug = require('debug')('environment') import 'isomorphic-fetch' import * as jwt from 'jsonwebtoken' import { cloudApiEndpoint } from './constants' import { GraphQLClient } from 'graphql-request' import chalk from 'chalk' import { isLocal } from './Environment' import { IOutput } from './Output' export class Cl...
import React from "react" import Layout from "../components/layout/layout" import SEO from "../components/seo" import styles from '../styles/index.module.css' import anapred from '../images/anapred.png'; import { Container, Typography } from "@material-ui/core" import Button from "../app/components/Button"; import { n...
import gitmojiParserOpts from '@gitmoji/parser-opts'; export default { ...gitmojiParserOpts, noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'], revertPattern: /revert:\s([\s\S]*?)\s*This reverts commit (\w*)\./, revertCorrespondence: [`header`, `hash`], };
version https://git-lfs.github.com/spec/v1 oid sha256:cee2da444323ac09e42d546ba30a92c7c7c161f87f75ce665803e07c42c7ebf6 size 1474108
export interface Tablecols { header: any; field: any; composed?: boolean; formatType?: string; format?: boolean; disableSort?: boolean; }
import Button from 'src/components/button/Button' import { InputName } from 'src/utils/validator/InputValidator' import FormInput from 'src/components/formInput/FormInput' import Form from 'src/components/Form' import SignupPage from 'src/components/pages/signupPage/SignupPage' import Router from 'src/utils/router/Rout...
<TS language="fr_FR" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Cliquez droit pour modifier l'adresse ou le label</translation> </message> <message> <source>Create a new address</source> ...
import { Component, Input, OnInit } from '@angular/core'; import { TreeService } from 'src/app/tree/shared/tree.service'; import { PeopleService } from '../shared/people.service'; import { PersonForm } from '../shared/person-form.model'; @Component({ selector: 'app-people-list', templateUrl: './people-list.compone...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. import { AttributeResolutionDirectiveSet, CdmAttributeGroupDefinition, CdmAttributeGroupReference, CdmAttributeItem, CdmCorpusDefinition, ...
/* * 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 React from 'react'; import { shallow } from 'enzyme'; import { TestPr...
import { api } from "../services/api"; import { useMutation, useQuery } from "react-query"; import { Tasks } from '../types/index'; type CreateTaskInfo = Omit<Tasks, "idTask" | "taskDate" | "status">; type EditTaskInfo = Omit<Tasks, "taskDate" | "status">; export const GET_TASKS_KEY = "getTasksKey"; export const GET...
import { browser } from 'protractor'; import { Angular2FullStackPage } from './app.po'; describe('ClickHotelMean App', () => { let page: Angular2FullStackPage; beforeEach(() => { page = new Angular2FullStackPage(); }); it('should display the expanded navbar for high resolutions', () => { browser.mana...
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack"; import * as __aws_sdk_types from "@aws-sdk/types"; import * as _stream from "stream"; import { RemoveIpRoutes } from "../model/operations/RemoveIpRoutes"; import { InputTypesUnion } from "../types/InputTypesUnion"; import { OutputTypesUnion } from...
import express from 'express'; import cors from 'cors'; import routes from './routes'; const app = express(); app.use(cors()); app.use(express.json()); app.use(routes); app.listen(3000);
<TS language="pt_PT" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Clique com o botão direito para editar o endereço ou etiqueta</translation> </message> <message> <source>Create a new address</s...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
export * from './controller.decorator'; export * from './service.decorator'; export * from './http.decorator';
/* eslint-disable no-magic-numbers */ import React from 'react'; import { SuperChart } from '@superset-ui/core'; import ForceDirectedChartPlugin from '@superset-ui/legacy-plugin-chart-force-directed'; import data from './data'; new ForceDirectedChartPlugin().configure({ key: 'force-directed' }).register(); export def...
import { dataToDataProps, dataPropsToAdvices, autoChart } from '../../src'; import { city_gender_amount_complete as dataset1, hier_categories as dataset2 } from '../data/nominal*2+interval*1'; import { createDiv } from '../utils/dom'; describe('DataSet - nominal*2+interval*1', () => { describe('with Value purpose', ...