(userId?: string)
| 41 | } |
| 42 | |
| 43 | export const userWorldQueryKey = (userId?: string): unknown[] => |
| 44 | generateQueryKey( |
| 45 | RequestKey.UserWorld, |
| 46 | userId ? { id: userId } : undefined, |
| 47 | ) as unknown[]; |
| 48 | |
| 49 | export interface UserWorldEntry { |
| 50 | districts: WorldDistrict[]; |
no test coverage detected