cloud-ide-model-schema 1.1.148 → 1.1.150

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.
@@ -73,6 +73,11 @@ var acc_financial_config = new mongoose_1.Schema({
73
73
  default: "fiscal_year",
74
74
  comment: "How financial year is named"
75
75
  },
76
+ accfincfg_is_self_financial_year: {
77
+ type: Boolean,
78
+ default: true,
79
+ comment: "If true, entity has its own financial year. If false, follows parent entity's financial year."
80
+ },
76
81
  // TAX CONFIGURATION
77
82
  accfincfg_default_tax_percentage: {
78
83
  type: Number,
@@ -86,9 +86,7 @@ var auth_user_mst = new mongoose_1.Schema({
86
86
  // Indexes for performance optimization
87
87
  // Compound index for user listing queries (sorting and filtering)
88
88
  auth_user_mst.index({ user_fullname: 1, user_username: 1 });
89
- // Note: user_emailid already has unique: true which creates an index automatically
90
- // Index for username search (already unique, but explicit index for clarity)
91
- auth_user_mst.index({ user_username: 1 });
89
+ // Note: user_username, user_emailid, and user_mobileno already have unique: true which creates indexes automatically
92
90
  // Index for fullname search
93
91
  auth_user_mst.index({ user_fullname: 1 });
94
92
  // Index for active user filtering
@@ -73,6 +73,11 @@ var core_financial_config = new mongoose_1.Schema({
73
73
  default: "fiscal_year",
74
74
  comment: "How financial year is named"
75
75
  },
76
+ fincfg_is_self_financial_year: {
77
+ type: Boolean,
78
+ default: true,
79
+ comment: "If true, entity has its own financial year. If false, follows parent entity's financial year."
80
+ },
76
81
  // TAX CONFIGURATION
77
82
  fincfg_default_tax_percentage: {
78
83
  type: Number,
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript": "^5.8.3"
10
10
  },
11
11
  "name": "cloud-ide-model-schema",
12
- "version": "1.1.148",
12
+ "version": "1.1.150",
13
13
  "description": "Pachage for schema management of Cloud IDEsys LMS",
14
14
  "main": "lib/index.js",
15
15
  "types": "lib/index.d.ts",