@dynamatix/gb-schemas 1.0.12 → 1.1.0
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-direct-debit.model.d.ts +12 -42
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
- package/dist/applicants/applicant-direct-debit.model.js +5 -16
- package/dist/applicants/applicant.model.d.ts +24 -72
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.d.ts +108 -74
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.js +69 -15
- package/dist/shared/index.d.ts +2 -1
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +2 -1
- package/dist/shared/schema-doc.model.d.ts +48 -0
- package/dist/shared/schema-doc.model.d.ts.map +1 -0
- package/dist/shared/schema-doc.model.js +11 -0
- package/package.json +5 -4
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
2
|
declare const applicantDirectDebitSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
3
3
|
timestamps: true;
|
|
4
|
-
toJSON: {
|
|
5
|
-
virtuals: true;
|
|
6
|
-
};
|
|
7
|
-
toObject: {
|
|
8
|
-
virtuals: true;
|
|
9
|
-
};
|
|
10
4
|
}, {
|
|
11
5
|
createdAt: NativeDate;
|
|
12
6
|
updatedAt: NativeDate;
|
|
@@ -15,23 +9,15 @@ declare const applicantDirectDebitSchema: mongoose.Schema<any, mongoose.Model<an
|
|
|
15
9
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
16
10
|
addressLine1?: string | null | undefined;
|
|
17
11
|
addressLine2?: string | null | undefined;
|
|
18
|
-
accountNumber?:
|
|
19
|
-
applicants?: string | null | undefined;
|
|
12
|
+
accountNumber?: string | null | undefined;
|
|
20
13
|
branch?: string | null | undefined;
|
|
21
14
|
city?: string | null | undefined;
|
|
22
15
|
contactPostcode?: string | null | undefined;
|
|
23
16
|
institution?: string | null | undefined;
|
|
24
17
|
nameOfAccountHolder?: string | null | undefined;
|
|
25
|
-
sortCode?:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
cacheHexString?: unknown;
|
|
29
|
-
generate?: {} | null | undefined;
|
|
30
|
-
createFromTime?: {} | null | undefined;
|
|
31
|
-
createFromHexString?: {} | null | undefined;
|
|
32
|
-
createFromBase64?: {} | null | undefined;
|
|
33
|
-
isValid?: {} | null | undefined;
|
|
34
|
-
} | null | undefined;
|
|
18
|
+
sortCode?: string | null | undefined;
|
|
19
|
+
selectedPaymentDay?: string | null | undefined;
|
|
20
|
+
Applicants?: string | null | undefined;
|
|
35
21
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
36
22
|
createdAt: NativeDate;
|
|
37
23
|
updatedAt: NativeDate;
|
|
@@ -40,23 +26,15 @@ declare const applicantDirectDebitSchema: mongoose.Schema<any, mongoose.Model<an
|
|
|
40
26
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
41
27
|
addressLine1?: string | null | undefined;
|
|
42
28
|
addressLine2?: string | null | undefined;
|
|
43
|
-
accountNumber?:
|
|
44
|
-
applicants?: string | null | undefined;
|
|
29
|
+
accountNumber?: string | null | undefined;
|
|
45
30
|
branch?: string | null | undefined;
|
|
46
31
|
city?: string | null | undefined;
|
|
47
32
|
contactPostcode?: string | null | undefined;
|
|
48
33
|
institution?: string | null | undefined;
|
|
49
34
|
nameOfAccountHolder?: string | null | undefined;
|
|
50
|
-
sortCode?:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
cacheHexString?: unknown;
|
|
54
|
-
generate?: {} | null | undefined;
|
|
55
|
-
createFromTime?: {} | null | undefined;
|
|
56
|
-
createFromHexString?: {} | null | undefined;
|
|
57
|
-
createFromBase64?: {} | null | undefined;
|
|
58
|
-
isValid?: {} | null | undefined;
|
|
59
|
-
} | null | undefined;
|
|
35
|
+
sortCode?: string | null | undefined;
|
|
36
|
+
selectedPaymentDay?: string | null | undefined;
|
|
37
|
+
Applicants?: string | null | undefined;
|
|
60
38
|
}>> & mongoose.FlatRecord<{
|
|
61
39
|
createdAt: NativeDate;
|
|
62
40
|
updatedAt: NativeDate;
|
|
@@ -65,23 +43,15 @@ declare const applicantDirectDebitSchema: mongoose.Schema<any, mongoose.Model<an
|
|
|
65
43
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
66
44
|
addressLine1?: string | null | undefined;
|
|
67
45
|
addressLine2?: string | null | undefined;
|
|
68
|
-
accountNumber?:
|
|
69
|
-
applicants?: string | null | undefined;
|
|
46
|
+
accountNumber?: string | null | undefined;
|
|
70
47
|
branch?: string | null | undefined;
|
|
71
48
|
city?: string | null | undefined;
|
|
72
49
|
contactPostcode?: string | null | undefined;
|
|
73
50
|
institution?: string | null | undefined;
|
|
74
51
|
nameOfAccountHolder?: string | null | undefined;
|
|
75
|
-
sortCode?:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
cacheHexString?: unknown;
|
|
79
|
-
generate?: {} | null | undefined;
|
|
80
|
-
createFromTime?: {} | null | undefined;
|
|
81
|
-
createFromHexString?: {} | null | undefined;
|
|
82
|
-
createFromBase64?: {} | null | undefined;
|
|
83
|
-
isValid?: {} | null | undefined;
|
|
84
|
-
} | null | undefined;
|
|
52
|
+
sortCode?: string | null | undefined;
|
|
53
|
+
selectedPaymentDay?: string | null | undefined;
|
|
54
|
+
Applicants?: string | null | undefined;
|
|
85
55
|
}> & {
|
|
86
56
|
_id: mongoose.Types.ObjectId;
|
|
87
57
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-direct-debit.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-direct-debit.model.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"applicant-direct-debit.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-direct-debit.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcR,CAAC;AAEzB,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,28 +1,17 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
|
-
import { ObjectId } from 'mongodb';
|
|
3
2
|
const applicantDirectDebitSchema = new mongoose.Schema({
|
|
4
3
|
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: 'Application' },
|
|
5
|
-
accountNumber: { type:
|
|
4
|
+
accountNumber: { type: String },
|
|
6
5
|
addressLine1: { type: String },
|
|
7
6
|
addressLine2: { type: String },
|
|
8
|
-
|
|
7
|
+
Applicants: { type: String },
|
|
9
8
|
branch: { type: String },
|
|
10
9
|
city: { type: String },
|
|
11
10
|
contactPostcode: { type: String },
|
|
12
11
|
institution: { type: String },
|
|
13
12
|
isConfirmDeclaration: { type: String, default: false },
|
|
14
13
|
nameOfAccountHolder: { type: String },
|
|
15
|
-
|
|
16
|
-
sortCode: { type:
|
|
17
|
-
}, {
|
|
18
|
-
timestamps: true,
|
|
19
|
-
toJSON: { virtuals: true },
|
|
20
|
-
toObject: { virtuals: true }
|
|
21
|
-
});
|
|
14
|
+
selectedPaymentDay: { type: String },
|
|
15
|
+
sortCode: { type: String }
|
|
16
|
+
}, { timestamps: true });
|
|
22
17
|
export default applicantDirectDebitSchema;
|
|
23
|
-
applicantDirectDebitSchema.virtual('selectedPaymentDay', {
|
|
24
|
-
ref: 'Lookup',
|
|
25
|
-
localField: 'selectedPaymentDayLid',
|
|
26
|
-
foreignField: '_id',
|
|
27
|
-
justOne: true
|
|
28
|
-
});
|
|
@@ -222,23 +222,15 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
222
222
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
223
223
|
addressLine1?: string | null | undefined;
|
|
224
224
|
addressLine2?: string | null | undefined;
|
|
225
|
-
accountNumber?:
|
|
226
|
-
applicants?: string | null | undefined;
|
|
225
|
+
accountNumber?: string | null | undefined;
|
|
227
226
|
branch?: string | null | undefined;
|
|
228
227
|
city?: string | null | undefined;
|
|
229
228
|
contactPostcode?: string | null | undefined;
|
|
230
229
|
institution?: string | null | undefined;
|
|
231
230
|
nameOfAccountHolder?: string | null | undefined;
|
|
232
|
-
sortCode?:
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
cacheHexString?: unknown;
|
|
236
|
-
generate?: {} | null | undefined;
|
|
237
|
-
createFromTime?: {} | null | undefined;
|
|
238
|
-
createFromHexString?: {} | null | undefined;
|
|
239
|
-
createFromBase64?: {} | null | undefined;
|
|
240
|
-
isValid?: {} | null | undefined;
|
|
241
|
-
} | null | undefined;
|
|
231
|
+
sortCode?: string | null | undefined;
|
|
232
|
+
selectedPaymentDay?: string | null | undefined;
|
|
233
|
+
Applicants?: string | null | undefined;
|
|
242
234
|
}) | null | undefined;
|
|
243
235
|
income?: {
|
|
244
236
|
businessType: string;
|
|
@@ -513,23 +505,15 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
513
505
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
514
506
|
addressLine1?: string | null | undefined;
|
|
515
507
|
addressLine2?: string | null | undefined;
|
|
516
|
-
accountNumber?:
|
|
517
|
-
applicants?: string | null | undefined;
|
|
508
|
+
accountNumber?: string | null | undefined;
|
|
518
509
|
branch?: string | null | undefined;
|
|
519
510
|
city?: string | null | undefined;
|
|
520
511
|
contactPostcode?: string | null | undefined;
|
|
521
512
|
institution?: string | null | undefined;
|
|
522
513
|
nameOfAccountHolder?: string | null | undefined;
|
|
523
|
-
sortCode?:
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
cacheHexString?: unknown;
|
|
527
|
-
generate?: {} | null | undefined;
|
|
528
|
-
createFromTime?: {} | null | undefined;
|
|
529
|
-
createFromHexString?: {} | null | undefined;
|
|
530
|
-
createFromBase64?: {} | null | undefined;
|
|
531
|
-
isValid?: {} | null | undefined;
|
|
532
|
-
} | null | undefined;
|
|
514
|
+
sortCode?: string | null | undefined;
|
|
515
|
+
selectedPaymentDay?: string | null | undefined;
|
|
516
|
+
Applicants?: string | null | undefined;
|
|
533
517
|
}) | null | undefined;
|
|
534
518
|
income?: {
|
|
535
519
|
businessType: string;
|
|
@@ -804,23 +788,15 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
804
788
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
805
789
|
addressLine1?: string | null | undefined;
|
|
806
790
|
addressLine2?: string | null | undefined;
|
|
807
|
-
accountNumber?:
|
|
808
|
-
applicants?: string | null | undefined;
|
|
791
|
+
accountNumber?: string | null | undefined;
|
|
809
792
|
branch?: string | null | undefined;
|
|
810
793
|
city?: string | null | undefined;
|
|
811
794
|
contactPostcode?: string | null | undefined;
|
|
812
795
|
institution?: string | null | undefined;
|
|
813
796
|
nameOfAccountHolder?: string | null | undefined;
|
|
814
|
-
sortCode?:
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
cacheHexString?: unknown;
|
|
818
|
-
generate?: {} | null | undefined;
|
|
819
|
-
createFromTime?: {} | null | undefined;
|
|
820
|
-
createFromHexString?: {} | null | undefined;
|
|
821
|
-
createFromBase64?: {} | null | undefined;
|
|
822
|
-
isValid?: {} | null | undefined;
|
|
823
|
-
} | null | undefined;
|
|
797
|
+
sortCode?: string | null | undefined;
|
|
798
|
+
selectedPaymentDay?: string | null | undefined;
|
|
799
|
+
Applicants?: string | null | undefined;
|
|
824
800
|
}) | null | undefined;
|
|
825
801
|
income?: {
|
|
826
802
|
businessType: string;
|
|
@@ -1107,23 +1083,15 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
1107
1083
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
1108
1084
|
addressLine1?: string | null | undefined;
|
|
1109
1085
|
addressLine2?: string | null | undefined;
|
|
1110
|
-
accountNumber?:
|
|
1111
|
-
applicants?: string | null | undefined;
|
|
1086
|
+
accountNumber?: string | null | undefined;
|
|
1112
1087
|
branch?: string | null | undefined;
|
|
1113
1088
|
city?: string | null | undefined;
|
|
1114
1089
|
contactPostcode?: string | null | undefined;
|
|
1115
1090
|
institution?: string | null | undefined;
|
|
1116
1091
|
nameOfAccountHolder?: string | null | undefined;
|
|
1117
|
-
sortCode?:
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
cacheHexString?: unknown;
|
|
1121
|
-
generate?: {} | null | undefined;
|
|
1122
|
-
createFromTime?: {} | null | undefined;
|
|
1123
|
-
createFromHexString?: {} | null | undefined;
|
|
1124
|
-
createFromBase64?: {} | null | undefined;
|
|
1125
|
-
isValid?: {} | null | undefined;
|
|
1126
|
-
} | null | undefined;
|
|
1092
|
+
sortCode?: string | null | undefined;
|
|
1093
|
+
selectedPaymentDay?: string | null | undefined;
|
|
1094
|
+
Applicants?: string | null | undefined;
|
|
1127
1095
|
}) | null | undefined;
|
|
1128
1096
|
income?: {
|
|
1129
1097
|
businessType: string;
|
|
@@ -1398,23 +1366,15 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
1398
1366
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
1399
1367
|
addressLine1?: string | null | undefined;
|
|
1400
1368
|
addressLine2?: string | null | undefined;
|
|
1401
|
-
accountNumber?:
|
|
1402
|
-
applicants?: string | null | undefined;
|
|
1369
|
+
accountNumber?: string | null | undefined;
|
|
1403
1370
|
branch?: string | null | undefined;
|
|
1404
1371
|
city?: string | null | undefined;
|
|
1405
1372
|
contactPostcode?: string | null | undefined;
|
|
1406
1373
|
institution?: string | null | undefined;
|
|
1407
1374
|
nameOfAccountHolder?: string | null | undefined;
|
|
1408
|
-
sortCode?:
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
cacheHexString?: unknown;
|
|
1412
|
-
generate?: {} | null | undefined;
|
|
1413
|
-
createFromTime?: {} | null | undefined;
|
|
1414
|
-
createFromHexString?: {} | null | undefined;
|
|
1415
|
-
createFromBase64?: {} | null | undefined;
|
|
1416
|
-
isValid?: {} | null | undefined;
|
|
1417
|
-
} | null | undefined;
|
|
1375
|
+
sortCode?: string | null | undefined;
|
|
1376
|
+
selectedPaymentDay?: string | null | undefined;
|
|
1377
|
+
Applicants?: string | null | undefined;
|
|
1418
1378
|
}) | null | undefined;
|
|
1419
1379
|
income?: {
|
|
1420
1380
|
businessType: string;
|
|
@@ -1689,23 +1649,15 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
1689
1649
|
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
1690
1650
|
addressLine1?: string | null | undefined;
|
|
1691
1651
|
addressLine2?: string | null | undefined;
|
|
1692
|
-
accountNumber?:
|
|
1693
|
-
applicants?: string | null | undefined;
|
|
1652
|
+
accountNumber?: string | null | undefined;
|
|
1694
1653
|
branch?: string | null | undefined;
|
|
1695
1654
|
city?: string | null | undefined;
|
|
1696
1655
|
contactPostcode?: string | null | undefined;
|
|
1697
1656
|
institution?: string | null | undefined;
|
|
1698
1657
|
nameOfAccountHolder?: string | null | undefined;
|
|
1699
|
-
sortCode?:
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
cacheHexString?: unknown;
|
|
1703
|
-
generate?: {} | null | undefined;
|
|
1704
|
-
createFromTime?: {} | null | undefined;
|
|
1705
|
-
createFromHexString?: {} | null | undefined;
|
|
1706
|
-
createFromBase64?: {} | null | undefined;
|
|
1707
|
-
isValid?: {} | null | undefined;
|
|
1708
|
-
} | null | undefined;
|
|
1658
|
+
sortCode?: string | null | undefined;
|
|
1659
|
+
selectedPaymentDay?: string | null | undefined;
|
|
1660
|
+
Applicants?: string | null | undefined;
|
|
1709
1661
|
}) | null | undefined;
|
|
1710
1662
|
income?: {
|
|
1711
1663
|
businessType: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAiKhC,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAiKhC,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
|
|
@@ -1,86 +1,120 @@
|
|
|
1
|
-
import mongoose from
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
2
|
declare const ApplicationDirectDebitModel: mongoose.Model<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
createdAt: NativeDate;
|
|
4
|
+
updatedAt: NativeDate;
|
|
5
|
+
} & {
|
|
6
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
7
|
+
addressLine1?: string | null | undefined;
|
|
8
|
+
addressLine2?: string | null | undefined;
|
|
9
|
+
accountNumber?: number | null | undefined;
|
|
10
|
+
applicants?: string | null | undefined;
|
|
11
|
+
branch?: string | null | undefined;
|
|
12
|
+
city?: string | null | undefined;
|
|
13
|
+
contactPostcode?: string | null | undefined;
|
|
14
|
+
institution?: string | null | undefined;
|
|
15
|
+
isConfirmDeclaration?: boolean | null | undefined;
|
|
16
|
+
nameOfAccountHolder?: string | null | undefined;
|
|
17
|
+
selectedPaymentDayLid?: mongoose.Types.ObjectId | null | undefined;
|
|
18
|
+
sortCode?: mongoose.Schema.Types.SortCode | null | undefined;
|
|
15
19
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
createdAt: NativeDate;
|
|
21
|
+
updatedAt: NativeDate;
|
|
22
|
+
} & {
|
|
23
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
24
|
+
addressLine1?: string | null | undefined;
|
|
25
|
+
addressLine2?: string | null | undefined;
|
|
26
|
+
accountNumber?: number | null | undefined;
|
|
27
|
+
applicants?: string | null | undefined;
|
|
28
|
+
branch?: string | null | undefined;
|
|
29
|
+
city?: string | null | undefined;
|
|
30
|
+
contactPostcode?: string | null | undefined;
|
|
31
|
+
institution?: string | null | undefined;
|
|
32
|
+
isConfirmDeclaration?: boolean | null | undefined;
|
|
33
|
+
nameOfAccountHolder?: string | null | undefined;
|
|
34
|
+
selectedPaymentDayLid?: mongoose.Types.ObjectId | null | undefined;
|
|
35
|
+
sortCode?: mongoose.Schema.Types.SortCode | null | undefined;
|
|
28
36
|
}> & {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
createdAt: NativeDate;
|
|
38
|
+
updatedAt: NativeDate;
|
|
39
|
+
} & {
|
|
40
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
41
|
+
addressLine1?: string | null | undefined;
|
|
42
|
+
addressLine2?: string | null | undefined;
|
|
43
|
+
accountNumber?: number | null | undefined;
|
|
44
|
+
applicants?: string | null | undefined;
|
|
45
|
+
branch?: string | null | undefined;
|
|
46
|
+
city?: string | null | undefined;
|
|
47
|
+
contactPostcode?: string | null | undefined;
|
|
48
|
+
institution?: string | null | undefined;
|
|
49
|
+
isConfirmDeclaration?: boolean | null | undefined;
|
|
50
|
+
nameOfAccountHolder?: string | null | undefined;
|
|
51
|
+
selectedPaymentDayLid?: mongoose.Types.ObjectId | null | undefined;
|
|
52
|
+
sortCode?: mongoose.Schema.Types.SortCode | null | undefined;
|
|
41
53
|
} & {
|
|
42
54
|
_id: mongoose.Types.ObjectId;
|
|
43
55
|
} & {
|
|
44
56
|
__v: number;
|
|
45
|
-
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
58
|
+
timestamps: true;
|
|
59
|
+
toJSON: {
|
|
60
|
+
virtuals: true;
|
|
61
|
+
getters: true;
|
|
62
|
+
};
|
|
63
|
+
toObject: {
|
|
64
|
+
virtuals: true;
|
|
65
|
+
getters: true;
|
|
66
|
+
};
|
|
67
|
+
}, {
|
|
68
|
+
createdAt: NativeDate;
|
|
69
|
+
updatedAt: NativeDate;
|
|
70
|
+
} & {
|
|
71
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
72
|
+
addressLine1?: string | null | undefined;
|
|
73
|
+
addressLine2?: string | null | undefined;
|
|
74
|
+
accountNumber?: number | null | undefined;
|
|
75
|
+
applicants?: string | null | undefined;
|
|
76
|
+
branch?: string | null | undefined;
|
|
77
|
+
city?: string | null | undefined;
|
|
78
|
+
contactPostcode?: string | null | undefined;
|
|
79
|
+
institution?: string | null | undefined;
|
|
80
|
+
isConfirmDeclaration?: boolean | null | undefined;
|
|
81
|
+
nameOfAccountHolder?: string | null | undefined;
|
|
82
|
+
selectedPaymentDayLid?: mongoose.Types.ObjectId | null | undefined;
|
|
83
|
+
sortCode?: mongoose.Schema.Types.SortCode | null | undefined;
|
|
58
84
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
85
|
+
createdAt: NativeDate;
|
|
86
|
+
updatedAt: NativeDate;
|
|
87
|
+
} & {
|
|
88
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
89
|
+
addressLine1?: string | null | undefined;
|
|
90
|
+
addressLine2?: string | null | undefined;
|
|
91
|
+
accountNumber?: number | null | undefined;
|
|
92
|
+
applicants?: string | null | undefined;
|
|
93
|
+
branch?: string | null | undefined;
|
|
94
|
+
city?: string | null | undefined;
|
|
95
|
+
contactPostcode?: string | null | undefined;
|
|
96
|
+
institution?: string | null | undefined;
|
|
97
|
+
isConfirmDeclaration?: boolean | null | undefined;
|
|
98
|
+
nameOfAccountHolder?: string | null | undefined;
|
|
99
|
+
selectedPaymentDayLid?: mongoose.Types.ObjectId | null | undefined;
|
|
100
|
+
sortCode?: mongoose.Schema.Types.SortCode | null | undefined;
|
|
71
101
|
}>> & mongoose.FlatRecord<{
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
102
|
+
createdAt: NativeDate;
|
|
103
|
+
updatedAt: NativeDate;
|
|
104
|
+
} & {
|
|
105
|
+
applicationId?: mongoose.Types.ObjectId | null | undefined;
|
|
106
|
+
addressLine1?: string | null | undefined;
|
|
107
|
+
addressLine2?: string | null | undefined;
|
|
108
|
+
accountNumber?: number | null | undefined;
|
|
109
|
+
applicants?: string | null | undefined;
|
|
110
|
+
branch?: string | null | undefined;
|
|
111
|
+
city?: string | null | undefined;
|
|
112
|
+
contactPostcode?: string | null | undefined;
|
|
113
|
+
institution?: string | null | undefined;
|
|
114
|
+
isConfirmDeclaration?: boolean | null | undefined;
|
|
115
|
+
nameOfAccountHolder?: string | null | undefined;
|
|
116
|
+
selectedPaymentDayLid?: mongoose.Types.ObjectId | null | undefined;
|
|
117
|
+
sortCode?: mongoose.Schema.Types.SortCode | null | undefined;
|
|
84
118
|
}> & {
|
|
85
119
|
_id: mongoose.Types.ObjectId;
|
|
86
120
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-direct-debit.model.d.ts","sourceRoot":"","sources":["../../applications/application-direct-debit.model.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"application-direct-debit.model.d.ts","sourceRoot":"","sources":["../../applications/application-direct-debit.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAmB,MAAM,UAAU,CAAC;AAgF3C,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyE,CAAC;AAC3G,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,17 +1,71 @@
|
|
|
1
|
-
import mongoose from
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
const applicationDirectDebitSchema = new mongoose.Schema({
|
|
3
|
+
applicationId: {
|
|
4
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
5
|
+
ref: 'Application',
|
|
6
|
+
description: 'Reference to the application this direct debit belongs to',
|
|
7
|
+
},
|
|
8
|
+
accountNumber: {
|
|
9
|
+
type: Number,
|
|
10
|
+
description: 'Bank account number of the applicant',
|
|
11
|
+
},
|
|
12
|
+
addressLine1: {
|
|
13
|
+
type: String,
|
|
14
|
+
description: 'First line of the applicant’s address',
|
|
15
|
+
},
|
|
16
|
+
addressLine2: {
|
|
17
|
+
type: String,
|
|
18
|
+
description: 'Second line of the applicant’s address',
|
|
19
|
+
},
|
|
20
|
+
applicants: {
|
|
21
|
+
type: String,
|
|
22
|
+
description: 'Name(s) of the applicant(s)',
|
|
23
|
+
},
|
|
24
|
+
branch: {
|
|
25
|
+
type: String,
|
|
26
|
+
description: 'Branch name or code of the bank',
|
|
27
|
+
},
|
|
28
|
+
city: {
|
|
29
|
+
type: String,
|
|
30
|
+
description: 'City of the applicant’s address',
|
|
31
|
+
},
|
|
32
|
+
contactPostcode: {
|
|
33
|
+
type: String,
|
|
34
|
+
description: 'Postcode for correspondence',
|
|
35
|
+
},
|
|
36
|
+
institution: {
|
|
37
|
+
type: String,
|
|
38
|
+
description: 'Name of the financial institution',
|
|
39
|
+
},
|
|
40
|
+
isConfirmDeclaration: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
description: 'Whether the applicant has confirmed the declaration',
|
|
43
|
+
get: (value) => value ? 'Yes' : 'No',
|
|
44
|
+
},
|
|
45
|
+
nameOfAccountHolder: {
|
|
46
|
+
type: String,
|
|
47
|
+
description: 'Full name of the bank account holder',
|
|
48
|
+
},
|
|
49
|
+
selectedPaymentDayLid: {
|
|
50
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
51
|
+
ref: 'Lookup',
|
|
52
|
+
description: 'Lookup reference for selected payment day',
|
|
53
|
+
},
|
|
54
|
+
sortCode: {
|
|
55
|
+
type: mongoose.Schema.Types.SortCode,
|
|
56
|
+
description: 'UK bank sort code in XX-XX-XX format',
|
|
57
|
+
},
|
|
58
|
+
}, {
|
|
59
|
+
timestamps: true,
|
|
60
|
+
toJSON: { virtuals: true, getters: true },
|
|
61
|
+
toObject: { virtuals: true, getters: true }
|
|
15
62
|
});
|
|
16
|
-
const
|
|
63
|
+
const virtual = applicationDirectDebitSchema.virtual('selectedPaymentDay', {
|
|
64
|
+
ref: 'Lookup',
|
|
65
|
+
localField: 'selectedPaymentDayLid',
|
|
66
|
+
foreignField: '_id',
|
|
67
|
+
justOne: true
|
|
68
|
+
});
|
|
69
|
+
virtual.description = 'Populated lookup value for the selected payment day';
|
|
70
|
+
const ApplicationDirectDebitModel = mongoose.model("ApplicationDirectDebit", applicationDirectDebitSchema);
|
|
17
71
|
export default ApplicationDirectDebitModel;
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -8,5 +8,6 @@ export { default as TaskModel } from './task.model';
|
|
|
8
8
|
export { default as ApprivoSyncJourneyModel } from './apprivo-sync-journey.model';
|
|
9
9
|
export { default as JobRunModel } from './job-run.model';
|
|
10
10
|
export { default as TaskDocumentTypeModel } from './task-document.model';
|
|
11
|
-
export { default as DocumentTypeModel } from './document-type-model
|
|
11
|
+
export { default as DocumentTypeModel } from './document-type-model';
|
|
12
|
+
export { default as SchemaDocModel } from './schema-doc.model';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../shared/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAC,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAC,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../shared/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAC,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAC,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/shared/index.js
CHANGED
|
@@ -8,4 +8,5 @@ export { default as TaskModel } from './task.model';
|
|
|
8
8
|
export { default as ApprivoSyncJourneyModel } from './apprivo-sync-journey.model';
|
|
9
9
|
export { default as JobRunModel } from './job-run.model';
|
|
10
10
|
export { default as TaskDocumentTypeModel } from './task-document.model';
|
|
11
|
-
export { default as DocumentTypeModel } from './document-type-model
|
|
11
|
+
export { default as DocumentTypeModel } from './document-type-model';
|
|
12
|
+
export { default as SchemaDocModel } from './schema-doc.model';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Schema } from 'mongoose';
|
|
2
|
+
declare const SchemaDocModel: import("mongoose").Model<{
|
|
3
|
+
type?: string | null | undefined;
|
|
4
|
+
schemaName?: string | null | undefined;
|
|
5
|
+
description?: string | null | undefined;
|
|
6
|
+
field?: string | null | undefined;
|
|
7
|
+
isVirtual?: boolean | null | undefined;
|
|
8
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, {
|
|
9
|
+
type?: string | null | undefined;
|
|
10
|
+
schemaName?: string | null | undefined;
|
|
11
|
+
description?: string | null | undefined;
|
|
12
|
+
field?: string | null | undefined;
|
|
13
|
+
isVirtual?: boolean | null | undefined;
|
|
14
|
+
}> & {
|
|
15
|
+
type?: string | null | undefined;
|
|
16
|
+
schemaName?: string | null | undefined;
|
|
17
|
+
description?: string | null | undefined;
|
|
18
|
+
field?: string | null | undefined;
|
|
19
|
+
isVirtual?: boolean | null | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
_id: import("mongoose").Types.ObjectId;
|
|
22
|
+
} & {
|
|
23
|
+
__v: number;
|
|
24
|
+
}, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
25
|
+
type?: string | null | undefined;
|
|
26
|
+
schemaName?: string | null | undefined;
|
|
27
|
+
description?: string | null | undefined;
|
|
28
|
+
field?: string | null | undefined;
|
|
29
|
+
isVirtual?: boolean | null | undefined;
|
|
30
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
31
|
+
type?: string | null | undefined;
|
|
32
|
+
schemaName?: string | null | undefined;
|
|
33
|
+
description?: string | null | undefined;
|
|
34
|
+
field?: string | null | undefined;
|
|
35
|
+
isVirtual?: boolean | null | undefined;
|
|
36
|
+
}>> & import("mongoose").FlatRecord<{
|
|
37
|
+
type?: string | null | undefined;
|
|
38
|
+
schemaName?: string | null | undefined;
|
|
39
|
+
description?: string | null | undefined;
|
|
40
|
+
field?: string | null | undefined;
|
|
41
|
+
isVirtual?: boolean | null | undefined;
|
|
42
|
+
}> & {
|
|
43
|
+
_id: import("mongoose").Types.ObjectId;
|
|
44
|
+
} & {
|
|
45
|
+
__v: number;
|
|
46
|
+
}>>;
|
|
47
|
+
export default SchemaDocModel;
|
|
48
|
+
//# sourceMappingURL=schema-doc.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-doc.model.d.ts","sourceRoot":"","sources":["../../shared/schema-doc.model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAS,MAAM,UAAU,CAAC;AAWzC,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsC,CAAC;AAE3D,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Schema, model } from 'mongoose';
|
|
2
|
+
// Schema to store documentation
|
|
3
|
+
const schemaDocSchema = new Schema({
|
|
4
|
+
schemaName: String,
|
|
5
|
+
field: String,
|
|
6
|
+
type: String,
|
|
7
|
+
description: String,
|
|
8
|
+
isVirtual: Boolean
|
|
9
|
+
});
|
|
10
|
+
const SchemaDocModel = model('SchemaDoc', schemaDocSchema);
|
|
11
|
+
export default SchemaDocModel;
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamatix/gb-schemas",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "All the schemas for gatehouse bank back-end",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "tsc",
|
|
10
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
11
|
+
"generate-docs": "NODE_OPTIONS='--loader ts-node/esm' ts-node schema-docs/docs.seeder.ts"
|
|
11
12
|
},
|
|
12
13
|
"repository": {
|
|
13
14
|
"type": "git",
|
|
@@ -21,8 +22,7 @@
|
|
|
21
22
|
"homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
|
|
22
23
|
"dependencies": {
|
|
23
24
|
"mongodb": "^6.14.2",
|
|
24
|
-
"mongoose": "^8.9.5"
|
|
25
|
-
"ts-node": "^10.9.2"
|
|
25
|
+
"mongoose": "^8.9.5"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"dist"
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/mongoose": "^5.11.96",
|
|
66
66
|
"@types/node": "^22.13.14",
|
|
67
|
+
"ts-node": "^10.9.2",
|
|
67
68
|
"typescript": "^5.8.2"
|
|
68
69
|
}
|
|
69
70
|
}
|