rider creation

This commit is contained in:
2026-09-04 16:03:46 +05:30
parent 416c50755b
commit e1a16377ea
17 changed files with 2259 additions and 33 deletions

View File

@@ -73,6 +73,13 @@ export const queryKeys = {
/** Keyed on the delivery region, which is what the endpoint filters on. */
riders: (applocationid: number) =>
[...queryKeys.insights.all, 'riders', applocationid] as const,
/** The directory — everyone, working today or not. */
riderRoster: (tenantid: number) =>
[...queryKeys.insights.all, 'rider-roster', tenantid] as const,
riderShifts: (applocationid: number) =>
[...queryKeys.insights.all, 'rider-shifts', applocationid] as const,
partners: (applocationid: number) =>
[...queryKeys.insights.all, 'partners', applocationid] as const,
},
people: {