Variable MJComponentSchemaConst
MJComponentSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
DependencyCount: ZodNumber;
Description: ZodNullable<ZodString>;
DeveloperEmail: ZodNullable<ZodString>;
DeveloperName: ZodNullable<ZodString>;
DeveloperOrganization: ZodNullable<ZodString>;
FunctionalRequirements: ZodNullable<ZodString>;
FunctionalRequirementsVector: ZodNullable<ZodString>;
FunctionalRequirementsVectorEmbeddingModelID: ZodNullable<ZodString>;
HasCustomEvents: ZodBoolean;
HasCustomProps: ZodBoolean;
HasRequiredCustomProps: ZodBoolean;
ID: ZodString;
LastSyncedAt: ZodNullable<ZodDate>;
Name: ZodString;
Namespace: ZodNullable<ZodString>;
ReplicatedAt: ZodNullable<ZodDate>;
RequiresData: ZodBoolean;
SourceRegistry: ZodNullable<ZodString>;
SourceRegistryID: ZodNullable<ZodString>;
Specification: ZodString;
Status: ZodNullable<
ZodUnion<
[
ZodLiteral<"Deprecated">,
ZodLiteral<"Draft">,
ZodLiteral<"Published">,
],
>,
>;
TechnicalDesign: ZodNullable<ZodString>;
TechnicalDesignVector: ZodNullable<ZodString>;
TechnicalDesignVectorEmbeddingModelID: ZodNullable<ZodString>;
Title: ZodNullable<ZodString>;
Type: ZodNullable<
ZodUnion<
[
ZodLiteral<"Chart">,
ZodLiteral<"Dashboard">,
ZodLiteral<"Form">,
ZodLiteral<"Navigation">,
ZodLiteral<"Other">,
ZodLiteral<"Report">,
ZodLiteral<"Search">,
],
>,
>;
Version: ZodString;
VersionSequence: ZodNumber;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
DependencyCount?: number;
Description?: string;
DeveloperEmail?: string;
DeveloperName?: string;
DeveloperOrganization?: string;
FunctionalRequirements?: string;
FunctionalRequirementsVector?: string;
FunctionalRequirementsVectorEmbeddingModelID?: string;
HasCustomEvents?: boolean;
HasCustomProps?: boolean;
HasRequiredCustomProps?: boolean;
ID?: string;
LastSyncedAt?: Date;
Name?: string;
Namespace?: string;
ReplicatedAt?: Date;
RequiresData?: boolean;
SourceRegistry?: string;
SourceRegistryID?: string;
Specification?: string;
Status?: "Deprecated"
| "Draft"
| "Published";
TechnicalDesign?: string;
TechnicalDesignVector?: string;
TechnicalDesignVectorEmbeddingModelID?: string;
Title?: string;
Type?:
| "Other"
| "Dashboard"
| "Utility"
| "Chart"
| "Form"
| "Navigation"
| "Report"
| "Search"
| "Table"
| "Widget";
Version?: string;
VersionSequence?: number;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
DependencyCount?: number;
Description?: string;
DeveloperEmail?: string;
DeveloperName?: string;
DeveloperOrganization?: string;
FunctionalRequirements?: string;
FunctionalRequirementsVector?: string;
FunctionalRequirementsVectorEmbeddingModelID?: string;
HasCustomEvents?: boolean;
HasCustomProps?: boolean;
HasRequiredCustomProps?: boolean;
ID?: string;
LastSyncedAt?: Date;
Name?: string;
Namespace?: string;
ReplicatedAt?: Date;
RequiresData?: boolean;
SourceRegistry?: string;
SourceRegistryID?: string;
Specification?: string;
Status?: "Deprecated"
| "Draft"
| "Published";
TechnicalDesign?: string;
TechnicalDesignVector?: string;
TechnicalDesignVectorEmbeddingModelID?: string;
Title?: string;
Type?:
| "Other"
| "Dashboard"
| "Utility"
| "Chart"
| "Form"
| "Navigation"
| "Report"
| "Search"
| "Table"
| "Widget";
Version?: string;
VersionSequence?: number;
},
> = ...
zod schema definition for the entity MJ: Components