@spytecgps/nova-orm 1.4.206 → 1.4.208
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../node_modules/tslib/tslib.es6.js"),a=require("typeorm");exports.SnapToRoadCache=class SnapToRoadCache{id;imei;date;
|
|
1
|
+
"use strict";var e=require("../node_modules/tslib/tslib.es6.js"),a=require("typeorm");exports.SnapToRoadCache=class SnapToRoadCache{id;imei;date;windowIndex;inputCount;snappedPoints;createdAt;updatedAt},e.__decorate([a.PrimaryGeneratedColumn({type:"bigint",name:"id"}),e.__metadata("design:type",Number)],exports.SnapToRoadCache.prototype,"id",void 0),e.__decorate([a.Column("varchar",{name:"imei",length:20}),e.__metadata("design:type",String)],exports.SnapToRoadCache.prototype,"imei",void 0),e.__decorate([a.Column("varchar",{name:"date",length:10}),e.__metadata("design:type",String)],exports.SnapToRoadCache.prototype,"date",void 0),e.__decorate([a.Column("int",{name:"windowIndex",default:0}),e.__metadata("design:type",Number)],exports.SnapToRoadCache.prototype,"windowIndex",void 0),e.__decorate([a.Column("int",{name:"inputCount",default:0}),e.__metadata("design:type",Number)],exports.SnapToRoadCache.prototype,"inputCount",void 0),e.__decorate([a.Column("json",{name:"snappedPoints",nullable:!0}),e.__metadata("design:type",Array)],exports.SnapToRoadCache.prototype,"snappedPoints",void 0),e.__decorate([a.CreateDateColumn({name:"createdAt"}),e.__metadata("design:type",Date)],exports.SnapToRoadCache.prototype,"createdAt",void 0),e.__decorate([a.UpdateDateColumn({name:"updatedAt"}),e.__metadata("design:type",Date)],exports.SnapToRoadCache.prototype,"updatedAt",void 0),exports.SnapToRoadCache=e.__decorate([a.Index("ixu_snap_imei_date_window",["imei","date","windowIndex"],{unique:!0}),a.Entity("snapToRoadCache",{schema:"nova"})],exports.SnapToRoadCache);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _1684483704434AddLowerCaseIndex = require('../1684483704434-addLowerCaseIndex.js');
|
|
4
|
-
var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
|
|
5
4
|
var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
|
|
5
|
+
var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
|
|
10
|
-
exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
|
|
11
10
|
exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
|
|
11
|
+
exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
|
package/dist/types/retail.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RetailAlertStatus } from '../entities/retailAlert';
|
|
2
2
|
import { ExternalRecipientNotificationType } from '../entities/retailAlertExternalRecipient';
|
|
3
|
+
import { RetailAlertCategory } from '../entities/retailAlertType';
|
|
3
4
|
import { RetailBleTagStatus } from '../entities/retailBleTag';
|
|
4
5
|
import { RetailAlertConfigurationStatus, RetailAlertSeverity } from '../entities/retailClientAlertConfiguration';
|
|
5
6
|
import { RetailGatewayStatus } from '../entities/retailGateway';
|
|
@@ -9,4 +10,4 @@ import { RetailItemEventType } from '../entities/retailItemEvent';
|
|
|
9
10
|
import { RetailStoreStatus } from '../entities/retailStore';
|
|
10
11
|
import { RetailTrainingSetSegment, RetailTrainingSetStatus, RetailTrainingSetType } from '../entities/retailTrainingSet';
|
|
11
12
|
import { RetailZoneCategory } from '../entities/retailZone';
|
|
12
|
-
export { ExternalRecipientNotificationType, RetailAlertConfigurationStatus, RetailAlertSeverity, RetailAlertStatus, RetailBleTagStatus, RetailGatewayStatus, RetailIncidentSeverity, RetailIncidentStatus, RetailIncidentType, RetailItemEventType, RetailItemStatus, RetailStoreStatus, RetailTrainingSetSegment, RetailTrainingSetStatus, RetailTrainingSetType, RetailZoneCategory, };
|
|
13
|
+
export { ExternalRecipientNotificationType, RetailAlertCategory, RetailAlertConfigurationStatus, RetailAlertSeverity, RetailAlertStatus, RetailBleTagStatus, RetailGatewayStatus, RetailIncidentSeverity, RetailIncidentStatus, RetailIncidentType, RetailItemEventType, RetailItemStatus, RetailStoreStatus, RetailTrainingSetSegment, RetailTrainingSetStatus, RetailTrainingSetType, RetailZoneCategory, };
|
package/package.json
CHANGED
package/schema.sql
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
-- nova-orm-schema-checksum:
|
|
1
|
+
-- nova-orm-schema-checksum: d11b46e52719163bae6482fe879a29df
|
|
2
2
|
-- Nova ORM Schema Dump
|
|
3
|
-
-- Generated at: 2026-03-
|
|
3
|
+
-- Generated at: 2026-03-18T13:40:36.831Z
|
|
4
4
|
|
|
5
5
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
6
6
|
|
|
@@ -2800,12 +2800,13 @@ CREATE TABLE `snapToRoadCache` (
|
|
|
2800
2800
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
2801
2801
|
`imei` varchar(20) NOT NULL,
|
|
2802
2802
|
`date` varchar(10) NOT NULL,
|
|
2803
|
-
`
|
|
2804
|
-
`
|
|
2803
|
+
`windowIndex` int NOT NULL DEFAULT '0',
|
|
2804
|
+
`inputCount` int NOT NULL DEFAULT '0',
|
|
2805
|
+
`snappedPoints` json DEFAULT NULL,
|
|
2805
2806
|
`createdAt` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
|
|
2806
2807
|
`updatedAt` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
|
|
2807
2808
|
PRIMARY KEY (`id`),
|
|
2808
|
-
UNIQUE KEY `
|
|
2809
|
+
UNIQUE KEY `ixu_snap_imei_date_window` (`imei`,`date`,`windowIndex`)
|
|
2809
2810
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
2810
2811
|
|
|
2811
2812
|
DROP TABLE IF EXISTS `stripeAddonMapping`;
|