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

Function groups

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

Source from the content-addressed store, hash-verified

17
18/** @public */
19export const groups = () => {
20 return {
21 queryKey: groupsQueryKey,
22 queryFn: () => API.getGroups(),
23 } satisfies UseQueryOptions<Group[]>;
24};
25
26const getGroupsByOrganizationQueryKey = (organization: string) => [
27 "organization",

Callers 2

AgentSettingsSpendPageFunction · 0.90
groupsByUserIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected