(owner: string, name: string)
| 52 | }; |
| 53 | |
| 54 | export const workspaceByOwnerAndName = (owner: string, name: string) => { |
| 55 | return { |
| 56 | queryKey: workspaceByOwnerAndNameKey(owner, name), |
| 57 | queryFn: () => |
| 58 | API.getWorkspaceByOwnerAndName(owner, name, { |
| 59 | include_deleted: true, |
| 60 | }), |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | const workspaceACLKey = (workspaceId: string) => ["workspaceAcl", workspaceId]; |
| 65 |