fedicrawl/application/src/Fediverse/Providers/Peertube/Avatar.ts

8 wiersze
149 B
TypeScript

import { z } from 'zod'
export const avatarSchema = z.nullable(z.object({
path: z.string()
}))
export type Avatar = z.infer<typeof avatarSchema>