avvir 0.3.21 → 0.3.22
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/dist/avvir_api.node.js
CHANGED
|
@@ -2374,7 +2374,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2374
2374
|
|
|
2375
2375
|
var ApiCloudFile = /** @class */ (function () {
|
|
2376
2376
|
function ApiCloudFile(_a) {
|
|
2377
|
-
var url = _a.url, id = _a.id, lastModified = _a.lastModified, createdAt = _a.createdAt, purposeType = _a.purposeType, fileType = _a.fileType, createdBy = _a.createdBy,
|
|
2377
|
+
var url = _a.url, id = _a.id, lastModified = _a.lastModified, createdAt = _a.createdAt, purposeType = _a.purposeType, fileType = _a.fileType, createdBy = _a.createdBy, fileSize = _a.fileSize, location3d = _a.location3d, originalFileName = _a.originalFileName;
|
|
2378
2378
|
this.lastModified = null;
|
|
2379
2379
|
this.createdAt = null;
|
|
2380
2380
|
this.purposeType = _api_purpose_type__WEBPACK_IMPORTED_MODULE_1__.ApiProjectPurposeType.OTHER;
|
|
@@ -2403,7 +2403,8 @@ var ApiCloudFile = /** @class */ (function () {
|
|
|
2403
2403
|
// @ts-ignore
|
|
2404
2404
|
this.purposeType = purposeType;
|
|
2405
2405
|
this.location3d = location3d;
|
|
2406
|
-
this.
|
|
2406
|
+
this.fileSize = fileSize;
|
|
2407
|
+
this.originalFileName = originalFileName;
|
|
2407
2408
|
}
|
|
2408
2409
|
return ApiCloudFile;
|
|
2409
2410
|
}());
|
|
@@ -16,7 +16,7 @@ export interface ApiCloudFileArgument extends Partial<Modify<ApiCloudFile, {
|
|
|
16
16
|
}>> {
|
|
17
17
|
}
|
|
18
18
|
export declare class ApiCloudFile {
|
|
19
|
-
constructor({ url, id, lastModified, createdAt, purposeType, fileType, createdBy,
|
|
19
|
+
constructor({ url, id, lastModified, createdAt, purposeType, fileType, createdBy, fileSize, location3d, originalFileName }: ApiCloudFileArgument);
|
|
20
20
|
readonly url: string;
|
|
21
21
|
location3d?: ApiPhotoLocation3d;
|
|
22
22
|
readonly id?: number;
|
|
@@ -24,6 +24,7 @@ export declare class ApiCloudFile {
|
|
|
24
24
|
createdAt?: number | null;
|
|
25
25
|
purposeType: ApiPurposeType;
|
|
26
26
|
readonly createdBy?: string;
|
|
27
|
-
|
|
27
|
+
fileSize?: number;
|
|
28
|
+
originalFileName?: string;
|
|
28
29
|
}
|
|
29
30
|
export default ApiCloudFile;
|
|
@@ -3,7 +3,7 @@ import { ApiProjectPurposeType, isApiPurposeType } from "./api_purpose_type";
|
|
|
3
3
|
import { PurposeTypeConverter } from "../../converters";
|
|
4
4
|
import { isPurposeType } from "../enums";
|
|
5
5
|
export class ApiCloudFile {
|
|
6
|
-
constructor({ url, id, lastModified, createdAt, purposeType, fileType, createdBy,
|
|
6
|
+
constructor({ url, id, lastModified, createdAt, purposeType, fileType, createdBy, fileSize, location3d, originalFileName }) {
|
|
7
7
|
this.lastModified = null;
|
|
8
8
|
this.createdAt = null;
|
|
9
9
|
this.purposeType = ApiProjectPurposeType.OTHER;
|
|
@@ -32,7 +32,8 @@ export class ApiCloudFile {
|
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
this.purposeType = purposeType;
|
|
34
34
|
this.location3d = location3d;
|
|
35
|
-
this.
|
|
35
|
+
this.fileSize = fileSize;
|
|
36
|
+
this.originalFileName = originalFileName;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
export default ApiCloudFile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_cloud_file.js","sourceRoot":"","sources":["../../../../source/models/api/api_cloud_file.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,mCAAmC,EAAE,4BAA4B,EAAC,MAAM,cAAc,CAAA;AAC9F,OAAO,EAAC,qBAAqB,EAAkB,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EAAC,oBAAoB,EAAC,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAC,aAA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B,IAAI,gBAAgB,CAAC,GAAG,CAAC,EAAE;4BACzB,cAAc,GAAG,GAAG,CAAC;yBACtB;6BAAM,IAAI,aAAa,CAAC,GAAG,CAAC,EAAE;4BAC7B,cAAc,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;yBAC7D;qBACF;gBACH,CAAC;gBACD,UAAU,EAAE,IAAI;aACjB;SACF,CAAC,CAAC;QACH,aAAa;QACb,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC3C,CAAC;CAWF;AAED,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ export interface ApiCloudFileArgument extends Partial<Modify<ApiCloudFile, {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export class ApiCloudFile {
|
|
20
|
-
constructor({url, id, lastModified, createdAt, purposeType, fileType, createdBy,
|
|
20
|
+
constructor({url, id, lastModified, createdAt, purposeType, fileType, createdBy, fileSize, location3d, originalFileName}: ApiCloudFileArgument) {
|
|
21
21
|
addInstantGetterAndSetterToApiModel(this, "lastModified", lastModified);
|
|
22
22
|
addInstantGetterAndSetterToApiModel(this, "createdAt", createdAt);
|
|
23
23
|
addReadOnlyPropertiesToModel(this, {url, id, fileType, createdBy});
|
|
@@ -42,7 +42,8 @@ export class ApiCloudFile {
|
|
|
42
42
|
// @ts-ignore
|
|
43
43
|
this.purposeType = purposeType;
|
|
44
44
|
this.location3d = location3d;
|
|
45
|
-
this.
|
|
45
|
+
this.fileSize = fileSize;
|
|
46
|
+
this.originalFileName = originalFileName;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
readonly url: string;
|
|
@@ -52,7 +53,8 @@ export class ApiCloudFile {
|
|
|
52
53
|
createdAt?: number | null = null;
|
|
53
54
|
purposeType: ApiPurposeType = ApiProjectPurposeType.OTHER;
|
|
54
55
|
readonly createdBy?: string;
|
|
55
|
-
|
|
56
|
+
fileSize?: number;
|
|
57
|
+
originalFileName?: string;
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
export default ApiCloudFile;
|