UNPKG

@altostra/core

Version:

Core library for shared types and logic

10 lines (9 loc) 516 B
import type { ResourceBase } from "./Common"; export declare type VendorServiceType = 'resource.vendor.service'; export interface VendorService extends ResourceBase { type: VendorServiceType; service: ServiceName; } export declare type ServiceName = 'aws.rekognition' | 'aws.s3' | 'aws.ses'; export declare const isServiceName: import("@altostra/type-validations").TypeValidation<ServiceName>; export declare const isVendorService: import("@altostra/type-validations").ObjectOfTypeValidation<VendorService>;