@clxmedia/types 1.0.129 → 1.0.130

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.
@@ -4,7 +4,6 @@ import type { CLXTaskAssignment, CLXTaskWithStatus } from "../tasks";
4
4
  export type CLXProjectTaskInstance = {
5
5
  id: number;
6
6
  is_required: boolean;
7
- is_active: boolean;
8
7
  conditions: CLXFormRuleSet | any;
9
8
  project_step_id: number;
10
9
  created_at: Date;
@@ -33,7 +33,7 @@ export type PagedResult<T> = {
33
33
  take: number;
34
34
  skip: number;
35
35
  };
36
- export type CLXTaskActionType = 'create' | 'assign' | 'comment' | 'notify' | 'start' | 'complete' | 'verify' | 'close';
36
+ export type CLXTaskActionType = 'create' | 'activate' | 'assign' | 'comment' | 'notify' | 'start' | 'complete' | 'verify' | 'close';
37
37
  export type CLXTaskTargetNone = {
38
38
  type: 'none';
39
39
  };
@@ -80,11 +80,14 @@ export type CLXTaskTrigger = {
80
80
  created_at: Date;
81
81
  fired_at: Date | null;
82
82
  };
83
- export type CLXTask = {
83
+ export type CLXTaskBase = {
84
84
  id: number;
85
85
  name: string;
86
86
  is_active: boolean;
87
+ };
88
+ export type CLXTask = CLXTaskBase & {
87
89
  requires_verification: boolean;
90
+ depends_on?: CLXTaskBase;
88
91
  internal_only: boolean;
89
92
  meta_data?: CLXTaskMetaData;
90
93
  description?: string;
@@ -109,6 +112,7 @@ export type CLXTaskHistoryEntry = {
109
112
  };
110
113
  };
111
114
  export type CLXTaskWithStatus = CLXTask & {
115
+ activated_at: Date | null;
112
116
  started_at: Date | null;
113
117
  completed_at: Date | null;
114
118
  verified_at: Date | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.129",
3
+ "version": "1.0.130",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",