mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(codersdk): deprecate WorkspaceAppStatus.{NeedsUserAttention,Icon} (#17358)
https://github.com/coder/coder/pull/17163 introduced the `workspace_app_statuses` table. Two of these fields (`needs_user_attention`, `icon`) turned out to be surplus to requirements. - Removes columns `needs_user_attention` and `icon` from `workspace_app_statuses` - Marks the corresponding fields of `codersdk.WorkspaceAppStatus` as deprecated.
This commit is contained in:
Generated
+4
-1
@@ -10242,12 +10242,14 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"icon": {
|
||||
"description": "Deprecated: this field is unused and will be removed in a future version.",
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"needs_user_attention": {
|
||||
"description": "Deprecated: this field is unused and will be removed in a future version.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"state": {
|
||||
@@ -16925,7 +16927,7 @@ const docTemplate = `{
|
||||
"format": "date-time"
|
||||
},
|
||||
"icon": {
|
||||
"description": "Icon is an external URL to an icon that will be rendered in the UI.",
|
||||
"description": "Deprecated: This field is unused and will be removed in a future version.\nIcon is an external URL to an icon that will be rendered in the UI.",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
@@ -16936,6 +16938,7 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"needs_user_attention": {
|
||||
"description": "Deprecated: This field is unused and will be removed in a future version.\nNeedsUserAttention specifies whether the status needs user attention.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"state": {
|
||||
|
||||
Generated
+4
-1
@@ -9079,12 +9079,14 @@
|
||||
"type": "string"
|
||||
},
|
||||
"icon": {
|
||||
"description": "Deprecated: this field is unused and will be removed in a future version.",
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"needs_user_attention": {
|
||||
"description": "Deprecated: this field is unused and will be removed in a future version.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"state": {
|
||||
@@ -15444,7 +15446,7 @@
|
||||
"format": "date-time"
|
||||
},
|
||||
"icon": {
|
||||
"description": "Icon is an external URL to an icon that will be rendered in the UI.",
|
||||
"description": "Deprecated: This field is unused and will be removed in a future version.\nIcon is an external URL to an icon that will be rendered in the UI.",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
@@ -15455,6 +15457,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"needs_user_attention": {
|
||||
"description": "Deprecated: This field is unused and will be removed in a future version.\nNeedsUserAttention specifies whether the status needs user attention.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"state": {
|
||||
|
||||
Reference in New Issue
Block a user