UNPKG

@basetime/a2w-api-ts

Version:

Client library that communicates with the addtowallet API.

38 lines (37 loc) 1.14 kB
import { z } from 'zod'; /** * Schema for the details needed to render a template thumbnail. */ export declare const TemplateThumbnailSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; version: z.ZodNumber; thumbnail: z.ZodString; description: z.ZodString; attributes: z.ZodArray<z.ZodObject<{ key: z.ZodString; value: z.ZodString; type: z.ZodEnum<{ boolean: "boolean"; color: "color"; image: "image"; text: "text"; }>; }, z.core.$loose>>; logoText: z.ZodString; primaryText: z.ZodString; headerText: z.ZodString; secondaryText: z.ZodString; logo: z.ZodString; banner: z.ZodString; backgroundColor: z.ZodString; foregroundColor: z.ZodString; screenshotUrl: z.ZodOptional<z.ZodString>; screenshotAppleUrl: z.ZodOptional<z.ZodString>; screenshotAndroidUrl: z.ZodOptional<z.ZodString>; createdDate: z.ZodCoercedDate<unknown>; }, z.core.$loose>; /** * The details needed to render a template thumbnail. */ export type TemplateThumbnail = z.infer<typeof TemplateThumbnailSchema>;