MCPcopy Create free account
hub / github.com/Bistutu/FluentRead / systemRoleFactory

Function systemRoleFactory

entrypoints/utils/model.ts:105–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103
104// 构建所有服务的 system_role
105function systemRoleFactory(): IMapping {
106 let systems_role: IMapping = {};
107 Object.keys(services).forEach(key => systems_role[key] = defaultOption.system_role);
108 return systems_role;
109}
110
111// 构建所有服务的 user_role
112function userRoleFactory(): IMapping {

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected