@tmlmobilidade/types 20250902.1313.57 → 20250902.1443.39
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/src/rides/ride.d.ts
CHANGED
|
@@ -480,7 +480,7 @@ export declare const RideSchema: z.ZodObject<{
|
|
|
480
480
|
system_status: z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error"]>>;
|
|
481
481
|
trip_id: z.ZodString;
|
|
482
482
|
vehicle_ids: z.ZodArray<z.ZodNumber, "many">;
|
|
483
|
-
}, "
|
|
483
|
+
}, "strip", z.ZodTypeAny, {
|
|
484
484
|
_id: string;
|
|
485
485
|
agency_id: string;
|
|
486
486
|
line_id: number;
|
|
@@ -1239,7 +1239,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1239
1239
|
start_time_scheduled: z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">;
|
|
1240
1240
|
system_status: z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error"]>>;
|
|
1241
1241
|
vehicle_ids: z.ZodArray<z.ZodNumber, "many">;
|
|
1242
|
-
}, "created_at" | "updated_at">, "
|
|
1242
|
+
}, "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
1243
1243
|
agency_id: string;
|
|
1244
1244
|
line_id: number;
|
|
1245
1245
|
trip_id: string;
|
|
@@ -1988,7 +1988,7 @@ export declare const UpdateRideSchema: z.ZodObject<{
|
|
|
1988
1988
|
start_time_scheduled: z.ZodOptional<z.ZodBranded<z.ZodEffects<z.ZodNumber, UnixTimestamp, number>, "UnixTimestamp">>;
|
|
1989
1989
|
system_status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error"]>>>;
|
|
1990
1990
|
vehicle_ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1991
|
-
}, "
|
|
1991
|
+
}, "strip", z.ZodTypeAny, {
|
|
1992
1992
|
_id?: string | undefined;
|
|
1993
1993
|
agency_id?: string | undefined;
|
|
1994
1994
|
line_id?: number | undefined;
|
package/dist/src/rides/ride.js
CHANGED
|
@@ -59,7 +59,7 @@ export const RideSchema = DocumentSchema.extend({
|
|
|
59
59
|
system_status: ProcessingStatusSchema.default('waiting'),
|
|
60
60
|
trip_id: z.string(),
|
|
61
61
|
vehicle_ids: z.array(z.number()),
|
|
62
|
-
}).
|
|
62
|
+
}).strip();
|
|
63
63
|
export const CreateRideSchema = RideSchema.partial({ _id: true }).omit({ created_at: true, updated_at: true });
|
|
64
64
|
export const UpdateRideSchema = CreateRideSchema.partial();
|
|
65
65
|
/* * */
|
package/package.json
CHANGED