@ironcode/vas-lib 1.9.0 → 1.11.0
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/elastic/job.elastic-doc.d.ts +1 -0
- package/cjs/lib/elastic/job.elastic-doc.d.ts.map +1 -1
- package/cjs/lib/elastic/job.elastic-doc.js.map +1 -1
- 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/elastic/job.elastic-doc.d.ts +1 -0
- 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-datetime' | 'set-job-status';
|
|
4
|
+
type: 'automation' | 'controls' | 'email-form' | 'instruction' | 'set-datetime' | 'set-job-status' | 'set-value';
|
|
5
5
|
stage: VasJobActionStepStage;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
@@ -73,3 +73,12 @@ export interface VasJobActionSetDatetimeStepDto extends VasJobActionStepDto {
|
|
|
73
73
|
controlName: string;
|
|
74
74
|
}
|
|
75
75
|
export declare const isJobSetDatetimeStep: (step: VasJobActionStepDto) => step is VasJobActionSetDatetimeStepDto;
|
|
76
|
+
/**
|
|
77
|
+
* SetValue step allow us set the value of any control with a hardcoded value
|
|
78
|
+
*/
|
|
79
|
+
export interface VasJobActionSetValueStepDto extends VasJobActionStepDto {
|
|
80
|
+
type: 'set-value';
|
|
81
|
+
value: string;
|
|
82
|
+
controlName: string;
|
|
83
|
+
}
|
|
84
|
+
export declare const isJobSetValueStep: (step: VasJobActionStepDto) => step is VasJobActionSetValueStepDto;
|