Variable MJEntityFieldSchemaConst
MJEntityFieldSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AllowDecryptInAPI: ZodBoolean;
AllowsNull: ZodBoolean;
AllowUpdateAPI: ZodBoolean;
AllowUpdateInView: ZodBoolean;
AutoIncrement: ZodBoolean;
AutoUpdateCategory: ZodBoolean;
AutoUpdateDefaultInView: ZodBoolean;
AutoUpdateDescription: ZodBoolean;
AutoUpdateDisplayName: ZodBoolean;
AutoUpdateExtendedType: ZodBoolean;
AutoUpdateFullTextSearch: ZodBoolean;
AutoUpdateIncludeInUserSearchAPI: ZodBoolean;
AutoUpdateIsNameField: ZodBoolean;
AutoUpdateRelatedEntityInfo: ZodBoolean;
AutoUpdateUserSearchPredicate: ZodBoolean;
BaseTable: ZodString;
BaseView: ZodString;
Category: ZodNullable<ZodString>;
CodeType: ZodNullable<
ZodUnion<
[
ZodLiteral<"CSS">,
ZodLiteral<"HTML">,
ZodLiteral<"JavaScript">,
ZodLiteral<"Other">,
ZodLiteral<"SQL">,
ZodLiteral<"TypeScript">,
],
>,
>;
DefaultColumnWidth: ZodNullable<ZodNumber>;
DefaultInView: ZodBoolean;
DefaultValue: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DisplayName: ZodNullable<ZodString>;
Encrypt: ZodBoolean;
EncryptionKeyID: ZodNullable<ZodString>;
Entity: ZodString;
EntityClassName: ZodNullable<ZodString>;
EntityCodeName: ZodNullable<ZodString>;
EntityID: ZodString;
EntityIDFieldName: ZodNullable<ZodString>;
ExtendedType: ZodNullable<
ZodUnion<
[
ZodLiteral<"Code">,
ZodLiteral<"Email">,
ZodLiteral<"FaceTime">,
ZodLiteral<"Geo">,
ZodLiteral<"GeoAddress">,
ZodLiteral<"GeoCity">,
ZodLiteral<"GeoCountry">,
],
>,
>;
FieldCodeName: ZodNullable<ZodString>;
FullTextSearchEnabled: ZodBoolean;
GeneratedFormSection: ZodUnion<
[ZodLiteral<"Category">, ZodLiteral<"Details">, ZodLiteral<"Top">],
>;
ID: ZodString;
IncludeInGeneratedForm: ZodBoolean;
IncludeInUserSearchAPI: ZodBoolean;
IncludeRelatedEntityNameFieldInBaseView: ZodBoolean;
IsComputed: ZodBoolean;
IsNameField: ZodBoolean;
IsPrimaryKey: ZodBoolean;
IsSoftForeignKey: ZodBoolean;
IsSoftPrimaryKey: ZodBoolean;
IsUnique: ZodBoolean;
IsVirtual: ZodBoolean;
JSONType: ZodNullable<ZodString>;
JSONTypeDefinition: ZodNullable<ZodString>;
JSONTypeIsArray: ZodBoolean;
Length: ZodNullable<ZodNumber>;
Name: ZodString;
Precision: ZodNullable<ZodNumber>;
RelatedEntity: ZodNullable<ZodString>;
RelatedEntityBaseTable: ZodNullable<ZodString>;
RelatedEntityBaseView: ZodNullable<ZodString>;
RelatedEntityClassName: ZodNullable<ZodString>;
RelatedEntityCodeName: ZodNullable<ZodString>;
RelatedEntityDisplayType: ZodString;
RelatedEntityFieldName: ZodNullable<ZodString>;
RelatedEntityID: ZodNullable<ZodString>;
RelatedEntityJoinFields: ZodNullable<ZodString>;
RelatedEntityNameFieldMap: ZodNullable<ZodString>;
RelatedEntitySchemaName: ZodNullable<ZodString>;
Scale: ZodNullable<ZodNumber>;
SchemaName: ZodString;
ScopeDefault: ZodNullable<ZodString>;
SendEncryptedValue: ZodBoolean;
Sequence: ZodNumber;
Status: ZodUnion<
[
ZodLiteral<"Active">,
ZodLiteral<"Deprecated">,
ZodLiteral<"Disabled">,
],
>;
Type: ZodString;
UserSearchParamFormatAPI: ZodNullable<ZodString>;
UserSearchPredicateAPI: ZodUnion<
[
ZodLiteral<"BeginsWith">,
ZodLiteral<"Contains">,
ZodLiteral<"EndsWith">,
ZodLiteral<"Exact">,
],
>;
ValueListType: ZodUnion<
[
ZodLiteral<"List">,
ZodLiteral<"ListOrUserEntry">,
ZodLiteral<"None">,
],
>;
ValuesToPackWithSchema: ZodUnion<
[ZodLiteral<"All">, ZodLiteral<"Auto">, ZodLiteral<"None">],
>;
ViewCellTemplate: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AllowDecryptInAPI?: boolean;
AllowsNull?: boolean;
AllowUpdateAPI?: boolean;
AllowUpdateInView?: boolean;
AutoIncrement?: boolean;
AutoUpdateCategory?: boolean;
AutoUpdateDefaultInView?: boolean;
AutoUpdateDescription?: boolean;
AutoUpdateDisplayName?: boolean;
AutoUpdateExtendedType?: boolean;
AutoUpdateFullTextSearch?: boolean;
AutoUpdateIncludeInUserSearchAPI?: boolean;
AutoUpdateIsNameField?: boolean;
AutoUpdateRelatedEntityInfo?: boolean;
AutoUpdateUserSearchPredicate?: boolean;
BaseTable?: string;
BaseView?: string;
Category?: string;
CodeType?: "Other"
| "SQL"
| "HTML"
| "CSS"
| "JavaScript"
| "TypeScript";
DefaultColumnWidth?: number;
DefaultInView?: boolean;
DefaultValue?: string;
Description?: string;
DisplayName?: string;
Encrypt?: boolean;
EncryptionKeyID?: string;
Entity?: string;
EntityClassName?: string;
EntityCodeName?: string;
EntityID?: string;
EntityIDFieldName?: string;
ExtendedType?:
| "Code"
| "Other"
| "Icon"
| "Email"
| "Markdown"
| "URL"
| "FaceTime"
| "Geo"
| "GeoAddress"
| "GeoCity"
| "GeoCountry"
| "GeoLatitude"
| "GeoLongitude"
| "GeoPostalCode"
| "GeoStateProvince"
| "HTML"
| "MSTeams"
| "SIP"
| "SMS"
| "Skype"
| "Tel"
| "WhatsApp"
| "ZoomMtg";
FieldCodeName?: string;
FullTextSearchEnabled?: boolean;
GeneratedFormSection?: "Category"
| "Details"
| "Top";
ID?: string;
IncludeInGeneratedForm?: boolean;
IncludeInUserSearchAPI?: boolean;
IncludeRelatedEntityNameFieldInBaseView?: boolean;
IsComputed?: boolean;
IsNameField?: boolean;
IsPrimaryKey?: boolean;
IsSoftForeignKey?: boolean;
IsSoftPrimaryKey?: boolean;
IsUnique?: boolean;
IsVirtual?: boolean;
JSONType?: string;
JSONTypeDefinition?: string;
JSONTypeIsArray?: boolean;
Length?: number;
Name?: string;
Precision?: number;
RelatedEntity?: string;
RelatedEntityBaseTable?: string;
RelatedEntityBaseView?: string;
RelatedEntityClassName?: string;
RelatedEntityCodeName?: string;
RelatedEntityDisplayType?: string;
RelatedEntityFieldName?: string;
RelatedEntityID?: string;
RelatedEntityJoinFields?: string;
RelatedEntityNameFieldMap?: string;
RelatedEntitySchemaName?: string;
Scale?: number;
SchemaName?: string;
ScopeDefault?: string;
SendEncryptedValue?: boolean;
Sequence?: number;
Status?: "Active" | "Disabled" | "Deprecated";
Type?: string;
UserSearchParamFormatAPI?: string;
UserSearchPredicateAPI?: "Exact" | "BeginsWith" | "Contains" | "EndsWith";
ValueListType?: "None" | "List" | "ListOrUserEntry";
ValuesToPackWithSchema?: "None" | "All" | "Auto";
ViewCellTemplate?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AllowDecryptInAPI?: boolean;
AllowsNull?: boolean;
AllowUpdateAPI?: boolean;
AllowUpdateInView?: boolean;
AutoIncrement?: boolean;
AutoUpdateCategory?: boolean;
AutoUpdateDefaultInView?: boolean;
AutoUpdateDescription?: boolean;
AutoUpdateDisplayName?: boolean;
AutoUpdateExtendedType?: boolean;
AutoUpdateFullTextSearch?: boolean;
AutoUpdateIncludeInUserSearchAPI?: boolean;
AutoUpdateIsNameField?: boolean;
AutoUpdateRelatedEntityInfo?: boolean;
AutoUpdateUserSearchPredicate?: boolean;
BaseTable?: string;
BaseView?: string;
Category?: string;
CodeType?: "Other"
| "SQL"
| "HTML"
| "CSS"
| "JavaScript"
| "TypeScript";
DefaultColumnWidth?: number;
DefaultInView?: boolean;
DefaultValue?: string;
Description?: string;
DisplayName?: string;
Encrypt?: boolean;
EncryptionKeyID?: string;
Entity?: string;
EntityClassName?: string;
EntityCodeName?: string;
EntityID?: string;
EntityIDFieldName?: string;
ExtendedType?:
| "Code"
| "Other"
| "Icon"
| "Email"
| "Markdown"
| "URL"
| "FaceTime"
| "Geo"
| "GeoAddress"
| "GeoCity"
| "GeoCountry"
| "GeoLatitude"
| "GeoLongitude"
| "GeoPostalCode"
| "GeoStateProvince"
| "HTML"
| "MSTeams"
| "SIP"
| "SMS"
| "Skype"
| "Tel"
| "WhatsApp"
| "ZoomMtg";
FieldCodeName?: string;
FullTextSearchEnabled?: boolean;
GeneratedFormSection?: "Category"
| "Details"
| "Top";
ID?: string;
IncludeInGeneratedForm?: boolean;
IncludeInUserSearchAPI?: boolean;
IncludeRelatedEntityNameFieldInBaseView?: boolean;
IsComputed?: boolean;
IsNameField?: boolean;
IsPrimaryKey?: boolean;
IsSoftForeignKey?: boolean;
IsSoftPrimaryKey?: boolean;
IsUnique?: boolean;
IsVirtual?: boolean;
JSONType?: string;
JSONTypeDefinition?: string;
JSONTypeIsArray?: boolean;
Length?: number;
Name?: string;
Precision?: number;
RelatedEntity?: string;
RelatedEntityBaseTable?: string;
RelatedEntityBaseView?: string;
RelatedEntityClassName?: string;
RelatedEntityCodeName?: string;
RelatedEntityDisplayType?: string;
RelatedEntityFieldName?: string;
RelatedEntityID?: string;
RelatedEntityJoinFields?: string;
RelatedEntityNameFieldMap?: string;
RelatedEntitySchemaName?: string;
Scale?: number;
SchemaName?: string;
ScopeDefault?: string;
SendEncryptedValue?: boolean;
Sequence?: number;
Status?: "Active" | "Disabled" | "Deprecated";
Type?: string;
UserSearchParamFormatAPI?: string;
UserSearchPredicateAPI?: "Exact" | "BeginsWith" | "Contains" | "EndsWith";
ValueListType?: "None" | "List" | "ListOrUserEntry";
ValuesToPackWithSchema?: "None" | "All" | "Auto";
ViewCellTemplate?: string;
},
> = ...
zod schema definition for the entity MJ: Entity Fields