Skip to content

QueueViewSummaryDtoSchema

const QueueViewSummaryDtoSchema: ZodObject<{
  hasPersistedJobs: ZodBoolean;
  hasRegisteredWorker: ZodBoolean;
  name: ZodString;
  stats: ZodObject<{
     avgProcessingDurationMs: ZodOptional<ZodNumber>;
     cancelled: ZodNumber;
     completed: ZodNumber;
     failed: ZodNumber;
     pending: ZodNumber;
     processing: ZodNumber;
     total: ZodNumber;
  }, $strict>;
  worker: ZodNullable<ZodObject<{
     activeCount: ZodNumber;
     concurrency: ZodNumber;
  }, $strict>>;
}, $strict>;

Defined in: schemas/queue-view.ts:38

Summary of persisted jobs, aggregate stats, and local worker state for one queue name.