pristine-member-nest-api-database 1.0.54 → 1.0.56

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/dist/index.js CHANGED
@@ -45,6 +45,7 @@ __exportStar(require("./models/VehicleCategory.ir.model"), exports);
45
45
  __exportStar(require("./models/TermsConditions.model"), exports);
46
46
  __exportStar(require("./models/PrivacyPolicies.model"), exports);
47
47
  __exportStar(require("./models/Containers.model"), exports);
48
+ __exportStar(require("./models/EditorFieldMaster.model"), exports);
48
49
  __exportStar(require("./src/dbConnect"), exports);
49
50
  //packege version 1.0.37 gs1 changes
50
51
  //packege version 1.0.38 and 1.0.38 after application(application verification stable 1.0.40) verification without GS1 changes
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Container = void 0;
26
+ exports.mongoContainer = void 0;
27
27
  const mongoose_1 = __importStar(require("mongoose"));
28
28
  const ContainerSchema = new mongoose_1.Schema({
29
29
  ContainerCode: { type: String },
@@ -39,5 +39,5 @@ const ContainerSchema = new mongoose_1.Schema({
39
39
  },
40
40
  ],
41
41
  });
42
- const Container = mongoose_1.default.model("Editor.Container", ContainerSchema);
43
- exports.Container = Container;
42
+ const mongoContainer = mongoose_1.default.model("Editor.Container", ContainerSchema);
43
+ exports.mongoContainer = mongoContainer;
package/index.ts CHANGED
@@ -30,6 +30,9 @@ export * from "./models/VehicleCategory.ir.model";
30
30
  export * from "./models/TermsConditions.model";
31
31
  export * from "./models/PrivacyPolicies.model";
32
32
  export * from "./models/Containers.model";
33
+
34
+ export * from "./models/EditorFieldMaster.model";
35
+
33
36
  export * from "./src/dbConnect";
34
37
 
35
38
  //packege version 1.0.37 gs1 changes
@@ -26,9 +26,9 @@ const ContainerSchema = new Schema<ContainerDocument>({
26
26
  ],
27
27
  });
28
28
 
29
- const Container = mongoose.model<ContainerDocument>(
29
+ const mongoContainer = mongoose.model<ContainerDocument>(
30
30
  "Editor.Container",
31
31
  ContainerSchema,
32
32
  );
33
33
 
34
- export { ContainerDocument, Container };
34
+ export { ContainerDocument, mongoContainer };
@@ -16,5 +16,38 @@ interface IApplicationDocument extends Document {
16
16
  approverOneEnabled: boolean;
17
17
  approverTwoEnabled: boolean;
18
18
  createdDate: Schema.Types.Date;
19
+ IsMembershipTableEnabled: boolean;
20
+ IsMembershipExtraDetailsEnabled: boolean;
21
+ BranchManagerData: {
22
+ attachment: {
23
+ fileName: string;
24
+ fileType: string;
25
+ fileSize: number;
26
+ fileUrl: string;
27
+ };
28
+ remarks: string;
29
+ electedDate: Date;
30
+ InvoiceDiscount: number;
31
+ };
32
+ approverOneData: {
33
+ remarks: string;
34
+ userId: string;
35
+ attachment: {
36
+ fileName: string;
37
+ fileType: string;
38
+ fileSize: number;
39
+ fileUrl: string;
40
+ };
41
+ };
42
+ approverTwoData: {
43
+ remarks: string;
44
+ userId: string;
45
+ attachment: {
46
+ fileName: string;
47
+ fileType: string;
48
+ fileSize: number;
49
+ fileUrl: string;
50
+ };
51
+ };
19
52
  audit: Audit[];
20
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pristine-member-nest-api-database",
3
- "version": "1.0.54",
3
+ "version": "1.0.56",
4
4
  "description": "application verification database changes with gs1 branch. not tested. ",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {