This commit is contained in:
2026-09-01 12:00:46 +05:30
parent fe78c54eeb
commit a8e0dc069f
20 changed files with 1278 additions and 32 deletions

View File

@@ -8,8 +8,14 @@
*/
export const queryKeys = {
uploads: {
all: ['uploads'] as const,
list: (tenantid: number, locationid: number) =>
[...queryKeys.uploads.all, 'list', tenantid, locationid] as const,
},
tenants: {
all: ['tenants'] as const,
byId: (tenantid: number) => [...queryKeys.tenants.all, 'byId', tenantid] as const,
list: (params: Record<string, unknown> = {}) =>
[...queryKeys.tenants.all, 'list', params] as const,
appCategories: () => [...queryKeys.tenants.all, 'appCategories'] as const,