tabletcommand-backend-models 5.36.6 → 5.36.7
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.
@@ -15,20 +15,6 @@ async function CADIncidentModule(mongoose) {
|
|
15
15
|
name: "departmentId_1_IncidentNumber_1_unique",
|
16
16
|
unique: true,
|
17
17
|
});
|
18
|
-
// Search index as alternative to Atlas Search
|
19
|
-
modelSchema.index({
|
20
|
-
departmentId: 1,
|
21
|
-
AgencyIncidentCallTypeDescription: "text",
|
22
|
-
CityOrLocality: "text",
|
23
|
-
CommonPlaceName: "text",
|
24
|
-
cross_streets: "text",
|
25
|
-
full_address: "text",
|
26
|
-
IncidentNumber: "text",
|
27
|
-
LocationComment: "text",
|
28
|
-
"units.UnitID": "text",
|
29
|
-
}, {
|
30
|
-
name: "departmentId_1_search_text",
|
31
|
-
});
|
32
18
|
return (0, helpers_1.createModel)(mongoose, "CADIncident", modelSchema);
|
33
19
|
}
|
34
20
|
exports.CADIncidentModule = CADIncidentModule;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cad-incident.js","sourceRoot":"","sources":["../../src/models/cad-incident.ts"],"names":[],"mappings":";;;AAAA,wCAMoB;AAEpB,wDAA0D;AAEnD,KAAK,UAAU,iBAAiB,CAAC,QAAwB;IAC9D,MAAM,WAAW,GAAG,IAAA,gCAAiB,EAAC,QAAQ,CAAC,CAAC;IAChD,WAAW,CAAC,GAAG,CAAC,YAAY,EAAE,sBAAsB,CAAC,CAAC;IACtD,WAAW,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,wCAAwC;IAE1E,UAAU;IACV,WAAW,CAAC,KAAK,CAAC;QAChB,YAAY,EAAE,CAAC;QACf,cAAc,EAAE,CAAC;KAClB,EAAE;QACD,IAAI,EAAE,wCAAwC;QAC9C,MAAM,EAAE,IAAI;KACb,CAAC,CAAC;IAEH,
|
1
|
+
{"version":3,"file":"cad-incident.js","sourceRoot":"","sources":["../../src/models/cad-incident.ts"],"names":[],"mappings":";;;AAAA,wCAMoB;AAEpB,wDAA0D;AAEnD,KAAK,UAAU,iBAAiB,CAAC,QAAwB;IAC9D,MAAM,WAAW,GAAG,IAAA,gCAAiB,EAAC,QAAQ,CAAC,CAAC;IAChD,WAAW,CAAC,GAAG,CAAC,YAAY,EAAE,sBAAsB,CAAC,CAAC;IACtD,WAAW,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,wCAAwC;IAE1E,UAAU;IACV,WAAW,CAAC,KAAK,CAAC;QAChB,YAAY,EAAE,CAAC;QACf,cAAc,EAAE,CAAC;KAClB,EAAE;QACD,IAAI,EAAE,wCAAwC;QAC9C,MAAM,EAAE,IAAI;KACb,CAAC,CAAC;IAEH,OAAO,IAAA,qBAAW,EAAC,QAAQ,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC;AAC3D,CAAC;AAfD,8CAeC;AAID,kBAAe,iBAAuF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cad-incident.d.ts","sourceRoot":"","sources":["../../src/models/cad-incident.ts"],"names":[],"mappings":";AAAA,OAAO,EAEL,8BAA8B,EAC9B,+BAA+B,EAC/B,cAAc,EACd,sBAAsB,EACvB,MAAM,YAAY,CAAC;AAIpB,wBAAsB,iBAAiB,CAAC,QAAQ,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"cad-incident.d.ts","sourceRoot":"","sources":["../../src/models/cad-incident.ts"],"names":[],"mappings":";AAAA,OAAO,EAEL,8BAA8B,EAC9B,+BAA+B,EAC/B,cAAc,EACd,sBAAsB,EACvB,MAAM,YAAY,CAAC;AAIpB,wBAAsB,iBAAiB,CAAC,QAAQ,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAe/D;AAED,MAAM,WAAW,WAAY,SAAQ,8BAA8B,CAAC,OAAO,iBAAiB,CAAC;CAAI;AACjG,MAAM,WAAW,gBAAiB,SAAQ,+BAA+B,CAAC,WAAW,CAAC;CAAI;;AAC1F,wBAAuG"}
|
package/package.json
CHANGED
@@ -22,21 +22,6 @@ export async function CADIncidentModule(mongoose: MongooseModule) {
|
|
22
22
|
unique: true,
|
23
23
|
});
|
24
24
|
|
25
|
-
// Search index as alternative to Atlas Search
|
26
|
-
modelSchema.index({
|
27
|
-
departmentId: 1,
|
28
|
-
AgencyIncidentCallTypeDescription: "text",
|
29
|
-
CityOrLocality: "text",
|
30
|
-
CommonPlaceName: "text",
|
31
|
-
cross_streets: "text",
|
32
|
-
full_address: "text",
|
33
|
-
IncidentNumber: "text",
|
34
|
-
LocationComment: "text",
|
35
|
-
"units.UnitID": "text",
|
36
|
-
}, {
|
37
|
-
name: "departmentId_1_search_text",
|
38
|
-
});
|
39
|
-
|
40
25
|
return createModel(mongoose, "CADIncident", modelSchema);
|
41
26
|
}
|
42
27
|
|