feat: support concurrent Reddit accounts
This commit is contained in:
1 parent
d819a0f1e6
commit
16a31335d0
51 files changed
+3241
-250
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { z } from 'zod';
|
||||
import { RejectedActionResponseSchema, SuccessResponseSchema } from './common.js';
|
||||
import { RedditAccountOwnerSchema } from './session.js';
|
||||
|
||||
export const MediaItemSchema = z.strictObject({
|
||||
id: z.string(),
|
||||
@@ -12,6 +13,7 @@ export const MediaItemSchema = z.strictObject({
|
||||
relativePath: z.string(),
|
||||
createdAt: z.number(),
|
||||
urlPath: z.string(),
|
||||
owner: RedditAccountOwnerSchema.optional(),
|
||||
});
|
||||
export const MediaResponseSchema = z.array(MediaItemSchema);
|
||||
export const MediaSyncStatusSchema = z.strictObject({
|
||||
|
||||
Reference in new issue
Block a user