@grapadigital/shared-schemas 1.0.207 → 1.0.208
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,7 +30,7 @@ export declare const JOB_ORIGINS: readonly ["trigger", "approval", "reclassify"]
|
|
|
30
30
|
export type JobOrigin = (typeof JOB_ORIGINS)[number];
|
|
31
31
|
export declare const JOB_WORKERS: readonly ["content-capture-trigger", "content-capture", "comment-capture", "content-classification", "metrics-generator", "profile-sync"];
|
|
32
32
|
export type JobWorker = (typeof JOB_WORKERS)[number];
|
|
33
|
-
export declare const JOB_STATUSES: readonly ["done", "skipped", "error"];
|
|
33
|
+
export declare const JOB_STATUSES: readonly ["running", "done", "skipped", "error"];
|
|
34
34
|
export type JobStatus = (typeof JOB_STATUSES)[number];
|
|
35
35
|
/**
|
|
36
36
|
* Trilha única do pipeline de captura: cada worker grava uma linha por
|
|
@@ -21,7 +21,9 @@ exports.JOB_WORKERS = [
|
|
|
21
21
|
'metrics-generator',
|
|
22
22
|
'profile-sync',
|
|
23
23
|
];
|
|
24
|
-
|
|
24
|
+
// running: trabalho em andamento com checkpoint (ex.: job assíncrono da
|
|
25
|
+
// exportcomments em criação/polling).
|
|
26
|
+
exports.JOB_STATUSES = ['running', 'done', 'skipped', 'error'];
|
|
25
27
|
/**
|
|
26
28
|
* Trilha única do pipeline de captura: cada worker grava uma linha por
|
|
27
29
|
* unidade de trabalho (action ou content), e todas as linhas da mesma rodada
|
package/package.json
CHANGED
|
@@ -22,7 +22,9 @@ export const JOB_WORKERS = [
|
|
|
22
22
|
] as const;
|
|
23
23
|
export type JobWorker = (typeof JOB_WORKERS)[number];
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
// running: trabalho em andamento com checkpoint (ex.: job assíncrono da
|
|
26
|
+
// exportcomments em criação/polling).
|
|
27
|
+
export const JOB_STATUSES = ['running', 'done', 'skipped', 'error'] as const;
|
|
26
28
|
export type JobStatus = (typeof JOB_STATUSES)[number];
|
|
27
29
|
|
|
28
30
|
/**
|