-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1254 from ds-wizard/hotfix/4.11.2
Hotfix 4.11.2
- Loading branch information
Showing
7 changed files
with
40 additions
and
8 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
24 changes: 24 additions & 0 deletions
24
engine-shared/elm/Shared/Data/BootstrapConfig/AIAssistantConfig.elm
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module Shared.Data.BootstrapConfig.AIAssistantConfig exposing | ||
( AIAssistantConfig | ||
, decoder | ||
, default | ||
) | ||
|
||
import Json.Decode as D exposing (Decoder) | ||
import Json.Decode.Pipeline as D | ||
|
||
|
||
type alias AIAssistantConfig = | ||
{ enabled : Bool | ||
} | ||
|
||
|
||
default : AIAssistantConfig | ||
default = | ||
{ enabled = False } | ||
|
||
|
||
decoder : Decoder AIAssistantConfig | ||
decoder = | ||
D.succeed AIAssistantConfig | ||
|> D.required "enabled" D.bool |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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