change: provide createdAt Date for newsletter

This commit is contained in:
Julian Krauser 2025-05-29 11:21:08 +02:00
parent 2357497d3a
commit f6a0a61ed8
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@ export default abstract class NewsletterFactory {
newsletterSignatur: record.newsletterSignatur,
isSent: record.isSent,
recipientsByQueryId: record?.recipientsByQuery ? record.recipientsByQuery.id : null,
createdAt: record.createdAt,
};
}

View file

@ -7,4 +7,5 @@ export interface NewsletterViewModel {
newsletterSignatur: string;
isSent: boolean;
recipientsByQueryId?: string;
createdAt: Date;
}