@dynamatix/gb-schemas 2.9.0 → 2.11.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/applications/application-valuation.model.d.ts +159 -0
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.js +3 -0
- package/dist/shared/lookup-group.model.d.ts +21 -1
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.js +2 -2
- package/dist/shared/lookup.model.d.ts +21 -1
- package/dist/shared/lookup.model.d.ts.map +1 -1
- package/dist/shared/lookup.model.js +1 -1
- package/package.json +1 -1
|
@@ -312,6 +312,56 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
312
312
|
ReportObservations?: unknown;
|
|
313
313
|
AlternateNumber?: unknown;
|
|
314
314
|
numberOfKitchen?: unknown;
|
|
315
|
+
DateofInspection?: unknown;
|
|
316
|
+
DateOfApplicationRaised?: unknown;
|
|
317
|
+
PropertyActualValue?: {
|
|
318
|
+
validators: mongoose.Types.DocumentArray<{
|
|
319
|
+
type?: unknown;
|
|
320
|
+
message?: unknown;
|
|
321
|
+
validator?: unknown;
|
|
322
|
+
reason?: unknown;
|
|
323
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
324
|
+
type?: unknown;
|
|
325
|
+
message?: unknown;
|
|
326
|
+
validator?: unknown;
|
|
327
|
+
reason?: unknown;
|
|
328
|
+
}> & {
|
|
329
|
+
type?: unknown;
|
|
330
|
+
message?: unknown;
|
|
331
|
+
validator?: unknown;
|
|
332
|
+
reason?: unknown;
|
|
333
|
+
}>;
|
|
334
|
+
get?: {} | null | undefined;
|
|
335
|
+
schema?: {
|
|
336
|
+
[x: string]: unknown;
|
|
337
|
+
} | null | undefined;
|
|
338
|
+
set?: {} | null | undefined;
|
|
339
|
+
validate?: {} | null | undefined;
|
|
340
|
+
index?: {} | null | undefined;
|
|
341
|
+
default?: {} | null | undefined;
|
|
342
|
+
text?: {} | null | undefined;
|
|
343
|
+
unique?: {} | null | undefined;
|
|
344
|
+
sparse?: {} | null | undefined;
|
|
345
|
+
cast?: {} | null | undefined;
|
|
346
|
+
required?: {} | null | undefined;
|
|
347
|
+
ref?: {} | null | undefined;
|
|
348
|
+
select?: {} | null | undefined;
|
|
349
|
+
immutable?: {} | null | undefined;
|
|
350
|
+
transform?: {} | null | undefined;
|
|
351
|
+
options?: {
|
|
352
|
+
[x: string]: unknown;
|
|
353
|
+
} | null | undefined;
|
|
354
|
+
OptionsConstructor?: {
|
|
355
|
+
[x: string]: unknown;
|
|
356
|
+
} | null | undefined;
|
|
357
|
+
getEmbeddedSchemaType?: {} | null | undefined;
|
|
358
|
+
instance?: unknown;
|
|
359
|
+
isRequired?: unknown;
|
|
360
|
+
path?: unknown;
|
|
361
|
+
toJSONSchema?: {} | null | undefined;
|
|
362
|
+
validateAll?: {} | null | undefined;
|
|
363
|
+
defaultOptions?: unknown;
|
|
364
|
+
} | null | undefined;
|
|
315
365
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
316
366
|
IndustryAoundProperty: mongoose.Types.ObjectId[];
|
|
317
367
|
version?: unknown;
|
|
@@ -596,6 +646,56 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
596
646
|
ReportObservations?: unknown;
|
|
597
647
|
AlternateNumber?: unknown;
|
|
598
648
|
numberOfKitchen?: unknown;
|
|
649
|
+
DateofInspection?: unknown;
|
|
650
|
+
DateOfApplicationRaised?: unknown;
|
|
651
|
+
PropertyActualValue?: {
|
|
652
|
+
validators: mongoose.Types.DocumentArray<{
|
|
653
|
+
type?: unknown;
|
|
654
|
+
message?: unknown;
|
|
655
|
+
validator?: unknown;
|
|
656
|
+
reason?: unknown;
|
|
657
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
658
|
+
type?: unknown;
|
|
659
|
+
message?: unknown;
|
|
660
|
+
validator?: unknown;
|
|
661
|
+
reason?: unknown;
|
|
662
|
+
}> & {
|
|
663
|
+
type?: unknown;
|
|
664
|
+
message?: unknown;
|
|
665
|
+
validator?: unknown;
|
|
666
|
+
reason?: unknown;
|
|
667
|
+
}>;
|
|
668
|
+
get?: {} | null | undefined;
|
|
669
|
+
schema?: {
|
|
670
|
+
[x: string]: unknown;
|
|
671
|
+
} | null | undefined;
|
|
672
|
+
set?: {} | null | undefined;
|
|
673
|
+
validate?: {} | null | undefined;
|
|
674
|
+
index?: {} | null | undefined;
|
|
675
|
+
default?: {} | null | undefined;
|
|
676
|
+
text?: {} | null | undefined;
|
|
677
|
+
unique?: {} | null | undefined;
|
|
678
|
+
sparse?: {} | null | undefined;
|
|
679
|
+
cast?: {} | null | undefined;
|
|
680
|
+
required?: {} | null | undefined;
|
|
681
|
+
ref?: {} | null | undefined;
|
|
682
|
+
select?: {} | null | undefined;
|
|
683
|
+
immutable?: {} | null | undefined;
|
|
684
|
+
transform?: {} | null | undefined;
|
|
685
|
+
options?: {
|
|
686
|
+
[x: string]: unknown;
|
|
687
|
+
} | null | undefined;
|
|
688
|
+
OptionsConstructor?: {
|
|
689
|
+
[x: string]: unknown;
|
|
690
|
+
} | null | undefined;
|
|
691
|
+
getEmbeddedSchemaType?: {} | null | undefined;
|
|
692
|
+
instance?: unknown;
|
|
693
|
+
isRequired?: unknown;
|
|
694
|
+
path?: unknown;
|
|
695
|
+
toJSONSchema?: {} | null | undefined;
|
|
696
|
+
validateAll?: {} | null | undefined;
|
|
697
|
+
defaultOptions?: unknown;
|
|
698
|
+
} | null | undefined;
|
|
599
699
|
}, {}> & {
|
|
600
700
|
IndustryAoundProperty: mongoose.Types.ObjectId[];
|
|
601
701
|
version?: unknown;
|
|
@@ -880,6 +980,56 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
880
980
|
ReportObservations?: unknown;
|
|
881
981
|
AlternateNumber?: unknown;
|
|
882
982
|
numberOfKitchen?: unknown;
|
|
983
|
+
DateofInspection?: unknown;
|
|
984
|
+
DateOfApplicationRaised?: unknown;
|
|
985
|
+
PropertyActualValue?: {
|
|
986
|
+
validators: mongoose.Types.DocumentArray<{
|
|
987
|
+
type?: unknown;
|
|
988
|
+
message?: unknown;
|
|
989
|
+
validator?: unknown;
|
|
990
|
+
reason?: unknown;
|
|
991
|
+
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
992
|
+
type?: unknown;
|
|
993
|
+
message?: unknown;
|
|
994
|
+
validator?: unknown;
|
|
995
|
+
reason?: unknown;
|
|
996
|
+
}> & {
|
|
997
|
+
type?: unknown;
|
|
998
|
+
message?: unknown;
|
|
999
|
+
validator?: unknown;
|
|
1000
|
+
reason?: unknown;
|
|
1001
|
+
}>;
|
|
1002
|
+
get?: {} | null | undefined;
|
|
1003
|
+
schema?: {
|
|
1004
|
+
[x: string]: unknown;
|
|
1005
|
+
} | null | undefined;
|
|
1006
|
+
set?: {} | null | undefined;
|
|
1007
|
+
validate?: {} | null | undefined;
|
|
1008
|
+
index?: {} | null | undefined;
|
|
1009
|
+
default?: {} | null | undefined;
|
|
1010
|
+
text?: {} | null | undefined;
|
|
1011
|
+
unique?: {} | null | undefined;
|
|
1012
|
+
sparse?: {} | null | undefined;
|
|
1013
|
+
cast?: {} | null | undefined;
|
|
1014
|
+
required?: {} | null | undefined;
|
|
1015
|
+
ref?: {} | null | undefined;
|
|
1016
|
+
select?: {} | null | undefined;
|
|
1017
|
+
immutable?: {} | null | undefined;
|
|
1018
|
+
transform?: {} | null | undefined;
|
|
1019
|
+
options?: {
|
|
1020
|
+
[x: string]: unknown;
|
|
1021
|
+
} | null | undefined;
|
|
1022
|
+
OptionsConstructor?: {
|
|
1023
|
+
[x: string]: unknown;
|
|
1024
|
+
} | null | undefined;
|
|
1025
|
+
getEmbeddedSchemaType?: {} | null | undefined;
|
|
1026
|
+
instance?: unknown;
|
|
1027
|
+
isRequired?: unknown;
|
|
1028
|
+
path?: unknown;
|
|
1029
|
+
toJSONSchema?: {} | null | undefined;
|
|
1030
|
+
validateAll?: {} | null | undefined;
|
|
1031
|
+
defaultOptions?: unknown;
|
|
1032
|
+
} | null | undefined;
|
|
883
1033
|
} & {
|
|
884
1034
|
_id: mongoose.Types.ObjectId;
|
|
885
1035
|
} & {
|
|
@@ -924,6 +1074,9 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
924
1074
|
TotalAmount: Pound;
|
|
925
1075
|
ReportObservations: string;
|
|
926
1076
|
AlternateNumber: string;
|
|
1077
|
+
DateofInspection: string;
|
|
1078
|
+
DateOfApplicationRaised: string;
|
|
1079
|
+
PropertyActualValue: Pound;
|
|
927
1080
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
928
1081
|
epcScore?: number | null | undefined;
|
|
929
1082
|
epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -973,6 +1126,9 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
973
1126
|
TotalAmount: Pound;
|
|
974
1127
|
ReportObservations: string;
|
|
975
1128
|
AlternateNumber: string;
|
|
1129
|
+
DateofInspection: string;
|
|
1130
|
+
DateOfApplicationRaised: string;
|
|
1131
|
+
PropertyActualValue: Pound;
|
|
976
1132
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
977
1133
|
epcScore?: number | null | undefined;
|
|
978
1134
|
epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -1022,6 +1178,9 @@ declare const ApplicationValuationModel: mongoose.Model<{
|
|
|
1022
1178
|
TotalAmount: Pound;
|
|
1023
1179
|
ReportObservations: string;
|
|
1024
1180
|
AlternateNumber: string;
|
|
1181
|
+
DateofInspection: string;
|
|
1182
|
+
DateOfApplicationRaised: string;
|
|
1183
|
+
PropertyActualValue: Pound;
|
|
1025
1184
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
1026
1185
|
epcScore?: number | null | undefined;
|
|
1027
1186
|
epcRatingLid?: mongoose.Types.ObjectId | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-valuation.model.d.ts","sourceRoot":"","sources":["../../applications/application-valuation.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAe,KAAK,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"application-valuation.model.d.ts","sourceRoot":"","sources":["../../applications/application-valuation.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAe,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAwE5D,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0D,CAAC;AAC1F,eAAe,yBAAyB,CAAC"}
|
|
@@ -51,6 +51,9 @@ const valuationSchema = new mongoose.Schema({
|
|
|
51
51
|
ReportObservations: { type: String, default: "" },
|
|
52
52
|
AlternateNumber: { type: String, default: "" },
|
|
53
53
|
numberOfKitchen: { type: Number },
|
|
54
|
+
DateofInspection: { type: String, default: null },
|
|
55
|
+
DateOfApplicationRaised: { type: String, default: null },
|
|
56
|
+
PropertyActualValue: { type: Pound, default: 0.00, get: formatPound },
|
|
54
57
|
});
|
|
55
58
|
// virtual property 'lendingType'
|
|
56
59
|
valuationSchema.virtual("lendingType").get(function () {
|
|
@@ -28,25 +28,45 @@
|
|
|
28
28
|
/// <reference types="mongoose/types/inferrawdoctype.js" />
|
|
29
29
|
import mongoose from "mongoose";
|
|
30
30
|
declare const LookupGroupModel: mongoose.Model<{
|
|
31
|
+
createdAt: NativeDate;
|
|
32
|
+
updatedAt: NativeDate;
|
|
33
|
+
} & {
|
|
31
34
|
name: string;
|
|
32
35
|
lookups: mongoose.Types.ObjectId[];
|
|
33
36
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
37
|
+
createdAt: NativeDate;
|
|
38
|
+
updatedAt: NativeDate;
|
|
39
|
+
} & {
|
|
34
40
|
name: string;
|
|
35
41
|
lookups: mongoose.Types.ObjectId[];
|
|
36
42
|
}, {}> & {
|
|
43
|
+
createdAt: NativeDate;
|
|
44
|
+
updatedAt: NativeDate;
|
|
45
|
+
} & {
|
|
37
46
|
name: string;
|
|
38
47
|
lookups: mongoose.Types.ObjectId[];
|
|
39
48
|
} & {
|
|
40
49
|
_id: mongoose.Types.ObjectId;
|
|
41
50
|
} & {
|
|
42
51
|
__v: number;
|
|
43
|
-
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {},
|
|
52
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
53
|
+
timestamps: true;
|
|
54
|
+
}, {
|
|
55
|
+
createdAt: NativeDate;
|
|
56
|
+
updatedAt: NativeDate;
|
|
57
|
+
} & {
|
|
44
58
|
name: string;
|
|
45
59
|
lookups: mongoose.Types.ObjectId[];
|
|
46
60
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
61
|
+
createdAt: NativeDate;
|
|
62
|
+
updatedAt: NativeDate;
|
|
63
|
+
} & {
|
|
47
64
|
name: string;
|
|
48
65
|
lookups: mongoose.Types.ObjectId[];
|
|
49
66
|
}>, {}> & mongoose.FlatRecord<{
|
|
67
|
+
createdAt: NativeDate;
|
|
68
|
+
updatedAt: NativeDate;
|
|
69
|
+
} & {
|
|
50
70
|
name: string;
|
|
51
71
|
lookups: mongoose.Types.ObjectId[];
|
|
52
72
|
}> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-group.model.d.ts","sourceRoot":"","sources":["../../shared/lookup-group.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAwBhC,QAAA,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"lookup-group.model.d.ts","sourceRoot":"","sources":["../../shared/lookup-group.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAwBhC,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAC1E,eAAe,gBAAgB,CAAC"}
|
|
@@ -11,8 +11,8 @@ const lookupGroupSchema = new mongoose.Schema({
|
|
|
11
11
|
type: mongoose.Schema.Types.ObjectId,
|
|
12
12
|
ref: "Lookup", // References the Lookup collection
|
|
13
13
|
},
|
|
14
|
-
]
|
|
15
|
-
});
|
|
14
|
+
],
|
|
15
|
+
}, { timestamps: true });
|
|
16
16
|
// Apply workflow plugin to the schema
|
|
17
17
|
applyWorkflowPlugin(lookupGroupSchema, 'lookupgroup');
|
|
18
18
|
// Database indexes for performance optimization
|
|
@@ -28,18 +28,27 @@
|
|
|
28
28
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
29
|
import mongoose from "mongoose";
|
|
30
30
|
declare const LookupModel: mongoose.Model<{
|
|
31
|
+
createdAt: NativeDate;
|
|
32
|
+
updatedAt: NativeDate;
|
|
33
|
+
} & {
|
|
31
34
|
isActive: boolean;
|
|
32
35
|
text: string;
|
|
33
36
|
name: string;
|
|
34
37
|
value?: string | null | undefined;
|
|
35
38
|
lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
|
|
36
39
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
40
|
+
createdAt: NativeDate;
|
|
41
|
+
updatedAt: NativeDate;
|
|
42
|
+
} & {
|
|
37
43
|
isActive: boolean;
|
|
38
44
|
text: string;
|
|
39
45
|
name: string;
|
|
40
46
|
value?: string | null | undefined;
|
|
41
47
|
lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
|
|
42
48
|
}, {}> & {
|
|
49
|
+
createdAt: NativeDate;
|
|
50
|
+
updatedAt: NativeDate;
|
|
51
|
+
} & {
|
|
43
52
|
isActive: boolean;
|
|
44
53
|
text: string;
|
|
45
54
|
name: string;
|
|
@@ -49,19 +58,30 @@ declare const LookupModel: mongoose.Model<{
|
|
|
49
58
|
_id: mongoose.Types.ObjectId;
|
|
50
59
|
} & {
|
|
51
60
|
__v: number;
|
|
52
|
-
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {},
|
|
61
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
62
|
+
timestamps: true;
|
|
63
|
+
}, {
|
|
64
|
+
createdAt: NativeDate;
|
|
65
|
+
updatedAt: NativeDate;
|
|
66
|
+
} & {
|
|
53
67
|
isActive: boolean;
|
|
54
68
|
text: string;
|
|
55
69
|
name: string;
|
|
56
70
|
value?: string | null | undefined;
|
|
57
71
|
lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
|
|
58
72
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
73
|
+
createdAt: NativeDate;
|
|
74
|
+
updatedAt: NativeDate;
|
|
75
|
+
} & {
|
|
59
76
|
isActive: boolean;
|
|
60
77
|
text: string;
|
|
61
78
|
name: string;
|
|
62
79
|
value?: string | null | undefined;
|
|
63
80
|
lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
|
|
64
81
|
}>, {}> & mongoose.FlatRecord<{
|
|
82
|
+
createdAt: NativeDate;
|
|
83
|
+
updatedAt: NativeDate;
|
|
84
|
+
} & {
|
|
65
85
|
isActive: boolean;
|
|
66
86
|
text: string;
|
|
67
87
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup.model.d.ts","sourceRoot":"","sources":["../../shared/lookup.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAqChC,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"lookup.model.d.ts","sourceRoot":"","sources":["../../shared/lookup.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAqChC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAC;AAC3D,eAAe,WAAW,CAAC"}
|
|
@@ -20,7 +20,7 @@ const lookupSchema = new mongoose.Schema({
|
|
|
20
20
|
default: true,
|
|
21
21
|
description: "Whether the lookup is active"
|
|
22
22
|
}
|
|
23
|
-
});
|
|
23
|
+
}, { timestamps: true });
|
|
24
24
|
lookupSchema.index({ lookupGroupId: 1 });
|
|
25
25
|
lookupSchema.index({ value: 1 });
|
|
26
26
|
// Case-insensitive index for name queries
|