@ironcode/vas-lib 0.0.39 → 0.0.40
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.model.d.ts +11 -1
- package/cjs/lib/entity/vas-job.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job.model.js +48 -1
- package/cjs/lib/entity/vas-job.model.js.map +1 -1
- package/cjs/lib/utils/is-array-string.d.ts +2 -0
- package/cjs/lib/utils/is-array-string.d.ts.map +1 -0
- package/cjs/lib/utils/is-array-string.js +8 -0
- package/cjs/lib/utils/is-array-string.js.map +1 -0
- package/esm2020/lib/entity/vas-job.model.mjs +49 -2
- package/esm2020/lib/utils/is-array-string.mjs +4 -0
- package/fesm2015/ironcode-vas-lib.mjs +49 -1
- package/fesm2015/ironcode-vas-lib.mjs.map +1 -1
- package/fesm2020/ironcode-vas-lib.mjs +49 -1
- package/fesm2020/ironcode-vas-lib.mjs.map +1 -1
- package/lib/entity/vas-job.model.d.ts +11 -1
- package/lib/utils/is-array-string.d.ts +1 -0
- package/package.json +1 -1
|
@@ -105,6 +105,17 @@ export declare class VasJobModel extends VasRestrictedAccountObjectModel {
|
|
|
105
105
|
* @return {Record<string, VasFieldDtoValue>}
|
|
106
106
|
*/
|
|
107
107
|
getFields2(): Record<string, VasFieldDtoValue>;
|
|
108
|
+
/**
|
|
109
|
+
* Returns an object describing how many attachments were added to this job
|
|
110
|
+
* (camera controls and files), and how many have not been uploaded yet.
|
|
111
|
+
*
|
|
112
|
+
* @param formModel instance of {@link VasFormModel} that was used when the
|
|
113
|
+
* job was created
|
|
114
|
+
*/
|
|
115
|
+
getFilesUploadStatus(formModel: VasFormModel): {
|
|
116
|
+
pending: number;
|
|
117
|
+
total: number;
|
|
118
|
+
};
|
|
108
119
|
/**
|
|
109
120
|
* This method will hydrate the `fields` property of the model. The reason for
|
|
110
121
|
* this is that we have different ways to store the field data. One way, is
|
|
@@ -187,7 +198,6 @@ export declare class VasJobModel extends VasRestrictedAccountObjectModel {
|
|
|
187
198
|
*/
|
|
188
199
|
hydrateFields(formModel: VasFormModel, controlFieldIdMap?: Map<string, string>, controlNames?: Array<string>): void;
|
|
189
200
|
/**
|
|
190
|
-
|
|
191
201
|
* @param {string[]} path path segments
|
|
192
202
|
* @return {void}
|
|
193
203
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isArrayString: (value: any) => value is string[];
|