-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add requests for auto splitter settings management (#713)
This patch adds 4 requests to the auto-splitting feature so that the library users are able to manage the auto splitter settings: - GetSettings: Gets all of the user settings that are meant to be shown to the runner - GetSettingsValue(key: String): Gets the SettingValue of a specific setting - SetSettingsValue(key: String, value: SettingValue): Sets the SettingValue of a specific setting - ReloadScript: Helper request that will reload the current script while keeping the same SettingsStore This adds 3 new possible errors to tell the user what could have went wrong while executing the requests. It also re export some of the useful types for settings related things. Lastly, there's a new accessor in the runtime to get the SettingsStore as mutable and UserSetting / UserSettingKind are now clonable so that we can pass them along with the requests.
- Loading branch information
Showing
3 changed files
with
198 additions
and
2 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