Variable MJEntityFieldPermissionSchemaConst
MJEntityFieldPermissionSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
CreateAccess: ZodUnion<
[ZodLiteral<"Allow">, ZodLiteral<"Deny">, ZodLiteral<"No Access">],
>;
EntityField: ZodString;
EntityFieldID: ZodString;
ID: ZodString;
ReadAccess: ZodUnion<
[ZodLiteral<"Allow">, ZodLiteral<"Deny">, ZodLiteral<"No Access">],
>;
Role: ZodString;
RoleID: ZodString;
UpdateAccess: ZodUnion<
[ZodLiteral<"Allow">, ZodLiteral<"Deny">, ZodLiteral<"No Access">],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CreateAccess?: "Allow"
| "Deny"
| "No Access";
EntityField?: string;
EntityFieldID?: string;
ID?: string;
ReadAccess?: "Allow" | "Deny" | "No Access";
Role?: string;
RoleID?: string;
UpdateAccess?: "Allow" | "Deny" | "No Access";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CreateAccess?: "Allow"
| "Deny"
| "No Access";
EntityField?: string;
EntityFieldID?: string;
ID?: string;
ReadAccess?: "Allow" | "Deny" | "No Access";
Role?: string;
RoleID?: string;
UpdateAccess?: "Allow" | "Deny" | "No Access";
},
> = ...
zod schema definition for the entity MJ: Entity Field Permissions