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

8 wiersze
149 B
TypeScript
Czysty Zwykły widok Historia

2021-12-23 14:14:06 +00:00
import { z } from 'zod'
export const avatarSchema = z.nullable(z.object({
path: z.string()
}))
export type Avatar = z.infer<typeof avatarSchema>