MCPcopy Index your code
hub / github.com/coder/coder / getRoleQueryKey

Function getRoleQueryKey

site/src/api/queries/roles.ts:5–10  ·  view source on GitHub ↗
(organizationId: string, roleName: string)

Source from the content-addressed store, hash-verified

3import type { Role } from "#/api/typesGenerated";
4
5const getRoleQueryKey = (organizationId: string, roleName: string) => [
6 "organization",
7 organizationId,
8 "role",
9 roleName,
10];
11
12export const rolesQueryKey = ["roles"];
13

Callers 3

createOrganizationRoleFunction · 0.85
updateOrganizationRoleFunction · 0.85
deleteOrganizationRoleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected