Variable inviteCreatorSchemaConst
inviteCreatorSchema: ZodObject<
{
id: ZodString;
name: ZodOptional<ZodString>;
profile_picture: ZodOptional<
ZodObject<
{
file: ZodOptional<ZodNullable<ZodString>>;
height: ZodOptional<ZodNullable<ZodNumber>>;
media: ZodOptional<ZodNullable<ZodString>>;
mime_type: ZodOptional<ZodNullable<ZodString>>;
refresh_url: ZodOptional<ZodNullable<ZodString>>;
url: ZodOptional<ZodNullable<ZodString>>;
width: ZodOptional<ZodNullable<ZodNumber>>;
},
"strip",
ZodTypeAny,
{
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
},
{
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
},
>,
>;
},
"strip",
ZodTypeAny,
{
id: string;
name?: string;
profile_picture?: {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
};
},
{
id: string;
name?: string;
profile_picture?: {
file?: string
| null;
height?: number | null;
media?: string | null;
mime_type?: string | null;
refresh_url?: string | null;
url?: string | null;
width?: number | null;
};
},
> = ...
Runtime validator for InviteCreator.