avvir 3.3.0 → 3.3.1
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 +3 -5
- package/dist/esm/models/api/api_inspect_report.d.ts +4 -2
- package/dist/esm/models/api/api_inspect_report.js.map +1 -1
- package/dist/esm/models/api/api_inspect_report_entry.d.ts +7 -5
- package/dist/esm/models/api/api_inspect_report_entry.js +3 -5
- package/dist/esm/models/api/api_inspect_report_entry.js.map +1 -1
- package/package.json +1 -1
- package/source/models/api/api_inspect_report.ts +4 -2
- package/source/models/api/api_inspect_report_entry.ts +9 -9
package/dist/avvir_api.node.js
CHANGED
|
@@ -3488,13 +3488,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3488
3488
|
|
|
3489
3489
|
var ApiInspectReportEntry = /** @class */ (function () {
|
|
3490
3490
|
function ApiInspectReportEntry(_a) {
|
|
3491
|
-
var id = _a.id, reportId = _a.reportId, name = _a.name,
|
|
3492
|
-
(0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addReadOnlyPropertiesToModel)(this, { id: id, reportId: reportId });
|
|
3491
|
+
var id = _a.id, reportId = _a.reportId, name = _a.name, elements = _a.elements, createdBy = _a.createdBy, createdAt = _a.createdAt;
|
|
3492
|
+
(0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addReadOnlyPropertiesToModel)(this, { id: id, reportId: reportId, createdBy: createdBy });
|
|
3493
3493
|
(0,_mixins__WEBPACK_IMPORTED_MODULE_0__.addInstantGetterAndSetterToApiModel)(this, "createdAt", createdAt);
|
|
3494
|
-
this.createdBy = createdBy;
|
|
3495
3494
|
this.name = name;
|
|
3496
|
-
this.
|
|
3497
|
-
this.elementId = elementId;
|
|
3495
|
+
this.elements = elements;
|
|
3498
3496
|
}
|
|
3499
3497
|
return ApiInspectReportEntry;
|
|
3500
3498
|
}());
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ApiInspectReportEntry } from "./api_inspect_report_entry";
|
|
2
|
+
import { DateLike } from "type_aliases";
|
|
3
|
+
import ApiUser from "./api_user";
|
|
2
4
|
export declare class ApiInspectReport {
|
|
3
5
|
constructor({ id, firebaseProjectId, name, entries, createdBy, createdAt }: Partial<ApiInspectReport>);
|
|
4
6
|
readonly id: number;
|
|
5
7
|
readonly firebaseProjectId: string;
|
|
6
8
|
name: string;
|
|
7
9
|
entries: ApiInspectReportEntry[];
|
|
8
|
-
createdAt?:
|
|
9
|
-
createdBy?:
|
|
10
|
+
createdAt?: DateLike;
|
|
11
|
+
createdBy?: ApiUser;
|
|
10
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_inspect_report.js","sourceRoot":"","sources":["../../../../source/models/api/api_inspect_report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mCAAmC,EAAE,4BAA4B,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"api_inspect_report.js","sourceRoot":"","sources":["../../../../source/models/api/api_inspect_report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mCAAmC,EAAE,4BAA4B,EAAC,MAAM,cAAc,CAAC;AAK/F,MAAM,OAAO,gBAAgB;IACzB,YAAY,EAAE,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAA6B;QACjG,4BAA4B,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,CAAC,CAAC;QACzE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;QACxC,mCAAmC,CAAC,IAAI,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IACtE,CAAC;CAOJ"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { DateLike } from "type_aliases";
|
|
2
|
+
import ApiPlannedElement from "./api_planned_element";
|
|
3
|
+
import ApiUser from "./api_user";
|
|
1
4
|
export declare class ApiInspectReportEntry {
|
|
2
|
-
constructor({ id, reportId, name,
|
|
5
|
+
constructor({ id, reportId, name, elements, createdBy, createdAt }: Partial<ApiInspectReportEntry>);
|
|
3
6
|
readonly id: number;
|
|
4
7
|
readonly reportId: number;
|
|
5
8
|
name: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
createdBy?: number;
|
|
9
|
+
elements?: ApiPlannedElement[];
|
|
10
|
+
createdAt?: DateLike;
|
|
11
|
+
createdBy?: ApiUser;
|
|
10
12
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { addInstantGetterAndSetterToApiModel, addReadOnlyPropertiesToModel } from "../../mixins";
|
|
2
2
|
export class ApiInspectReportEntry {
|
|
3
|
-
constructor({ id, reportId, name,
|
|
4
|
-
addReadOnlyPropertiesToModel(this, { id, reportId });
|
|
3
|
+
constructor({ id, reportId, name, elements, createdBy, createdAt }) {
|
|
4
|
+
addReadOnlyPropertiesToModel(this, { id, reportId, createdBy });
|
|
5
5
|
addInstantGetterAndSetterToApiModel(this, "createdAt", createdAt);
|
|
6
|
-
this.createdBy = createdBy;
|
|
7
6
|
this.name = name;
|
|
8
|
-
this.
|
|
9
|
-
this.elementId = elementId;
|
|
7
|
+
this.elements = elements;
|
|
10
8
|
}
|
|
11
9
|
}
|
|
12
10
|
//# sourceMappingURL=api_inspect_report_entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_inspect_report_entry.js","sourceRoot":"","sources":["../../../../source/models/api/api_inspect_report_entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mCAAmC,EAAE,4BAA4B,EAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"api_inspect_report_entry.js","sourceRoot":"","sources":["../../../../source/models/api/api_inspect_report_entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mCAAmC,EAAE,4BAA4B,EAAC,MAAM,cAAc,CAAC;AAK/F,MAAM,OAAO,qBAAqB;IAC9B,YAAY,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAkC;QAC9F,4BAA4B,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC;QAChE,mCAAmC,CAAC,IAAI,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;QAClE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;CAOJ"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import {addInstantGetterAndSetterToApiModel, addReadOnlyPropertiesToModel} from "../../mixins";
|
|
2
2
|
import {ApiInspectReportEntry} from "./api_inspect_report_entry";
|
|
3
|
+
import {DateLike} from "type_aliases";
|
|
4
|
+
import ApiUser from "./api_user";
|
|
3
5
|
|
|
4
6
|
export class ApiInspectReport {
|
|
5
7
|
constructor({ id, firebaseProjectId, name, entries, createdBy, createdAt }: Partial<ApiInspectReport>) {
|
|
@@ -12,6 +14,6 @@ export class ApiInspectReport {
|
|
|
12
14
|
readonly firebaseProjectId: string;
|
|
13
15
|
name: string;
|
|
14
16
|
entries: ApiInspectReportEntry[];
|
|
15
|
-
createdAt?:
|
|
16
|
-
createdBy?:
|
|
17
|
+
createdAt?: DateLike;
|
|
18
|
+
createdBy?: ApiUser;
|
|
17
19
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {addInstantGetterAndSetterToApiModel, addReadOnlyPropertiesToModel} from "../../mixins";
|
|
2
|
+
import {DateLike} from "type_aliases";
|
|
3
|
+
import ApiPlannedElement from "./api_planned_element";
|
|
4
|
+
import ApiUser from "./api_user";
|
|
2
5
|
|
|
3
6
|
export class ApiInspectReportEntry {
|
|
4
|
-
constructor({ id, reportId, name,
|
|
5
|
-
addReadOnlyPropertiesToModel(this, { id, reportId });
|
|
7
|
+
constructor({ id, reportId, name, elements, createdBy, createdAt }: Partial<ApiInspectReportEntry>) {
|
|
8
|
+
addReadOnlyPropertiesToModel(this, { id, reportId, createdBy });
|
|
6
9
|
addInstantGetterAndSetterToApiModel(this, "createdAt", createdAt);
|
|
7
|
-
this.createdBy = createdBy;
|
|
8
10
|
this.name = name;
|
|
9
|
-
this.
|
|
10
|
-
this.elementId = elementId;
|
|
11
|
+
this.elements = elements;
|
|
11
12
|
}
|
|
12
13
|
readonly id: number;
|
|
13
14
|
readonly reportId: number;
|
|
14
15
|
name: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
createdBy?: number;
|
|
16
|
+
elements?: ApiPlannedElement[];
|
|
17
|
+
createdAt?: DateLike;
|
|
18
|
+
createdBy?: ApiUser;
|
|
19
19
|
}
|