@ironcode/vas-lib 0.0.40 → 0.0.41
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-file.dto.d.ts +2 -1
- package/cjs/lib/entity/vas-file.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-file.dto.js.map +1 -1
- package/cjs/lib/entity/vas-file.model.d.ts +3 -3
- package/cjs/lib/entity/vas-file.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-file.model.js +2 -2
- package/cjs/lib/entity/vas-file.model.js.map +1 -1
- package/cjs/lib/entity/vas-form.dto.d.ts +1 -0
- package/cjs/lib/entity/vas-form.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-form.dto.js.map +1 -1
- package/cjs/lib/entity/vas-form.model.d.ts +2 -21
- package/cjs/lib/entity/vas-form.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-form.model.js +5 -23
- package/cjs/lib/entity/vas-form.model.js.map +1 -1
- package/cjs/lib/entity/vas-job.model.js +1 -1
- package/cjs/lib/entity/vas-job.model.js.map +1 -1
- package/cjs/lib/entity/vas-job.model.spec-data.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job.model.spec-data.js +1 -0
- package/cjs/lib/entity/vas-job.model.spec-data.js.map +1 -1
- package/esm2020/lib/entity/vas-file.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-file.model.mjs +3 -3
- package/esm2020/lib/entity/vas-form.dto.mjs +1 -1
- package/esm2020/lib/entity/vas-form.model.mjs +6 -24
- package/esm2020/lib/entity/vas-job.model.mjs +2 -2
- package/fesm2015/ironcode-vas-lib.mjs +8 -26
- package/fesm2015/ironcode-vas-lib.mjs.map +1 -1
- package/fesm2020/ironcode-vas-lib.mjs +8 -26
- package/fesm2020/ironcode-vas-lib.mjs.map +1 -1
- package/lib/entity/vas-file.dto.d.ts +2 -1
- package/lib/entity/vas-file.model.d.ts +3 -3
- package/lib/entity/vas-form.dto.d.ts +1 -0
- package/lib/entity/vas-form.model.d.ts +2 -21
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export interface VasFileDtoConfigDto {
|
|
|
7
7
|
displayedName?: string;
|
|
8
8
|
rotation?: number;
|
|
9
9
|
}
|
|
10
|
+
export declare type VasFileStatus = 'NEW' | 'COMPLETE' | 'AUTH_ERROR' | 'UPLOAD_ERROR' | 'UPDATE_FIREBASE_ERROR';
|
|
10
11
|
export interface VasFileDto extends VasJobDataDto {
|
|
11
12
|
name: string;
|
|
12
13
|
fileSize: number;
|
|
@@ -16,7 +17,7 @@ export interface VasFileDto extends VasJobDataDto {
|
|
|
16
17
|
url: string;
|
|
17
18
|
uri: string;
|
|
18
19
|
message: string;
|
|
19
|
-
status:
|
|
20
|
+
status: VasFileStatus;
|
|
20
21
|
controlPath: string;
|
|
21
22
|
}
|
|
22
23
|
export declare function isFileDto(object: any): object is VasFileDto;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VasFileDto, VasFileDtoConfigDto } from './vas-file.dto';
|
|
1
|
+
import { VasFileDto, VasFileDtoConfigDto, VasFileStatus } from './vas-file.dto';
|
|
2
2
|
import { VasJobDataModel } from './vas-job-data.model';
|
|
3
3
|
export interface VasFileModelToApiDtoOptions {
|
|
4
4
|
contentUploaded: boolean;
|
|
@@ -24,9 +24,9 @@ export declare class VasFileModel extends VasJobDataModel {
|
|
|
24
24
|
url: string;
|
|
25
25
|
controlPath: string;
|
|
26
26
|
message: string;
|
|
27
|
-
status:
|
|
27
|
+
status: VasFileStatus;
|
|
28
28
|
uri: string;
|
|
29
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, job: string, name: string, fileSize: number, mimeType: string, sequence: number, config: VasFileDtoConfigDto, url: string, controlPath: string, message: string, status:
|
|
29
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, job: string, name: string, fileSize: number, mimeType: string, sequence: number, config: VasFileDtoConfigDto, url: string, controlPath: string, message: string, status: VasFileStatus, uri: string);
|
|
30
30
|
static empty(): VasFileModel;
|
|
31
31
|
static fromDto(fileDto: Partial<VasFileDto>): VasFileModel;
|
|
32
32
|
static parseConfig(config?: string): VasFileDtoConfigDto;
|
|
@@ -27,27 +27,8 @@ export declare class VasFormModel extends VasRestrictedAccountObjectModel {
|
|
|
27
27
|
pipelineName: string;
|
|
28
28
|
config: string;
|
|
29
29
|
geoLocationEnabled: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
* @param {string} created
|
|
33
|
-
* @param {string} serverCreated
|
|
34
|
-
* @param {string} createdBy
|
|
35
|
-
* @param {string} modified
|
|
36
|
-
* @param {string} serverModified
|
|
37
|
-
* @param {string} modifiedBy
|
|
38
|
-
* @param {string} account
|
|
39
|
-
* @param {string} accessGroup
|
|
40
|
-
* @param {string} jobType
|
|
41
|
-
* @param {string} title
|
|
42
|
-
* @param {string} description
|
|
43
|
-
* @param {VasGroupModel[]} groups
|
|
44
|
-
* @param {string} dynamicDescriptor
|
|
45
|
-
* @param {string} indexName
|
|
46
|
-
* @param {string} pipelineName
|
|
47
|
-
* @param {string} config
|
|
48
|
-
* @param {boolean} geoLocationEnabled
|
|
49
|
-
*/
|
|
50
|
-
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, accessGroup: string, jobType: string, title: string, description: string, groups: VasGroupModel[], dynamicDescriptor: string, indexName: string, pipelineName: string, config: string, geoLocationEnabled: boolean);
|
|
30
|
+
filesEnabled: boolean;
|
|
31
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, account: string, accessGroup: string, jobType: string, title: string, description: string, groups: VasGroupModel[], dynamicDescriptor: string, indexName: string, pipelineName: string, config: string, geoLocationEnabled: boolean, filesEnabled: boolean);
|
|
51
32
|
/**
|
|
52
33
|
* Returns the name of this form in a "safe" way, i.e. no spaces, special
|
|
53
34
|
* characters
|