mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix(site/src/api/typesGenerated): generate HealthSection enums (#11049)
Relates to #8971 - Introduces a codersdk.HealthSection enum type - Refactors existing references using strings to use new HealthSection type
This commit is contained in:
23
coderd/apidoc/docs.go
generated
23
coderd/apidoc/docs.go
generated
@ -8973,13 +8973,30 @@ const docTemplate = `{
|
||||
"GroupSourceOIDC"
|
||||
]
|
||||
},
|
||||
"codersdk.HealthSection": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"DERP",
|
||||
"AccessURL",
|
||||
"Websocket",
|
||||
"Database",
|
||||
"WorkspaceProxy"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"HealthSectionDERP",
|
||||
"HealthSectionAccessURL",
|
||||
"HealthSectionWebsocket",
|
||||
"HealthSectionDatabase",
|
||||
"HealthSectionWorkspaceProxy"
|
||||
]
|
||||
},
|
||||
"codersdk.HealthSettings": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dismissed_healthchecks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/codersdk.HealthSection"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -10862,7 +10879,7 @@ const docTemplate = `{
|
||||
"dismissed_healthchecks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/codersdk.HealthSection"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -12550,7 +12567,7 @@ const docTemplate = `{
|
||||
"description": "FailingSections is a list of sections that have failed their healthcheck.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/codersdk.HealthSection"
|
||||
}
|
||||
},
|
||||
"healthy": {
|
||||
|
Reference in New Issue
Block a user