(scopes: string[] | undefined)
| 47 | } |
| 48 | |
| 49 | function hasManagedInferenceScope(scopes: string[] | undefined): boolean { |
| 50 | return Boolean(scopes?.includes('user:inference')) |
| 51 | } |
| 52 | |
| 53 | function isStoredManagedTokenExpired(expiresAt: number | null): boolean { |
| 54 | if (expiresAt === null || Number.isNaN(expiresAt)) { |
no outgoing calls
no test coverage detected