7c16abc8eb
* feat(workspaces): add workspaces module with roles and scopes * feat(workspaces): add domain, graphql and persistent storage dataschema * fix(workspaces): correct db injections * chore(workspaces): add EE license * chore(license): mentions workspaces separately in license file * fix(core): roles import in migration * fix(workspaces): drop workspace_acl on down migration * fix(workspaces): roles constants * fix(workspaces): coding standards --------- Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
7 lines
264 B
TypeScript
7 lines
264 B
TypeScript
import { TokenScopeData, UserRole } from '@/modules/shared/domain/rolesAndScopes/types'
|
|
|
|
export type GetRoles = () => Promise<UserRole[]>
|
|
export type UpsertRole = (args: { role: UserRole }) => Promise<void>
|
|
|
|
export type GetScopes = () => Promise<TokenScopeData[]>
|