@ironcode/vas-lib 1.8.1-alpha.1 → 1.9.0-alpha.1
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.
- package/cjs/lib/entity/vas-job-action.dto.d.ts +10 -1
- package/cjs/lib/entity/vas-job-action.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job-action.dto.js +5 -1
- package/cjs/lib/entity/vas-job-action.dto.js.map +1 -1
- package/fesm2022/ironcode-vas-lib.mjs +4 -1
- package/fesm2022/ironcode-vas-lib.mjs.map +1 -1
- package/lib/entity/vas-job-action.dto.d.ts +10 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare type VasJobActionStepStage = 'initializing' | 'running' | 'succeeded' | 'failed';
|
|
2
2
|
export interface VasJobActionStepDto {
|
|
3
3
|
id: string;
|
|
4
|
-
type: 'automation' | 'controls' | 'email-form' | 'instruction' | 'set-job-status';
|
|
4
|
+
type: 'automation' | 'controls' | 'email-form' | 'instruction' | 'set-datetime' | 'set-job-status';
|
|
5
5
|
stage: VasJobActionStepStage;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
@@ -64,3 +64,12 @@ export interface VasJobActionSetJobStatusStepDto extends VasJobActionStepDto {
|
|
|
64
64
|
value: string;
|
|
65
65
|
}
|
|
66
66
|
export declare const isJobSetJobStatusStep: (step: VasJobActionStepDto) => step is VasJobActionSetJobStatusStepDto;
|
|
67
|
+
/**
|
|
68
|
+
* SetDatetime step allow us set the value of a datetime control
|
|
69
|
+
*/
|
|
70
|
+
export interface VasJobActionSetDatetimeStepDto extends VasJobActionStepDto {
|
|
71
|
+
type: 'set-datetime';
|
|
72
|
+
value: string;
|
|
73
|
+
controlName: string;
|
|
74
|
+
}
|
|
75
|
+
export declare const isJobSetDatetimeStep: (step: VasJobActionStepDto) => step is VasJobActionSetDatetimeStepDto;
|