feat: allow for default presets (#18445)

This commit is contained in:
Danny Kopping
2025-06-24 12:19:19 +02:00
committed by GitHub
parent 3fb5d0b52d
commit 6cc4cfa346
54 changed files with 2186 additions and 658 deletions
+2
View File
@@ -5497,6 +5497,7 @@ Git clone makes use of this by parsing the URL from: 'Username for "https://gith
```json
{
"default": true,
"id": "string",
"name": "string",
"parameters": [
@@ -5512,6 +5513,7 @@ Git clone makes use of this by parsing the URL from: 'Username for "https://gith
| Name | Type | Required | Restrictions | Description |
|--------------|---------------------------------------------------------------|----------|--------------|-------------|
| `default` | boolean | false | | |
| `id` | string | false | | |
| `name` | string | false | | |
| `parameters` | array of [codersdk.PresetParameter](#codersdkpresetparameter) | false | | |