@aptly-as/types
Version:
Aptly types and enums
17 lines (16 loc) • 437 B
TypeScript
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;
}