Variable MJEntityRelationshipSchemaConst
MJEntityRelationshipSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AdditionalFieldsToInclude: ZodNullable<ZodString>;
AutoUpdateAdditionalFieldsToInclude: ZodBoolean;
AutoUpdateFromSchema: ZodBoolean;
BundleInAPI: ZodBoolean;
DisplayComponentConfiguration: ZodNullable<ZodString>;
DisplayComponentID: ZodNullable<ZodString>;
DisplayIcon: ZodNullable<ZodString>;
DisplayIconType: ZodUnion<
[
ZodLiteral<"Custom">,
ZodLiteral<"None">,
ZodLiteral<"Related Entity Icon">,
],
>;
DisplayInForm: ZodBoolean;
DisplayLocation: ZodUnion<
[ZodLiteral<"After Field Tabs">, ZodLiteral<"Before Field Tabs">],
>;
DisplayName: ZodNullable<ZodString>;
DisplayUserViewID: ZodNullable<ZodString>;
DisplayUserViewName: ZodNullable<ZodString>;
Entity: ZodString;
EntityBaseTable: ZodString;
EntityBaseView: ZodString;
EntityID: ZodString;
EntityKeyField: ZodNullable<ZodString>;
ID: ZodString;
IncludeInParentAllQuery: ZodBoolean;
JoinEntityInverseJoinField: ZodNullable<ZodString>;
JoinEntityJoinField: ZodNullable<ZodString>;
JoinView: ZodNullable<ZodString>;
RelatedEntity: ZodString;
RelatedEntityBaseTable: ZodString;
RelatedEntityBaseTableCodeName: ZodNullable<ZodString>;
RelatedEntityBaseView: ZodString;
RelatedEntityClassName: ZodNullable<ZodString>;
RelatedEntityCodeName: ZodNullable<ZodString>;
RelatedEntityID: ZodString;
RelatedEntityJoinField: ZodString;
Sequence: ZodNumber;
Type: ZodUnion<[ZodLiteral<"Many To Many">, ZodLiteral<"One To Many">]>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AdditionalFieldsToInclude?: string;
AutoUpdateAdditionalFieldsToInclude?: boolean;
AutoUpdateFromSchema?: boolean;
BundleInAPI?: boolean;
DisplayComponentConfiguration?: string;
DisplayComponentID?: string;
DisplayIcon?: string;
DisplayIconType?: "Custom"
| "None"
| "Related Entity Icon";
DisplayInForm?: boolean;
DisplayLocation?: "After Field Tabs" | "Before Field Tabs";
DisplayName?: string;
DisplayUserViewID?: string;
DisplayUserViewName?: string;
Entity?: string;
EntityBaseTable?: string;
EntityBaseView?: string;
EntityID?: string;
EntityKeyField?: string;
ID?: string;
IncludeInParentAllQuery?: boolean;
JoinEntityInverseJoinField?: string;
JoinEntityJoinField?: string;
JoinView?: string;
RelatedEntity?: string;
RelatedEntityBaseTable?: string;
RelatedEntityBaseTableCodeName?: string;
RelatedEntityBaseView?: string;
RelatedEntityClassName?: string;
RelatedEntityCodeName?: string;
RelatedEntityID?: string;
RelatedEntityJoinField?: string;
Sequence?: number;
Type?: "Many To Many" | "One To Many";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AdditionalFieldsToInclude?: string;
AutoUpdateAdditionalFieldsToInclude?: boolean;
AutoUpdateFromSchema?: boolean;
BundleInAPI?: boolean;
DisplayComponentConfiguration?: string;
DisplayComponentID?: string;
DisplayIcon?: string;
DisplayIconType?: "Custom"
| "None"
| "Related Entity Icon";
DisplayInForm?: boolean;
DisplayLocation?: "After Field Tabs" | "Before Field Tabs";
DisplayName?: string;
DisplayUserViewID?: string;
DisplayUserViewName?: string;
Entity?: string;
EntityBaseTable?: string;
EntityBaseView?: string;
EntityID?: string;
EntityKeyField?: string;
ID?: string;
IncludeInParentAllQuery?: boolean;
JoinEntityInverseJoinField?: string;
JoinEntityJoinField?: string;
JoinView?: string;
RelatedEntity?: string;
RelatedEntityBaseTable?: string;
RelatedEntityBaseTableCodeName?: string;
RelatedEntityBaseView?: string;
RelatedEntityClassName?: string;
RelatedEntityCodeName?: string;
RelatedEntityID?: string;
RelatedEntityJoinField?: string;
Sequence?: number;
Type?: "Many To Many" | "One To Many";
},
> = ...
zod schema definition for the entity MJ: Entity Relationships