ryu-js / lib /types /snapsave-v1.js
randydev's picture
Create snapsave-v1.js
974286e verified
raw
history blame
377 Bytes
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()
}))
})