Contains methods relating to Role entities.
() => (ctx: RequestContext, options?: ListQueryOptions<Role>, relations?: RelationPaths<Role>) => Promise<PaginatedList<Role>>(ctx: RequestContext, roleId: ID, relations?: RelationPaths<Role>) => Promise<Role | undefined>(ctx: RequestContext, roleId: ID) => Promise<Channel[]>(ctx?: RequestContext) => Promise<Role>Returns the special SuperAdmin Role, which always exists in Vendure.
(ctx?: RequestContext) => Promise<Role>Returns the special Customer Role, which always exists in Vendure.
() => string[]Returns all the valid Permission values
(ctx: RequestContext, channelId: ID, permission: Permission) => Promise<boolean>Returns true if the User has the specified permission on that Channel
(ctx: RequestContext, channelId: ID, permissions: Permission[]) => Promise<boolean>Returns true if the User has any of the specified permissions on that Channel
(ctx: RequestContext, channelId: ID, permissions: Permission[]) => Promise<boolean>Returns true if the User has all the specified permissions on that Channel
(ctx: RequestContext, input: CreateRoleInput) => Promise<Role>(ctx: RequestContext, input: UpdateRoleInput) => Promise<Role>(ctx: RequestContext, id: ID) => Promise<DeletionResponse>(ctx: RequestContext, roleId: ID, channelId: ID) =>