-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(service-betterportal): add capability support
Add support for adding new capabilities to the BetterPortal service. The `addCapability` method was added to the `BetterPortalCallable` interface and implemented in the `Service` class. The `BetterPortalCapabilityConfigurable` enum was added to the `index.ts` file to define the configurable capabilities. The `BetterPortalCapabilityInternal` enum was also added to define the internal capabilities. The `BetterPortalCapability` type was added to define the capabilities that can be used. The `capabilities` array was added to the `Service` class to store the added capabilities. The `/bp/capabilities/` and `/bp/capabilities/:capability/:optionalparam?/` routes were added to the `Service` class to handle the capabilities.
- Loading branch information
Showing
3 changed files
with
144 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters