File size: 377 Bytes
974286e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { z } from 'zod'

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

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