mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 18:34:09 +00:00
fix(ci): align packing parity and simplify offline sync
Describe bringer input in the shared packing contract and check its trip event against the REST contributor operation. Keep offline map preparation in its own step without changing the order or the sign-out checks.
This commit is contained in:
@@ -128,6 +128,10 @@ export const packingAddContributorRequestSchema = z.object({
|
||||
});
|
||||
export type PackingAddContributorRequest = z.infer<typeof packingAddContributorRequestSchema>;
|
||||
|
||||
export const packingSetBringersRequestSchema = z.object({
|
||||
user_ids: z.array(idSchema).describe('User IDs of the trip members who bring this item'),
|
||||
});
|
||||
|
||||
export const packingUpdateItemRequestSchema = z.object({
|
||||
name: z.string().optional(),
|
||||
// The legacy route accepted both boolean and 0/1 for checked — both stay valid.
|
||||
|
||||
Reference in New Issue
Block a user