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:
Maurice
2026-12-05 12:45:31 +01:00
parent 09567d32c4
commit f3bbd1a268
4 changed files with 43 additions and 25 deletions
+4
View File
@@ -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.