MCPcopy
hub / github.com/1Panel-dev/MaxKB / getUserGroupList

Function getUserGroupList

ui/src/api/shared-workspace.ts:124–126  ·  view source on GitHub ↗
(resource, loading)

Source from the content-addressed store, hash-verified

122 * 获取工作空间下共享知识库的用户组
123 */
124const getUserGroupList: (resource: any, loading?: Ref<boolean>) => Promise<Result<ChatUserGroupItem[]>> = (resource, loading) => {
125 return get(`${prefix}/${prefix_workspace.value}/KNOWLEDGE/${resource.resource_id}/user_group`, undefined, loading)
126}
127
128/**
129 * 段落分页列表

Callers

nothing calls this directly

Calls 1

getFunction · 0.90

Tested by

no test coverage detected