@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.
@@ -10,4 +10,5 @@ export interface VasJobElasticDoc extends VasRestrictedAccountObjectDto {
10
10
  timezoneOffset: number;
11
11
  lastForm: string;
12
12
  fields: Record<string, any>;
13
+ _runtimeFields: Record<string, any>;
13
14
  }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironcode/vas-lib",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "peerDependencies": {
5
5
  "angular2-uuid": "^1.1.1",
6
6
  "moment": "^2.0.0"