@dynamatix/gb-schemas 1.3.267 → 1.3.269
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.
|
@@ -35,8 +35,8 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
35
35
|
createdOn: string;
|
|
36
36
|
additionalData: {
|
|
37
37
|
statusLid: mongoose.Types.ObjectId;
|
|
38
|
-
requesterId:
|
|
39
|
-
responderId:
|
|
38
|
+
requesterId: mongoose.Types.ObjectId;
|
|
39
|
+
responderId: mongoose.Types.ObjectId;
|
|
40
40
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
41
41
|
concernComments: string;
|
|
42
42
|
resolvedComments: string;
|
|
@@ -62,8 +62,8 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
62
62
|
createdOn: string;
|
|
63
63
|
additionalData: {
|
|
64
64
|
statusLid: mongoose.Types.ObjectId;
|
|
65
|
-
requesterId:
|
|
66
|
-
responderId:
|
|
65
|
+
requesterId: mongoose.Types.ObjectId;
|
|
66
|
+
responderId: mongoose.Types.ObjectId;
|
|
67
67
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
68
68
|
concernComments: string;
|
|
69
69
|
resolvedComments: string;
|
|
@@ -89,8 +89,8 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
89
89
|
createdOn: string;
|
|
90
90
|
additionalData: {
|
|
91
91
|
statusLid: mongoose.Types.ObjectId;
|
|
92
|
-
requesterId:
|
|
93
|
-
responderId:
|
|
92
|
+
requesterId: mongoose.Types.ObjectId;
|
|
93
|
+
responderId: mongoose.Types.ObjectId;
|
|
94
94
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
95
95
|
concernComments: string;
|
|
96
96
|
resolvedComments: string;
|
|
@@ -122,8 +122,8 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
122
122
|
createdOn: string;
|
|
123
123
|
additionalData: {
|
|
124
124
|
statusLid: mongoose.Types.ObjectId;
|
|
125
|
-
requesterId:
|
|
126
|
-
responderId:
|
|
125
|
+
requesterId: mongoose.Types.ObjectId;
|
|
126
|
+
responderId: mongoose.Types.ObjectId;
|
|
127
127
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
128
128
|
concernComments: string;
|
|
129
129
|
resolvedComments: string;
|
|
@@ -149,8 +149,8 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
149
149
|
createdOn: string;
|
|
150
150
|
additionalData: {
|
|
151
151
|
statusLid: mongoose.Types.ObjectId;
|
|
152
|
-
requesterId:
|
|
153
|
-
responderId:
|
|
152
|
+
requesterId: mongoose.Types.ObjectId;
|
|
153
|
+
responderId: mongoose.Types.ObjectId;
|
|
154
154
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
155
155
|
concernComments: string;
|
|
156
156
|
resolvedComments: string;
|
|
@@ -176,8 +176,8 @@ declare const ApplicationsTaskModel: mongoose.Model<{
|
|
|
176
176
|
createdOn: string;
|
|
177
177
|
additionalData: {
|
|
178
178
|
statusLid: mongoose.Types.ObjectId;
|
|
179
|
-
requesterId:
|
|
180
|
-
responderId:
|
|
179
|
+
requesterId: mongoose.Types.ObjectId;
|
|
180
|
+
responderId: mongoose.Types.ObjectId;
|
|
181
181
|
concernTypeLid: mongoose.Types.ObjectId;
|
|
182
182
|
concernComments: string;
|
|
183
183
|
resolvedComments: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
2
|
// Additional Data schema for the nested object
|
|
3
3
|
const additionalDataSchema = new mongoose.Schema({
|
|
4
|
-
requesterId: { type:
|
|
5
|
-
responderId: { type:
|
|
4
|
+
requesterId: { type: mongoose.Schema.Types.ObjectId, ref: "User", required: true },
|
|
5
|
+
responderId: { type: mongoose.Schema.Types.ObjectId, ref: "User", required: true },
|
|
6
6
|
statusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Status", required: true },
|
|
7
7
|
concernTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "ConcernType", required: true },
|
|
8
8
|
concernComments: { type: String, required: true },
|