Skip to content

Commit 8b90ac9

Browse files
committed
fixup! feat: support licenses that require telemetry
1 parent c19a545 commit 8b90ac9

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

coderd/apidoc/docs.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/enterprise.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ curl -X GET http://coder-server:8080/api/v2/entitlements \
128128
}
129129
},
130130
"has_license": true,
131+
"require_telemetry": true,
131132
"trial": true,
132133
"warnings": ["string"]
133134
}

docs/api/schemas.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2806,22 +2806,24 @@ CreateParameterRequest is a structure used to create a new parameter value for a
28062806
}
28072807
},
28082808
"has_license": true,
2809+
"require_telemetry": true,
28092810
"trial": true,
28102811
"warnings": ["string"]
28112812
}
28122813
```
28132814

28142815
### Properties
28152816

2816-
| Name | Type | Required | Restrictions | Description |
2817-
| ------------------ | ------------------------------------ | -------- | ------------ | ------------------------------------- |
2818-
| `errors` | array of string | false | | |
2819-
| `experimental` | boolean | false | | Experimental use Experiments instead. |
2820-
| `features` | object | false | | |
2821-
| » `[any property]` | [codersdk.Feature](#codersdkfeature) | false | | |
2822-
| `has_license` | boolean | false | | |
2823-
| `trial` | boolean | false | | |
2824-
| `warnings` | array of string | false | | |
2817+
| Name | Type | Required | Restrictions | Description |
2818+
| ------------------- | ------------------------------------ | -------- | ------------ | ------------------------------------- |
2819+
| `errors` | array of string | false | | |
2820+
| `experimental` | boolean | false | | Experimental use Experiments instead. |
2821+
| `features` | object | false | | |
2822+
| » `[any property]` | [codersdk.Feature](#codersdkfeature) | false | | |
2823+
| `has_license` | boolean | false | | |
2824+
| `require_telemetry` | boolean | false | | |
2825+
| `trial` | boolean | false | | |
2826+
| `warnings` | array of string | false | | |
28252827

28262828
## codersdk.Experiment
28272829

site/src/api/typesGenerated.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ export interface Entitlements {
359359
readonly errors: string[]
360360
readonly has_license: boolean
361361
readonly trial: boolean
362+
readonly require_telemetry: boolean
362363
readonly experimental: boolean
363364
}
364365

0 commit comments

Comments
 (0)