text
stringlengths
10
953k
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { ModalSendMaintenanceComponent } from './modal-sendmain.component'; describe('ModalSendMaintenanceComponent', () => { let component: ModalSendMaintenanceComponent; let fixture:...
export interface IConfiguration { } export const defaultConfiguration: IConfiguration = { };
import { Component ,HostBinding,ViewChild } from '@angular/core'; import { fadeAnimation } from './animations/fadeRoute' import { from } from 'rxjs'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'], animations: [fadeAnimation], }) export class AppCompo...
export { default } from './MetaList'; export * from './MetaList';
/**************************************************************************** * 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...
// Copyright 2015-2021 Swim 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 agreed to ...
import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) export class AppComponent { title = 'task-planner'; }
import { ChakraProvider, Grid, GridItem, Flex, Box, Heading, AspectRatio, Image, Text, } from '@chakra-ui/react'; import theme from 'theme'; import { FaHeart, FaClipboardList } from 'react-icons/fa'; import { RiSwordFill } from 'react-icons/ri'; import { Level } from 'framework/potato/api/@types'; co...
/* tslint:disable: no-shadowed-variable */ import { assert } from '@amaui/test'; import { startBrowsers, IBrowsers, evaluate, closeBrowsers, reset } from '../utils/js/test/utils'; import * as AmauiUtils from '../src'; group('@amaui/utils/hexadecimalStringToBinary', () => { let browsers: IBrowsers; pre(async () ...
import { NestFactory } from '@nestjs/core'; import type {NestExpressApplication} from '@nestjs/platform-express'; import { AppModule } from './app.module'; import { join } from 'path'; async function bootstrap() { const app = await NestFactory.create<NestExpressApplication>(AppModule); app.setBaseViewsDir(join(__d...
/** * @file IconOnlineMeeting 线上办公室 * @author Auto Generated by IconPark */ /* tslint:disable: max-line-length */ /* eslint-disable max-len */ import React from 'react'; import {ISvgIconProps, IconWrapper} from '../runtime'; export default IconWrapper( 'IconOnline-meeting', true, (props: ISvgIconProps)...
/** * @license * Copyright 2017 Google LLC * * 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 {GestureTool, GestureToolView} from "./gesture_tool" import {BoxAnnotation} from "../../annotations/box_annotation" import {CartesianFrame} from "../../canvas/cartesian_frame" import * as p from "core/properties" import {GestureEvent} from "core/ui_events" import {Dimensions} from "core/enums" export class BoxZ...
import { Injectable } from '@angular/core'; @Injectable() export class Globals { //Timer Variable activateCooldownTimer:boolean = false //list data arrays all_entries: any[] = []; rated_entries: any[] = []; current_entry: Entry= new Entry(); //pipe sortOrder="" sortKey="" //mediathek data arra...
// Copyright 2018 Google Inc. 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 applicable...
import * as React from "react"; import { StandardProps } from "@material-ui/core"; export interface File { /** * The file name. */ name: string; /** * The upload status. */ status: "progress" | "success" | "fail"; /** * The file size in bytes. */ size?: number; /** * Upload progress ...
// Copyright (c) 2022 Onur Cinar. All Rights Reserved. // https://github.com/cinar/indicatorts import { divide, substract } from '../../helper/numArray'; import { ema } from './ema'; import { msum } from './msum'; /** * The Mass Index (MI) uses the high-low range to identify trend reversals * based on range expansi...
import * as React from 'react'; import './styles.scss'; export function Avatar() { return (<i className="icon ion-md-person avatar" />); }
import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing'; import { TransactionsComponent } from './transactions.component'; describe('TransactionsComponent', () => { let component: TransactionsComponent; let fixture: ComponentFixture<TransactionsComponent>; beforeEach(waitForAsync(() => ...
/* * Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
import * as addressActions from './actions'; import { Action, createReducer, on } from '@ngrx/store'; import { CountryModel } from '../../models/country.model'; import { CityModel } from '../../models/city.model'; import { StateModel } from '../../models/state.model'; import { AddressModel } from '../../models'; expor...
// (C) Copyright 2015 Moodle Pty 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 applicable law or agree...
import { argv } from 'yargs'; import { SeedConfig } from './seed.config'; export class SeedAdvancedConfig extends SeedConfig { constructor() { super(); let arg: string; if (argv && argv._) { arg = argv._[0]; if (arg.indexOf('desktop') > -1) { this.TARGET_DESKTOP = true; if (a...
/* GENERATED FILE */ import * as React from "react"; import Svg, { Rect, Path } from "react-native-svg"; import { IconProps } from '../lib' function Star(props: IconProps) { return <Svg viewBox="0 0 256 256" width={props.size} height={props.size} fill={props.color} {...props}><Rect width={256} height={256} fill="no...
import { Injectable } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { HttpClient } from '@angular/common/http'; import { AuthService } from '../../../auth/auth.service'; import { Error } from '../../../shared/models/error.model'; import { Role } from '../../../auth/role.model'; import { Resource ...
export interface LocalityInterface { getCounties (): any[]; getDistricts (): any[]; getDistrictsByCounty (value: string): any[]; getMunicipalities (): any[]; getMunicipalitiesByDistrict (value: string): any[]; getMunicipalitiesByCounty (value: string): any[]; getSubMunicipalities (): any[]; ...
import GetAllHandler from "../../../source/higherOrderServices/GetAllHandler" import GetOneHandler from "../../../source/higherOrderServices/GetOneHandler" import Tag from "../../../source/models/tag/Tag" import DeleteTagService from "../../../source/services/tag/DeleteTagService" import CreateTagService from "../../.....
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import { FILE_ISSUE_CLICK } from '../../common/extension-telemetry-events'; import { Messages } from '../../common/messages'; import { IssueFilingController } from '../../issue-filing/common/issue-filing-controller-impl'; im...
import { createIcon } from './createIcon/index' export const RecentActors = createIcon({ name: 'RecentActors', path: 'M21 5v14h2V5h-2zm-4 14h2V5h-2v14zM14 5H2c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM8 7.75c1.24 0 2.25 1.01 2.25 2.25S9.24 12.25 8 12.25 5.75 11.24 5.75 10 6.76 7.75 8...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { DocsPageRoutingModule } from './docs-routing.module'; import { DocsPage } from './docs.page'; import { CommonElementsModule } ...
import { VirtualFileSystem } from "files-and-folders-loader/files-and-folders-loader-types"; import { FileSystemLoadingStep } from "reducers/loading-state/loading-state-types"; import { Observable } from "rxjs"; import { cancelableBackgroundWorkerProcess$ } from "util/batch-process/batch-process-util"; import { FilesAn...
/* * Part of RedELK * * BSD 3-Clause License * * Copyright (c) 2020, Lorenzo Bernardi * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retai...
import { TestBed, async } from '@angular/core/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ AppComponent ], }).compileComponents(); })); it('should create the app', as...
import * as React from 'react' import { PrivacyShield } from '@consent-manager/core' const VideoPlatform: React.FC<{ id: string }> = ({ id, ...props }) => { return ( <div style={{ backgroundColor: 'darkblue', color: 'white', border: '4px solid black', padding: '2em', ...
namespace ja2 { const INTTILE_DOOR_TILE_ONE = 1; export const INTTILE_DOOR_OPENSPEED = 70; const INTILE_CHECK_FULL = 1; export const INTILE_CHECK_SELECTIVE = 2; }
export const qstr = require('../qtools/qstr'); qstr.endsWith = (main: string, part: string) => main.endsWith(part); qstr.contains = (line: string, searchText: string) => line.includes(searchText); qstr.breakIntoParts = (main: string, delimiter = ',', maximumNumberOfParts = 0) => { const escapedDelimiter = `\\${deli...
import { ShakemapOverlaysPipe } from './shakemap-overlays.pipe'; describe('ShakemapOverlaysPipe', () => { let pipe; const SHAKEMAP: any = { contents: { 'download/cont_mi.json': { url: 'url' }, 'download/cont_pga.json': { url: 'url' } }, properties: {}, type: 'shakemap' }; beforeEa...
/* eslint-disable no-unused-vars */ declare module "unemit" { type Handler = (event: any) => void; interface IUnemit { on(name: string, handler: Handler): () => void; once(name: string, handler: Handler): () => void; off(name: string, handler: Handler): void; emit(name: string, event: any): void; ...
export * from './webrtc-transport-params.interface'; export * from './create-consumer-options.interface';
var hexes: Array<Hex>; var hexCounter: Array<number>; var metalLevel: number; var hexMap: Array<Array<Hex>>; var uiCanvas, objectCanvas, hitCanvas, effectCanvas: HTMLCanvasElement; var uiCtx, objectCtx, hitCtx, effectCtx: CanvasRenderingContext2D; var hexesImg: HTMLImageElement; var uiImg: HTMLImageElement; var filesLo...
// ==ORIGINAL== class C<T1, T2> { M(t1: T1, t2: T2) { t1.toString(); } } // ==SCOPE::method in class 'C'== class C<T1, T2> { M(t1: T1, t2: T2) { this./*RENAME*/newFunction(t1); } private newFunction(t1: T1) { t1.toString(); } } // ==SCOPE::function in global scope== clas...
import React from 'react'; import { render } from 'enzyme'; import { requiredProps } from '../../test/required_props'; import { EuiTableHeader } from './table_header'; describe('EuiTableHeader', () => { test('is rendered', () => { const component = render( <EuiTableHeader {...requiredProps}>children</EuiT...
import { Component, OnInit } from '@angular/core'; import { routerTransition } from '../../router.animations'; import { InfoWindow } from '@agm/core/services/google-maps-types'; import { MapsAPILoader, AgmMap } from '@agm/core'; import { GoogleMapsAPIWrapper } from '@agm/core/services'; @Component({ selector: 'app-ma...
import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { CreateProductDTO } from './dto/product.dto'; import { Product } from './interface/product.interface' @Injectable() export class ProductService {}
/* @internal */ namespace ts.FindAllReferences { export interface SymbolAndEntries { readonly definition: Definition | undefined; readonly references: readonly Entry[]; } export const enum DefinitionKind { Symbol, Label, Keyword, This, String } export type Definition = | { reado...
import type { NextPage, GetStaticPaths, GetStaticProps } from 'next' import Head from 'next/head' import { ParsedUrlQuery } from 'querystring' import { getAllPostsIds, findPost, Post } from '../../lib/posts' interface Props { post: Post; } interface Param extends ParsedUrlQuery { id: string; } const Posts1: Next...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule, Routes } from '@angular/router'; import { ReactiveFormsModule, FormsModule } from '@angular/forms'; import { SharedComponentsModule } from '../shared/shared.module'; import { AppUIModule } from '../../app.u...
import { AUCTION_ID, METADATA_PROGRAM_ID, METAPLEX_ID, StringPublicKey, toPublicKey, VAULT_ID, } from '../../utils/ids'; import { MAX_WHITELISTED_CREATOR_SIZE } from '../../models'; import { getEdition, Metadata, MAX_CREATOR_LEN, MAX_CREATOR_LIMIT, MAX_NAME_LENGTH, MAX_SYMBOL_LENGTH, MAX_URI_L...
// *** 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"; /** * Creates a new realm in a given project and location. */ export clas...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. 'use strict'; import { inject, injectable } from 'inversify'; import { ICommandManager } from '../../common/application/types'; import { IDisposable } from '../../common/types'; import { Commands } from '../constants'; imp...
import { SendEmailCommand, SESv2Client } from '@aws-sdk/client-sesv2'; import { resolveId } from '@medplum/core'; import { randomUUID } from 'crypto'; import express from 'express'; import { pwnedPassword } from 'hibp'; import fetch from 'node-fetch'; import request from 'supertest'; import { initApp } from '../app'; i...
import { Neovim } from '@chemzqm/neovim' import Plugin from '../plugin' import helper from './helper' let nvim: Neovim let plugin: Plugin beforeAll(async () => { await helper.setup() nvim = helper.nvim plugin = helper.plugin }) describe('Helper', () => { it('should setup', async () => { expect(nvim).toBeT...
import type { IColorAnimation } from "../../Interfaces/Particles/IColorAnimation"; import type { RecursivePartial } from "../../../Types"; import type { IOptionLoader } from "../../Interfaces/IOptionLoader"; export declare class ColorAnimation implements IColorAnimation, IOptionLoader<IColorAnimation> { enable: boo...
/* * MIT License * * Copyright (c) 2020-present Cloudogu GmbH and Contributors * * 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 r...
/* * ANT+ profile: https://www.thisisant.com/developer/ant-plus/device-profiles/#523_tab * Spec sheet: https://www.thisisant.com/resources/bicycle-speed-and-cadence/ */ import { AntPlusSensor, AntPlusScanner, Messages } from './ant'; class SpeedSensorState { constructor(deviceID: number) { this.DeviceID = devic...
import React from 'react'; import { noop } from './util'; import { SelectEventHandler, HoverEventHandler, DestroyEventHandler, RenderIconType, MenuHoverEventHandler, MenuClickEventHandler, MenuMode, LegacyFunctionRef } from './interface'; export interface MenuItemProps { /** @deprecated No place to use this. Should...
import React from 'react'; import PropTypes from 'prop-types'; import { useClassNames } from '../utils'; import FlexboxGridItem from './FlexboxGridItem'; import { WithAsProps, RsRefForwardingComponent } from '../@types/common'; export interface FlexboxGridProps extends WithAsProps { /** align */ align?: 'top' | 'm...
/** * kcsapi.ts - Kantai Collection API TypeScript types * Copyright (c) 2018- Poi contributors. * * @license MIT */ /** * type for API request at /kcsapi/api_req_kaisou/unsetslot_all */ export interface APIReqKaisouUnsetslotAllRequest { api_id: string api_verno: string }
import { NgModule } from "@angular/core"; import { RouterModule, Routes } from "@angular/router"; import { LoginFormComponent } from "./login-form.component"; const routes: Routes = [ { path: "", data: { key: "login-form", shouldDetach: "no" }, component: LoginFormComponent, }, ]; @NgModule({ import...
import { screen } from '@testing-library/vue' import userEvent from '@testing-library/user-event' import renderWithVuex from '@/testUtils/renderWithVuex' import Zones from './Zones.vue' jest.mock('@/helpers', () => { const originalModule = jest.requireActual('@/helpers') return { __esModule: true, ...orig...
import React, { ReactElement } from "react"; interface Props {} export default function TistoryPostList({}: Props): ReactElement { return <div></div>; }
/* * Copyright (c) 2017-2019, FinancialForce.com, inc * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * ...
// Tracking: // https://github.com/alphagov/govuk-frontend/blob/main/src/govuk/helpers/_shape-arrow.scss const root3 = 1.732; // Math.sqrt(3); function equilateralHeight(base) { return (base / 2) * root3; } function makeShape( direction: string, base: number, height: number ): { clipPath: string; borderWi...
import * as angular from 'angular'; import * as angularAnimateModule from 'angular-animate'; import * as angularSanitizeModule from 'angular-sanitize'; const uiRouterModule: any = require('angular-ui-router'); // the following three requires aren't "npm-ready", so the require // strings are just aliases to the actual ...
import { Component } from '@angular/core'; @Component({ selector: 'app-visit', templateUrl: './visit.component.html', }) export class VisitComponent {}
import { InputType, Field } from 'type-graphql'; @InputType() export class CreateBookInput { @Field() title: string; @Field() author: string; }
var get = require('node-fetch'); module.exports = async function add_filter( url: string, username: string, password: string, name: string, listurl: string, whitelist: boolean, ) { var body = { name: name, url: listurl, whitelist: whitelist, }; var response = await get(url + '/control/filt...
import { NextFunction, Request, Response } from 'express'; import jwt from 'express-jwt'; import jwks from 'jwks-rsa'; // Check to Ensure GCP Token is Valid export const gcpJwtCheck = ( req: Request, res: Response, next: NextFunction ): void => { // Skip checking for JWT token for testing if (process.env.NOD...
<TS language="sk" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Pravým tlačidlom myši upravte adresu alebo štítok</translation> </message> <message> <source>Create a new address</source> ...
import { LicensePlateRequestBody } from './LicensePlateRequestBody'; export class RecognizeLicensePlateRequest { public body?: LicensePlateRequestBody; public constructor() { } public withBody(body: LicensePlateRequestBody): RecognizeLicensePlateRequest { this['body'] = body; return t...
import { execSync, ExecSyncOptions } from 'child_process' import * as fs from 'fs-extra' import { join } from 'path' import { execLoudOptions } from '.' type PackageMangerName = 'yarn' | 'npm' | 'pnpm' export const pmMarkFiles: { [P in PackageMangerName]: string[] } = { pnpm: ['pnpm-lock.yaml'], yarn: ['yarn.lock...
import { ApiBody } from '@nestjs/swagger'; export const ApiMultiFile = (fileName: string = 'files'): MethodDecorator => ( target: any, propertyKey: string, descriptor: PropertyDescriptor, ) => { ApiBody({ type: 'multipart/form-data', required: true, schema: { type: '...
import { Injectable } from "@nestjs/common"; import { InjectModel } from "@nestjs/mongoose"; import { Model } from "mongoose"; import { Seeder } from "nestjs-seeder"; import { Product } from "./schemas/product.schema"; import * as products from './electronic-catalog.json'; @Injectable() export class ProductsSeeder imp...
import { Metadata } from "./metadata"; import { Channel } from "./channel"; import { Utterance } from "./utterance"; import { secondsToTimestamp } from "../helpers"; export class PrerecordedTranscriptionResponse { request_id?: string; metadata?: Metadata; results?: { channels: Array<Channel>; utterances?...
export function isFunction<GFunction extends (...args: any[]) => any>( value: unknown, ): value is GFunction { return (typeof value === 'function'); }
export * as Pnts from './pnts'
export const COMMANDS_STR = 'Available commands' export const RUN_STR = 'Run' export const SERVICES_STR = 'Available services' export const SYNOPSIS_STR = 'Synopsis' export const BACK_COMMAND = 'Back' export const EXIT_STR = 'Exit' export const EDIT_CHOICES = [ 'Edit command', 'Choose a different command', EXIT_S...
import puppeteer from 'puppeteer'; import config from './config.json'; if (!config.region || !['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18'].includes(config.region) || !config.grade || !['1', '2', '3', '4', '5'].includes(config.grade) || !config.schoolName |...
/** * A type-safe representation of JSON data. * * This class helps avoid having to repeated type-check every step of the way * when accessing a value nested in JSON. * * For example, * ```ts * const key = TypedJSON.parse(json).get("secrets", 3, "key").string; * if (key) { * // go * } * ``` * * Th...
/*! * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { extensionSettingsPrefix } from '../../constants' import { getLogger, Logger } from '../../logger' import { DefaultSettingsConfiguration } from '../../settingsConfiguration' import { ChildP...
import { Column, Entity, PrimaryColumn } from 'typeorm'; import { AdvancedEntity } from './AdvancedEntity'; @Entity() export class Miner extends AdvancedEntity<Miner> { @PrimaryColumn({ length: 36 }) minerId: string; @Column() joinDate: Date; }
import { Injectable } from '@nestjs/common'; import { JwtService } from '@nestjs/jwt'; import { ISession } from '../common/interface'; import { MailService } from '../mail/mail.service'; import { UserTokensService } from '../user-tokens/user-tokens.service'; import { CreateUserDto } from '../users/user.dto'; import { U...
import { Renderable } from '../../support/renderable'; export class WhereColumnCondition implements Renderable { private kind = 'whereColumn'; private columnsList: any; constructor(columnsList: any) { this.columnsList = columnsList; } render(): any { return { kind: this.kind, args: { ...
import { useEffect } from "react"; import { FormEvent, useState } from "react"; import { useParams } from "react-router-dom"; import logoImg from "../assets/images/logo.svg" import { Button } from "../components/Button" import { RoomCode } from "../components/RoomCode"; import { useAuth } from "../hooks/useAuth"; imp...
import { LazySolution, SolutionType } from '../../src/index'; import assert from 'assert'; describe ( 'LazySolution', (): void => { it ( 'has expected properties', (): void => { const source = 'NaN'; ...
/* * Copyright 2020 * SRFG - Salzburg Research Forschungsgesellschaft mbH; Salzburg; Austria In collaboration with * SRDC - Software Research & Development Consultancy; Ankara; Turkey Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the Lice...
import { DevServer, DevServerCoreConfig } from '@web/dev-server-core'; import { rollupAdapter } from '@web/dev-server-rollup'; import { nodeResolver } from './config'; import { DevServerLogger } from './devServer/devServerLogger'; import rewritePathMiddleware from './devServer/rewritePathMiddleware'; import jsonLoader ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About LiteDoge</source> <translation>O LiteDogeu</translation> </message> <message> <location...
import React from "react"; import { Flex, Container } from "theme-ui"; import { HashRouter as Router, Switch, Route } from "react-router-dom"; import { Wallet } from "@ethersproject/wallet"; import { Decimal, Difference, Trove } from "@liquity/lib-base"; import { LiquityStoreProvider } from "@liquity/lib-react"; impo...
import { Request, Response } from 'express'; import { getCustomRepository } from 'typeorm'; import { AppErrors } from '../errors/AppErrors'; import { SurveysUserRepository } from '../repositories/SurveysUserRepository'; class AnswerController { async execute(request: Request, response: Response) { const {...
import { ElasticBeanstalkClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticBeanstalkClient"; import { DisassociateEnvironmentOperationsRoleMessage } from "../models/index"; import { deserializeAws_queryDisassociateEnvironmentOperationsRoleCommand, serializeAws_queryDisassociateEnvironmen...
import { AccountData } from '../support/require-logged-in.commands'; import { SampleCartProduct, SampleProduct, SampleUser, user, } from './checkout-flow'; export const POWERTOOLS_BASESITE = 'powertools-spa'; export const USER_REQUEST_ENDPOINT = 'orgUsers'; export const ORDER_REQUEST_ENDPOINT = 'replenishmentO...
import NavToggle from './NavToggle'; export default NavToggle;
import { ClientProxy } from '@nestjs/microservices'; import { firstValueFrom } from 'rxjs'; import { HttpException, HttpStatus } from '@nestjs/common'; export const ResponseSuccessData = (message: string) => { return { statusCode: 200, message: message, status: true, }; }; export const SendAndResponseD...
/** * 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...
class Box<Type> { contents: Type; constructor(value: Type) { this.contents = value; } }
import { NO_ERRORS_SCHEMA } from '@angular/core'; import { UiCalculatorModule, UiCalculatorNavModule } from '@genshin-calc/ui'; import { createComponentFactory, Spectator } from '@ngneat/spectator'; import { CalculatorFormComponent } from '../calculator-form/calculator-form.component'; import { initialState } from '../...
import { Component, Input, OnInit } from '@angular/core'; import { RecipeItem } from './recipe-item/recipe-item.component'; @Component({ selector: 'app-recipes-list', templateUrl: './recipes-list.component.html', styleUrls: ['./recipes-list.component.scss'] }) export class RecipesListComponent implements OnInit ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="th_TH" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About wowclassic</source> <translation type="unfinished"/> </message> <message> <location ...
import { Nullable } from './types/nullable'; import { isNull } from './functions/is-null'; import { Undefinable } from './types/undefinable'; /** Represents a skippable action factory delegate. */ export type SkippableActionFactory<TArgs = any> = (args: Undefinable<TArgs>, action: SkippableAction<TArgs>) => Promis...