Skip to main content

Variable: listNotificationsResultSchema

const listNotificationsResultSchema: ZodObject<{ rows: ZodArray<ZodObject<{ id: ZodNumber; title: ZodString; body: ZodString; createdAt: ZodISODateTime; status: ZodEnum<{ UNREAD: "UNREAD"; READ: "READ"; }>; topic: ZodEnum<{ NEW_COMMENT: "NEW_COMMENT"; COMMENT_MODERATED: "COMMENT_MODERATED"; ASSET_MODERATED: "ASSET_MODERATED"; PROJECT_INVITE: "PROJECT_INVITE"; ORG_INVITE: "ORG_INVITE"; ASSET_LIKED: "ASSET_LIKED"; COMMENT_LIKED: "COMMENT_LIKED"; COMMENT_MENTIONED: "COMMENT_MENTIONED"; EXTERNAL_AUTH_APPROVED: "EXTERNAL_AUTH_APPROVED"; NEW_ASSET: "NEW_ASSET"; NEW_ASSET_VERSION: "NEW_ASSET_VERSION"; }>; imageUrl: ZodNullable<ZodString>; link: ZodNullable<ZodString>; userId: ZodNumber; userName: ZodString; }, $strip>>; rowCount: ZodInt; }, $strict>