text
stringlengths
10
953k
import { DeleteDialogComponent } from '@ws/author/src/lib/modules/shared/components/delete-dialog/delete-dialog.component' import { Component, OnInit, ChangeDetectorRef, OnDestroy, EventEmitter, Output, Input } from '@angular/core' import { MatSnackBar, MatSnackBarRef } from '@angular/material/snack-bar' import { Break...
export * from './ts-x-file';
/* * 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 numeral from '@elastic/numeral'; export function asPercent( numerat...
import {ApiUser, ApiUserInfo} from '@deckdeckgo/editor'; /** * We don't have a staging API server currently, therefore we mock the calls. * @see https://github.com/deckgo/deckdeckgo/issues/274 */ export const queryMock = ({apiUserInfo}: {apiUserInfo: ApiUserInfo | ApiUser}): Promise<ApiUser | undefined> => { ret...
import { HttpBase, HttpBind, ResponsePaginationBase } from '../shared/ui-model/model-types'; export class AuditPagination extends ResponsePaginationBase<Audit> { CreateOneItem(res: object): Audit { return new Audit(res); } ListKeyName(): string { return 'operation_list'; } } export class Audit extend...
import { defHttp } from '/@/utils/http/axios'; import { LoginParams, LoginResultModel, GetUserInfoModel } from './model/userModel'; import { ErrorMessageMode } from '/#/axios'; import { DemoParams, DemoListGetResultModel } from './model/tableModel'; enum Api { Login = '/user/auth/dologin', Logout = '/user/auth/lo...
import { ILogObject, Logger } from "../src"; export interface IContext { logger: Logger; stdOut: string[]; stdErr: string[]; transportOut?: ILogObject[]; transportErr?: ILogObject[]; } export const doesLogContain: (std: string[], str: string) => boolean = ( std: string[], str: string ) => { return std...
// // Copyright (c) Microsoft. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /* eslint no-console: ["error", { allow: ["warn", "dir", "log"] }] */ const querystring = require('querystring'); import { Operations } from '../../business/operations'; import { Or...
export * from "./fluentMaterial";
import React, { ComponentType } from 'react'; import { css, cx } from 'emotion'; import { GrafanaTheme, toPascalCase } from '@grafana/data'; import { stylesFactory } from '../../themes/stylesFactory'; import { useTheme } from '../../themes/ThemeContext'; import { IconName, IconType, IconSize } from '../../types/icon'; ...
// warning: this file is auto generated import React from "react"; import { JsonCard } from "../DataCard"; const Card = () => { const url = "https://raw.githubusercontent.com/linguabook/data/main/words/property.json"; return <JsonCard url={url} text="property" lang="en" />; }; export default Card;
import { TestBed, waitForAsync } from '@angular/core/testing'; import { ScorePolygonModule } from './score-polygon.module'; describe('ScorePolygonModule', () => { beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ScorePolygonModule] }).compileComponents(); })); it('should ...
import got from 'got'; import semver from 'semver'; interface Release { readonly version: string; readonly date: string; readonly files: ReadonlyArray<string>; readonly npm?: string; readonly v8: string; readonly uv?: string; readonly openssl?: string; readonly modules?: string; readonly lts: string ...
import { Component } from '@angular/core'; import { TranslateService } from 'chomsky'; /** * @title Plural Translations Example */ @Component({ selector: 'plural-translations-example', templateUrl: 'plural-translations-example.html', styleUrls: ['plural-translations-example.css'], }) export class PluralTransla...
import { ExtrudeGeometryOptions, Vector2, Shape, ExtrudeGeometry, Matrix4 } from 'three'; export default function arrow3DGeometry( widthHead: number, heightHead: number, widthShaft: number, heightShaft: number, weight: number, bevel?: number): ExtrudeGeometry { bevel = (typeof bevel !== 'u...
import { useCallback, useContext, useMemo } from "react"; import { ThemeContext } from "../provider"; const useTheme = () => { const { handleChange, themes, value } = useContext(ThemeContext); const setTheme = useCallback( (theme: string) => handleChange(theme), [handleChange] ); const theme = useMem...
export type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & { [K in Keys]-?: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, undefined>>; }[Keys]; type _requireOnlyOne = RequireOnlyOne<{ k1: string; k2: string }>;
import * as React from 'react'; import * as ReactDOM from 'react-dom'; import Animate from 'rc-animate'; import Icon, { ThemeType } from '../icon'; import classNames from 'classnames'; import getDataOrAriaProps from '../_util/getDataOrAriaProps'; function noop() { } export interface AlertProps { /** * Type of Al...
export * from './callers'; export { Link, LinkConfig } from './link';
import { IPriceService } from "../interfaces/price-service.interface"; export class MockPriceService implements IPriceService { calculateTotalPrice(basePrice: number, state: string): number { if (state === 'FL') { return basePrice + 0.66; } return basePrice; } }
import * as VueRouter from 'vue-router' import Todo from '../pages/Todo.vue' import NotFound from '../pages/NotFound.vue' import Message from '../pages/Message.vue' const routes = [ { path: '/todo', name: 'todo', component: Todo }, { path: '/message', name: 'message', component: Message }, // plan on directly na...
import { isNullOrUndefined } from "util"; import { CustomNoteType, TargetState, Xliff } from "../Xliff/XLIFFDocument"; import { CSV } from "./CSV"; export function importXliffCSV( updateXlf: Xliff, csvPath: string, useTargetStates: boolean, xliffCSVImportTargetState: string ): number { const requiredHeaders:...
window['CKEDITOR_BASEPATH'] = 'http://cdn.ckeditor.com/4.6.0/full/';
/* * 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 expect from '@kbn/expect'; import { FtrProviderContext } from '../../...
import {BaseEntity, Entity, JoinTable, ManyToMany, ManyToOne, PrimaryColumn} from "../../../../src"; import {Employee} from "./Employee"; @Entity() export class AccessEvent extends BaseEntity { @PrimaryColumn({ type: 'varchar', length: 128 }) id!: string @ManyToOne(() => Employee, (employee) => employee.a...
import { IsString, IsNotEmpty } from 'class-validator'; import { PartialType } from '@nestjs/swagger'; export class CreateCategoryDto { @IsString() @IsNotEmpty() readonly name: string; } export class UpdateCategoryDto extends PartialType(CreateCategoryDto) {}
export interface UploadPolicy { accessid: string; host: string; expire: number; signature: string; policy: string; dir: string; callback: string; }
/* * 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...
export * from './dashboard/Dashboard'; export * from './pessoas/ListagemDePessoas'; export * from './pessoas/DetalheDePessoas';
import { Argument } from "../../argument/Argument"; import { LookupResult, ResultType } from "./LookupResult"; interface LookupErrorMissingArgs extends LookupResult { type: ResultType.ERROR_MISSING_ARGUMENT; missing: Argument[]; } export { LookupErrorMissingArgs }; //# sourceMappingURL=LookupErrorMissingArgs.d....
import * as assert from 'assert' import * as types from '../../../core/types' import * as search from '../../../core/search' const assertMatches = ( matches : types.MatchResult[], i : number, match : string, index : number, input : string ) => { assert.strictEqual(matches[i][0] ,...
import { Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core'; import { ControlValueAccessor, FormControl, NG_VALIDATORS, NG_VALUE_ACCESSOR, ValidationErrors, Validator, Validators } from '@angular/forms'; import { OnExecSuccess, RunService } from '@deja-vu/core'; import { startWith...
import * as React from 'react' import * as Sb from '../../../stories/storybook' import * as Constants from '../../../constants/chat2' import * as RPCChatTypes from '../../../constants/types/rpc-chat-gen' import {retentionPolicies} from '../../../constants/teams' import {Box} from '../../../common-adapters' import {glob...
const { describe, it } = intern.getInterface('bdd'); const { assert } = intern.getPlugin('chai'); import { harness } from '../../../src/testing/harness'; import { WidgetBase } from '../../../src/widget-core/WidgetBase'; import { v, w } from '../../../src/widget-core/d'; import assertionTemplate from '../../../src/test...
/** * @description Define common mime-types */ enum MIME_TYPE { "application/octet-stream" = "application/octet-stream", // Archive, binary "application/vnd.ms-excel" = "application/vnd.ms-excel", "application/vnd.ms-powerpoint" = "application/vnd.ms-powerpoint", "application/msword" = "application/msword",...
import { Component } from '@angular/core'; import { NavController, NavParams } from 'ionic-angular'; @Component({ selector: 'page-accounting', templateUrl: 'accounting.html', }) export class AccountingPage { constructor(public navCtrl: NavController, public navParams: NavParams) { } ionViewDidLoad() { ...
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { ModalTimerPage } from './modal-timer.page'; const routes: Routes = [ { path: '', component: ModalTimerPage } ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule], }) ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="he" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Frogcoin</source> <translation>אודות לייטקוין</translation> </me...
interface iShape { draw(any): void; getLocation(): any; setLocation(width: number, height: number): any; x: number; y: number; color: string; lineWidth: number; } export class cCircle implements iShape { public x: number = 0; public text: string; public y: number = 0; public...
import * as preact from 'preact' import styles from './styles.scss' import { Input } from 'timer/components/input' import type { InputSetValue } from 'timer/components/input' type Props = Readonly<{ value: string setValue: (value: string) => void disabled: boolean onBlur: () => void }> export const TimeInpu...
export class ForbiddenError extends Error { constructor (mensagem) { super(mensagem) this.name = 'ForbiddenError' } }
import { stdProperty } from './Basics'; import { Rule } from './Rules'; export type Classification = { familyId: string; criteriaAttended: number; totalScore: number; selectionDate: string; }; export type Score = { familyId: string; scores: stdProperty; }; export type ScoreProviderType = { targetRule: ...
import * as assert from 'assert'; import * as sinon from 'sinon'; import appInsights from '../../../../appInsights'; import auth from '../../../../Auth'; import { Logger } from '../../../../cli'; import Command, { CommandError } from '../../../../Command'; import request from '../../../../request'; import Utils from '....
import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { UIRouterModule } from 'ui-router-ng2'; import { DirectivesModule } from '../../components/directives.module'; import { STATES } from './account.routes'; import { LoginComponent } from './login/login.component'; import { ...
export const insertItem = <T>(array: T[], index: number, item: T) => [ ...array.slice(0, index), item, ...array.slice(index), ]; export const removeItem = <T>(array: T[], index: number) => [ ...array.slice(0, index), ...array.slice(index + 1), ]; export const arrayToObject = (arr: any[], idField = 'id') => ...
import { ContentItem, Elements, ElementType } from '../../../../lib'; import { getDeliveryClientWithJson } from '../../setup'; import * as responseJson from './unknown-element.spec.json'; describe('Unknown element', () => { let item: ContentItem; beforeAll((done) => { getDeliveryClientWithJson(respons...
import { Module } from '@nestjs/common'; import { AuthService } from './auth.service'; import { UsersModule } from '../users/users.module'; @Module({ imports: [UsersModule], providers: [AuthService], }) export class AuthModule {}
/* ============================================ ; Title: main.ts (WK 5) ; Author: Professor Krasso ; Modified By: Aaron Wilson ; Date: 09 August 2019 ; Description: MD Toolbar TS file. ;=========================================== */ import { enableProdMode } from '@angular/core'; import { platformBrowserDynamic } fro...
import React from 'react'; import TextField from '@material-ui/core/TextField'; import Autocomplete from '@material-ui/lab/Autocomplete'; import { CircularProgress } from '@material-ui/core'; import { SetDescription } from '@/util/types'; import { useCubeContext } from './CubeContext'; export interface ISetDropDownPro...
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { PlayerListComponent } from './player-list.component'; describe('PlayerListComponent', () => { let component: PlayerListComponent; let fixture: ComponentFixture<PlayerListComponent>; beforeEach(async(() => { TestBed.configure...
/* Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as...
import React from 'react'; import useMediaQuery from 'use-media-antd-query'; import { Skeleton, Card, Space, Divider } from 'infrad'; /** 一条分割线 */ export const Line = ({ padding }: { padding?: string | number }) => ( <div style={{ padding: padding || '0 24px', }} > <Divider style={{ margin: 0 }} ...
interface GetProps<T> { object: Record<string, any> | any[]; path: string | string[]; defaultValue: T; } export type { GetProps };
import { array, bigint, boolean, object, optional, Schema, string, } from '../schema'; export interface BatchRetrieveCatalogObjectsRequest { /** The IDs of the CatalogObjects to be retrieved. */ objectIds: string[]; /** * If `true`, the response will include additional objects that are related t...
import { getRepository, Repository } from 'typeorm'; import IUserTokenRepository from '@modules/users/repositories/IUserTokenRepository'; import UserToken from '../entities/UserToken'; class UserTokenRepository implements IUserTokenRepository { private ormRepository: Repository<UserToken>; constructor() { this.or...
<TS language="kk" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Create a new address</source> <translation>Жаңа адрес енгізу</translation> </message> <message> <source>&amp;New</source> <translation>Жаңа</translation> </message> <message>...
export enum EUserRoles { SUPERADMIN = 1, HAIRDRESSER_ADMIN = 2, USER = 3, }
export function colorVariantClass(component: any): { [key: string]: boolean } { let colorClass = component.color; if (!colorClass) { if (component.$inkline.options.colorMode === 'system') { colorClass = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'; } ...
// Import external components refrence import React from 'react' import ReactDOM from 'react-dom' import injectTapEventPlugin from 'react-tap-event-plugin' import { cyan500 } from 'material-ui/styles/colors' import lightBaseTheme from 'material-ui/styles/baseThemes/lightBaseTheme' import MuiThemeProvider from 'material...
import { ExpressionHookFunction } from "../../types"; import * as Tone from 'tone' import { useEffect, useRef, useState } from "react"; import { getNote } from "../../notes"; const useExpressionSequencer: ExpressionHookFunction = (expression, setExpression, variables) => { const steps = useRef<number[]>([0]) ...
import { Directive, Input, Attribute } from '@angular/core'; import { NG_VALIDATORS, Validator, AbstractControl, FormGroup } from '@angular/forms'; @Directive({ selector: 'input[city]', // <input city> providers: [ { provide: NG_VALIDATORS, useExisting: CityValidatorDirective, multi: true, ...
/** * @module validate * @desc * Validates project. * * Executes following tasks based on the event being in: * * |Event|Tasks| * |--|--| * |precommit|`lint`, `test`, `flow` or `typescript`, `nsp`| * |other|`flow` or `typescript`, `nsp`| * * To avoid redundant execution, `lint` and `test` are not executed i...
import { PrismaClient } from '@prisma/client'; let prisma: PrismaClient; if (process.env.NODE_ENV === 'production') { prisma = new PrismaClient(); } else { const globalWithPrisma = global as typeof globalThis & { prisma: PrismaClient; }; if (!globalWithPrisma.prisma) { globalWithPrism...
import { Address, bytes, DummyStorage } from '@oasislabs/common'; import { idl } from '@oasislabs/test'; import { Service } from '../src/service'; import { RpcRequest, setGateway } from '../src/oasis-gateway'; import { EmptyOasisGateway, RpcRequestMockOasisGateway, ConfidentialMockOasisGateway, GatewayRequestDe...
import React from 'react' import { IconProps } from './types' const IconPlayCircleOutline: React.FC<IconProps> = ({ ...props }) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}> {props.title && <title>{props.title}</title>} <path d="M0 0h24v24H0z" fill="none" /> <path d="M10 16...
/** * Copyright 2022 The Vitess 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 applicable law or a...
/* tslint:disable */ /* eslint-disable */ /** * KubeVirt API * This is KubeVirt API an add-on for Kubernetes. * * The version of the OpenAPI document: 1.0.0 * Contact: kubevirt-dev@googlegroups.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-ge...
/* * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib 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 ap...
/* * 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...
export enum WebPRJobNames { NODE_10 = 'create-web-PR-node-10', NODE_12 = 'create-web-PR-node-12', NODE_14 = 'create-web-PR-node-14', NODE_16 = 'create-web-PR-node-16', } export type WebPRJobParams = { GIT_URL: string; GIT_BRANCH: string; BRANCH_NAME: string; JOB_COMMAND: string; PR_TITLE: string; T...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import { Component, h, Element, Prop } from "@stencil/core"; @Component({ tag: "ink-well", styles: ` :host { display: contents; }` }) export class InkWell { @Prop() color: string = "rgba(123, 123, 123, 0.52)"; @Element() host: Element; child: any; isAnimating: boolean = false; maxChildC...
import Address from '../vendor/Address'; import Store from './Store'; import BundleManager from './BundleManager'; import EncryptedDeviceMessage from '../model/EncryptedDeviceMessage'; import { SessionCipher } from '../vendor/SessionCipher'; import { SessionBuilder } from '../vendor/SessionBuilder'; import Bundle from ...
import { DAO, MongooseModel, MongooseModelDocument } from 'daos/DAO'; import { ISpecificationSchema, SPECIFICATION_MODEL_NAME, SPECIFICATION_SCHEMA } from './schemas'; import { ISpecification } from 'shared/entities/Specification'; export abstract class SpecificationDAO extends DAO { protected specificationModel: M...
import React from 'react'; import { ActivityIndicator, StyleSheet } from 'react-native'; import { useAuth } from '../contexts/Auth'; import LoggedIn from './LoggedIn'; import LoggedOut from './LoggedOut'; const styles = StyleSheet.create({ loading: { height: '100%', }, }); export const AppNavigator = () => {...
import { OLD_VNODE_FIELD } from './constants'; import { createElement } from './createElement'; import { VActions, VElement, VFlags, VNode, VProps } from './structs'; /** * Diffs two VNode props and modifies the DOM node based on the necessary changes * @param {HTMLElement} el - Target element to be modified * @par...
import { AnimationReferenceMetadata } from '@angular/animations'; import { Component, ViewChild } from '@angular/core'; import { blink, fadeIn, fadeOut, flipBottom, flipHorBck, flipHorFwd, flipLeft, flipRight, flipTop, flipVerBck, flipVerFwd, growVerIn, growVerOut, heartbeat, IgxDialogComponent, IgxOverlayS...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// This script reads through the Markdown files in readme/news and post each of // them as Dicourse forum posts. It then also update the news file with a link // to that forum post. import { readdir, readFile, writeFile } from 'fs-extra'; import { basename } from 'path'; import { rootDir } from '../tool-utils'; import...
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import { DescribeIpv6PoolsRequest, DescribeIpv6PoolsResult } from "../models/models_2"; import { deserializeAws_ec2DescribeIpv6PoolsCommand, serializeAws_ec2DescribeIpv6PoolsCommand, } from "../protocols/Aws_ec2"; import ...
import { SuperComponent, wxComponent } from '../common/src/index'; import config from '../common/config'; import props from './props'; const { prefix } = config; const name = `${prefix}-button`; @wxComponent() export default class Button extends SuperComponent { externalClasses = [`${prefix}-class`, `${prefix}-clas...
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable, EMPTY } from 'rxjs'; import { AuthService } from './auth.service'; @Injectable({ providedIn: 'root' }) export class InterceptorService implements HttpIntercept...
import { ValidationPipe } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import { NestFactory } from '@nestjs/core'; import { getRepositoryToken } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { AppModule } from './app.module'; import { User } from './user/entities/user.en...
import * as dotenv from 'dotenv'; import { createClient } from './service/db'; import mainWorker from './service/mainWorker'; dotenv.config(); // 0 for HK island, 1 for Kowloon, 2 for New territories const REGION = 0; const db = createClient(); mainWorker(db, REGION);
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { HomePageComponent } from './pages/home-page/home-page.component'; import { HomeCreateSessionDialogComponent } from './dialogs/home-create-session-dialog/home-create-session-dialog.component'; import { HomeJoinSessionDialo...
<TS language="fi" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Valitse hiiren oikealla painikkeella muokataksesi osoitetta tai nimikettä</translation> </message> <message> <source>Create a new a...
/* * Copyright 2020 The Backstage 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 applicable law or ...
import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { ConfigModule } from '@nestjs/config'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { UsersModule } from './users/users.module'; import { AuthModule } from './auth/au...
import "tailwindcss/tailwind.css"; import type { AppProps } from "next/app"; import Head from "next/head"; const App = (props: AppProps) => { return ( <> <Head> <title>nexst</title> </Head> <props.Component {...props.pageProps} /> </> ); }; export default App;
import Serverless from 'serverless'; import Plugin from 'serverless/classes/Plugin'; import PluginManager from 'serverless/classes/PluginManager'; import { getHttp } from 'serverless/plugins/aws/package/compile/events/apiGateway/lib/validate'; import Aws from 'serverless/aws'; const options: Serverless.Options = { ...
import React from 'react'; import { ProgressBar } from 'react-bootstrap'; type TProps = { health: number; maxHealth: number; flip?: boolean; }; const HealthBar = ({ maxHealth, health, flip }: TProps) => { const scale = health / maxHealth; const variant = scale > 0.5 ? 'success' : scale > 0.2 ? 'warning' : '...
import { isEmpty } from 'lodash'; import { Observable, Subject } from 'rxjs'; import { UrlBuilder, IQueryParams } from 'core/navigation'; import { uniqBy } from 'lodash'; import { ISearchResultSet } from './infrastructureSearch.service'; import { ISearchResult, ISearchResults } from '../search.service'; import { Sear...
import { SharedModule } from './shared/shared.module'; /** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular...
import { parse } from 'decaffeinate-parser'; import { AssignOp, DynamicMemberAccessOp, FunctionApplication, Identifier, MemberAccessOp, PostDecrementOp, PostIncrementOp, PreDecrementOp, PreIncrementOp, SoakedDynamicMemberAccessOp, SoakedMemberAccessOp, SoakedNewOp, CompoundAssignOp, SoakedFu...
/* undefined MaaS customer virtual cards get token reference request !!! AUTO GENERATED BY IOTSFJS REFRAIN FROM MANUAL EDITING !!! See https://www.npmjs.com/package/io-ts-from-json-schema */ import * as t from 'io-ts'; import * as Units_ from '../../../../core/components/units'; import * as ApiCommon_ from '../../....
import * as DJS from "discord.js"; import { Bot } from "structures/Bot"; import { SubCommand } from "structures/Command/SubCommand"; export default class CreateTicket extends SubCommand { constructor(bot: Bot) { super(bot, { commandName: "tickets", name: "create", description: "Open a new ticke...
import { operators } from "../operators"; import { InstructionBase, OperationInstruction } from "../instructions"; import { IScope, IValue } from "../types"; import { BaseValue, LiteralValue, ObjectValue, StoreValue, TempValue, VoidValue, } from "../values"; import { MacroFunction } from "./Function"; clas...
// smithy-typescript generated code export * from "./waitForDBInstanceAvailable"; export * from "./waitForDBInstanceDeleted";
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import { BackgroundBlurOptions, BackgroundBlurProcessor, BackgroundBlurVideoFrameProcessor, BackgroundFilterSpec, ConsoleLogger, DefaultVideoTransformDevice, Device, LogLevel, NoOpVideoFramePr...
import { Observable, ObservableInput } from '../Observable'; import { Operator } from '../Operator'; import { Subscriber } from '../Subscriber'; import { Subscription } from '../Subscription'; import { subscribeToResult } from '../util/subscribeToResult'; import { OuterSubscriber } from '../OuterSubscriber'; import { I...