AppHost contains many utility/administration functions. These functions can be extracted into APIs. They will be treated as any other API, and stop being special cases.
Below is proposed API names and contents.
AppHostDebugAPI
- getAllSlotKeys(): AnySlotKey[]
- getAllFeatures(): FeatureInfo[]
AppHostAdminAPI
- isFeatureInstalled(name: string): boolean
- isLazyFeature(name: string): boolean
- installFeatures(features: AnyFeature[]): void
- uninstallFeatures(names: string[]): void
AppHost contains many utility/administration functions. These functions can be extracted into APIs. They will be treated as any other API, and stop being special cases.
Below is proposed API names and contents.
AppHostDebugAPI
AppHostAdminAPI