@clxmedia/types 1.0.131 → 1.0.133

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.
@@ -1,20 +1,10 @@
1
- import type { CLXFormRuleSet } from "../clxforms";
2
1
  import type { EnterpriseEventSlugs } from "../events";
3
2
  import type { CLXTaskAssignment, CLXTaskWithStatus } from "../tasks";
4
- export type CLXProjectTaskInstance = {
5
- id: number;
6
- is_required: boolean;
7
- conditions: CLXFormRuleSet | any;
8
- project_step_id: number;
9
- created_at: Date;
10
- updated_at: Date;
11
- task: CLXTaskWithStatus;
12
- };
13
3
  export type CLXProjectStepInstance = {
14
4
  id: number;
15
5
  project_id: number;
16
6
  name: string;
17
- project_tasks: CLXProjectTaskInstance[];
7
+ project_tasks: CLXTaskWithStatus[];
18
8
  };
19
9
  export type CLXUserInstance = {
20
10
  id: number;
@@ -1,3 +1,4 @@
1
+ import { CLXFormRuleSet } from "../clxforms";
1
2
  import type { EnterpriseEventSlugs } from "../events";
2
3
  export type CLXSortDirection = 'asc' | 'desc';
3
4
  export type CLXTaskAssignmentType = 'unassigned' | 'internal' | 'external' | 'role' | 'group' | 'user' | 'right';
@@ -33,7 +34,7 @@ export type PagedResult<T> = {
33
34
  take: number;
34
35
  skip: number;
35
36
  };
36
- export type CLXTaskActionType = 'create' | 'activate' | 'assign' | 'comment' | 'notify' | 'start' | 'complete' | 'verify' | 'close';
37
+ export type CLXTaskActionType = 'create' | 'activate' | 'assign' | 'comment' | 'notify' | 'start' | 'reject' | 'skip' | 'complete' | 'verify' | 'close';
37
38
  export type CLXTaskTargetNone = {
38
39
  type: 'none';
39
40
  };
@@ -86,6 +87,11 @@ export type CLXTaskBase = {
86
87
  is_active: boolean;
87
88
  };
88
89
  export type CLXTask = CLXTaskBase & {
90
+ id: number;
91
+ is_required: boolean;
92
+ conditions: CLXFormRuleSet | any;
93
+ project_step_id?: number;
94
+ updated_at?: Date;
89
95
  requires_verification: boolean;
90
96
  depends_on?: CLXTaskBase;
91
97
  internal_only: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clxmedia/types",
3
- "version": "1.0.131",
3
+ "version": "1.0.133",
4
4
  "description": "Conversion Logix TypeScript type definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",