@spytecgps/nova-orm 1.4.353 → 1.4.354

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"),t=require("typeorm");exports.SitesPresenceEvent=class SitesPresenceEvent{id;deviceId;clientId;kind;at;data;createdAt;siteId},e.__decorate([t.PrimaryGeneratedColumn({type:"bigint",name:"id"}),e.__metadata("design:type",Number)],exports.SitesPresenceEvent.prototype,"id",void 0),e.__decorate([t.Column("varchar",{name:"deviceId",length:13}),e.__metadata("design:type",String)],exports.SitesPresenceEvent.prototype,"deviceId",void 0),e.__decorate([t.Column("int",{name:"clientId"}),e.__metadata("design:type",Number)],exports.SitesPresenceEvent.prototype,"clientId",void 0),e.__decorate([t.Column("varchar",{name:"kind",length:10}),e.__metadata("design:type",String)],exports.SitesPresenceEvent.prototype,"kind",void 0),e.__decorate([t.Column("datetime",{name:"at",precision:3}),e.__metadata("design:type",Date)],exports.SitesPresenceEvent.prototype,"at",void 0),e.__decorate([t.Column("json",{name:"data",nullable:!0}),e.__metadata("design:type",Object)],exports.SitesPresenceEvent.prototype,"data",void 0),e.__decorate([t.CreateDateColumn({name:"createdAt"}),e.__metadata("design:type",Date)],exports.SitesPresenceEvent.prototype,"createdAt",void 0),e.__decorate([t.Column("int",{name:"siteId",nullable:!0}),e.__metadata("design:type",Number)],exports.SitesPresenceEvent.prototype,"siteId",void 0),exports.SitesPresenceEvent=e.__decorate([t.Index("ixSitesPresenceEventClientIdAt",["clientId","at"]),t.Index("uqSitesPresenceEventDeviceIdKindAt",["deviceId","kind","at"],{unique:!0}),t.Entity("sitesPresenceEvent",{schema:"nova"})],exports.SitesPresenceEvent);
1
+ "use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm");exports.SitesPresenceEvent=class SitesPresenceEvent{id;deviceId;clientId;kind;at;data;createdAt;siteId},e.__decorate([t.PrimaryGeneratedColumn({type:"bigint",name:"id"}),e.__metadata("design:type",Number)],exports.SitesPresenceEvent.prototype,"id",void 0),e.__decorate([t.Column("varchar",{name:"deviceId",length:13}),e.__metadata("design:type",String)],exports.SitesPresenceEvent.prototype,"deviceId",void 0),e.__decorate([t.Column("int",{name:"clientId"}),e.__metadata("design:type",Number)],exports.SitesPresenceEvent.prototype,"clientId",void 0),e.__decorate([t.Column("varchar",{name:"kind",length:10}),e.__metadata("design:type",String)],exports.SitesPresenceEvent.prototype,"kind",void 0),e.__decorate([t.Column("datetime",{name:"at",precision:3}),e.__metadata("design:type",Date)],exports.SitesPresenceEvent.prototype,"at",void 0),e.__decorate([t.Column("json",{name:"data",nullable:!0}),e.__metadata("design:type",Object)],exports.SitesPresenceEvent.prototype,"data",void 0),e.__decorate([t.CreateDateColumn({name:"createdAt"}),e.__metadata("design:type",Date)],exports.SitesPresenceEvent.prototype,"createdAt",void 0),e.__decorate([t.Column("int",{name:"siteId",nullable:!0}),e.__metadata("design:type",Number)],exports.SitesPresenceEvent.prototype,"siteId",void 0),exports.SitesPresenceEvent=e.__decorate([t.Index("ixSitesPresenceEventClientIdAt",["clientId","at"]),t.Index("ixSitesPresenceEventDeviceIdId",["deviceId","id"]),t.Index("uqSitesPresenceEventDeviceIdKindAt",["deviceId","kind","at"],{unique:!0}),t.Entity("sitesPresenceEvent",{schema:"nova"})],exports.SitesPresenceEvent);
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var _1684483704434AddLowerCaseIndex = require('../1684483704434-addLowerCaseIndex.js');
4
- var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
5
4
  var _1746434400000AddQuickSearchFulltextIndexes = require('../1746434400000-addQuickSearchFulltextIndexes.js');
5
+ var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
6
6
  var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
7
7
 
8
8
 
9
9
 
10
10
  exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
11
- exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
12
11
  exports.addQuickSearchFulltextIndexes1746434400000 = _1746434400000AddQuickSearchFulltextIndexes.addQuickSearchFulltextIndexes1746434400000;
12
+ exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
13
13
  exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "1.4.353",
3
+ "version": "1.4.354",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/schema.sql CHANGED
@@ -1,6 +1,6 @@
1
- -- nova-orm-schema-checksum: fb403811cb84c3f0464709e472136090
1
+ -- nova-orm-schema-checksum: 161fb7623e05b8ecce1bd04721b399ae
2
2
  -- Nova ORM Schema Dump
3
- -- Generated at: 2026-11-12T06:20:52.256Z
3
+ -- Generated at: 2026-11-12T09:40:46.773Z
4
4
 
5
5
  SET FOREIGN_KEY_CHECKS = 0;
6
6
 
@@ -4079,6 +4079,7 @@ CREATE TABLE `sitesPresenceEvent` (
4079
4079
  `siteId` int DEFAULT NULL,
4080
4080
  PRIMARY KEY (`id`),
4081
4081
  UNIQUE KEY `uqSitesPresenceEventDeviceIdKindAt` (`deviceId`,`kind`,`at`),
4082
+ KEY `ixSitesPresenceEventDeviceIdId` (`deviceId`,`id`),
4082
4083
  KEY `ixSitesPresenceEventClientIdAt` (`clientId`,`at`)
4083
4084
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
4084
4085