@kipicore/dbcore 1.1.648 → 1.1.650

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.
@@ -28,7 +28,7 @@ export interface IVendorCompanyMetaAttributes extends IDefaultAttributes, Docume
28
28
  logo?: string;
29
29
  banner?: string;
30
30
  address1: string;
31
- address2: string;
31
+ address2?: string;
32
32
  area: string;
33
33
  district?: string;
34
34
  pinCode: string;
@@ -83,6 +83,14 @@ const ProductMetaSchema = new mongoose_1.Schema({
83
83
  enum: Object.values(constants_1.PRODUCT_META_STATUS),
84
84
  default: constants_1.PRODUCT_META_STATUS.ACTIVE,
85
85
  },
86
+ description: {
87
+ type: String,
88
+ required: false,
89
+ },
90
+ shortDescription: {
91
+ type: String,
92
+ required: false,
93
+ },
86
94
  createdBy: {
87
95
  type: String,
88
96
  },
@@ -137,7 +137,7 @@ const vendorCompanyMetaSchema = new mongoose_1.Schema({
137
137
  },
138
138
  address2: {
139
139
  type: String,
140
- required: true,
140
+ required: false,
141
141
  },
142
142
  area: {
143
143
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.648",
3
+ "version": "1.1.650",
4
4
  "description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",