UNPKG

@aptly-as/types

Version:
17 lines (16 loc) 437 B
import { AptlyEmailType } from '../enums/index.js'; import { AptlyMarkdown } from '../core'; export type AptlyEmail = AptlyEmailSchema<string, string>; export interface AptlyEmailSchema<ID, DATE> { _id: ID; name: string; type: AptlyEmailType; subject: string; content: AptlyMarkdown; actionLabel?: string; organization: ID; project?: ID; archived: boolean; createdAt: DATE; updatedAt: DATE; }