(scope: string | null | undefined)
| 379 | * the connection carries no scope (static credentials, or an OAuth AS that |
| 380 | * omitted scope). */ |
| 381 | const oauthScopeCount = (scope: string | null | undefined): number | null => |
| 382 | scope == null ? null : scope.split(/\s+/).filter(Boolean).length; |
| 383 | |
| 384 | /** Lean projection for `connections.list`. Summarizes `oauthScope` to a count |
| 385 | * unless `verbose`, where the full grant string is included too. */ |
no outgoing calls
no test coverage detected