pristine-member-nest-api-database 1.0.82 → 1.0.83

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.
@@ -56,7 +56,7 @@ const ApplicationSchemSchema = new mongoose_1.Schema({
56
56
  {
57
57
  fieldId: {
58
58
  type: mongoose_1.Schema.Types.ObjectId,
59
- ref: "Field.Categories", // (optional: should be Field.Master probably)
59
+ ref: "Editor.Fields.Master",
60
60
  required: true,
61
61
  },
62
62
  fieldSequence: {
@@ -84,7 +84,7 @@ const ApplicationSchemSchema = new mongoose_1.Schema({
84
84
  organizationApplicationEnabled: { type: Boolean, default: true },
85
85
  SLITOptionEnabled: { type: Boolean, default: true },
86
86
  OtherInfoEnabled: { type: Boolean, default: true },
87
- createdDate: { type: Date, default: null },
87
+ createdDate: { type: Date, default: Date.now },
88
88
  isActive: { type: Boolean, default: true },
89
89
  audit: [
90
90
  {
@@ -63,7 +63,7 @@ const ApplicationSchemSchema = new Schema<IApplicationDocument>({
63
63
  {
64
64
  fieldId: {
65
65
  type: Schema.Types.ObjectId,
66
- ref: "Field.Categories", // (optional: should be Field.Master probably)
66
+ ref: "Editor.Fields.Master",
67
67
  required: true,
68
68
  },
69
69
 
@@ -94,7 +94,7 @@ const ApplicationSchemSchema = new Schema<IApplicationDocument>({
94
94
  organizationApplicationEnabled: { type: Boolean, default: true },
95
95
  SLITOptionEnabled: { type: Boolean, default: true },
96
96
  OtherInfoEnabled: { type: Boolean, default: true },
97
- createdDate: { type: Date, default: null },
97
+ createdDate: { type: Date, default: Date.now },
98
98
  isActive: { type: Boolean, default: true },
99
99
  audit: [
100
100
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pristine-member-nest-api-database",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "description": "application verification database changes with gs1 branch. not tested. ",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {