(role: string | null | undefined)
| 59 | const TOOLKIT_MCP_SEGMENT = "/mcp/toolkits/"; |
| 60 | |
| 61 | const parseRoles = (role: string | null | undefined): ReadonlyArray<string> => |
| 62 | (role ?? "user") |
| 63 | .split(",") |
| 64 | .map((r) => r.trim()) |
| 65 | .filter((r) => r.length > 0); |
| 66 | |
| 67 | /** |
| 68 | * The admin plugin's `role` column is populated at runtime but isn't part of |
no outgoing calls
no test coverage detected