tabletcommand-backend-models 7.4.81 → 7.4.82
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/build/models/chart-incident.js +0 -6
- package/build/models/chart-incident.js.map +1 -1
- package/build/models/chart-managed-incident.js +0 -6
- package/build/models/chart-managed-incident.js.map +1 -1
- package/build/models/chart-user.js +0 -6
- package/build/models/chart-user.js.map +1 -1
- package/build/test/0index.js +5 -6
- package/build/test/0index.js.map +1 -1
- package/build/test/action-log.js +6 -5
- package/build/test/action-log.js.map +1 -1
- package/build/test/adsb.js +5 -5
- package/build/test/adsb.js.map +1 -1
- package/build/test/agency.js +5 -5
- package/build/test/agency.js.map +1 -1
- package/build/test/arcgis-group.js +6 -6
- package/build/test/arcgis-group.js.map +1 -1
- package/build/test/assignment.js +6 -5
- package/build/test/assignment.js.map +1 -1
- package/build/test/audio-stream-authentication.js +8 -8
- package/build/test/audio-stream-authentication.js.map +1 -1
- package/build/test/audio-stream.js +10 -9
- package/build/test/audio-stream.js.map +1 -1
- package/build/test/battalion.js +6 -5
- package/build/test/battalion.js.map +1 -1
- package/build/test/cad-incident-block.js +5 -5
- package/build/test/cad-incident-block.js.map +1 -1
- package/build/test/cad-incident.js +6 -6
- package/build/test/cad-incident.js.map +1 -1
- package/build/test/cad-simulation.js +6 -5
- package/build/test/cad-simulation.js.map +1 -1
- package/build/test/cad-status-map.js +6 -5
- package/build/test/cad-status-map.js.map +1 -1
- package/build/test/cad-status.js +6 -5
- package/build/test/cad-status.js.map +1 -1
- package/build/test/cad-vehicle-status-history.js +6 -5
- package/build/test/cad-vehicle-status-history.js.map +1 -1
- package/build/test/cad-vehicle-status.js +6 -5
- package/build/test/cad-vehicle-status.js.map +1 -1
- package/build/test/cad-vehicle.js +6 -5
- package/build/test/cad-vehicle.js.map +1 -1
- package/build/test/chart-incident.js +5 -5
- package/build/test/chart-incident.js.map +1 -1
- package/build/test/chart-managed-incident.js +6 -6
- package/build/test/chart-managed-incident.js.map +1 -1
- package/build/test/chart-user.js +6 -6
- package/build/test/chart-user.js.map +1 -1
- package/build/test/checklist-item.js +6 -5
- package/build/test/checklist-item.js.map +1 -1
- package/build/test/checklist.js +6 -5
- package/build/test/checklist.js.map +1 -1
- package/build/test/config.js +30 -3
- package/build/test/config.js.map +1 -1
- package/build/test/csv-import.js +6 -5
- package/build/test/csv-import.js.map +1 -1
- package/build/test/department.js +8 -8
- package/build/test/department.js.map +1 -1
- package/build/test/device-mapping.js +7 -6
- package/build/test/device-mapping.js.map +1 -1
- package/build/test/esri.js +6 -6
- package/build/test/esri.js.map +1 -1
- package/build/test/global-settings.js +6 -6
- package/build/test/global-settings.js.map +1 -1
- package/build/test/gst-mapping.js +6 -5
- package/build/test/gst-mapping.js.map +1 -1
- package/build/test/helpers.js +3 -3
- package/build/test/helpers.js.map +1 -1
- package/build/test/incident-event.js +6 -8
- package/build/test/incident-event.js.map +1 -1
- package/build/test/incident-filter.js +6 -5
- package/build/test/incident-filter.js.map +1 -1
- package/build/test/incident-notified.js +6 -5
- package/build/test/incident-notified.js.map +1 -1
- package/build/test/incident-takeover.js +6 -5
- package/build/test/incident-takeover.js.map +1 -1
- package/build/test/job-log.js +6 -5
- package/build/test/job-log.js.map +1 -1
- package/build/test/location.js +6 -6
- package/build/test/location.js.map +1 -1
- package/build/test/mail-log.js +6 -5
- package/build/test/mail-log.js.map +1 -1
- package/build/test/managed-incident.js +6 -5
- package/build/test/managed-incident.js.map +1 -1
- package/build/test/mark43-incident-retry.js +6 -5
- package/build/test/mark43-incident-retry.js.map +1 -1
- package/build/test/message.js +6 -5
- package/build/test/message.js.map +1 -1
- package/build/test/monitor.js +6 -5
- package/build/test/monitor.js.map +1 -1
- package/build/test/partner.js +6 -5
- package/build/test/partner.js.map +1 -1
- package/build/test/personnel-import.js +6 -5
- package/build/test/personnel-import.js.map +1 -1
- package/build/test/rate-limit.js +6 -5
- package/build/test/rate-limit.js.map +1 -1
- package/build/test/release-note.js +6 -5
- package/build/test/release-note.js.map +1 -1
- package/build/test/saml.js +5 -5
- package/build/test/saml.js.map +1 -1
- package/build/test/session.js +6 -5
- package/build/test/session.js.map +1 -1
- package/build/test/template.js +6 -5
- package/build/test/template.js.map +1 -1
- package/build/test/user-device.js +6 -5
- package/build/test/user-device.js.map +1 -1
- package/build/test/user-registration.js +6 -5
- package/build/test/user-registration.js.map +1 -1
- package/build/test/user.js +6 -4
- package/build/test/user.js.map +1 -1
- package/build/test/validation-report.js +6 -5
- package/build/test/validation-report.js.map +1 -1
- package/definitions/models/chart-incident.d.ts.map +1 -1
- package/definitions/models/chart-managed-incident.d.ts.map +1 -1
- package/definitions/models/chart-user.d.ts.map +1 -1
- package/definitions/test/0index.d.ts +1 -1
- package/definitions/test/0index.d.ts.map +1 -1
- package/definitions/test/action-log.d.ts +1 -1
- package/definitions/test/action-log.d.ts.map +1 -1
- package/definitions/test/adsb.d.ts +1 -1
- package/definitions/test/adsb.d.ts.map +1 -1
- package/definitions/test/agency.d.ts +1 -1
- package/definitions/test/agency.d.ts.map +1 -1
- package/definitions/test/arcgis-group.d.ts +1 -1
- package/definitions/test/arcgis-group.d.ts.map +1 -1
- package/definitions/test/assignment.d.ts +1 -1
- package/definitions/test/assignment.d.ts.map +1 -1
- package/definitions/test/audio-stream-authentication.d.ts +1 -1
- package/definitions/test/audio-stream-authentication.d.ts.map +1 -1
- package/definitions/test/audio-stream.d.ts +1 -1
- package/definitions/test/audio-stream.d.ts.map +1 -1
- package/definitions/test/battalion.d.ts +1 -1
- package/definitions/test/battalion.d.ts.map +1 -1
- package/definitions/test/cad-incident-block.d.ts +1 -1
- package/definitions/test/cad-incident-block.d.ts.map +1 -1
- package/definitions/test/cad-incident.d.ts +1 -1
- package/definitions/test/cad-incident.d.ts.map +1 -1
- package/definitions/test/cad-simulation.d.ts +1 -1
- package/definitions/test/cad-simulation.d.ts.map +1 -1
- package/definitions/test/cad-status-map.d.ts +1 -1
- package/definitions/test/cad-status-map.d.ts.map +1 -1
- package/definitions/test/cad-status.d.ts +1 -1
- package/definitions/test/cad-status.d.ts.map +1 -1
- package/definitions/test/cad-vehicle-status-history.d.ts +1 -1
- package/definitions/test/cad-vehicle-status-history.d.ts.map +1 -1
- package/definitions/test/cad-vehicle-status.d.ts +1 -1
- package/definitions/test/cad-vehicle-status.d.ts.map +1 -1
- package/definitions/test/cad-vehicle.d.ts +1 -1
- package/definitions/test/cad-vehicle.d.ts.map +1 -1
- package/definitions/test/chart-incident.d.ts +1 -1
- package/definitions/test/chart-incident.d.ts.map +1 -1
- package/definitions/test/chart-managed-incident.d.ts +1 -1
- package/definitions/test/chart-managed-incident.d.ts.map +1 -1
- package/definitions/test/chart-user.d.ts +1 -1
- package/definitions/test/chart-user.d.ts.map +1 -1
- package/definitions/test/checklist-item.d.ts +1 -1
- package/definitions/test/checklist-item.d.ts.map +1 -1
- package/definitions/test/checklist.d.ts +1 -1
- package/definitions/test/checklist.d.ts.map +1 -1
- package/definitions/test/config.d.ts +2 -1
- package/definitions/test/config.d.ts.map +1 -1
- package/definitions/test/csv-import.d.ts +1 -1
- package/definitions/test/csv-import.d.ts.map +1 -1
- package/definitions/test/department.d.ts +1 -1
- package/definitions/test/department.d.ts.map +1 -1
- package/definitions/test/device-mapping.d.ts +1 -1
- package/definitions/test/device-mapping.d.ts.map +1 -1
- package/definitions/test/esri.d.ts +1 -1
- package/definitions/test/esri.d.ts.map +1 -1
- package/definitions/test/global-settings.d.ts +1 -1
- package/definitions/test/global-settings.d.ts.map +1 -1
- package/definitions/test/gst-mapping.d.ts +1 -1
- package/definitions/test/gst-mapping.d.ts.map +1 -1
- package/definitions/test/helpers.d.ts +1 -1
- package/definitions/test/helpers.d.ts.map +1 -1
- package/definitions/test/incident-event.d.ts +1 -1
- package/definitions/test/incident-event.d.ts.map +1 -1
- package/definitions/test/incident-filter.d.ts +1 -1
- package/definitions/test/incident-filter.d.ts.map +1 -1
- package/definitions/test/incident-notified.d.ts +1 -1
- package/definitions/test/incident-notified.d.ts.map +1 -1
- package/definitions/test/incident-takeover.d.ts +1 -1
- package/definitions/test/incident-takeover.d.ts.map +1 -1
- package/definitions/test/job-log.d.ts +1 -1
- package/definitions/test/job-log.d.ts.map +1 -1
- package/definitions/test/location.d.ts +1 -1
- package/definitions/test/location.d.ts.map +1 -1
- package/definitions/test/mail-log.d.ts +1 -1
- package/definitions/test/mail-log.d.ts.map +1 -1
- package/definitions/test/managed-incident.d.ts +1 -1
- package/definitions/test/managed-incident.d.ts.map +1 -1
- package/definitions/test/mark43-incident-retry.d.ts +1 -1
- package/definitions/test/mark43-incident-retry.d.ts.map +1 -1
- package/definitions/test/message.d.ts +1 -1
- package/definitions/test/message.d.ts.map +1 -1
- package/definitions/test/monitor.d.ts +1 -1
- package/definitions/test/monitor.d.ts.map +1 -1
- package/definitions/test/partner.d.ts +1 -1
- package/definitions/test/partner.d.ts.map +1 -1
- package/definitions/test/personnel-import.d.ts +1 -1
- package/definitions/test/personnel-import.d.ts.map +1 -1
- package/definitions/test/rate-limit.d.ts +1 -1
- package/definitions/test/rate-limit.d.ts.map +1 -1
- package/definitions/test/release-note.d.ts +1 -1
- package/definitions/test/release-note.d.ts.map +1 -1
- package/definitions/test/saml.d.ts +1 -1
- package/definitions/test/saml.d.ts.map +1 -1
- package/definitions/test/session.d.ts +1 -1
- package/definitions/test/session.d.ts.map +1 -1
- package/definitions/test/template.d.ts +1 -1
- package/definitions/test/template.d.ts.map +1 -1
- package/definitions/test/user-device.d.ts +1 -1
- package/definitions/test/user-device.d.ts.map +1 -1
- package/definitions/test/user-registration.d.ts +1 -1
- package/definitions/test/user-registration.d.ts.map +1 -1
- package/definitions/test/validation-report.d.ts +1 -1
- package/definitions/test/validation-report.d.ts.map +1 -1
- package/eslint.config.mjs +20 -6
- package/gulpfile.js +1 -1
- package/package.json +9 -11
- package/src/models/chart-incident.ts +0 -7
- package/src/models/chart-managed-incident.ts +0 -7
- package/src/models/chart-user.ts +0 -7
- package/src/test/0index.ts +1 -2
- package/src/test/action-log.ts +2 -1
- package/src/test/adsb.ts +1 -1
- package/src/test/agency.ts +1 -1
- package/src/test/arcgis-group.ts +2 -2
- package/src/test/assignment.ts +2 -1
- package/src/test/audio-stream-authentication.ts +2 -3
- package/src/test/audio-stream.ts +3 -3
- package/src/test/battalion.ts +2 -1
- package/src/test/cad-incident-block.ts +1 -1
- package/src/test/cad-incident.ts +1 -1
- package/src/test/cad-simulation.ts +2 -1
- package/src/test/cad-status-map.ts +2 -1
- package/src/test/cad-status.ts +2 -1
- package/src/test/cad-vehicle-status-history.ts +2 -1
- package/src/test/cad-vehicle-status.ts +2 -1
- package/src/test/cad-vehicle.ts +2 -1
- package/src/test/chart-incident.ts +1 -1
- package/src/test/chart-managed-incident.ts +1 -1
- package/src/test/chart-user.ts +1 -1
- package/src/test/checklist-item.ts +2 -1
- package/src/test/checklist.ts +2 -1
- package/src/test/config.ts +28 -1
- package/src/test/csv-import.ts +2 -1
- package/src/test/department.ts +2 -2
- package/src/test/device-mapping.ts +2 -1
- package/src/test/esri.ts +2 -2
- package/src/test/global-settings.ts +2 -2
- package/src/test/gst-mapping.ts +2 -1
- package/src/test/helpers.ts +1 -3
- package/src/test/incident-event.ts +2 -4
- package/src/test/incident-filter.ts +2 -1
- package/src/test/incident-notified.ts +2 -1
- package/src/test/incident-takeover.ts +2 -1
- package/src/test/job-log.ts +2 -1
- package/src/test/location.ts +1 -1
- package/src/test/mail-log.ts +2 -1
- package/src/test/managed-incident.ts +2 -1
- package/src/test/mark43-incident-retry.ts +2 -1
- package/src/test/message.ts +2 -1
- package/src/test/monitor.ts +2 -1
- package/src/test/partner.ts +2 -1
- package/src/test/personnel-import.ts +2 -1
- package/src/test/rate-limit.ts +2 -1
- package/src/test/release-note.ts +2 -1
- package/src/test/saml.ts +1 -1
- package/src/test/session.ts +2 -1
- package/src/test/template.ts +2 -1
- package/src/test/user-device.ts +2 -1
- package/src/test/user-registration.ts +2 -1
- package/src/test/user.ts +2 -0
- package/src/test/validation-report.ts +2 -1
- package/src/tsconfig.json +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=global-settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-settings.d.ts","sourceRoot":"","sources":["../../src/test/global-settings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"global-settings.d.ts","sourceRoot":"","sources":["../../src/test/global-settings.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=gst-mapping.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gst-mapping.d.ts","sourceRoot":"","sources":["../../src/test/gst-mapping.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gst-mapping.d.ts","sourceRoot":"","sources":["../../src/test/gst-mapping.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/test/helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/test/helpers.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=incident-event.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incident-event.d.ts","sourceRoot":"","sources":["../../src/test/incident-event.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"incident-event.d.ts","sourceRoot":"","sources":["../../src/test/incident-event.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=incident-filter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incident-filter.d.ts","sourceRoot":"","sources":["../../src/test/incident-filter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"incident-filter.d.ts","sourceRoot":"","sources":["../../src/test/incident-filter.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=incident-notified.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incident-notified.d.ts","sourceRoot":"","sources":["../../src/test/incident-notified.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"incident-notified.d.ts","sourceRoot":"","sources":["../../src/test/incident-notified.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=incident-takeover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incident-takeover.d.ts","sourceRoot":"","sources":["../../src/test/incident-takeover.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"incident-takeover.d.ts","sourceRoot":"","sources":["../../src/test/incident-takeover.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=job-log.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job-log.d.ts","sourceRoot":"","sources":["../../src/test/job-log.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"job-log.d.ts","sourceRoot":"","sources":["../../src/test/job-log.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=location.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../src/test/location.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../src/test/location.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=mail-log.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail-log.d.ts","sourceRoot":"","sources":["../../src/test/mail-log.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mail-log.d.ts","sourceRoot":"","sources":["../../src/test/mail-log.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=managed-incident.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-incident.d.ts","sourceRoot":"","sources":["../../src/test/managed-incident.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"managed-incident.d.ts","sourceRoot":"","sources":["../../src/test/managed-incident.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=mark43-incident-retry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mark43-incident-retry.d.ts","sourceRoot":"","sources":["../../src/test/mark43-incident-retry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mark43-incident-retry.d.ts","sourceRoot":"","sources":["../../src/test/mark43-incident-retry.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/test/message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/test/message.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=monitor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/test/monitor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/test/monitor.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=partner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partner.d.ts","sourceRoot":"","sources":["../../src/test/partner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"partner.d.ts","sourceRoot":"","sources":["../../src/test/partner.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=personnel-import.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"personnel-import.d.ts","sourceRoot":"","sources":["../../src/test/personnel-import.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"personnel-import.d.ts","sourceRoot":"","sources":["../../src/test/personnel-import.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=rate-limit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate-limit.d.ts","sourceRoot":"","sources":["../../src/test/rate-limit.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rate-limit.d.ts","sourceRoot":"","sources":["../../src/test/rate-limit.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=release-note.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-note.d.ts","sourceRoot":"","sources":["../../src/test/release-note.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"release-note.d.ts","sourceRoot":"","sources":["../../src/test/release-note.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=saml.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saml.d.ts","sourceRoot":"","sources":["../../src/test/saml.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"saml.d.ts","sourceRoot":"","sources":["../../src/test/saml.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=session.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/test/session.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/test/session.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/test/template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/test/template.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=user-device.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-device.d.ts","sourceRoot":"","sources":["../../src/test/user-device.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-device.d.ts","sourceRoot":"","sources":["../../src/test/user-device.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=user-registration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-registration.d.ts","sourceRoot":"","sources":["../../src/test/user-registration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-registration.d.ts","sourceRoot":"","sources":["../../src/test/user-registration.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=validation-report.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-report.d.ts","sourceRoot":"","sources":["../../src/test/validation-report.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validation-report.d.ts","sourceRoot":"","sources":["../../src/test/validation-report.ts"],"names":[],"mappings":""}
|
package/eslint.config.mjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { defineConfig } from "eslint/config";
|
|
2
2
|
import globals from "globals";
|
|
3
|
+
import promise from "eslint-plugin-promise";
|
|
4
|
+
import security from "eslint-plugin-security";
|
|
5
|
+
// import tsPlugin from "@typescript-eslint/eslint-plugin";
|
|
3
6
|
import tsParser from "@typescript-eslint/parser";
|
|
4
7
|
import path from "node:path";
|
|
5
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -18,7 +21,6 @@ const compat = new FlatCompat({
|
|
|
18
21
|
export default defineConfig([
|
|
19
22
|
...neostandard({
|
|
20
23
|
env: [
|
|
21
|
-
"mocha",
|
|
22
24
|
"node",
|
|
23
25
|
],
|
|
24
26
|
ts: true,
|
|
@@ -31,13 +33,13 @@ export default defineConfig([
|
|
|
31
33
|
),
|
|
32
34
|
|
|
33
35
|
plugins: {
|
|
34
|
-
|
|
36
|
+
security,
|
|
37
|
+
promise
|
|
35
38
|
},
|
|
36
39
|
|
|
37
40
|
languageOptions: {
|
|
38
41
|
globals: {
|
|
39
42
|
...globals.node,
|
|
40
|
-
...globals.mocha,
|
|
41
43
|
},
|
|
42
44
|
|
|
43
45
|
parser: tsParser,
|
|
@@ -51,11 +53,16 @@ export default defineConfig([
|
|
|
51
53
|
|
|
52
54
|
settings: {
|
|
53
55
|
node: {
|
|
54
|
-
version: ">=
|
|
56
|
+
version: ">=24.25.0",
|
|
55
57
|
}
|
|
56
58
|
},
|
|
57
59
|
|
|
58
60
|
rules: {
|
|
61
|
+
"@typescript-eslint/await-thenable": [1],
|
|
62
|
+
"@typescript-eslint/no-floating-promises": [1],
|
|
63
|
+
"@typescript-eslint/no-for-in-array": [1],
|
|
64
|
+
"@typescript-eslint/no-misused-promises": [1],
|
|
65
|
+
|
|
59
66
|
"@typescript-eslint/no-empty-interface": 0,
|
|
60
67
|
"@typescript-eslint/no-empty-object-type": 0,
|
|
61
68
|
"@typescript-eslint/require-await": 0,
|
|
@@ -72,10 +79,17 @@ export default defineConfig([
|
|
|
72
79
|
"camelcase": [0],
|
|
73
80
|
"n/no-process-exit": [0],
|
|
74
81
|
"n/no-unpublished-import": ["error", {
|
|
75
|
-
"allowModules": ["chai"
|
|
82
|
+
"allowModules": ["chai"]
|
|
76
83
|
}],
|
|
77
84
|
// this is a workaround for import of .ts files
|
|
78
85
|
"n/no-missing-import": [0],
|
|
79
86
|
},
|
|
87
|
+
},
|
|
88
|
+
// Disable this for tests, because node:test marked describe/it as async
|
|
89
|
+
{
|
|
90
|
+
files: ["src/test/**"],
|
|
91
|
+
rules: {
|
|
92
|
+
"@typescript-eslint/no-floating-promises": [0],
|
|
93
|
+
},
|
|
80
94
|
}
|
|
81
|
-
]);
|
|
95
|
+
]);
|
package/gulpfile.js
CHANGED
|
@@ -15,7 +15,7 @@ gulp.task("build", gulp.series("clean", exec.task("tsc -p src")));
|
|
|
15
15
|
|
|
16
16
|
gulp.task("lint", exec.task("eslint src"));
|
|
17
17
|
|
|
18
|
-
gulp.task("test", exec.task("
|
|
18
|
+
gulp.task("test", exec.task("tsx --test --test-concurrency=1 --test-reporter=spec src/test/*.ts"));
|
|
19
19
|
|
|
20
20
|
gulp.task("spell", exec.task("cspell --no-progress"));
|
|
21
21
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tabletcommand-backend-models",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.82",
|
|
4
4
|
"description": "Tablet Command Backend Models",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "eslint src",
|
|
7
7
|
"build": "gulp build",
|
|
8
|
-
"test": "
|
|
8
|
+
"test": "tsx --test --test-concurrency=1 --test-reporter=spec src/test/*.ts"
|
|
9
9
|
},
|
|
10
10
|
"author": "Marius Ursache <marius@tabletcommand.com>",
|
|
11
11
|
"license": "MIT",
|
|
@@ -28,22 +28,20 @@
|
|
|
28
28
|
"@eslint/js": "^9.39.4",
|
|
29
29
|
"@types/chai": "^5.2.3",
|
|
30
30
|
"@types/lodash": "^4.17.24",
|
|
31
|
-
"@types/
|
|
32
|
-
"@
|
|
33
|
-
"@typescript-eslint/
|
|
34
|
-
"@typescript-eslint/parser": "~8.59.0",
|
|
31
|
+
"@types/node": "^24.12.4",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "~8.59.3",
|
|
33
|
+
"@typescript-eslint/parser": "~8.59.3",
|
|
35
34
|
"chai": "^6.2.2",
|
|
36
35
|
"cspell": "^10.0.0",
|
|
37
36
|
"del": "^8.0.1",
|
|
38
37
|
"eslint": "^9.39.4",
|
|
39
|
-
"
|
|
38
|
+
"eslint-plugin-promise": "^7.3.0",
|
|
39
|
+
"eslint-plugin-security": "^4.0.0",
|
|
40
|
+
"globals": "^17.6.0",
|
|
40
41
|
"gulp": "^5.0.1",
|
|
41
42
|
"gulp-execa": "^8.0.1",
|
|
42
|
-
"mocha": "^11.7.5",
|
|
43
43
|
"neostandard": "^0.13.0",
|
|
44
|
-
"
|
|
45
|
-
"ts-node": "^10.9.2",
|
|
46
|
-
"tsconfig-paths": "^4.2.0",
|
|
44
|
+
"tsx": "^4.21.0",
|
|
47
45
|
"type-coverage": "^2.29.7",
|
|
48
46
|
"typescript": "~5.9.3"
|
|
49
47
|
},
|
|
@@ -54,13 +54,6 @@ export default async function ChartIncidentModule(mongoose: MongooseModule) {
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
modelSchema.index({
|
|
58
|
-
departmentId: 1,
|
|
59
|
-
date: 1,
|
|
60
|
-
}, {
|
|
61
|
-
name: "departmentId1_date_1",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
57
|
modelSchema.index({
|
|
65
58
|
departmentId: 1,
|
|
66
59
|
dateAt: -1
|
|
@@ -79,13 +79,6 @@ export default async function ChartManagedIncidentModule(mongoose: MongooseModul
|
|
|
79
79
|
name: "departmentId_1_dateAt_-1",
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
modelSchema.index({
|
|
83
|
-
departmentId: 1,
|
|
84
|
-
date: 1,
|
|
85
|
-
}, {
|
|
86
|
-
name: "departmentId_1_date_1",
|
|
87
|
-
});
|
|
88
|
-
|
|
89
82
|
modelSchema.index({
|
|
90
83
|
departmentId: 1,
|
|
91
84
|
userId: 1,
|
package/src/models/chart-user.ts
CHANGED
|
@@ -59,13 +59,6 @@ export default async function ChartUserModule(mongoose: MongooseModule) {
|
|
|
59
59
|
name: "departmentId_1_dateAt_-1",
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
modelSchema.index({
|
|
63
|
-
departmentId: 1,
|
|
64
|
-
date: 1,
|
|
65
|
-
}, {
|
|
66
|
-
name: "departmentId_1_date_1",
|
|
67
|
-
});
|
|
68
|
-
|
|
69
62
|
modelSchema.index({
|
|
70
63
|
departmentId: 1,
|
|
71
64
|
agencyId: 1,
|
package/src/test/0index.ts
CHANGED
package/src/test/action-log.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
-
import "
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
3
3
|
import * as m from "../index";
|
|
4
4
|
import * as config from "./config";
|
|
5
5
|
import mockModule from "./mock";
|
|
@@ -16,6 +16,7 @@ describe("ActionLog", function() {
|
|
|
16
16
|
mongoose
|
|
17
17
|
});
|
|
18
18
|
testItem = mock.actionLog;
|
|
19
|
+
await mock.beforeEach();
|
|
19
20
|
});
|
|
20
21
|
afterEach(async function() {
|
|
21
22
|
await mongoose.disconnect();
|
package/src/test/adsb.ts
CHANGED
package/src/test/agency.ts
CHANGED
package/src/test/arcgis-group.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
-
import "
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
3
3
|
import * as _ from "lodash";
|
|
4
4
|
import * as m from "../index";
|
|
5
5
|
import * as config from "./config";
|
|
@@ -17,7 +17,7 @@ describe("ArcGISGroup", function() {
|
|
|
17
17
|
mongoose
|
|
18
18
|
});
|
|
19
19
|
testItem = mock.arcGISGroup;
|
|
20
|
-
await mock.
|
|
20
|
+
await mock.beforeEach();
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
afterEach(async function() {
|
package/src/test/assignment.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
-
import "
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
3
3
|
import * as m from "../index";
|
|
4
4
|
import * as config from "./config";
|
|
5
5
|
import mockModule from "./mock";
|
|
@@ -16,6 +16,7 @@ describe("Assignment", function() {
|
|
|
16
16
|
mongoose
|
|
17
17
|
});
|
|
18
18
|
testItem = mock.assignment;
|
|
19
|
+
await mock.beforeEach();
|
|
19
20
|
});
|
|
20
21
|
afterEach(async function() {
|
|
21
22
|
await mongoose.disconnect();
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
-
import "
|
|
3
|
-
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
4
3
|
import * as m from "../index";
|
|
5
4
|
import * as config from "./config";
|
|
6
5
|
import mockModule from "./mock";
|
|
@@ -16,7 +15,7 @@ describe("AudioStreamAuthentication", function() {
|
|
|
16
15
|
mongoose
|
|
17
16
|
});
|
|
18
17
|
testItem = mock.audioStreamAuthentication;
|
|
19
|
-
await mock.
|
|
18
|
+
await mock.beforeEach();
|
|
20
19
|
});
|
|
21
20
|
|
|
22
21
|
afterEach(async function() {
|
package/src/test/audio-stream.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
-
import "
|
|
3
|
-
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
4
3
|
import * as m from "../index";
|
|
5
4
|
import * as config from "./config";
|
|
6
5
|
import mockModule from "./mock";
|
|
@@ -16,8 +15,9 @@ describe("AudioStream", function() {
|
|
|
16
15
|
const mock = mockModule({
|
|
17
16
|
mongoose
|
|
18
17
|
});
|
|
19
|
-
await mock.
|
|
18
|
+
await mock.beforeEach();
|
|
20
19
|
|
|
20
|
+
// TODO: Move to mock (?)
|
|
21
21
|
// Create an AudioStreamAuthentication record to reference
|
|
22
22
|
const authItem = new models.AudioStreamAuthentication({
|
|
23
23
|
name: "test-auth-record",
|
package/src/test/battalion.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
-
import "
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
3
3
|
import * as m from "../index";
|
|
4
4
|
import * as config from "./config";
|
|
5
5
|
import mockModule from "./mock";
|
|
@@ -16,6 +16,7 @@ describe("Battalion", function() {
|
|
|
16
16
|
mongoose
|
|
17
17
|
});
|
|
18
18
|
testItem = mock.battalion;
|
|
19
|
+
await mock.beforeEach();
|
|
19
20
|
});
|
|
20
21
|
afterEach(async function() {
|
|
21
22
|
await mongoose.disconnect();
|
package/src/test/cad-incident.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
2
3
|
import * as _ from "lodash";
|
|
3
4
|
import * as m from "../index";
|
|
4
5
|
import * as config from "./config";
|
|
5
6
|
import mockModule from "./mock";
|
|
6
|
-
import "mocha";
|
|
7
7
|
|
|
8
8
|
describe("CADIncident", function() {
|
|
9
9
|
let models: m.BackendModels, mongoose: m.MongooseModule;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
-
import "
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
3
3
|
import * as m from "../index";
|
|
4
4
|
import * as config from "./config";
|
|
5
5
|
import mockModule from "./mock";
|
|
@@ -16,6 +16,7 @@ describe("CadSimulation", function() {
|
|
|
16
16
|
mongoose
|
|
17
17
|
});
|
|
18
18
|
testItem = mock.cadSimulation;
|
|
19
|
+
await mock.beforeEach();
|
|
19
20
|
});
|
|
20
21
|
afterEach(async function() {
|
|
21
22
|
await mongoose.disconnect();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
-
import "
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
3
3
|
import * as m from "../index";
|
|
4
4
|
import * as config from "./config";
|
|
5
5
|
import mockModule from "./mock";
|
|
@@ -16,6 +16,7 @@ describe("CADStatusMap", function() {
|
|
|
16
16
|
mongoose
|
|
17
17
|
});
|
|
18
18
|
testItem = mock.cadStatusMap;
|
|
19
|
+
await mock.beforeEach();
|
|
19
20
|
});
|
|
20
21
|
afterEach(async function() {
|
|
21
22
|
await mongoose.disconnect();
|
package/src/test/cad-status.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { assert } from "chai";
|
|
2
|
-
import "
|
|
2
|
+
import { describe, it, beforeEach, afterEach } from "node:test";
|
|
3
3
|
import * as m from "../index";
|
|
4
4
|
import * as config from "./config";
|
|
5
5
|
import mockModule from "./mock";
|
|
@@ -16,6 +16,7 @@ describe("CADStatus", function() {
|
|
|
16
16
|
mongoose
|
|
17
17
|
});
|
|
18
18
|
testItem = mock.cadStatus;
|
|
19
|
+
await mock.beforeEach();
|
|
19
20
|
});
|
|
20
21
|
afterEach(async function() {
|
|
21
22
|
await mongoose.disconnect();
|