Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
import type { Config } from '../../config/types.js';
|
|
import type { GlobalConfig } from '../../globals/config/types.js';
|
|
import type { TaskType } from './types/taskTypes.js';
|
|
import type { WorkflowTypes } from './types/workflowTypes.js';
|
|
export declare const jobStatsGlobalSlug = "payload-jobs-stats";
|
|
/**
|
|
* Type for data stored in the payload-jobs-stats global.
|
|
*/
|
|
export type JobStats = {
|
|
stats?: {
|
|
scheduledRuns?: {
|
|
queues?: {
|
|
[queueSlug: string]: {
|
|
tasks?: {
|
|
[taskSlug: TaskType]: {
|
|
lastScheduledRun: string;
|
|
};
|
|
};
|
|
workflows?: {
|
|
[workflowSlug: WorkflowTypes]: {
|
|
lastScheduledRun: string;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
/**
|
|
* Global config for job statistics.
|
|
*/
|
|
export declare const getJobStatsGlobal: (config: Config) => GlobalConfig;
|
|
//# sourceMappingURL=global.d.ts.map |