| 8 | import { Adapter, PlatformName } from '../types'; |
| 9 | |
| 10 | export class OSSInsightAdapter implements Adapter { |
| 11 | public scheme: string = 'ossinsight'; |
| 12 | public platformName = PlatformName.GitHub; |
| 13 | |
| 14 | async resolveDataSource() { |
| 15 | return OSSInsightDataSource.getInstance(); |
| 16 | } |
| 17 | |
| 18 | async resolveRouterParser() { |
| 19 | return OSSInsightRouterParser.getInstance(); |
| 20 | } |
| 21 | |
| 22 | activateAsDefault() {} |
| 23 | |
| 24 | deactivateAsDefault() {} |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected