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

Function group

site/src/api/queries/groups.ts:55–64  ·  view source on GitHub ↗
(
	organization: string,
	groupName: string,
	req: GroupRequest,
)

Source from the content-addressed store, hash-verified

53};
54
55export const group = (
56 organization: string,
57 groupName: string,
58 req: GroupRequest,
59): UseQueryOptions<Group> => {
60 return {
61 queryKey: getGroupQueryKey(organization, groupName, req),
62 queryFn: ({ signal }) => API.getGroup(organization, groupName, req, signal),
63 };
64};
65
66export const getGroupMembersQueryKey = (
67 organization: string,

Callers 1

GroupPageFunction · 0.90

Calls 1

getGroupQueryKeyFunction · 0.85

Tested by

no test coverage detected