| 1 | import { App } from '../app'; |
| 2 | |
| 3 | export interface AppManagerInterface { |
| 4 | /** |
| 5 | * The application manager driver. |
| 6 | */ |
| 7 | driver?: AppManagerInterface; |
| 8 | |
| 9 | /** |
| 10 | * Find an app by given ID. |
| 11 | */ |
| 12 | findById(id: string): Promise<App|null>; |
| 13 | |
| 14 | /** |
| 15 | * Find an app by given key. |
| 16 | */ |
| 17 | findByKey(key: string): Promise<App|null>; |
| 18 | |
| 19 | /** |
| 20 | * Get the app secret by ID. |
| 21 | */ |
| 22 | getAppSecret(id: string): Promise<string|null>; |
| 23 | } |
no outgoing calls
no test coverage detected