added screen share

This commit is contained in:
Arjun 2026-07-03 23:47:16 +05:30
parent 42353c63f4
commit 48a3ff6a36
7 changed files with 392 additions and 177 deletions

View file

@ -52,7 +52,7 @@ export const UserImagePart = z.object({
type: z.literal("image"),
data: z.string(), // base64-encoded image bytes (no data: prefix)
mediaType: z.string(), // MIME type ("image/jpeg")
source: z.enum(["camera"]).optional(),
source: z.enum(["camera", "screen"]).optional(),
capturedAt: z.string().optional(), // ISO timestamp of capture
});