pristine-member-nest-api-database 1.0.14 → 1.0.16

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
@@ -38,3 +38,4 @@ __exportStar(require("./models/VehicleCategory.ir.model"), exports);
38
38
  __exportStar(require("./models/ItemRequest.ir.model"), exports);
39
39
  __exportStar(require("./models/ServiceRequest.ir.model"), exports);
40
40
  __exportStar(require("./models/ProductsServices.model"), exports);
41
+ __exportStar(require("./models/OrganizationTypesMaster.model"), exports);
@@ -29,7 +29,6 @@ const fieldCategorySchema = new mongoose_1.Schema({
29
29
  fieldUUId: { type: String },
30
30
  fieldCategoryCode: { type: String },
31
31
  fieldCategoryName: { type: String },
32
- fieldCategorySequence: { type: Number },
33
32
  isActive: { type: Boolean, default: true },
34
33
  audit: [
35
34
  {
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.mongoOrganizationTypesMaster = void 0;
27
+ const mongoose_1 = __importStar(require("mongoose"));
28
+ const OrganizationTypesMasterSchema = new mongoose_1.Schema({
29
+ OrganizationMasterCode: { type: String },
30
+ OrganizationMasterName: { type: String },
31
+ isActive: { type: Boolean, default: true },
32
+ audit: [
33
+ {
34
+ userId: { type: String },
35
+ auditedOn: { type: Date, default: null },
36
+ actionType: { type: String },
37
+ },
38
+ ],
39
+ });
40
+ const mongoOrganizationTypesMaster = mongoose_1.default.model("OrganizationType.Master", OrganizationTypesMasterSchema);
41
+ exports.mongoOrganizationTypesMaster = mongoOrganizationTypesMaster;
@@ -24,7 +24,7 @@ const OrganizationTypesMasterSchema =
24
24
 
25
25
  const mongoOrganizationTypesMaster =
26
26
  mongoose.model<OrganizationTypesMasterDocument>(
27
- "OrganizationTypes.Master",
27
+ "OrganizationType.Master",
28
28
  OrganizationTypesMasterSchema
29
29
  );
30
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pristine-member-nest-api-database",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "Member nest API database",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {