@tmlmobilidade/go-interfaces-godb 20260909.1858.4 → 20260909.2152.30
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/indexes/operation/rides.js +14 -13
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* * */
|
|
2
|
-
/* * */
|
|
3
2
|
/**
|
|
4
3
|
* **IMPORTANT**:
|
|
5
4
|
* Automatic sorting (ESLint) of keys in the JS objects should be disabled.
|
|
@@ -7,20 +6,22 @@
|
|
|
7
6
|
* carefully considered based on the cardinality of each key.
|
|
8
7
|
*/
|
|
9
8
|
export const ridesIndexes = [
|
|
10
|
-
{ key: { hashed_trip_id: 1 } },
|
|
11
|
-
{ key: {
|
|
12
|
-
{ key: {
|
|
13
|
-
{ key: { operational_date: 1, system_status: 1 } },
|
|
14
|
-
{ key: { start_time_scheduled: 1 } },
|
|
15
|
-
{ key: { system_status: 1 } },
|
|
9
|
+
{ key: { agency_id: 1, hashed_trip_id: 1, start_time_scheduled: 1 } },
|
|
10
|
+
{ key: { agency_id: 1, route_short_name: 1, start_time_scheduled: 1 } },
|
|
11
|
+
{ key: { agency_id: 1, shape_id: 1, start_time_scheduled: 1 } },
|
|
16
12
|
// eslint-disable-next-line perfectionist/sort-objects
|
|
17
|
-
{ key: {
|
|
13
|
+
{ key: { agency_id: 1, start_time_scheduled: -1, hashed_trip_id: 1 } },
|
|
18
14
|
// eslint-disable-next-line perfectionist/sort-objects
|
|
19
|
-
{ key: { trip_id: 1, start_time_scheduled: 1 } },
|
|
15
|
+
{ key: { agency_id: 1, trip_id: 1, start_time_scheduled: 1 } },
|
|
16
|
+
{ key: { hash: 1 } },
|
|
17
|
+
{ key: { hashed_shape_id: 1 } },
|
|
18
|
+
{ key: { hashed_trip_id: 1 } },
|
|
19
|
+
{ key: { operational_date: 1 } },
|
|
20
|
+
{ key: { operational_date: 1, processing_status: 1 } },
|
|
20
21
|
{ key: { plan_id: 1 } },
|
|
22
|
+
{ key: { processing_status: 1 } },
|
|
23
|
+
{ key: { processing_status: 1, start_time_scheduled: 1 } },
|
|
24
|
+
{ key: { processing_status: 1, updated_at: 1 } },
|
|
21
25
|
{ key: { shape_id: 1 } },
|
|
22
|
-
{ key: {
|
|
23
|
-
// eslint-disable-next-line perfectionist/sort-objects
|
|
24
|
-
{ key: { agency_id: 1, start_time_scheduled: -1, hashed_trip_id: 1 } },
|
|
25
|
-
{ key: { agency_id: 1, hashed_trip_id: 1, start_time_scheduled: 1 } },
|
|
26
|
+
{ key: { start_time_scheduled: 1 } },
|
|
26
27
|
];
|