MCPcopy Create free account
hub / github.com/coder/coder / roles

Function roles

site/src/api/queries/roles.ts:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12export const rolesQueryKey = ["roles"];
13
14export const roles = () => {
15 return {
16 queryKey: rolesQueryKey,
17 queryFn: API.getRoles,
18 };
19};
20
21export const organizationRoles = (organization: string) => {
22 return {

Callers 2

UsersPageFunction · 0.90
CreateUserPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected