Variable MJOpenAppInstallHistorySchemaConst
MJOpenAppInstallHistorySchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
Action: ZodUnion<
[ZodLiteral<"Install">, ZodLiteral<"Remove">, ZodLiteral<"Upgrade">],
>;
DurationSeconds: ZodNullable<ZodNumber>;
EndedAt: ZodNullable<ZodDate>;
ErrorMessage: ZodNullable<ZodString>;
ErrorPhase: ZodNullable<
ZodUnion<
[
ZodLiteral<"Config">,
ZodLiteral<"Hooks">,
ZodLiteral<"Migration">,
ZodLiteral<"Packages">,
ZodLiteral<"Record">,
ZodLiteral<"Schema">,
],
>,
>;
ExecutedByUser: ZodString;
ExecutedByUserID: ZodString;
ID: ZodString;
ManifestJSON: ZodString;
OpenApp: ZodString;
OpenAppID: ZodString;
PreviousVersion: ZodNullable<ZodString>;
StartedAt: ZodNullable<ZodDate>;
Success: ZodBoolean;
Summary: ZodNullable<ZodString>;
Version: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Action?: "Remove"
| "Install"
| "Upgrade";
DurationSeconds?: number;
EndedAt?: Date;
ErrorMessage?: string;
ErrorPhase?:
| "Config"
| "Hooks"
| "Migration"
| "Packages"
| "Record"
| "Schema";
ExecutedByUser?: string;
ExecutedByUserID?: string;
ID?: string;
ManifestJSON?: string;
OpenApp?: string;
OpenAppID?: string;
PreviousVersion?: string;
StartedAt?: Date;
Success?: boolean;
Summary?: string;
Version?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
Action?: "Remove"
| "Install"
| "Upgrade";
DurationSeconds?: number;
EndedAt?: Date;
ErrorMessage?: string;
ErrorPhase?:
| "Config"
| "Hooks"
| "Migration"
| "Packages"
| "Record"
| "Schema";
ExecutedByUser?: string;
ExecutedByUserID?: string;
ID?: string;
ManifestJSON?: string;
OpenApp?: string;
OpenAppID?: string;
PreviousVersion?: string;
StartedAt?: Date;
Success?: boolean;
Summary?: string;
Version?: string;
},
> = ...
zod schema definition for the entity MJ: Open App Install Histories