dropdown type

This commit is contained in:
Alexander Strizhakov 2020-02-05 19:05:20 +03:00
parent c85aa6e87f
commit bdf0a87be9
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
1 changed files with 5 additions and 5 deletions

View File

@ -871,7 +871,7 @@
}, },
%{ %{
key: :limit_to_local_content, key: :limit_to_local_content,
type: [:atom, false], type: {:dropdown, :atom},
description: description:
"Limit unauthenticated users to search for local statutes and users only. Default: `:unauthenticated`.", "Limit unauthenticated users to search for local statutes and users only. Default: `:unauthenticated`.",
suggestions: [ suggestions: [
@ -942,7 +942,7 @@
children: [ children: [
%{ %{
key: :level, key: :level,
type: :atom, type: {:dropdown, :atom},
description: "Log level", description: "Log level",
suggestions: [:debug, :info, :warn, :error] suggestions: [:debug, :info, :warn, :error]
}, },
@ -974,7 +974,7 @@
children: [ children: [
%{ %{
key: :level, key: :level,
type: :atom, type: {:dropdown, :atom},
description: "Log level", description: "Log level",
suggestions: [:debug, :info, :warn, :error] suggestions: [:debug, :info, :warn, :error]
}, },
@ -998,7 +998,7 @@
children: [ children: [
%{ %{
key: :level, key: :level,
type: :atom, type: {:dropdown, :atom},
description: "Log level", description: "Log level",
suggestions: [:debug, :info, :warn, :error] suggestions: [:debug, :info, :warn, :error]
}, },
@ -1969,7 +1969,7 @@
}, },
%{ %{
key: :verbose, key: :verbose,
type: [:atom, false], type: {:dropdown, :atom},
description: "Logs verbose mode", description: "Logs verbose mode",
suggestions: [false, :error, :warn, :info, :debug] suggestions: [false, :error, :warn, :info, :debug]
}, },