mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
parent
13ba1e019e
commit
3029b3468f
2 changed files with 18 additions and 18 deletions
|
|
@ -186,7 +186,7 @@ Routes belong to groups. Groups scope admin access and can restrict which events
|
||||||
```
|
```
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
| Field | Type | Required | Description |
|
||||||
| ----------- | -------- | -------- | ---------------------------------------------------------------------------- |
|
| ----------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------- |
|
||||||
| `id` | string | Yes | Lowercase id (`a-z0-9`, `-`); referenced by each route's `groupId` |
|
| `id` | string | Yes | Lowercase id (`a-z0-9`, `-`); referenced by each route's `groupId` |
|
||||||
| `name` | string | Yes | Human-readable group name |
|
| `name` | string | Yes | Human-readable group name |
|
||||||
| `members` | object[] | No | `{ login, role }` entries; role is `owner`, `admin`, or `viewer` |
|
| `members` | object[] | No | `{ login, role }` entries; role is `owner`, `admin`, or `viewer` |
|
||||||
|
|
|
||||||
|
|
@ -186,7 +186,7 @@ WebHooker 内置了位于 `/admin` 的配置控制台,可在浏览器中管理
|
||||||
```
|
```
|
||||||
|
|
||||||
| 字段 | 类型 | 必需 | 说明 |
|
| 字段 | 类型 | 必需 | 说明 |
|
||||||
| ----------- | -------- | ---- | ------------------------------------------------------------------ |
|
| ----------- | -------- | ---- | ------------------------------------------------------------------------------------ |
|
||||||
| `id` | string | 是 | 小写 id(`a-z0-9`、`-`),由每条路由的 `groupId` 引用 |
|
| `id` | string | 是 | 小写 id(`a-z0-9`、`-`),由每条路由的 `groupId` 引用 |
|
||||||
| `name` | string | 是 | 可读的分组名称 |
|
| `name` | string | 是 | 可读的分组名称 |
|
||||||
| `members` | object[] | 否 | `{ login, role }` 列表;角色为 `owner`、`admin` 或 `viewer` |
|
| `members` | object[] | 否 | `{ login, role }` 列表;角色为 `owner`、`admin` 或 `viewer` |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue