mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat!: patchTemplateMeta to use optional fields (#24984)
Closes https://github.com/coder/coder/issues/13112 **Breaking Change**: Removed status code `StatusNotModified` when no diffs occur in a patch. Now the patch is always applied and a template is always returned.
This commit is contained in:
Generated
+1
-1
@@ -23367,7 +23367,7 @@ const docTemplate = `{
|
||||
"type": "integer"
|
||||
},
|
||||
"update_workspace_dormant_at": {
|
||||
"description": "UpdateWorkspaceDormant updates the dormant_at field of workspaces spawned\nfrom the template. This is useful for preventing dormant workspaces being immediately\ndeleted when updating the dormant_ttl field to a new, shorter value.",
|
||||
"description": "UpdateWorkspaceDormantAt updates the dormant_at field of workspaces spawned\nfrom the template. This is useful for preventing dormant workspaces being\nimmediately deleted when updating the dormant_ttl field to a new, shorter\nvalue.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"update_workspace_last_used_at": {
|
||||
|
||||
Generated
+1
-1
@@ -21512,7 +21512,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"update_workspace_dormant_at": {
|
||||
"description": "UpdateWorkspaceDormant updates the dormant_at field of workspaces spawned\nfrom the template. This is useful for preventing dormant workspaces being immediately\ndeleted when updating the dormant_ttl field to a new, shorter value.",
|
||||
"description": "UpdateWorkspaceDormantAt updates the dormant_at field of workspaces spawned\nfrom the template. This is useful for preventing dormant workspaces being\nimmediately deleted when updating the dormant_ttl field to a new, shorter\nvalue.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"update_workspace_last_used_at": {
|
||||
|
||||
Reference in New Issue
Block a user