cloud-ide-model-schema 1.1.186 → 1.1.187
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/lib/schema/email/email_templete.js +0 -1
- package/lib/schema/fees/fee_payment.js +0 -1
- package/lib/schema/fleet/fleet_configuration.d.ts +8 -0
- package/lib/schema/fleet/fleet_configuration.js +39 -0
- package/lib/schema/fleet/index.d.ts +1 -0
- package/lib/schema/fleet/index.js +3 -1
- package/package.json +2 -2
|
@@ -60,7 +60,6 @@ var email_templete = new mongoose_1.Schema({
|
|
|
60
60
|
timestamps: { createdAt: 'etmp_created_at', updatedAt: 'etmp_updated_at' }
|
|
61
61
|
});
|
|
62
62
|
// Indexes for better query performance
|
|
63
|
-
email_templete.index({ etmp_id_eref: 1 });
|
|
64
63
|
email_templete.index({ etmp_isactive: 1 });
|
|
65
64
|
email_templete.index({ etmp_category: 1 });
|
|
66
65
|
email_templete.index({ etmp_created_at: -1 });
|
|
@@ -230,7 +230,6 @@ var fee_payment = new mongoose_1.Schema({
|
|
|
230
230
|
timestamps: true // Adds created_at and updated_at
|
|
231
231
|
});
|
|
232
232
|
// Indexes for performance
|
|
233
|
-
fee_payment.index({ feepay_receipt_number: 1 }, { unique: true, sparse: true });
|
|
234
233
|
fee_payment.index({ feepay_student_id_auth: 1, feepay_payment_date: -1 });
|
|
235
234
|
fee_payment.index({ feepay_payment_date: -1 });
|
|
236
235
|
fee_payment.index({ feepay_status_id_sygms: 1, feepay_payment_date: -1 });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FleetConfiguration } from "cloud-ide-lms-model";
|
|
2
|
+
import mongoose from "mongoose";
|
|
3
|
+
declare const CFleetConfiguration: mongoose.Model<FleetConfiguration, {}, {}, {}, mongoose.Document<unknown, {}, FleetConfiguration, {}> & FleetConfiguration & Required<{
|
|
4
|
+
_id: string;
|
|
5
|
+
}> & {
|
|
6
|
+
__v: number;
|
|
7
|
+
}, any>;
|
|
8
|
+
export { CFleetConfiguration };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CFleetConfiguration = void 0;
|
|
4
|
+
var mongoose_1 = require("mongoose");
|
|
5
|
+
/* SCHEMA START */
|
|
6
|
+
var fleet_configuration = new mongoose_1.Schema({
|
|
7
|
+
fltcfg_entity_id_syen: {
|
|
8
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
9
|
+
ref: "core_system_entity",
|
|
10
|
+
required: true,
|
|
11
|
+
unique: true
|
|
12
|
+
},
|
|
13
|
+
fltcfg_driver_role_id_syusrol: {
|
|
14
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
15
|
+
ref: "core_user_role"
|
|
16
|
+
},
|
|
17
|
+
fltcfg_auto_create_user: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: true
|
|
20
|
+
},
|
|
21
|
+
fltcfg_isactive: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: true
|
|
24
|
+
},
|
|
25
|
+
fltcfg_created_at: {
|
|
26
|
+
type: Date,
|
|
27
|
+
default: Date.now
|
|
28
|
+
},
|
|
29
|
+
fltcfg_updated_at: {
|
|
30
|
+
type: Date,
|
|
31
|
+
default: Date.now
|
|
32
|
+
},
|
|
33
|
+
fltcfg_updated_by_user: {
|
|
34
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
35
|
+
ref: "auth_user_mst"
|
|
36
|
+
}
|
|
37
|
+
}, { collection: 'fleet_configuration', timestamps: { createdAt: 'fltcfg_created_at', updatedAt: 'fltcfg_updated_at' } });
|
|
38
|
+
var CFleetConfiguration = mongoose_1.default.model("fleet_configuration", fleet_configuration);
|
|
39
|
+
exports.CFleetConfiguration = CFleetConfiguration;
|
|
@@ -8,3 +8,4 @@ export { CFleetFuelLog } from './fleet_fuel_log';
|
|
|
8
8
|
export { CFleetTripLog } from './fleet_trip_log';
|
|
9
9
|
export { CFleetStudentTransport } from './fleet_student_transport';
|
|
10
10
|
export { CFleetIncidentReport } from './fleet_incident_report';
|
|
11
|
+
export { CFleetConfiguration } from './fleet_configuration';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CFleetIncidentReport = exports.CFleetStudentTransport = exports.CFleetTripLog = exports.CFleetFuelLog = exports.CFleetMaintenanceRecord = exports.CFleetVehicleAssignment = exports.CFleetRouteStops = exports.CFleetRouteMaster = exports.CFleetDriverMaster = exports.CFleetVehicleMaster = void 0;
|
|
3
|
+
exports.CFleetConfiguration = exports.CFleetIncidentReport = exports.CFleetStudentTransport = exports.CFleetTripLog = exports.CFleetFuelLog = exports.CFleetMaintenanceRecord = exports.CFleetVehicleAssignment = exports.CFleetRouteStops = exports.CFleetRouteMaster = exports.CFleetDriverMaster = exports.CFleetVehicleMaster = void 0;
|
|
4
4
|
// Fleet Management Module Schema Exports
|
|
5
5
|
var fleet_vehicle_master_1 = require("./fleet_vehicle_master");
|
|
6
6
|
Object.defineProperty(exports, "CFleetVehicleMaster", { enumerable: true, get: function () { return fleet_vehicle_master_1.CFleetVehicleMaster; } });
|
|
@@ -22,3 +22,5 @@ var fleet_student_transport_1 = require("./fleet_student_transport");
|
|
|
22
22
|
Object.defineProperty(exports, "CFleetStudentTransport", { enumerable: true, get: function () { return fleet_student_transport_1.CFleetStudentTransport; } });
|
|
23
23
|
var fleet_incident_report_1 = require("./fleet_incident_report");
|
|
24
24
|
Object.defineProperty(exports, "CFleetIncidentReport", { enumerable: true, get: function () { return fleet_incident_report_1.CFleetIncidentReport; } });
|
|
25
|
+
var fleet_configuration_1 = require("./fleet_configuration");
|
|
26
|
+
Object.defineProperty(exports, "CFleetConfiguration", { enumerable: true, get: function () { return fleet_configuration_1.CFleetConfiguration; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"cloud-ide-lms-model": "
|
|
3
|
+
"cloud-ide-lms-model": "file:../cloud-ide-lms-model",
|
|
4
4
|
"dotenv": "^16.5.0",
|
|
5
5
|
"mongoose": "^8.15.0"
|
|
6
6
|
},
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript": "^5.8.3"
|
|
10
10
|
},
|
|
11
11
|
"name": "cloud-ide-model-schema",
|
|
12
|
-
"version": "1.1.
|
|
12
|
+
"version": "1.1.187",
|
|
13
13
|
"description": "Pachage for schema management of Cloud IDEsys LMS",
|
|
14
14
|
"main": "lib/index.js",
|
|
15
15
|
"types": "lib/index.d.ts",
|