feat(types): add IndexJobData for Meilisearch indexing

This commit is contained in:
2026-05-27 23:45:42 +05:30
parent d33b4e40b8
commit 480f748692
+11
View File
@@ -77,3 +77,14 @@ export interface ForwardJobData {
toGroupJid: string;
fromAccountId: string; // which bot account to send the forward from
}
export interface IndexJobData {
messageId: string; // DB Message.id (cuid)
content: string;
senderName: string | null;
sourceGroupId: string; // DB Group.id
sourceGroupName: string;
tags: string[];
platform: string;
approvedAt: string; // ISO 8601 — converted to Unix ms in the index processor
}