-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
backlogThis issue belongs to backlogThis issue belongs to backlogenhancementNew feature or requestNew feature or requestpublic-apiThis issue shapes the public API of the libraryThis issue shapes the public API of the library
Description
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
Metadata
Metadata
Assignees
Labels
backlogThis issue belongs to backlogThis issue belongs to backlogenhancementNew feature or requestNew feature or requestpublic-apiThis issue shapes the public API of the libraryThis issue shapes the public API of the library