chore: add form_type parameter argument to db (#17920)

`form_type` is a new parameter field in the terraform provider. Bring
that field into coder/coder.

Validation for `multi-select` has also been added.
This commit is contained in:
Steven Masley
2025-05-29 08:55:19 -05:00
committed by GitHub
parent 776c144128
commit 8387dd27ab
35 changed files with 1556 additions and 822 deletions
+17
View File
@@ -16095,6 +16095,23 @@ const docTemplate = `{
"ephemeral": {
"type": "boolean"
},
"form_type": {
"description": "FormType has an enum value of empty string, ` + "`" + `\"\"` + "`" + `.\nKeep the leading comma in the enums struct tag.",
"type": "string",
"enum": [
"",
"radio",
"dropdown",
"input",
"textarea",
"slider",
"checkbox",
"switch",
"tag-select",
"multi-select",
"error"
]
},
"icon": {
"type": "string"
},
+17
View File
@@ -14662,6 +14662,23 @@
"ephemeral": {
"type": "boolean"
},
"form_type": {
"description": "FormType has an enum value of empty string, `\"\"`.\nKeep the leading comma in the enums struct tag.",
"type": "string",
"enum": [
"",
"radio",
"dropdown",
"input",
"textarea",
"slider",
"checkbox",
"switch",
"tag-select",
"multi-select",
"error"
]
},
"icon": {
"type": "string"
},