UNPKG

@altostra/core

Version:

Core library for shared types and logic

12 lines (11 loc) 572 B
import type { Secret, SecretType } from "./Secret"; import type { SecretTargetAttachment, SecretTargetAttachmentType } from "./SecretTargetAttachment"; export * from "./Secret"; export * from "./SecretTargetAttachment"; export declare type SecretsManagerResourceTypes = SecretTargetAttachmentType | SecretType; export declare type SecretsManagerResourceByType = { [K in SecretTargetAttachmentType]: SecretTargetAttachment; } & { [K in SecretType]: Secret; }; export declare type SecretsManagerResources = SecretsManagerResourceByType[SecretsManagerResourceTypes];