Variable MJWorkQueueSubscriptionSchemaConst
MJWorkQueueSubscriptionSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
BackoffBaseSeconds: ZodNumber;
BackoffMaxSeconds: ZodNumber;
BindingConfig: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
ExternalRef: ZodNullable<ZodString>;
Filter: ZodNullable<ZodString>;
HandlerKey: ZodNullable<ZodString>;
HeartbeatMode: ZodUnion<[ZodLiteral<"Auto">, ZodLiteral<"Manual">]>;
HostType: ZodUnion<[ZodLiteral<"External">, ZodLiteral<"MJWorker">]>;
ID: ZodString;
LeaseSeconds: ZodNumber;
MaxAttempts: ZodNumber;
MaxProcessingSeconds: ZodNullable<ZodNumber>;
Name: ZodString;
PartitionMode: ZodUnion<
[ZodLiteral<"Exclusive">, ZodLiteral<"None">, ZodLiteral<"Ordered">],
>;
Status: ZodUnion<
[ZodLiteral<"Active">, ZodLiteral<"Disabled">, ZodLiteral<"Paused">],
>;
Topic: ZodString;
TopicID: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
BackoffBaseSeconds?: number;
BackoffMaxSeconds?: number;
BindingConfig?: string;
Description?: string;
ExternalRef?: string;
Filter?: string;
HandlerKey?: string;
HeartbeatMode?: "Auto"
| "Manual";
HostType?: "External" | "MJWorker";
ID?: string;
LeaseSeconds?: number;
MaxAttempts?: number;
MaxProcessingSeconds?: number;
Name?: string;
PartitionMode?: "None" | "Exclusive" | "Ordered";
Status?: "Active" | "Disabled" | "Paused";
Topic?: string;
TopicID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
BackoffBaseSeconds?: number;
BackoffMaxSeconds?: number;
BindingConfig?: string;
Description?: string;
ExternalRef?: string;
Filter?: string;
HandlerKey?: string;
HeartbeatMode?: "Auto"
| "Manual";
HostType?: "External" | "MJWorker";
ID?: string;
LeaseSeconds?: number;
MaxAttempts?: number;
MaxProcessingSeconds?: number;
Name?: string;
PartitionMode?: "None" | "Exclusive" | "Ordered";
Status?: "Active" | "Disabled" | "Paused";
Topic?: string;
TopicID?: string;
},
> = ...
zod schema definition for the entity MJ: Work Queue Subscriptions