Expose suspended accounts in dashboard
This commit is contained in:
1 parent
7d039265e7
commit
6a009a41b4
7 files changed
+49
-6
No files matched your search
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user