@tmlmobilidade/go-types-operation 20260904.1059.6 → 20260905.126.6
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/ride-matches/index.d.ts +1 -0
- package/dist/ride-matches/index.js +1 -0
- package/dist/{event-ride-opportunities/event-ride-opportunity.d.ts → ride-matches/ride-match.d.ts} +6 -5
- package/dist/{event-ride-opportunities/event-ride-opportunity.js → ride-matches/ride-match.js} +1 -1
- package/package.json +1 -1
- package/dist/event-ride-opportunities/index.d.ts +0 -1
- package/dist/event-ride-opportunities/index.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export * from './hashed-trips/index.js';
|
|
|
5
5
|
export * from './plans/index.js';
|
|
6
6
|
export * from './ride-acceptances/index.js';
|
|
7
7
|
export * from './ride-analyses/index.js';
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './ride-matches/index.js';
|
|
9
9
|
export * from './rides/index.js';
|
|
10
10
|
export * from './sams/index.js';
|
|
11
11
|
export * from './vehicles/index.js';
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export * from './hashed-trips/index.js';
|
|
|
5
5
|
export * from './plans/index.js';
|
|
6
6
|
export * from './ride-acceptances/index.js';
|
|
7
7
|
export * from './ride-analyses/index.js';
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './ride-matches/index.js';
|
|
9
9
|
export * from './rides/index.js';
|
|
10
10
|
export * from './sams/index.js';
|
|
11
11
|
export * from './vehicles/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ride-match.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ride-match.js';
|
package/dist/{event-ride-opportunities/event-ride-opportunity.d.ts → ride-matches/ride-match.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const RideMatchSchema: z.ZodObject<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
agency_id: z.ZodString;
|
|
5
5
|
trip_id: z.ZodString;
|
|
@@ -34,8 +34,9 @@ export declare const EventRideOpportunitySchema: z.ZodObject<{
|
|
|
34
34
|
processing_status?: string | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
37
|
+
* Intermediate window used to match vehicle/apex events to rides.
|
|
38
|
+
* `window_start`/`window_end` are `event.created_at` ± `std_window`
|
|
39
|
+
* (`Dates.standardWindowMilliseconds`), matched against the ride's
|
|
40
|
+
* `start_time_scheduled`.
|
|
40
41
|
*/
|
|
41
|
-
export type
|
|
42
|
+
export type RideMatch = z.infer<typeof RideMatchSchema>;
|
package/dist/{event-ride-opportunities/event-ride-opportunity.js → ride-matches/ride-match.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { OperationalDateIntSchema, ProcessingStatusSchema, UnixMillisecondsSchema } from '@tmlmobilidade/go-types-shared';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
/* * */
|
|
5
|
-
export const
|
|
5
|
+
export const RideMatchSchema = z.object({
|
|
6
6
|
_id: z.string(),
|
|
7
7
|
agency_id: z.string(),
|
|
8
8
|
trip_id: z.string(),
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './event-ride-opportunity.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './event-ride-opportunity.js';
|