feat: add superadmin tenant module

This commit is contained in:
2026-06-16 22:30:29 +05:30
parent 6c97f89b30
commit 6f4399a048
18 changed files with 1146 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import type { TenantListParams } from '@/types';
export const tenantKeys = {
all: ['tenants'] as const,
lists: () => [...tenantKeys.all, 'list'] as const,
list: (params: TenantListParams) => [...tenantKeys.lists(), params] as const,
};
export const tenantLookupKeys = {
clients: ['tenant-lookup', 'clients'] as const,
plans: ['tenant-lookup', 'plans'] as const,
};