File size: 414 Bytes
0774fd1
974286e
 
 
0774fd1
974286e
 
0774fd1
 
974286e
 
0774fd1
974286e
 
0774fd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { z } from "zod";

export const SnapSaveArgsSchema = z.object({
    0: z.string().url(),
});

export const SnapSaveSchema = z.object({
    description: z.string().nullable().optional(),
    title: z.string().nullable().optional(),
    results: z.array(z.object({
        resolution: z.string().optional(),
        thumbnail: z.string().url().nullable().optional(),
        url: z.string().url()
    }))
});