text
stringlengths
10
953k
// LICENSE : MIT "use strict"; import { TextlintRuleContext, TextlintRuleReportHandler } from "@textlint/types"; const reporter = (context: TextlintRuleContext): TextlintRuleReportHandler => { const { Syntax, fixer, report, getSource } = context; return { [Syntax.Str](node) { const text = ...
import { Component, OnInit } from '@angular/core'; //import {MatDialog, MatDialogRef} from '@angular/material'; @Component({ selector: 'app-dialog', templateUrl: './dialog.component.html', styleUrls: ['./dialog.component.css'] }) export class DialogComponent implements OnInit { constructor() { } ngOnInit...
import ShapeVisitorInterface from "../shape-visitor.interface"; import DrawableInterface from "../drawable.interface"; class Circle implements DrawableInterface { accept(visitor: ShapeVisitorInterface): void { visitor.visitCircle(this); } } export default Circle;
import { BrowserRouter as Router, Switch, Route, Link, } from 'react-router-dom' import { Toaster } from 'react-hot-toast' import AdminPage from './views/Admin' import HomePage from './views/Home' import './App.scss' export default function App() { return <> <Router> <header> <Link to="/">ProxyChunk</Li...
import BaseComponent from "@/components/BaseComponent"; import Component from "vue-class-component"; @Component class ComponentPage extends BaseComponent { render() { return <router-view />; } } export default ComponentPage;
import { Inject, Injectable } from '@nestjs/common'; import { ITodolistRepositroy, TODOLIST_REPOSITORY_SYMBOL, } from '@src/domain/repositoryInterface/todolist.repository.interface'; @Injectable() export class DeleteTodolist { constructor( @Inject(TODOLIST_REPOSITORY_SYMBOL) private readonly todolistRepo...
/*- * #%L * thinkbig-ui-feed-manager * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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-...
export { default } from './ThreeCanvas';
import { StencilBaseConfigOptions } from './stencil-config'; export function parseRunParameters<T extends StencilBaseConfigOptions>( runOptions: string[], options: T ) { Object.keys(options).forEach((optionKey: string) => { if (typeof options[optionKey] === 'boolean' && options[optionKey]) { runOptions...
import produce from 'immer'; export function createReducer(initialState: any, handlerMap: any) { return function (state = initialState, action: any) { return produce(state, (draft: any) => { const handler = handlerMap[action.type]; if (handler) { handler(draft, acti...
/*! * @license * Copyright 2016 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
import { BatchCreatePartitionCommandInput, BatchCreatePartitionCommandOutput, } from "../commands/BatchCreatePartitionCommand.ts"; import { BatchDeleteConnectionCommandInput, BatchDeleteConnectionCommandOutput, } from "../commands/BatchDeleteConnectionCommand.ts"; import { BatchDeletePartitionCommandInput, ...
/****************************************************************************** * Copyright 2021 TypeFox GmbH * This program and the accompanying materials are made available under the * terms of the MIT License, which is available in the project root. ***************************************************************...
import { auditTime } from '../../operator/auditTime'; declare module '../../Observable' { interface Observable<T> { auditTime: typeof auditTime; } }
import { Component, Input, Output, OnChanges, ViewChild, EventEmitter, ElementRef, forwardRef, SimpleChanges } from '@angular/core'; @Component({ // tslint:disable-next-line:component-selector selector: 'tri-state-checkbox', template: `<input #theCheckbox type="checkbox"...
import { Express, NextFunction, Request, Response } from "express" import * as ExpressSession from "express-session"; import { AuthUser } from "../models/auth"; import { AUTH_REDIRECT, FRONTEND_URL } from "../config"; const {auth} = require('express-openid-connect') export function configureAuthentication(app: Expres...
import { requireNativeComponent, ViewStyle } from 'react-native'; type PlantingPlanProps = { color: string; style: ViewStyle; }; export const PlantingPlanViewManager = requireNativeComponent<PlantingPlanProps>( 'PlantingPlanView' ); export default PlantingPlanViewManager;
import { Sequelize, DataTypes } from 'sequelize'; export var maqUso_model = (sequelize: Sequelize) => { var maqUso_model = sequelize.define('t_maqUso', { maqUso_id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true, allowNull: false }, ...
import { Component, h } from 'preact'; import './GooglePayButton.scss'; interface GooglePayButtonProps { buttonColor: google.payments.api.ButtonColor; buttonType: google.payments.api.ButtonType; paymentsClient: Promise<google.payments.api.PaymentsClient>; onClick: (e: Event) => void; } class GooglePay...
import React, { useState } from 'react'; import FilePicker from '@button-inc/button-theme/FilePicker'; import ButtonTypography from '../../components/ButtonTypography'; export default function FilePickerPage() { return ( <> <ButtonTypography /> <FilePicker label="Upload a file" size="small"> ...
import onetime from 'onetime' import { LocalData } from '../../services/local-data/types' import { HashLocation } from '../../services/hash-location/types' import { listenTodoFilterChanges, updateTodoFilter, loadTodoFilter } from './todo-filter' import { addTodo, updateTodo, listenTodoDictChanges, removeTodo, ...
import {checkIfValidbb26 as check} from './isValidbb26'; /** *Converts string containing only upper case letters (bijective base-26 form) to *its equivalent decimal number *@param {string} input string containing only upper case letters *@returns {number} Decimal number conversion of bijective base-26 upper case *...
import logger, { LogLevelDesc } from "loglevel"; const logLevel: { [key: string]: LogLevelDesc } = { development: logger.levels.TRACE, production: logger.levels.INFO, test: logger.levels.ERROR, }; logger.setDefaultLevel(logLevel[process.env.NODE_ENV || "production"]); /* Custom logger facade */ const log = { ...
import { AxiosInstance, AxiosRequestConfig } from 'axios' import Vue from 'vue' interface NuxtAxiosInstance extends AxiosInstance { $request<T = any>(config: AxiosRequestConfig): Promise<T> $get<T = any>(url: string, config?: AxiosRequestConfig): Promise<T> $delete<T = any>(url: string, config?: AxiosRequestConf...
import { Ingredient } from '../shared/ingredient.model'; export class Recipe { public name: string; public description: string; public imagePath: string; public ingredients: Ingredient[]; constructor(name: string, description: string, imagePath: string, ingredients: Ingredient[]) { this.name = name; ...
export * from './decorators'; export * from './helpers'; export * from './service'; export * from './transformers';
describe('App', () => { beforeEach(() => { browser.get('/'); }); it('should have a title', () => { let subject = browser.getTitle(); expect(subject).toBeDefined(); }); });
/** * @jest-environment jsdom */ import moment from 'moment'; window.moment = moment; import { Sort } from '../src/Sort'; import { getSettings, updateSettings } from '../src/Settings'; import { fromLine } from './TestHelpers'; describe('Sort', () => { it('sorts correctly by default order', () => { cons...
const invalidProtocolRegex = /^(%20|\s)*(javascript|data)/im; const ctrlCharactersRegex = /[^\x20-\x7EÀ-ž]/gim; const urlSchemeRegex = /^([^:]+):/gm; const relativeFirstCharacters = [".", "/"]; function isRelativeUrlWithoutProtocol(url: string): boolean { return relativeFirstCharacters.indexOf(url[0]) > -1; } expor...
import { memo, useCallback } from 'react' import { Product } from '~lib/crystallize/types' import useCart from '~stores/useCart' import type { Option } from '~typings/utils' type Props = { item: Option<Product> sku: Option<string> } function AddToCart({ item, sku }: Props) { const items = useCart((state) => sta...
export declare function genKey(len?: number, an?: string): string; export declare function encode(data: string, key?: string): string; export declare function decode(data: string, key?: string): string; export declare function dynEncode(data: string, key?: string): string; export declare function dynDecode(data: string...
// *** 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 utilities from "../utilities"; // Export members: export * from "./cluster"; export * from "./clusterParamete...
import { Specs } from '../types' import { getSpecComplexity } from './complexity' import { getSpec } from './spec' const NUMERAL = '0123456789' export function startsWithNumeral(str: string): boolean { return NUMERAL.indexOf(str[0]) > -1 } export function compareByComplexity( specs: Specs, a: string, b: stri...
import "../jquery_augmentation"; import { dxElement } from "../core/element"; import { template } from "../core/templates/template"; import Store from "../data/abstract_store"; import DataSource, { DataSourceOptions } from "../data/data_source"; import { event } from "../events/index"; import { ExcelDataGridCell ...
import React, { useContext, useEffect, useState } from 'react'; import { Input, Tree } from 'antd'; import { HomeOutlined } from '@ant-design/icons'; import context from '@/context'; import axios from 'axios'; import Axios from 'axios'; import { Button, Modal, Form } from 'antd'; const { Search } = Input; export cons...
import { gql } from "@apollo/client"; import { pageErrorFragment, pageTypeBulkDeleteErrorFragment, pageTypeDeleteErrorFragment } from "@saleor/fragments/errors"; import { pageTypeDetailsFragment } from "@saleor/fragments/pageTypes"; import makeMutation from "@saleor/hooks/makeMutation"; import { AssignPageAttr...
import { ChangeDetectionStrategy, Component } from '@angular/core'; import { Router } from '@angular/router'; import { SettingsService, User } from '@delon/theme'; import { LocalStorageService } from '../../../service/local-storage.service'; @Component({ selector: 'header-user', template: ` <div class="alain-...
import { Injectable, Inject } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Convenio } from '../modelos/convenio'; import { environment } from '../../environments/environment'; @Injectable({ providedIn: 'root' }) export class ConvenioService { listaConvenio : Arra...
import * as vscode from 'vscode'; import * as telemetryConnect from './telemetryConnect'; let telemetryconnect: telemetryConnect.telemetryConnect = require('../telemetryConnect.json'); // extension telemetry import TelemetryReporter from 'vscode-extension-telemetry'; const extensionId = 'drewsk.demo-mode'; const ext...
import Link from 'next/link'; import React, { FunctionComponent } from 'react'; import styles from './NavLinks.module.scss'; const LINKS = [ { name: 'skills', path: '/skills', }, { name: 'links', path: '/links', }, { name: 'about', path: '/about', }, ]; const NavLinks: FunctionCom...
<TS language="ta" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>ஒரு புதிய முகவரியை உருவாக்கு</translation> </message> <message> <source>&amp;New</source> <translation>&amp;புதிய</translation> </messa...
export { RuleInfo, Result, RuleConfig, RuleConfigValue } from '@markuplint/ml-config'; export { convertRuleset } from './convert-ruleset'; export { createRule } from './create-rule'; export { MLCore } from './ml-core'; export { MLRule, MLRuleOptions } from './ml-rule'; export { default as MLParseError } from './ml-erro...
import * as React from 'react' export type Method<Args extends any[] = any[]> = (...args: Args) => void | Promise<void> export type Middleware = <M extends Method, MM extends Method>( method: M, args: Parameters<M>, ) => [MM | M, Parameters<MM | M>] const middlewares: Middleware[] = [] export function addMiddlew...
import { Body, Controller, Delete, Get, Param, Post } from '@nestjs/common'; import { CreateUserDto } from './dto/create-user.dto'; import { User } from './user.entity'; import { UsersService } from './users.service'; @Controller('users') export class UsersController { constructor(private readonly usersService: User...
import { Component, OnInit, Output, EventEmitter } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { HttpResponse, HttpErrorResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; import { QmsBomTechnologyComponent } from '../../../popup/bomTechnologySelection/q...
import Expression, {YieldExpression} from 'esast/lib/Expression' import Await from '../ast/Await' import transpileVal from './transpileVal' export function transpileAwaitNoLoc({value}: Await): Expression { return new YieldExpression(transpileVal(value)) }
import { ChainId, SUPPORTED_CHAIN_ID, SUPPORTED_CHAIN_IDS, } from "@thirdweb-dev/sdk"; import { defaultChains } from "wagmi"; export const ChainIDToName: Record<SUPPORTED_CHAIN_ID, string> = { [ChainId.Mainnet]: "Ethereum Mainnet", [ChainId.Rinkeby]: "Rinkeby", [ChainId.Goerli]: "Goerli", [ChainId.Polygo...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About PoolCoin</source> <translation type="unfinished"/> </message> <message> <location line=...
import { Nullable } from '~lib/types'; import { Fradrag } from '~types/Fradrag'; import { Bosituasjon } from './bosituasjon/Bosituasjongrunnlag'; import { FormueVilkår } from './formue/Formuevilkår'; import { UføreVilkår } from './uføre/Uførevilkår'; export interface GrunnlagsdataOgVilkårsvurderinger { uføre: Nul...
import { Injectable } from "@angular/core"; import { ChatBotActionService, InteractionStatus } from "./chat-bot-action.service"; import { HttpClient, HttpHeaders } from "@angular/common/http"; @Injectable({ providedIn: "root" }) export class BotActionsCompletedService { public apiPath: string; constructor( ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About ChavezCoin</source> <translation type="unfinished"/> </message> <message> <location lin...
<TS language="zh_HK" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>按右擊修改位址或標記</translation> </message> <message> <source>Create a new address</source> <translation>新增一個位址</translation> ...
import React, { ReactNode, useCallback, useContext, useEffect, useMemo, useRef, } from 'react'; import noop from 'lodash/noop'; import ModalContainer, { ModalContainerProps } from '../modal-container/ModalContainer'; import Modal, { ModalProps } from '../modal/Modal'; import ModalContext from './ModalContex...
import React from 'react'; import styled from 'styled-components'; interface Props { fontSize: string | number; } const Flag = styled.span<Props>(({ fontSize }) => ({ fontSize, })); // Montserrat const IconFlagMS: React.FC<Props> = ({ fontSize, ...props }) => ( // eslint-disable-next-line <Flag role="img" ar...
import { Injectable } from '@nestjs/common'; import { DbService } from 'src/db/db.service'; import { Comment } from 'src/db/comment.entity'; @Injectable() export class CommentsService { constructor(private dbServices: DbService) {} async findComments() { return this.dbServices.getAllComments(); } async ...
import {Align, AxisOrient, Orient, SignalRef} from 'vega'; import {isArray, isObject} from 'vega-util'; import {AxisInternal} from '../../axis'; import {isBinned, isBinning} from '../../bin'; import {PositionScaleChannel, X} from '../../channel'; import { DatumDef, isDiscrete, isFieldDef, PositionDatumDef, Po...
export class TournamentTeamGamesConfiguration { tournamentId: string; round: number; teamOneName: string; teamTwoName: string; }
export { Coin } from "./msgs"; export { cosmosField, registered } from "./decorator"; export { EncodeObject, Registry } from "./registry"; export { DirectSecp256k1HdWallet } from "./directsecp256k1hdwallet"; export { DirectSecp256k1Wallet } from "./directsecp256k1wallet"; export { decodePubkey, encodePubkey } from "./p...
export interface Field { name: string; encoded_name: string; }
import { Module as ContentModule } from '~/utils/content/Module' export type Module = ContentModule export { getModules } from '~/utils/content/Module'
<TS language="es" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Click derecho para editar dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> <tr...
import * as TypeGraphQL from "type-graphql"; import * as GraphQLScalars from "graphql-scalars"; import { UsersInConversationsOrderByWithRelationInput } from "../../../inputs/UsersInConversationsOrderByWithRelationInput"; import { UsersInConversationsWhereInput } from "../../../inputs/UsersInConversationsWhereInput"; im...
import { IconProps } from "../lib"; declare const ArrowCircleDownLeft: (props: IconProps, ref: any) => import("solid-js").JSX.Element; export default ArrowCircleDownLeft;
import { PartStatus } from '@modules/parts/infra/typeorm/entities/Part' import { PartsRepositoryInMemory } from '@modules/parts/repositories/in-memory/PartsRepositoryInMemory' import { AppError } from '@shared/errors/AppError' import { ApprovePartUseCase } from './ApprovePartUseCase' let partsRepository: PartsReposit...
let _ = require('lodash'); import { FilterParams } from 'pip-services3-commons-node'; import { PagingParams } from 'pip-services3-commons-node'; import { DataPage } from 'pip-services3-commons-node'; import { IdGenerator } from 'pip-services3-commons-node'; import { IPaymentMethodsClientV1 } from "./IPaymentMethodsCl...
import { fixNumber, randInt } from "./helpers"; export type Coords = [number, number]; type CallbackFn<T, U> = (obj: T | undefined, x: number, y: number) => U; export default class Grid<T> { private readonly cells: (T | undefined)[][]; constructor( readonly width: number, readonly height: num...
import { TextField } from '../textfield'; let installed = false; export default { install(Vue) { if (!installed) { installed = true; Vue.registerElement('MDTextField', () => TextField, { model: { prop: 'text', event: 'textChang...
import { SideBar } from './components/SideBar'; import { Content } from './components/Content'; import './styles/global.scss'; export function App() { return ( <div style={{ display: 'flex', flexDirection: 'row' }}> <SideBar></SideBar> <Content></Content> </div> ); }
export interface CaseDefinition { id: string; key: string; category: string; name: string; version: number; resource: string; deploymentId: string; tenantId: string; historyTimeToLive: number; }
import * as React from 'react'; import createShallow from '@material-ui/core/test-utils/createShallow'; import Typography from '@material-ui/core/Typography'; import { Title } from '../src/Title'; describe('TextValidator', () => { let wrapper; let shallow; beforeAll(() => { jest.resetModules()...
import { ButtonHTMLAttributes } from 'react' import './styles.scss' type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & { isOutlined?: boolean; } export function Button({ isOutlined = false, ...props }: ButtonProps) { return ( <button className={`button ${isOutlined ? 'outlined' ...
export * from "./WeightRatesCreate"; export { default } from "./WeightRatesCreate";
import { Component, OnDestroy } from '@angular/core'; import { SkyMediaBreakpoints, SkyMediaQueryService } from '@skyux/core'; import { Subscription } from 'rxjs'; @Component({ selector: 'app-media-query-demo', templateUrl: './media-query-demo.component.html' }) export class MediaQueryDemoComponent imp...
import axios, { AxiosRequestConfig } from 'axios'; import storageHandler from '@utils/localStorage'; const fillterCode = [403, 488]; const Axios = axios.create({ headers: { 'X-CSRF': 'X-CSRF' }, }); Axios.interceptors.request.use((value: AxiosRequestConfig) => { const config = value; config.params = { csrf...
import React from "react"; import styled, { css, keyframes } from "styled-components"; import { Colors } from "constants/Colors"; import { INDETERMINATE_SIZE, INDETERMINATE_THICKNESS, LINEAR_PROGRESS_HEIGHT_RATIO, MAX_VALUE, ProgressType, ProgressVariant, STROKE_WIDTH, VIEWBOX_CENTER_X, VIEWBOX_CENTE...
import axios from 'axios' import moment from 'moment' import { Article, ArticleMeta, BlockNode, BlockValue, Collection, PageChunk, RecordValue, UnsignedUrl, } from '../api/types' async function post<T>(url: string, data: any): Promise<T> { return axios.post(`https://www.notion.so/api/v3${url}`, data)...
import { CypressIncomingRequest, BrowserPreRequest, } from '@packages/proxy' import Debug from 'debug' import _ from 'lodash' const debug = Debug('cypress:proxy:http:util:prerequests') const debugVerbose = Debug('cypress-verbose:proxy:http:util:prerequests') const metrics: any = { browserPreRequestsReceived: 0,...
/* * 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. */ import { AsyncOperationStatusGetOptionalParams, AsyncOperationStatusGetResponse } fro...
/* Copyright 2020 Adobe. All rights reserved. This file is licensed to you 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 agre...
import visit from 'unist-util-visit'; import type { Node } from 'unist'; import unified from 'unified'; import rehypeParse from 'rehype-parse'; import { rehypeNode, rehypeLinkNode } from './types'; interface VideoInfo { videoID: string; startTime?: string; } const embedableLinkRegex = /https?:\/\/(www\.)?youtube\...
import { Query, QueryState, QueryOptions } from './Query'; import { QueryClient } from './QueryClient'; export type QueryListener = (queryState: QueryState) => void; export class QueryObserver { queryClient: QueryClient; listeners: QueryListener[] = []; query: Query; constructor( queryClient: QueryClie...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {useCallback} from 'react' import {useIntl} from 'react-intl' import {BlockIcons} from '../blockIcons' import {Board} from '../blocks/board' import {Card} from '../blocks/card' import mutator f...
/** * Copyright 2019 F5 Networks, Inc. * * 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 agr...
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; @Component({ selector: 'app-switch-manager', templateUrl: './switch-manager.component.html', styleUrls: ['./switch-manager.component.scss'] }) export class SwitchManagerComponent implements OnInit { @Input() selected; @Output() c...
import Knex from 'knex'; export async function seed(knex: Knex) { await knex('items').insert([ { title: 'Lâmpadas', image: 'lampadas.svg' }, { title: 'Pilhas e baterias', image: 'baterias.svg' }, { title: 'Papéis e Papelão', image: 'papeis-papelao.svg' }, { title: 'Resíduos Eletrôni...
import {StylePreset} from '../theme/types'; export default { iconPositive: { base: { iconColor: '{{colors.inkPositive}}', }, }, iconNegative: { base: { iconColor: '{{colors.inkNegative}}', }, }, iconSocialTwitter: { base: { iconColor: '{{colors.socialTwitter}}', }, ...
import { asmcode } from "./asm/asmcode"; import { asm, AsmMultiplyConstant, FloatRegister, OperationSize, Register, Value64, X64Assembler } from "./assembler"; import { proc, proc2 } from "./bds/symbols"; import "./codealloc"; import { abstract, Bufferable } from "./common"; import { AllocatedPointer, cgate, chakraUtil...
import Tsue from '../instance' import Dep from './dep' import { def, isObject } from '../utils' import arrayMethods from './array' /** * 用于生成observer实例, observer会把value变成响应式,返回 Observer 实例 * @param value */ export function observe(value: any): Observer | void{ if(!isObject(value)) { // 只有对象类型才需要变为响应式 r...
import { LoggerUtils } from '$lib/utils'; import { browser, mode } from '$app/env'; import { toast } from '$lib/shared/ui/components/toast'; import { isFetching } from '$stores'; import { fetchOptions } from './config'; import { deleteCookies } from './auth'; interface Opts { method: string; data?: unknown; path?: ...
import styled from 'styled-components'; export const Container = styled.div` max-width: 1440px; width: 100%; min-height: 100vh; height: 100%; position: relative; display: flex; flex-direction: column; align-items: center; `;
import * as aws from 'aws-sdk'; import { Suite, BeforeEach, AfterEach } from '@travetto/test'; import { DependencyRegistry } from '@travetto/di'; import { Util } from '@travetto/base'; import { BaseAssetSourceSuite } from '@travetto/asset/test/source'; import { S3AssetConfig } from '../src/config'; import { S3AssetSo...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { inject, injectable } from 'inversify'; import { sendTelemetryEvent } from '../../telemetry'; import { EventName } from '../../telemetry/constants'; import { IApplicationShell, ICommandManager } from ...
import React, { useCallback } from 'react'; import { NavigationContainer } from '@react-navigation/native'; import { createStackNavigator, StackHeaderProps } from '@react-navigation/stack'; import { SafeAreaProvider } from 'react-native-safe-area-context'; import { Catalogue } from './components/catalogue/Catalog...
import { NextApiHandler } from "next" import auth0, { getQueryString } from "../../../../utils/auth0" import { findPlaybackIdByEventId } from "../../../../db" export interface GetPlaybackIdResponse { playbackId: string } const livestreamId: NextApiHandler = auth0.requireAuthentication( async (req, res) => { co...
"use strict"; import * as path from "path"; import { ModuleManager } from "@webfaas/webfaas-core"; import { PackageRegistry } from "../lib/PackageRegistry"; import { PackageRegistryConfig } from "../lib/PackageRegistryConfig"; var moduleManager = new ModuleManager(); var foldeTarball = path.join(__dirname.substring...
import { Root } from "./Root"; export declare class Time extends Root { constructor(id: string); }
/** * Copyright 2016 Jim Armstrong (www.algorithmist.net) * * 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 appli...
import { CallHandler, ExecutionContext, Injectable, NestInterceptor, RequestMethod, } from '@nestjs/common'; import { Reflector } from '@nestjs/core'; import { TelegrafExecutionContext } from 'nestjs-telegraf'; import { deunionize } from 'telegraf'; import { tap } from 'rxjs/operators'; import { TemporaryCal...
import * as db from '../../../db/ethereum'; import { hancockDbError } from '../../../models/error'; import { IEthereumContractAbiDbModel, IEthereumSmartContractInvokeByQueryRequest, IEthereumSmartContractInvokeModel, IEthereumTokenTransferFromByQueryRequest, IEthereumTokenTransferFromRequest, TokenNames, } ...
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc. * Apache-2.0 */ import { IFeature } from "@esri/arcgis-rest-common-types"; import { request, IRequestOptions } from "@esri/arcgis-rest-request"; import { IEditFeaturesParams, IEditFeatureResult, appendCustomParams } from "./helpers"; /** * ...