@grapadigital/shared-schemas 1.0.208 → 1.0.209

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.
@@ -28,7 +28,7 @@ import { Action } from './action.schema';
28
28
  export type JobDocument = HydratedDocument<Job>;
29
29
  export declare const JOB_ORIGINS: readonly ["trigger", "approval", "reclassify"];
30
30
  export type JobOrigin = (typeof JOB_ORIGINS)[number];
31
- export declare const JOB_WORKERS: readonly ["content-capture-trigger", "content-capture", "comment-capture", "content-classification", "metrics-generator", "profile-sync"];
31
+ export declare const JOB_WORKERS: readonly ["api-campaigns", "content-capture-trigger", "content-capture", "comment-capture", "content-classification", "metrics-generator", "profile-sync"];
32
32
  export type JobWorker = (typeof JOB_WORKERS)[number];
33
33
  export declare const JOB_STATUSES: readonly ["running", "done", "skipped", "error"];
34
34
  export type JobStatus = (typeof JOB_STATUSES)[number];
@@ -14,6 +14,8 @@ const mongoose_1 = require("@nestjs/mongoose");
14
14
  const mongoose_2 = require("mongoose");
15
15
  exports.JOB_ORIGINS = ['trigger', 'approval', 'reclassify'];
16
16
  exports.JOB_WORKERS = [
17
+ // Clique de aprovação (lote): quantos conteúdos o disparo colocou no pipeline.
18
+ 'api-campaigns',
17
19
  'content-capture-trigger',
18
20
  'content-capture',
19
21
  'comment-capture',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grapadigital/shared-schemas",
3
- "version": "1.0.208",
3
+ "version": "1.0.209",
4
4
  "description": "Shared Mongoose Schemas",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,6 +13,8 @@ export const JOB_ORIGINS = ['trigger', 'approval', 'reclassify'] as const;
13
13
  export type JobOrigin = (typeof JOB_ORIGINS)[number];
14
14
 
15
15
  export const JOB_WORKERS = [
16
+ // Clique de aprovação (lote): quantos conteúdos o disparo colocou no pipeline.
17
+ 'api-campaigns',
16
18
  'content-capture-trigger',
17
19
  'content-capture',
18
20
  'comment-capture',