(workspaceId: string)
| 45 | ["workspace", workspaceId] as const; |
| 46 | |
| 47 | export const workspaceById = (workspaceId: string) => { |
| 48 | return { |
| 49 | queryKey: workspaceByIdKey(workspaceId), |
| 50 | queryFn: () => API.getWorkspace(workspaceId), |
| 51 | }; |
| 52 | }; |
| 53 | |
| 54 | export const workspaceByOwnerAndName = (owner: string, name: string) => { |
| 55 | return { |
no test coverage detected