Variable MJListInvitationSchemaConst
MJListInvitationSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
CreatedByUser: ZodString;
CreatedByUserID: ZodString;
Email: ZodString;
ExpiresAt: ZodDate;
ID: ZodString;
List: ZodString;
ListID: ZodString;
Role: ZodUnion<[ZodLiteral<"Editor">, ZodLiteral<"Viewer">]>;
Status: ZodUnion<
[
ZodLiteral<"Accepted">,
ZodLiteral<"Expired">,
ZodLiteral<"Pending">,
ZodLiteral<"Revoked">,
],
>;
Token: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CreatedByUser?: string;
CreatedByUserID?: string;
Email?: string;
ExpiresAt?: Date;
ID?: string;
List?: string;
ListID?: string;
Role?: "Editor"
| "Viewer";
Status?: "Pending" | "Revoked" | "Expired" | "Accepted";
Token?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CreatedByUser?: string;
CreatedByUserID?: string;
Email?: string;
ExpiresAt?: Date;
ID?: string;
List?: string;
ListID?: string;
Role?: "Editor"
| "Viewer";
Status?: "Pending" | "Revoked" | "Expired" | "Accepted";
Token?: string;
},
> = ...
zod schema definition for the entity MJ: List Invitations