@dynamatix/gb-schemas 1.2.9 → 1.2.12
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/applicants/applicant-commitment.model.d.ts +6 -6
- package/dist/applicants/applicant.model.d.ts +36 -36
- package/dist/applications/application-mortgage.model.d.ts +345 -237
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.js +196 -66
- package/dist/applications/application.model.d.ts +42 -42
- package/dist/applications/productfeatures.model.d.ts +3 -3
- package/dist/properties/property.model.d.ts +36 -30
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/property.model.js +3 -0
- package/dist/properties/security.model.d.ts +6 -0
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/properties/security.model.js +3 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
4
4
|
createdAt: NativeDate;
|
|
5
5
|
updatedAt: NativeDate;
|
|
6
6
|
} & {
|
|
7
|
+
applicationId?: unknown;
|
|
7
8
|
createdAt?: {
|
|
8
9
|
toJSON?: {} | null | undefined;
|
|
9
10
|
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
@@ -102,7 +103,11 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
102
103
|
addressLine2?: unknown;
|
|
103
104
|
addressLine3?: unknown;
|
|
104
105
|
city?: unknown;
|
|
105
|
-
|
|
106
|
+
propertyId?: unknown;
|
|
107
|
+
associatedLoanParties?: unknown;
|
|
108
|
+
countryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
109
|
+
lender?: unknown;
|
|
110
|
+
marketValue?: {
|
|
106
111
|
validators: mongoose.Types.DocumentArray<{
|
|
107
112
|
type?: unknown;
|
|
108
113
|
message?: unknown;
|
|
@@ -149,11 +154,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
149
154
|
validateAll?: {} | null | undefined;
|
|
150
155
|
defaultOptions?: unknown;
|
|
151
156
|
} | null | undefined;
|
|
152
|
-
|
|
153
|
-
associatedLoanParties?: unknown;
|
|
154
|
-
countryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
155
|
-
lender?: unknown;
|
|
156
|
-
marketValue?: {
|
|
157
|
+
monthlyRent?: {
|
|
157
158
|
validators: mongoose.Types.DocumentArray<{
|
|
158
159
|
type?: unknown;
|
|
159
160
|
message?: unknown;
|
|
@@ -200,7 +201,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
200
201
|
validateAll?: {} | null | undefined;
|
|
201
202
|
defaultOptions?: unknown;
|
|
202
203
|
} | null | undefined;
|
|
203
|
-
|
|
204
|
+
monthlyRepayment?: {
|
|
204
205
|
validators: mongoose.Types.DocumentArray<{
|
|
205
206
|
type?: unknown;
|
|
206
207
|
message?: unknown;
|
|
@@ -247,7 +248,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
247
248
|
validateAll?: {} | null | undefined;
|
|
248
249
|
defaultOptions?: unknown;
|
|
249
250
|
} | null | undefined;
|
|
250
|
-
|
|
251
|
+
originalLoanBalance?: {
|
|
251
252
|
validators: mongoose.Types.DocumentArray<{
|
|
252
253
|
type?: unknown;
|
|
253
254
|
message?: unknown;
|
|
@@ -294,7 +295,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
294
295
|
validateAll?: {} | null | undefined;
|
|
295
296
|
defaultOptions?: unknown;
|
|
296
297
|
} | null | undefined;
|
|
297
|
-
|
|
298
|
+
outstandingBalance?: {
|
|
298
299
|
validators: mongoose.Types.DocumentArray<{
|
|
299
300
|
type?: unknown;
|
|
300
301
|
message?: unknown;
|
|
@@ -348,6 +349,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
348
349
|
createdAt: NativeDate;
|
|
349
350
|
updatedAt: NativeDate;
|
|
350
351
|
} & {
|
|
352
|
+
applicationId?: unknown;
|
|
351
353
|
createdAt?: {
|
|
352
354
|
toJSON?: {} | null | undefined;
|
|
353
355
|
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
@@ -446,7 +448,11 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
446
448
|
addressLine2?: unknown;
|
|
447
449
|
addressLine3?: unknown;
|
|
448
450
|
city?: unknown;
|
|
449
|
-
|
|
451
|
+
propertyId?: unknown;
|
|
452
|
+
associatedLoanParties?: unknown;
|
|
453
|
+
countryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
454
|
+
lender?: unknown;
|
|
455
|
+
marketValue?: {
|
|
450
456
|
validators: mongoose.Types.DocumentArray<{
|
|
451
457
|
type?: unknown;
|
|
452
458
|
message?: unknown;
|
|
@@ -493,11 +499,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
493
499
|
validateAll?: {} | null | undefined;
|
|
494
500
|
defaultOptions?: unknown;
|
|
495
501
|
} | null | undefined;
|
|
496
|
-
|
|
497
|
-
associatedLoanParties?: unknown;
|
|
498
|
-
countryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
499
|
-
lender?: unknown;
|
|
500
|
-
marketValue?: {
|
|
502
|
+
monthlyRent?: {
|
|
501
503
|
validators: mongoose.Types.DocumentArray<{
|
|
502
504
|
type?: unknown;
|
|
503
505
|
message?: unknown;
|
|
@@ -544,7 +546,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
544
546
|
validateAll?: {} | null | undefined;
|
|
545
547
|
defaultOptions?: unknown;
|
|
546
548
|
} | null | undefined;
|
|
547
|
-
|
|
549
|
+
monthlyRepayment?: {
|
|
548
550
|
validators: mongoose.Types.DocumentArray<{
|
|
549
551
|
type?: unknown;
|
|
550
552
|
message?: unknown;
|
|
@@ -591,7 +593,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
591
593
|
validateAll?: {} | null | undefined;
|
|
592
594
|
defaultOptions?: unknown;
|
|
593
595
|
} | null | undefined;
|
|
594
|
-
|
|
596
|
+
originalLoanBalance?: {
|
|
595
597
|
validators: mongoose.Types.DocumentArray<{
|
|
596
598
|
type?: unknown;
|
|
597
599
|
message?: unknown;
|
|
@@ -638,7 +640,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
638
640
|
validateAll?: {} | null | undefined;
|
|
639
641
|
defaultOptions?: unknown;
|
|
640
642
|
} | null | undefined;
|
|
641
|
-
|
|
643
|
+
outstandingBalance?: {
|
|
642
644
|
validators: mongoose.Types.DocumentArray<{
|
|
643
645
|
type?: unknown;
|
|
644
646
|
message?: unknown;
|
|
@@ -692,6 +694,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
692
694
|
createdAt: NativeDate;
|
|
693
695
|
updatedAt: NativeDate;
|
|
694
696
|
} & {
|
|
697
|
+
applicationId?: unknown;
|
|
695
698
|
createdAt?: {
|
|
696
699
|
toJSON?: {} | null | undefined;
|
|
697
700
|
[Symbol.toPrimitive]?: {} | null | undefined;
|
|
@@ -790,7 +793,11 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
790
793
|
addressLine2?: unknown;
|
|
791
794
|
addressLine3?: unknown;
|
|
792
795
|
city?: unknown;
|
|
793
|
-
|
|
796
|
+
propertyId?: unknown;
|
|
797
|
+
associatedLoanParties?: unknown;
|
|
798
|
+
countryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
799
|
+
lender?: unknown;
|
|
800
|
+
marketValue?: {
|
|
794
801
|
validators: mongoose.Types.DocumentArray<{
|
|
795
802
|
type?: unknown;
|
|
796
803
|
message?: unknown;
|
|
@@ -837,11 +844,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
837
844
|
validateAll?: {} | null | undefined;
|
|
838
845
|
defaultOptions?: unknown;
|
|
839
846
|
} | null | undefined;
|
|
840
|
-
|
|
841
|
-
associatedLoanParties?: unknown;
|
|
842
|
-
countryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
843
|
-
lender?: unknown;
|
|
844
|
-
marketValue?: {
|
|
847
|
+
monthlyRent?: {
|
|
845
848
|
validators: mongoose.Types.DocumentArray<{
|
|
846
849
|
type?: unknown;
|
|
847
850
|
message?: unknown;
|
|
@@ -888,7 +891,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
888
891
|
validateAll?: {} | null | undefined;
|
|
889
892
|
defaultOptions?: unknown;
|
|
890
893
|
} | null | undefined;
|
|
891
|
-
|
|
894
|
+
monthlyRepayment?: {
|
|
892
895
|
validators: mongoose.Types.DocumentArray<{
|
|
893
896
|
type?: unknown;
|
|
894
897
|
message?: unknown;
|
|
@@ -935,7 +938,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
935
938
|
validateAll?: {} | null | undefined;
|
|
936
939
|
defaultOptions?: unknown;
|
|
937
940
|
} | null | undefined;
|
|
938
|
-
|
|
941
|
+
originalLoanBalance?: {
|
|
939
942
|
validators: mongoose.Types.DocumentArray<{
|
|
940
943
|
type?: unknown;
|
|
941
944
|
message?: unknown;
|
|
@@ -982,7 +985,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
982
985
|
validateAll?: {} | null | undefined;
|
|
983
986
|
defaultOptions?: unknown;
|
|
984
987
|
} | null | undefined;
|
|
985
|
-
|
|
988
|
+
outstandingBalance?: {
|
|
986
989
|
validators: mongoose.Types.DocumentArray<{
|
|
987
990
|
type?: unknown;
|
|
988
991
|
message?: unknown;
|
|
@@ -1049,7 +1052,6 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1049
1052
|
updatedAt: NativeDate;
|
|
1050
1053
|
} & {
|
|
1051
1054
|
addressLine1: string;
|
|
1052
|
-
outstandingBalance: Pound;
|
|
1053
1055
|
propertyId: string;
|
|
1054
1056
|
countryLid: mongoose.Types.ObjectId;
|
|
1055
1057
|
lender: string;
|
|
@@ -1057,8 +1059,10 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1057
1059
|
monthlyRent: Pound;
|
|
1058
1060
|
monthlyRepayment: Pound;
|
|
1059
1061
|
originalLoanBalance: Pound;
|
|
1062
|
+
outstandingBalance: Pound;
|
|
1060
1063
|
postcode: string;
|
|
1061
1064
|
remainingTerm: number;
|
|
1065
|
+
applicationId?: unknown;
|
|
1062
1066
|
addressLine2?: string | null | undefined;
|
|
1063
1067
|
addressLine3?: string | null | undefined;
|
|
1064
1068
|
city?: string | null | undefined;
|
|
@@ -1069,7 +1073,6 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1069
1073
|
updatedAt: NativeDate;
|
|
1070
1074
|
} & {
|
|
1071
1075
|
addressLine1: string;
|
|
1072
|
-
outstandingBalance: Pound;
|
|
1073
1076
|
propertyId: string;
|
|
1074
1077
|
countryLid: mongoose.Types.ObjectId;
|
|
1075
1078
|
lender: string;
|
|
@@ -1077,8 +1080,10 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1077
1080
|
monthlyRent: Pound;
|
|
1078
1081
|
monthlyRepayment: Pound;
|
|
1079
1082
|
originalLoanBalance: Pound;
|
|
1083
|
+
outstandingBalance: Pound;
|
|
1080
1084
|
postcode: string;
|
|
1081
1085
|
remainingTerm: number;
|
|
1086
|
+
applicationId?: unknown;
|
|
1082
1087
|
addressLine2?: string | null | undefined;
|
|
1083
1088
|
addressLine3?: string | null | undefined;
|
|
1084
1089
|
city?: string | null | undefined;
|
|
@@ -1089,7 +1094,6 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1089
1094
|
updatedAt: NativeDate;
|
|
1090
1095
|
} & {
|
|
1091
1096
|
addressLine1: string;
|
|
1092
|
-
outstandingBalance: Pound;
|
|
1093
1097
|
propertyId: string;
|
|
1094
1098
|
countryLid: mongoose.Types.ObjectId;
|
|
1095
1099
|
lender: string;
|
|
@@ -1097,8 +1101,10 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1097
1101
|
monthlyRent: Pound;
|
|
1098
1102
|
monthlyRepayment: Pound;
|
|
1099
1103
|
originalLoanBalance: Pound;
|
|
1104
|
+
outstandingBalance: Pound;
|
|
1100
1105
|
postcode: string;
|
|
1101
1106
|
remainingTerm: number;
|
|
1107
|
+
applicationId?: unknown;
|
|
1102
1108
|
addressLine2?: string | null | undefined;
|
|
1103
1109
|
addressLine3?: string | null | undefined;
|
|
1104
1110
|
city?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property.model.d.ts","sourceRoot":"","sources":["../../properties/property.model.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"property.model.d.ts","sourceRoot":"","sources":["../../properties/property.model.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAuH/C,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
2
|
import { Pound } from '../value-objects/pound';
|
|
3
3
|
const propertySchema = new mongoose.Schema({
|
|
4
|
+
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application",
|
|
5
|
+
description: "Unique identifier for the application",
|
|
6
|
+
required: true }, // not-form securityData
|
|
4
7
|
propertyId: {
|
|
5
8
|
type: String,
|
|
6
9
|
required: true,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
2
|
declare const SecurityModel: mongoose.Model<{
|
|
3
|
+
applicationId: any;
|
|
3
4
|
pageValidFlag: any;
|
|
4
5
|
haveAnyBuyToLetProperties: any;
|
|
5
6
|
isPropertyInEnglandOrWales: any;
|
|
@@ -43,6 +44,7 @@ declare const SecurityModel: mongoose.Model<{
|
|
|
43
44
|
energyEfficiencyRatingValue: any;
|
|
44
45
|
dataStreetSchema: any;
|
|
45
46
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
47
|
+
applicationId: any;
|
|
46
48
|
pageValidFlag: any;
|
|
47
49
|
haveAnyBuyToLetProperties: any;
|
|
48
50
|
isPropertyInEnglandOrWales: any;
|
|
@@ -86,6 +88,7 @@ declare const SecurityModel: mongoose.Model<{
|
|
|
86
88
|
energyEfficiencyRatingValue: any;
|
|
87
89
|
dataStreetSchema: any;
|
|
88
90
|
}> & {
|
|
91
|
+
applicationId: any;
|
|
89
92
|
pageValidFlag: any;
|
|
90
93
|
haveAnyBuyToLetProperties: any;
|
|
91
94
|
isPropertyInEnglandOrWales: any;
|
|
@@ -142,6 +145,7 @@ declare const SecurityModel: mongoose.Model<{
|
|
|
142
145
|
virtuals: true;
|
|
143
146
|
};
|
|
144
147
|
}, {
|
|
148
|
+
applicationId: any;
|
|
145
149
|
pageValidFlag: any;
|
|
146
150
|
haveAnyBuyToLetProperties: any;
|
|
147
151
|
isPropertyInEnglandOrWales: any;
|
|
@@ -185,6 +189,7 @@ declare const SecurityModel: mongoose.Model<{
|
|
|
185
189
|
energyEfficiencyRatingValue: any;
|
|
186
190
|
dataStreetSchema: any;
|
|
187
191
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
192
|
+
applicationId: any;
|
|
188
193
|
pageValidFlag: any;
|
|
189
194
|
haveAnyBuyToLetProperties: any;
|
|
190
195
|
isPropertyInEnglandOrWales: any;
|
|
@@ -228,6 +233,7 @@ declare const SecurityModel: mongoose.Model<{
|
|
|
228
233
|
energyEfficiencyRatingValue: any;
|
|
229
234
|
dataStreetSchema: any;
|
|
230
235
|
}>> & mongoose.FlatRecord<{
|
|
236
|
+
applicationId: any;
|
|
231
237
|
pageValidFlag: any;
|
|
232
238
|
haveAnyBuyToLetProperties: any;
|
|
233
239
|
isPropertyInEnglandOrWales: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security.model.d.ts","sourceRoot":"","sources":["../../properties/security.model.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"security.model.d.ts","sourceRoot":"","sources":["../../properties/security.model.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA2JhC,QAAA,MAAM,aAAa;mBAnGT,GAAG;mBAGJ,GAAG;+BAGH,GAAG;gCAGH,GAAG;4BAEgD,GAAG;8BACmB,GAAG;2BACN,GAAG;6BACD,GAAG;6BAG3E,GAAG;6BAGH,GAAG;yBAC8D,GAAG;qBAGpE,GAAG;gBAGH,GAAG;0BAC8D,GAAG;gBAGpE,GAAG;kBAKH,GAAG;qBAGH,GAAG;yBAC6D,GAAG;2BACD,GAAG;8BACA,GAAG;4BACL,GAAG;4BACH,GAAG;gCAGtE,GAAG;cAGH,GAAG;gBAGH,GAAG;yBAC6D,GAAG;+BAC8B,GAAG;0BACnB,GAAG;0BACnB,GAAG;0BACH,GAAG;6BACgB,GAAG;uBACE,GAAG;qBACrB,GAAG;uBACD,GAAG;0BAG5E,GAAG;8BACmF,GAAG;sBAC3B,GAAG;mBAKjE,GAAG;6BAC4E,GAAG;sBACrB,GAAG;4BACzB,GAAG;iCACE,GAAG;sBACd,GAAG;;mBA7EnC,GAAG;mBAGJ,GAAG;+BAGH,GAAG;gCAGH,GAAG;4BAEgD,GAAG;8BACmB,GAAG;2BACN,GAAG;6BACD,GAAG;6BAG3E,GAAG;6BAGH,GAAG;yBAC8D,GAAG;qBAGpE,GAAG;gBAGH,GAAG;0BAC8D,GAAG;gBAGpE,GAAG;kBAKH,GAAG;qBAGH,GAAG;yBAC6D,GAAG;2BACD,GAAG;8BACA,GAAG;4BACL,GAAG;4BACH,GAAG;gCAGtE,GAAG;cAGH,GAAG;gBAGH,GAAG;yBAC6D,GAAG;+BAC8B,GAAG;0BACnB,GAAG;0BACnB,GAAG;0BACH,GAAG;6BACgB,GAAG;uBACE,GAAG;qBACrB,GAAG;uBACD,GAAG;0BAG5E,GAAG;8BACmF,GAAG;sBAC3B,GAAG;mBAKjE,GAAG;6BAC4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ongoose.Schema({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
const securitySchema = new mongoose.Schema({
|
|
54
|
+
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true,
|
|
55
|
+
description: "Unique identifier for the application"
|
|
56
|
+
}, // not-form securityData
|
|
54
57
|
pageValidFlag: { type: Boolean, default: true,
|
|
55
58
|
get: (value) => (value ? "Yes" : "No"),
|
|
56
59
|
}, //form
|