Show per-account delivery status

This commit is contained in:
jjbrunton committed 2026-08-09 16:12:05 +01:00
1 parent 9b86cee9be
commit 22eb32e5bf
14 files changed
+402 -13

No files matched your search

@@ -58,6 +58,12 @@ describe('dashboard endpoint contracts', () => {
subreddits: [{ name: 'example', type: 'image' }],
targetGenders: ['female'],
recentActivity: [activity],
accounts: [{
accountId: '@t2_owner:reddit.com', redditUsername: 'owner', runtimeState: 'running',
authenticated: true, sendingState: 'ready', messagesThisHour: 2, maxMessagesPerHour: 8,
nextMessageAvailableAt: null, hourlyResetAt: 1_700_003_600_000, messagesRemaining: 6,
actionableReplies: 0, invitationCooldown: null, failure: null,
}],
invitationCooldown: null,
};
expect(StatsResponseSchema.parse(payload)).toEqual(payload);