feat(server): ProjectCollaborator.workspaceRole (#4598)

This commit is contained in:
Kristaps Fabians Geikins
2025-04-25 11:02:37 +03:00
committed by GitHub
parent eef0a37042
commit 9a18a6e1c2
9 changed files with 93 additions and 4 deletions
@@ -103,6 +103,11 @@ export = !FF_WORKSPACES_MODULE_ENABLED
throw new WorkspacesModuleDisabledError()
}
},
ProjectCollaborator: {
workspaceRole: async () => {
throw new WorkspacesModuleDisabledError()
}
},
Project: {
workspace: async () => {
// Return type is always workspace or null, to make the FE implementation easier we force return null in this case