text
stringlengths
10
953k
import * as React from "react"; import Config from "../Config"; interface IProps { title: string; } class View extends React.Component<IProps, {}> { constructor(props: IProps) { super(props); } public render() { const env = Config.env === "production" ? "prod" : "dev"; retur...
///<reference path='./typings/tsd.d.ts'/> //region Imports import * as angular from 'angular'; import ngRedux from 'ng-redux'; //import thunkMiddleware = require('redux-thunk'); import {INgReduxProvider} from 'ng-redux'; import createLogger from 'redux-logger'; import rootReducer from './reducers'; //endregion cons...
import { Flex } from "@chakra-ui/layout"; import React from "react"; import Navigation from "./Navigation"; type LayoutProps = { children: React.ReactElement; }; const Layout = ({ children }: LayoutProps) => { return ( <Flex height="100vh"> <Navigation /> {children} </Flex> ); }; export def...
import { DocumentNode } from 'graphql'; import { ApolloStore, Store, ApolloReducerConfig } from '../store'; import { DataWrite } from '../actions'; import { IdGetter } from '../core/types'; import { NormalizedCache } from '../data/storeUtils'; import {getFragmentQueryDocument, getOperationName} from '../queries/getFrom...
let today = new Date(); let todayDay = today.getDay(); const handleTime = (day: Date) => { const timeDiff = today.getMinutes() - day.getMinutes(); return timeDiff < 1 ? "방금전" : Math.floor(timeDiff) + "분 전"; }; const handleInADay = (day: Date) => { day.setDate(day.getDate() - 7); const dateDiff = (today.getTim...
// /src/social/sanitizer/materialicons/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgSanitizer = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"> <rect fill="none" height="24" width="24"/> <path d...
import { Module } from '@nestjs/common'; import { UserService } from './user.service'; import { UserController } from './user.controller'; import { TypeOrmModule } from '@nestjs/typeorm'; import { User } from 'src/entities/user.entity'; @Module({ imports: [ TypeOrmModule.forFeature([User]) ], providers: [Use...
import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerExecutionContext, HttpHandlerOptions...
// Type definitions for ag-grid-community v19.1.2 // Project: http://www.ag-grid.com/ // Definitions by: Niall Crosby <https://github.com/ag-grid/> import { NumberSequence } from "../../utils"; import { RowNode } from "../../entities/rowNode"; import { BeanStub } from "../../context/beanStub"; import { RowNodeBlock } f...
import Image from './Image'; import React from 'react'; import WithLink from './WithLink'; import theme from '../theme'; const Footer = () => ( <footer> <p> By Jeremy John <br /> <WithLink href="https://legaldesign.org/ethical-ip" target="_blank"> © +Cal License <Image src="images/link.svg" c...
export async function mapAsync<T, R = T>( arr: T[], cb: (el: T, i: number, a0: T[]) => Promise<R> ): Promise<R[]> { return Promise.all( arr.map(async (el, i, a0) => { return await cb(el, i, a0) }) ) }
import { mount, ReactWrapper } from 'enzyme'; import React from 'react'; import { Provider } from 'react-redux'; import { createStore, combineReducers } from 'redux'; import { channelReducer } from 'store/channel'; import { channelDetailsReducer } from 'store/channelDetails'; import { teammateReducer } from 'store/tea...
import Base from './structures/Base' import BaseClient from './structures/BaseClient' import InstatusClient from './client/Client' import StatusPages from './statusPages/StatusPages' import Incident from './incidents/Incident' import IncidentManager from './incidents/IncidentManager' import IncidentsUpdates from './inc...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { Http } from '@angular/http'; import { TooltipConfig, TooltipModule } from 'ngx-bootstrap/tooltip'; import { NotificationModule } from 'patternfly-ng'; import { WorkspacesNot...
/// /// Copyright © 2016-2020 The Thingsboard Authors /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// /// Unless required by...
import { combineReducers } from 'redux'; import { coreReducer } from './core'; export const coreRootReducer = combineReducers({ ...coreReducer });
import type { Compact } from '@polkadot/types-codec'; import type { AnyJson, AnyTuple, AnyU8a, ArgsDef, IMethod } from '@polkadot/types-codec/types'; import type { HexString } from '@polkadot/util/types'; import type { EcdsaSignature, Ed25519Signature, ExtrinsicUnknown, ExtrinsicV4, Sr25519Signature } from '../interfac...
import * as React from 'react'; import { Button, View, Text } from 'react-native'; import { createStackNavigator, TransitionPresets, TransitionSpecs, NavigationStackScreenProps, } from 'react-navigation-stack'; function SlideScreen({ navigation }: NavigationStackScreenProps) { return ( <View style={{ fle...
export { materialize } from 'rxjs/operators';
// libs import moment from "moment"; import { Types } from "mongoose"; // services import { saveToken } from "../saveToken"; // others import config from "@/config"; import { generateToken } from "@/utils/generators/generateToken"; import { ETokenKeys } from "@/config/authentication/token"; /** * Generate verify emai...
import fs from '../../../../src/core/node_fs'; import * as path from 'path'; import assert from '../../../harness/wrapped-assert'; import common from '../../../harness/common'; export default function() { var rootFS = fs.getRootFS(); if (rootFS.isReadOnly()) { return; } var tmp = common.tmpDir; var filen...
import { withReactiveMethods, ReactiveAdapter, ReactiveSubscribe, camelize } from "@egjs/conveyer"; import { onMounted, onUnmounted, Ref, ref } from "@vue/composition-api"; import { VueReactiveResult } from "./types"; export function useReactive< Instance extends ReactiveSubscribe<Record<string, any>>, State exten...
import React from "react"; // https://www.iconbros.com/icons/ib-se-play-button export const Share = ({ className }: { className?: string }) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xmlSpace="preserve" className={className}> <path d="M 21.332031 4.292969 L 19.917969 5.707031 L 24.210938 10 L...
import classNames from "classnames"; import { Component, ChangeEvent, useCallback, useEffect, useMemo, useRef, useState, } from "react"; import { BoxScoreRow, BoxScoreWrapper, Confetti, PlayPauseNext, } from "../components"; import useTitleBar from "../hooks/useTitleBar"; import { helpers, processLiveGameEve...
import { CreateItemDto } from './create-item.dto'; export type UpdateItemDto = Partial<CreateItemDto>;
import { render, renderJSON, screen, userEvent } from '@clerk/shared/testUtils'; import * as React from 'react'; import { TextArea } from './TextArea'; describe('<TextArea/>', () => { it('handles the controlled textarea change', () => { const onChange = jest.fn(); render(<TextArea handleChange={onChange} />...
import { UncontrolledTooltip } from 'reactstrap'; import { ExternalLink } from 'react-external-link'; import { ShortUrlDetail } from '../short-urls/reducers/shortUrlDetail'; import { Time } from '../utils/Time'; import { ShortUrlVisits } from './reducers/shortUrlVisits'; import VisitsHeader from './VisitsHeader'; impor...
import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerExecutionContext, HttpHandlerOptions...
import React from 'react'; import { DefaultReportQueryPayload, defaultReportClasses, DefaultReportContainer, } from '../default-report-interface'; import { DefaultDatesForm } from '../default-dates-form'; import { TaskSummaryReportTable, TaskSummaryRowsType } from './task-summary-report-table'; import { ReportCon...
import { CollectionCache, CollectionKey } from "../../../common"; export declare namespace CampaignBonusValueIdsResource { const KEY: CollectionKey; class Entry { private readonly collectionCache; readonly key: string; readonly notes: string; constructor(collectionCache: Collecti...
import React from 'react'; import { shallow } from 'enzyme'; import { itSupportsClassName, itSupportsOthers, itSupportsStyle, itSupportsRef, } from '@mantine/tests'; import { DefaultItem } from './DefaultItem'; const defaultProps = { label: 'test' }; describe('@mantine/core/Autocomplete/DefaultItem', () => { ...
import React from 'react'; import { ViewStyle, TextStyle, StyleProp, ViewProps } from 'react-native'; import { SizeType } from './size-type'; interface AvatarProps extends ViewProps { style?: StyleProp<ViewStyle>; textStyle?: StyleProp<TextStyle>; title?: string; source?: object; editable?: boolean; onPre...
/* eslint-disable import/no-duplicates */ import firebase from 'firebase/app'; import 'firebase/auth'; import 'firebase/database'; const firebaseConfig = { apiKey: process.env.REACT_APP_FIREBASE_API_KEY, authDomain: process.env.REACT_APP_FIREBASE_AUTH_DOMAIN, databaseURL: process.env.REACT_APP_FIREBASE_DATABASE...
import { ColorsVariants, FontVariants, FontWeightVariants, LineHeightVariants, ThemesProps, } from './themes.types'; import { lighten, darken } from 'polished'; export const fonts: { [key in FontVariants]: string } = { heading: "'Montserrat', sans-serif", body: "'Roboto', sans-serif", }; export const fon...
/** * DO NOT EDIT * * This file was automatically generated by * https://github.com/Polymer/gen-typescript-declarations * * To modify these typings, edit the source file(s): * paper-badge.html */ /// <reference path="../polymer/types/polymer.d.ts" /> /// <reference path="../iron-icon/iron-icon.d.ts" /> ///...
import { BuildContext, BuildConfig, ManifestBundle, ModuleFile } from '../../util/interfaces'; import { catchError, hasError } from '../util'; import { generateComponentStyles } from './component-styles'; export function bundleStyles(config: BuildConfig, ctx: BuildContext, manifestBundles: ManifestBundle[]) { // cr...
/** * @module node-opcua-client */ import chalk from "chalk"; import * as _ from "underscore"; import { assert } from "node-opcua-assert"; import { TimestampsToReturn } from "node-opcua-data-value"; import { checkDebugFlag, make_debugLog } from "node-opcua-debug"; import { CreateMonitoredItemsRequest, CreateMoni...
import { getScriptData } from '../utils/script-data'; import { createMagicInstance } from '../utils/magic-instance'; export async function login(): Promise<void> { const { src, apiKey, redirectURI = `${window.location.origin}/callback`, debug } = getScriptData(); const magic = createMagicInstance(apiKey, src.orig...
import { tag } from 'string-template-format' describe('throws an error when number difference between strings and values is not 1', () => { it('there are significantly more strings than values', () => { expect(() => tag(String)(['a', 'b', 'c', 'd', 'e'], 0, 1, 2)).toThrowErrorMatchingSnapshot() }) it('there...
import { of } from "await-of"; import { badRequest, internal, notFound } from "@hapi/boom"; import { user, FindOneuserArgs, userCreateArgs, userUpdateArgs } from "@prisma/client"; import { isUser } from "../utils/user.type"; import { ResponseToolkit } from "@hapi/hapi"; export const userHandler = async ( par...
import { Args, Query, Resolver } from '@nestjs/graphql'; import { Landpad } from './entities/landpad.entity'; import { LandpadsService } from './landpads.service'; @Resolver(() => Landpad) export class LandpadsResolver { constructor(private readonly landpadsService: LandpadsService) {} @Query(() => [Landpad], { ...
import { File } from '@shared/services/upload-files/interfaces/uploader.interface'; export interface AddressDto { zipCode: string; street: string; number: string; complement: string; regionId: string; } export interface RegisterClientDto { userId: string; name: string; avatar?: File; hasEcobag: boolean; add...
import WebinyError from "@webiny/error"; import { UpgradePlugin } from "@webiny/api-upgrade/types"; import { entryValueFixer, cleanDatabaseRecord, createFieldFinder, createOldVersionIndiceName } from "./helpers"; import { paginateBatch } from "../utils"; import { CmsContentIndexEntry } from "../../type...
export const modalTopOffsetClass = (itemHeight: number, windowHeight: number) => { const additionalHeight = 10; return itemHeight + additionalHeight > windowHeight ? "mt-36" : ""; };
import uuid from 'uuid/v4' import dayjs from 'dayjs' import markdown from '@/api/scratchpadNote.md' export const scratchpadNote = { id: uuid(), text: markdown, category: '', scratchpad: true, favorite: false, created: dayjs().format(), }
export class LocationItem { id: number; name: string; }
import * as React from 'react' import 'react-native' import * as renderer from 'react-test-renderer' import { AlertBanner } from 'src/alert/AlertBanner' describe('AlertBanner', () => { const baseProps = { hideAlert: jest.fn(), } describe('when message passed in', () => { it('renders message', () => { ...
import React from 'react' import renderer from 'react-test-renderer' import { DraftBadge } from './DraftBadge' describe('DraftBadge', () => { test('renders', () => { const result = renderer.create(<DraftBadge />) expect(result.toJSON()).toMatchSnapshot() }) })
import { Event, EventPayload, MutationState, StateBuilder, ProgressUpdateEvent, } from '../src' const schema = ` type Mutation { example } ` const resolvers = { Mutation: { example: () => {}, }, } type Config = typeof config const config = { a: (name: string): string => { return `Hi ...
import gql from 'graphql-tag'; import { Logger, CustomQuery } from '@vue-storefront/core'; import cartAddActionCodeQuery from './cartAddActionCode'; import { CartAddActionCodeInput } from '../../types/Inputs'; import { CartAddActionCodeArguments } from '../../types/API'; export default async ( context, input: Cart...
import JournalTables from './journaltables'; import { tablesmith } from '../tablesmith/tablesmithinstance'; import { Logger } from './logger'; import { TableCallValues } from './tablecallvalues'; import TableSelectionForm from './forms/tableselectionform'; import ResultsTo from './resultsto'; import { displayTableParse...
import React from "react"; import Social from "../common/Social"; import Theme from "../../ui/Theme"; import useStaticAuthorQuery from "../../utils/hooks/useStaticAuthorQuery"; const style: any = { root: { backgroundColor: Theme.color().dark, color: Theme.color().accent, position: "absolute", left: 0...
{{#if schema.hasOAuth}} import { UseGuards } from '@nestjs/common'; {{/if}} import { Resolver, Args, Mutation } from '@nestjs/graphql'; import { Timezone } from '{{ config.auroraCorePackage }}'; {{#if schema.hasOAuth}} // authorization import { Permissions } from '{{ config.apiContainer }}/iam/shared/decorators/permis...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { ApplicationWallComponent } from './application-wall/application-wall.component'; import { ApplicationBaseComponent } from './application/application-base.component'; import { EventsTabComponent } from './applicat...
/* * Copyright 2020 BloomReach. All rights reserved. (https://www.bloomreach.com/) * * 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 * *...
import * as core from '@actions/core' import * as path from 'path' import {ANDROID_SDK_ROOT} from './constants' export function addPath(): void { core.exportVariable('ANDROID_SDK_ROOT', ANDROID_SDK_ROOT) core.exportVariable('ANDROID_HOME', ANDROID_SDK_ROOT) // adb ... core.addPath(path.join(ANDROID_SDK_ROOT, ...
import * as React from 'react'; import { RadioPanel } from 'nav-frontend-skjema'; import * as classNames from 'classnames'; import { injectIntl, InjectedIntlProps } from 'react-intl'; import { Svar } from '../../ducks/svar-utils'; interface AlternativProps { hentAvgittSvar: () => Svar | undefined; svar: Svar; ...
/* MIT License Copyright (c) 2020 Looker Data Sciences, 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 rights to use, copy, modi...
import React, { useState } from "react"; import hammer from "assets/icons/hammer.png"; import close from "assets/icons/close.png"; import { Panel } from "components/ui/Panel"; import { Tab } from "components/ui/Tab"; import { TOOLS } from "features/game/types/craftables"; import { CraftingItems } from "./CraftingIt...
export * from './accessibility-outline'; export * from './accessibility-sharp'; export * from './accessibility'; export * from './add-circle-outline'; export * from './add-circle-sharp'; export * from './add-circle'; export * from './add-outline'; export * from './add-sharp'; export * from './add'; export * from './air...
export * from './components_implementation/mod'; export * from './components_base/mod'; export * from './components_headless/mod'; export * from './helpers/mod'; export * from './hooks/mod'; export * from './prop_type';
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import { Observable } from 'rxjs/Rx'; import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; import 'rxjs/add/operator/toPromise'; @Injectable() export class JobsService { private axisMapping = { x: 'xAxis', y: 'yAxis', r: 'bubbleSize' } constr...
import fetch from 'node-fetch' import { expect } from 'vitest' beforeEach(async() => { await new Promise((resolve) => { setTimeout(() => { resolve(null) }, 300) }) }) afterEach(async() => { await new Promise((resolve) => { setTimeout(() => { resolve(null) }, 300) }) }) test('serve...
import { IMoveAction, IMoveEffect, ITeamAndAction } from "battlemovr"; import { GeneralComponent } from "eightbittr"; import { FullScreenPokemon } from "../../../../../FullScreenPokemon"; /** * Runs switching move animations for FullScreenPokemon instances. */ export class Switching<TEightBittr extends FullScreenPo...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-page-b', templateUrl: './page-b.component.html', styleUrls: ['./page-b.component.scss'] }) export class PageBComponent implements OnInit { constructor() { } ngOnInit(): void { } }
import { Component, h, Prop, Element } from '@stencil/core'; import { setConnection, setIsEditing, loadSubscription, setState, editSubscription, } from './data/actions'; import getManifoldConnection from '../../utils/getManifoldConnection'; import { SubscriptionDetails } from './components/SubscriptionDetails...
import React, { FC } from 'react'; import classNames from 'clsx'; import Alert from 'app/atoms/Alert'; import { NotEnoughFundsError, ZeroBalanceError, ZeroTEZBalanceError } from 'app/defaults'; import { T, t } from 'lib/i18n/react'; type SendErrorAlertProps = { type: 'submit' | 'estimation'; error: Error; }; co...
export const MAILER = 'mailer'; export const MAILER_OPTIONS = 'mailer options';
import { ActionPanel, Icon, Color, List, showToast, ToastStyle, getPreferenceValues, setLocalStorageItem, KeyEquivalent, clearLocalStorage, useNavigation, CopyToClipboardAction, OpenInBrowserAction, } from "@raycast/api"; import { useState, useEffect } from "react"; import { Project } from "./...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { Dat...
/** * TODO: IDEA: In the upload stage, let the user tag some popular tags (like "id", "batch") to the metadata * TODO: IDEA: Although steps are always linearly ordered, in the end there'd be a dependency tree. * TODO: The users can pick particular branches * TODO: The SampleMetaSelector/GeneMetaSelector s...
import { CommandHandler, ICommandHandler } from '@nestjs/cqrs'; import { IEmployee, IPagination } from '@gauzy/contracts'; import { EmployeeService } from '../../employee.service'; import { WorkingEmployeeGetCommand } from './../working-employee.get.command'; @CommandHandler(WorkingEmployeeGetCommand) export class Wor...
import { IEnvironment } from './environment.interface'; export const environment: IEnvironment = { production: true, version: '{{ APP_VERSION }}', commit: '{{ GIT_COMMIT_HASH }}', branch: '{{ GIT_BRANCH }}', };
GOCAD TSurf 1 HEADER { name: SALT-CRSF-IMPV-Westmorland_fault_splay-CFM4_1000m visible: true *solid*color: 0.662745 0.658824 0.035294 1 name_in_model_list: SALT-CRSF-IMPV-Westmorland_fault_splay-CFM4 } GOCAD_ORIGINAL_COORDINATE_SYSTEM NAME " gocad Local" PROJECTION Unknown DATUM Unknown AXIS_NAME X Y Z AXIS_UNIT m m ...
import * as Models from './models'; import * as Parameters from './parameters'; import { Client } from '../clients'; import { Callback } from '../callback'; import { RequestConfig } from '../requestConfig'; import { Pagination } from '../pagination'; export class User { constructor(private client: Client) {} /** ...
module RongWebIMWidget.conversation { var UploadImageDomain = "http://7xogjk.com1.z0.glb.clouddn.com/" interface ConversationScope extends ng.IScope { emojiList: any showSelf: boolean showemoji: boolean _inputPanelState: number messageList: any[] conversation: ...
/** * @file ConvergingGateway 汇聚网关 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper('converging-gateway', (props: ISvgIconProps) => ( '<?xml version="1.0" encoding="UTF-8"...
export const MALE: string = "male"; export const FEMALE: string = "female"; export const OTHER: string = "other";
import { ApiProperty } from '@nestjs/swagger'; import { IsString, IsUUID, IsEmail } from 'class-validator'; export class UserDTO implements Readonly<UserDTO> { @IsUUID() id: string; @ApiProperty({ required: true }) @IsString() username: string; @ApiProperty({ required: true }) @IsEmail() email: stri...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ResultsetTableComponent } from './resultset-table.component'; import { BrowserModule } from '@angular/platform-browser'; import { DxcTableModule, DxcResultsetTableModule,DxcButtonModule,DxcTagModule, DxcLinkModule,DxcChip...
import { ng, killAllProcesses } from '../../utils/process'; import { expectToFail } from '../../utils/utils'; import { ngServe } from '../../utils/project'; import { updateJsonFile } from '../../utils/project'; export default function () { return Promise.resolve() .then(() => expectToFail(() => ng('e2e', '--no-s...
/** * No-operation */ const noop = (): void => {}; export default noop;
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. // These utilities are used by compiler.ts to format TypeScript diagnostics // into Deno Diagnostics. import { Diagnostic, DiagnosticCategory, DiagnosticMessageChain, DiagnosticItem } from "./diagnostics.ts"; interface SourceInformati...
import { mount } from '@vue/test-utils'; import Security from '@shell/components/form/Security.vue'; import { _EDIT } from '@shell/config/query-params'; describe('component: Security', () => { it('should display all the inputs', () => { const wrapper = mount(Security, { propsData: { mode: _EDIT } }); const ...
import { MultiVecOpVVN, VecOpVVN } from "./api"; import { ARGS_VVN, defOp } from "./internal/codegen"; import { MATH2_N } from "./internal/templates"; /** * Returns `out = (a + b) * n`. */ export const [addmN, addmN2, addmN3, addmN4] = defOp<MultiVecOpVVN, VecOpVVN>( MATH2_N("+", "*"), ARGS_VVN );
import { Component, OnInit, OnDestroy, Input } from '@angular/core'; import { MissionControlService } from '../mission-control.service'; import { Subscription } from 'rxjs/Subscription'; @Component({ selector: 'app-mission-control', templateUrl: './mission-control.component.html', styleUrls: ['./mission-control...
import { AppRunner } from "../AppRunner"; import { AppRunnerClient } from "../AppRunnerClient"; import { PaginationConfiguration } from "@aws-sdk/types"; export interface AppRunnerPaginationConfiguration extends PaginationConfiguration { client: AppRunner | AppRunnerClient; }
export enum TokenKind { // parens (and friends) LeftParen = 'LeftParen', // ( RightParen = 'RightParen', // ) LeftSquareBracket = 'LeftSquareBracket', // [ RightSquareBracket = 'RightSquareBracket', // ] LeftCurlyBrace = 'LeftCurlyBrace', // { RightCurlyBrace = 'RightCurlyBrace', // } /...
import { Component, OnInit } from '@angular/core'; import { Mocker } from 'src/app/shared/models/user.model'; import { UserService } from './../../services/user.service'; import { DB_COLLECTIONS, ROUTER_LINKS } from 'src/app/shared/common/app.constants'; import { ActivatedRoute, Router } from '@angular/router'; imp...
import kms = require('@aws-cdk/aws-kms'); import cdk = require('@aws-cdk/cdk'); import { IQueue, QueueBase, QueueImportProps } from './queue-base'; import { CfnQueue } from './sqs.generated'; import { validateProps } from './validate-props'; /** * Properties for creating a new Queue */ export interface QueueProps { ...
import AstNode from './AstNode'; type Block = AstNode[]; export default Block;
import React from "react"; import { metaDataElement, metaDataProperty } from "../../utils/Preview/MetaData"; import Link from "../Link/Link"; import Date from "../Date/Date"; import Image from "../Media/Image"; import { Banner } from "../../models/Banner/Banner"; interface Props { banner: Banner; } const SearchBann...
<TS language="es_MX" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Click derecho para editar tu dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> ...
import { AfterContentInit, Directive, EventEmitter, Host, Input, Output } from '@angular/core'; import { GeolocateControl, FitBoundsOptions } from 'mapbox-gl'; import { MapService } from '../map/map.service'; import { ControlComponent } from './control.component'; @Directive({ selector: '[mglGeolocate]' }) export cl...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {useState} from 'react' import {FormattedMessage, useIntl} from 'react-intl' import {Board} from '../blocks/board' import {BoardView} from '../blocks/boardView' import {Card} from '../blocks/ca...
import * as bcrypt from "bcrypt"; import { Vent } from "../models"; (async () => { const args = process.argv.slice(2); const consoleLogColors = { reset: "\x1b[0m", foregroundRed: "\x1b[31m" }; function printError(errorMessage: string) { console.log( `${consoleLogColors.foregroundRed}%s${cons...
export interface Passes { passName: string; recordTrace: boolean; useThrottling: boolean; pauseAfterLoadMs: number; networkQuietThresholdMs: number; cpuQuietThresholdMs: number; gatherers: string[]; } export interface Group { title: string; description: string; } export interface Cat...
import { Module } from '@nestjs/common' import { MongooseModule } from '@nestjs/mongoose' import { env } from 'process' import { ConfigModule } from '@nestjs/config' import { TodoModule } from './todo/todo.module' import { AppController } from './app.controller' @Module({ imports: [ ConfigModule.forRoot(), M...
import { Component, Inject } from '@angular/core'; import {NavController, NavParams, ToastController, LoadingController} from 'ionic-angular'; import { BeerService } from '../../providers/beer-service'; import { AngularFire, FirebaseListObservable, FirebaseApp } from 'angularfire2'; import { AuthService } from '../../p...