Variable userInviteSchemaConst
userInviteSchema: ZodObject<
{
created_at: ZodOptional<ZodString>;
id: ZodString;
key: ZodOptional<ZodString>;
metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
thread: ZodOptional<ZodString>;
user: ZodOptional<
ZodObject<
{
id: ZodString;
name: ZodOptional<ZodString>;
profile_picture: ZodOptional<
ZodObject<
{
file: ZodOptional<ZodString>;
height: ZodOptional<ZodNumber>;
media: ZodOptional<ZodString>;
mime_type: ZodOptional<ZodString>;
refresh_url: ZodOptional<ZodString>;
url: ZodOptional<ZodString>;
width: ZodOptional<ZodNumber>;
},
"strip",
ZodTypeAny,
{
file?: string;
height?: number;
media?: string;
mime_type?: string;
refresh_url?: string;
url?: string;
width?: number;
},
{
file?: string;
height?: number;
media?: string;
mime_type?: string;
refresh_url?: string;
url?: string;
width?: number;
},
>,
>;
},
"strip",
ZodTypeAny,
{
id: string;
name?: string;
profile_picture?: {
file?: string;
height?: number;
media?: string;
mime_type?: string;
refresh_url?: string;
url?: string;
width?: number;
};
},
{
id: string;
name?: string;
profile_picture?: {
file?: string;
height?: number;
media?: string;
mime_type?: string;
refresh_url?: string;
url?: string;
width?: number;
};
},
>,
>;
},
"strip",
ZodTypeAny,
{
created_at?: string;
id: string;
key?: string;
metadata?: Record<string, unknown>;
thread?: string;
user?: {
id: string;
name?: string;
profile_picture?: {
file?: string;
height?: number;
media?: string;
mime_type?: string;
refresh_url?: string;
url?: string;
width?: number;
};
};
},
{
created_at?: string;
id: string;
key?: string;
metadata?: Record<string, unknown>;
thread?: string;
user?: {
id: string;
name?: string;
profile_picture?: {
file?: string;
height?: number;
media?: string;
mime_type?: string;
refresh_url?: string;
url?: string;
width?: number;
};
};
},
> = ...
Runtime validator for UserInvite.