Expose suspended accounts in dashboard

This commit is contained in:
jjbrunton committed 2026-08-14 16:20:55 +01:00
1 parent 7d039265e7
commit 6a009a41b4
7 files changed
+49 -6

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@ export const AccountSendingStateSchema = z.enum([
'runtime-stopped',
'runtime-failed',
'login-required',
'account-suspended',
'matrix-cooldown',
'replies-prioritized',
'pacing',
@@ -18,7 +19,7 @@ export const AccountSendingStateSchema = z.enum([
export const AccountStatusSchema = z.strictObject({
accountId: z.string(),
redditUsername: z.string(),
runtimeState: z.enum(['created', 'starting', 'running', 'stopping', 'stopped', 'failed']),
runtimeState: z.enum(['created', 'starting', 'running', 'stopping', 'paused', 'stopped', 'failed']),
authenticated: z.boolean(),
sendingState: AccountSendingStateSchema,
messagesThisHour: z.number(),