Variable MJAPIKeySchemaConst
MJAPIKeySchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
CreatedByUser: ZodString;
CreatedByUserID: ZodString;
Description: ZodNullable<ZodString>;
ExpiresAt: ZodNullable<ZodDate>;
Hash: ZodString;
ID: ZodString;
KeyPrefix: ZodNullable<ZodString>;
Label: ZodString;
LastUsedAt: ZodNullable<ZodDate>;
Status: ZodUnion<[ZodLiteral<"Active">, ZodLiteral<"Revoked">]>;
User: ZodString;
UserID: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CreatedByUser?: string;
CreatedByUserID?: string;
Description?: string;
ExpiresAt?: Date;
Hash?: string;
ID?: string;
KeyPrefix?: string;
Label?: string;
LastUsedAt?: Date;
Status?: "Active"
| "Revoked";
User?: string;
UserID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CreatedByUser?: string;
CreatedByUserID?: string;
Description?: string;
ExpiresAt?: Date;
Hash?: string;
ID?: string;
KeyPrefix?: string;
Label?: string;
LastUsedAt?: Date;
Status?: "Active"
| "Revoked";
User?: string;
UserID?: string;
},
> = ...
zod schema definition for the entity MJ: API Keys