Skip to content

Commit

Permalink
fix(schema): Added new configuration value to schema config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamess-Lucass committed Aug 31, 2023
1 parent c6ad607 commit befab97
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 4 additions & 1 deletion config/flipt.schema.cue
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ import "strings"
}
}

#ui: enabled?: bool | *true
#ui: {
enabled?: bool | *true
default_theme?: string | "system"
}

#audit: {
sinks?: {
Expand Down
14 changes: 8 additions & 6 deletions config/flipt.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"properties": {
"domain": { "type": "string" },
"secure": { "type": "boolean" },
"token_lifetime": {"type": "string"},
"state_lifetime": {"type": "string"},
"token_lifetime": { "type": "string" },
"state_lifetime": { "type": "string" },
"csrf": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -436,10 +436,7 @@
"type": "integer"
},
"conn_max_lifetime": {
"oneOf": [
{"type": "integer"},
{"type": "string"}
]
"oneOf": [{ "type": "integer" }, { "type": "string" }]
},
"prepared_statements_enabled": {
"type": "boolean"
Expand Down Expand Up @@ -637,6 +634,11 @@
"type": "boolean",
"default": true,
"deprecated": true
},
"default_theme": {
"type": "string",
"default": "system",
"deprecated": false
}
},
"title": "UI"
Expand Down

0 comments on commit befab97

Please sign in to comment.