@basetime/a2w-api-ts
Version:
Client library that communicates with the addtowallet API.
20 lines (19 loc) • 497 B
TypeScript
import { z } from 'zod';
/**
* Schema for an image that can be used on the frontend.
*/
export declare const ImageSchema: z.ZodObject<{
name: z.ZodString;
url: z.ZodString;
tags: z.ZodArray<z.ZodString>;
width: z.ZodNumber;
height: z.ZodNumber;
size: z.ZodNumber;
mimeType: z.ZodString;
md5: z.ZodString;
folder: z.ZodString;
}, z.core.$loose>;
/**
* Represents an image that can be used on the frontend.
*/
export type Image = z.infer<typeof ImageSchema>;