@spytecgps/nova-orm 1.4.316 → 1.4.317
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.ReportScheduleConfiguration=class ReportScheduleConfiguration{id;clientId;reportName;reportType;customReportId;status;emailMessage;frequency;timeOfDay;daysOfWeek;quarters;monthlyOption;dayOfMonth;recipients;format;createdAt;updatedAt;parameters},e.__decorate([t.PrimaryGeneratedColumn({type:"int",name:"id"}),e.__metadata("design:type",Number)],exports.ReportScheduleConfiguration.prototype,"id",void 0),e.__decorate([t.Column("int",{name:"clientId"}),e.__metadata("design:type",Number)],exports.ReportScheduleConfiguration.prototype,"clientId",void 0),e.__decorate([t.Column("varchar",{name:"reportName",length:100}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"reportName",void 0),e.__decorate([t.Column("varchar",{name:"reportType",length:100}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"reportType",void 0),e.__decorate([t.Column("int",{name:"customReportId",nullable:!0}),e.__metadata("design:type",Number)],exports.ReportScheduleConfiguration.prototype,"customReportId",void 0),e.__decorate([t.Column("varchar",{name:"status",length:10,default:()=>"'Active'"}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"status",void 0),e.__decorate([t.Column("varchar",{name:"emailMessage",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"emailMessage",void 0),e.__decorate([t.Column("varchar",{name:"frequency",length:10,nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"frequency",void 0),e.__decorate([t.Column("time",{name:"timeOfDay",nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"timeOfDay",void 0),e.__decorate([t.Column("json",{name:"daysOfWeek",nullable:!0}),e.__metadata("design:type",Array)],exports.ReportScheduleConfiguration.prototype,"daysOfWeek",void 0),e.__decorate([t.Column("json",{name:"quarters",nullable:!0}),e.__metadata("design:type",Array)],exports.ReportScheduleConfiguration.prototype,"quarters",void 0),e.__decorate([t.Column("varchar",{name:"monthlyOption",length:20,nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"monthlyOption",void 0),e.__decorate([t.Column("int",{name:"dayOfMonth",nullable:!0}),e.__metadata("design:type",Number)],exports.ReportScheduleConfiguration.prototype,"dayOfMonth",void 0),e.__decorate([t.Column("varchar",{name:"recipients",nullable:!0,length:255}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"recipients",void 0),e.__decorate([t.Column("varchar",{name:"format",length:10,nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"format",void 0),e.__decorate([t.Column("datetime",{name:"createdAt",default:()=>"CURRENT_TIMESTAMP",nullable:!0}),e.__metadata("design:type",Date)],exports.ReportScheduleConfiguration.prototype,"createdAt",void 0),e.__decorate([t.Column("datetime",{name:"updatedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.ReportScheduleConfiguration.prototype,"updatedAt",void 0),e.__decorate([t.Column("json",{name:"parameters",nullable:!0}),e.__metadata("design:type",Object)],exports.ReportScheduleConfiguration.prototype,"parameters",void 0),exports.ReportScheduleConfiguration=e.__decorate([t.Entity("reportScheduleConfiguration",{schema:"nova"})],exports.ReportScheduleConfiguration);
|
|
1
|
+
"use strict";var e=require("../node_modules/tslib/tslib.es6.js"),t=require("typeorm"),o=require("../utils/uuidTransformer.js");exports.ReportScheduleConfiguration=class ReportScheduleConfiguration{id;clientId;reportName;reportType;customReportId;status;emailMessage;frequency;timeOfDay;daysOfWeek;quarters;monthlyOption;dayOfMonth;recipients;format;createdAt;updatedAt;parameters;savedViewId},e.__decorate([t.PrimaryGeneratedColumn({type:"int",name:"id"}),e.__metadata("design:type",Number)],exports.ReportScheduleConfiguration.prototype,"id",void 0),e.__decorate([t.Column("int",{name:"clientId"}),e.__metadata("design:type",Number)],exports.ReportScheduleConfiguration.prototype,"clientId",void 0),e.__decorate([t.Column("varchar",{name:"reportName",length:100}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"reportName",void 0),e.__decorate([t.Column("varchar",{name:"reportType",length:100}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"reportType",void 0),e.__decorate([t.Column("int",{name:"customReportId",nullable:!0}),e.__metadata("design:type",Number)],exports.ReportScheduleConfiguration.prototype,"customReportId",void 0),e.__decorate([t.Column("varchar",{name:"status",length:10,default:()=>"'Active'"}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"status",void 0),e.__decorate([t.Column("varchar",{name:"emailMessage",length:255,nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"emailMessage",void 0),e.__decorate([t.Column("varchar",{name:"frequency",length:10,nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"frequency",void 0),e.__decorate([t.Column("time",{name:"timeOfDay",nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"timeOfDay",void 0),e.__decorate([t.Column("json",{name:"daysOfWeek",nullable:!0}),e.__metadata("design:type",Array)],exports.ReportScheduleConfiguration.prototype,"daysOfWeek",void 0),e.__decorate([t.Column("json",{name:"quarters",nullable:!0}),e.__metadata("design:type",Array)],exports.ReportScheduleConfiguration.prototype,"quarters",void 0),e.__decorate([t.Column("varchar",{name:"monthlyOption",length:20,nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"monthlyOption",void 0),e.__decorate([t.Column("int",{name:"dayOfMonth",nullable:!0}),e.__metadata("design:type",Number)],exports.ReportScheduleConfiguration.prototype,"dayOfMonth",void 0),e.__decorate([t.Column("varchar",{name:"recipients",nullable:!0,length:255}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"recipients",void 0),e.__decorate([t.Column("varchar",{name:"format",length:10,nullable:!0}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"format",void 0),e.__decorate([t.Column("datetime",{name:"createdAt",default:()=>"CURRENT_TIMESTAMP",nullable:!0}),e.__metadata("design:type",Date)],exports.ReportScheduleConfiguration.prototype,"createdAt",void 0),e.__decorate([t.Column("datetime",{name:"updatedAt",nullable:!0}),e.__metadata("design:type",Date)],exports.ReportScheduleConfiguration.prototype,"updatedAt",void 0),e.__decorate([t.Column("json",{name:"parameters",nullable:!0}),e.__metadata("design:type",Object)],exports.ReportScheduleConfiguration.prototype,"parameters",void 0),e.__decorate([t.Column("binary",{name:"savedViewId",length:16,nullable:!0,transformer:o.UUIDTransformer}),e.__metadata("design:type",String)],exports.ReportScheduleConfiguration.prototype,"savedViewId",void 0),exports.ReportScheduleConfiguration=e.__decorate([t.Index("ixReportScheduleConfigurationSavedViewId",["savedViewId"],{}),t.Entity("reportScheduleConfiguration",{schema:"nova"})],exports.ReportScheduleConfiguration);
|
|
@@ -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
|
-
var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
|
|
6
4
|
var _1746434400000AddQuickSearchFulltextIndexes = require('../1746434400000-addQuickSearchFulltextIndexes.js');
|
|
5
|
+
var _1684483705002UpdateSecurityUserViewsV2 = require('../1684483705002-updateSecurityUserViewsV2.js');
|
|
6
|
+
var _1684483705001UpdateSecurityUserViewsV1 = require('../1684483705001-updateSecurityUserViewsV1.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.addLowerCaseIndex1684483704434 = _1684483704434AddLowerCaseIndex.addLowerCaseIndex1684483704434;
|
|
11
|
-
exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
|
|
12
|
-
exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
|
|
13
11
|
exports.addQuickSearchFulltextIndexes1746434400000 = _1746434400000AddQuickSearchFulltextIndexes.addQuickSearchFulltextIndexes1746434400000;
|
|
12
|
+
exports.updateSecurityUserViewsV21684483705002 = _1684483705002UpdateSecurityUserViewsV2.updateSecurityUserViewsV21684483705002;
|
|
13
|
+
exports.updateSecurityUserViewsV11684483705001 = _1684483705001UpdateSecurityUserViewsV1.updateSecurityUserViewsV11684483705001;
|
package/package.json
CHANGED
package/schema.sql
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
-- nova-orm-schema-checksum:
|
|
1
|
+
-- nova-orm-schema-checksum: a61f354bf844d3ccbc50ef70058e332d
|
|
2
2
|
-- Nova ORM Schema Dump
|
|
3
|
-
-- Generated at: 2026-10-
|
|
3
|
+
-- Generated at: 2026-10-05T08:25:37.619Z
|
|
4
4
|
|
|
5
5
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
6
6
|
|
|
@@ -3077,7 +3077,9 @@ CREATE TABLE `reportScheduleConfiguration` (
|
|
|
3077
3077
|
`createdAt` datetime DEFAULT CURRENT_TIMESTAMP,
|
|
3078
3078
|
`updatedAt` datetime DEFAULT NULL,
|
|
3079
3079
|
`parameters` json DEFAULT NULL,
|
|
3080
|
-
|
|
3080
|
+
`savedViewId` binary(16) DEFAULT NULL,
|
|
3081
|
+
PRIMARY KEY (`id`),
|
|
3082
|
+
KEY `ixReportScheduleConfigurationSavedViewId` (`savedViewId`)
|
|
3081
3083
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
3082
3084
|
|
|
3083
3085
|
DROP TABLE IF EXISTS `retailAlert`;
|