Variable MJEntityFormContributionSchemaConst
MJEntityFormContributionSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ChromeGroup: ZodNullable<
ZodUnion<[ZodLiteral<"details">, ZodLiteral<"more">]>,
>;
Component: ZodString;
ComponentID: ZodString;
Configuration: ZodNullable<ZodString>;
ContributionKey: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
Entity: ZodString;
EntityID: ZodString;
Icon: ZodNullable<ZodString>;
ID: ZodString;
Inclusion: ZodNullable<
ZodUnion<
[ZodLiteral<"More">, ZodLiteral<"None">, ZodLiteral<"Primary">],
>,
>;
InSectionKey: ZodNullable<ZodString>;
Name: ZodString;
Notes: ZodNullable<ZodString>;
Precedence: ZodNumber;
Presentation: ZodUnion<[ZodLiteral<"bare">, ZodLiteral<"panel">]>;
RelatedEntity: ZodNullable<ZodString>;
RelatedEntityID: ZodNullable<ZodString>;
RelatedJoinField: ZodNullable<ZodString>;
ReplacesFieldNames: ZodNullable<ZodString>;
ReplacesSectionKey: ZodNullable<ZodString>;
ReplacesSectionKeys: ZodNullable<ZodString>;
Role: ZodNullable<ZodString>;
RoleID: ZodNullable<ZodString>;
Scope: ZodUnion<
[ZodLiteral<"Global">, ZodLiteral<"Role">, ZodLiteral<"User">],
>;
SectionPosition: ZodNullable<
ZodUnion<[ZodLiteral<"end">, ZodLiteral<"start">]>,
>;
Slot: ZodUnion<
[
ZodLiteral<"after-everything">,
ZodLiteral<"after-fields">,
ZodLiteral<"after-related">,
ZodLiteral<"before-fields">,
ZodLiteral<"top-area">,
],
>;
SortKey: ZodNumber;
Status: ZodUnion<
[ZodLiteral<"Active">, ZodLiteral<"Inactive">, ZodLiteral<"Pending">],
>;
Title: ZodNullable<ZodString>;
User: ZodNullable<ZodString>;
UserID: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ChromeGroup?: "details"
| "more";
Component?: string;
ComponentID?: string;
Configuration?: string;
ContributionKey?: string;
Description?: string;
Entity?: string;
EntityID?: string;
Icon?: string;
ID?: string;
Inclusion?: "None" | "More" | "Primary";
InSectionKey?: string;
Name?: string;
Notes?: string;
Precedence?: number;
Presentation?: "bare" | "panel";
RelatedEntity?: string;
RelatedEntityID?: string;
RelatedJoinField?: string;
ReplacesFieldNames?: string;
ReplacesSectionKey?: string;
ReplacesSectionKeys?: string;
Role?: string;
RoleID?: string;
Scope?: "User" | "Role" | "Global";
SectionPosition?: "end" | "start";
Slot?:
| "after-everything"
| "after-fields"
| "after-related"
| "before-fields"
| "top-area";
SortKey?: number;
Status?: "Active"
| "Pending"
| "Inactive";
Title?: string;
User?: string;
UserID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ChromeGroup?: "details"
| "more";
Component?: string;
ComponentID?: string;
Configuration?: string;
ContributionKey?: string;
Description?: string;
Entity?: string;
EntityID?: string;
Icon?: string;
ID?: string;
Inclusion?: "None" | "More" | "Primary";
InSectionKey?: string;
Name?: string;
Notes?: string;
Precedence?: number;
Presentation?: "bare" | "panel";
RelatedEntity?: string;
RelatedEntityID?: string;
RelatedJoinField?: string;
ReplacesFieldNames?: string;
ReplacesSectionKey?: string;
ReplacesSectionKeys?: string;
Role?: string;
RoleID?: string;
Scope?: "User" | "Role" | "Global";
SectionPosition?: "end" | "start";
Slot?:
| "after-everything"
| "after-fields"
| "after-related"
| "before-fields"
| "top-area";
SortKey?: number;
Status?: "Active"
| "Pending"
| "Inactive";
Title?: string;
User?: string;
UserID?: string;
},
> = ...
zod schema definition for the entity MJ: Entity Form Contributions