mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
feat: support links with custom icons (#11629)
This commit is contained in:
2
docs/api/enterprise.md
generated
2
docs/api/enterprise.md
generated
@ -28,7 +28,7 @@ curl -X GET http://coder-server:8080/api/v2/appearance \
|
||||
},
|
||||
"support_links": [
|
||||
{
|
||||
"icon": "string",
|
||||
"icon": "bug",
|
||||
"name": "string",
|
||||
"target": "string"
|
||||
}
|
||||
|
2
docs/api/general.md
generated
2
docs/api/general.md
generated
@ -343,7 +343,7 @@ curl -X GET http://coder-server:8080/api/v2/deployment/config \
|
||||
"links": {
|
||||
"value": [
|
||||
{
|
||||
"icon": "string",
|
||||
"icon": "bug",
|
||||
"name": "string",
|
||||
"target": "string"
|
||||
}
|
||||
|
20
docs/api/schemas.md
generated
20
docs/api/schemas.md
generated
@ -717,7 +717,7 @@ _None_
|
||||
{
|
||||
"value": [
|
||||
{
|
||||
"icon": "string",
|
||||
"icon": "bug",
|
||||
"name": "string",
|
||||
"target": "string"
|
||||
}
|
||||
@ -1024,7 +1024,7 @@ _None_
|
||||
},
|
||||
"support_links": [
|
||||
{
|
||||
"icon": "string",
|
||||
"icon": "bug",
|
||||
"name": "string",
|
||||
"target": "string"
|
||||
}
|
||||
@ -2277,7 +2277,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
"links": {
|
||||
"value": [
|
||||
{
|
||||
"icon": "string",
|
||||
"icon": "bug",
|
||||
"name": "string",
|
||||
"target": "string"
|
||||
}
|
||||
@ -2655,7 +2655,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
"links": {
|
||||
"value": [
|
||||
{
|
||||
"icon": "string",
|
||||
"icon": "bug",
|
||||
"name": "string",
|
||||
"target": "string"
|
||||
}
|
||||
@ -3359,7 +3359,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
|
||||
```json
|
||||
{
|
||||
"icon": "string",
|
||||
"icon": "bug",
|
||||
"name": "string",
|
||||
"target": "string"
|
||||
}
|
||||
@ -3373,6 +3373,14 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
| `name` | string | false | | |
|
||||
| `target` | string | false | | |
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
| Property | Value |
|
||||
| -------- | ------ |
|
||||
| `icon` | `bug` |
|
||||
| `icon` | `chat` |
|
||||
| `icon` | `docs` |
|
||||
|
||||
## codersdk.LogLevel
|
||||
|
||||
```json
|
||||
@ -4455,7 +4463,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
"links": {
|
||||
"value": [
|
||||
{
|
||||
"icon": "string",
|
||||
"icon": "bug",
|
||||
"name": "string",
|
||||
"target": "string"
|
||||
}
|
||||
|
Reference in New Issue
Block a user