Clarify illegal value definitions in schema.md; update notes on null, undefined, and nested arrays to enhance accuracy and readability of the WH Telemetry Protocol documentation.
This commit is contained in:
10
schema.md
10
schema.md
@ -272,8 +272,8 @@ type UserData = Record<string, any>
|
||||
|
||||
> [!IMPORTANT]
|
||||
>
|
||||
> - `null` 与 `undefined` 不被支持
|
||||
> - 嵌套数组(如 `array<array<number>>`)亦为非法类型
|
||||
> - `null` 与 `undefined` 为非法值
|
||||
> - 嵌套数组(如 `array<array<number>>`)为非法类型
|
||||
|
||||
### 字段级元数据
|
||||
|
||||
@ -311,8 +311,10 @@ type DataType =
|
||||
| `irregular<enum:this>`
|
||||
```
|
||||
|
||||
- `null` 和 `undefined` 是非法的
|
||||
- 嵌套是非法的
|
||||
> [!IMPORTANT]
|
||||
>
|
||||
> - `null` 与 `undefined` 为非法值
|
||||
> - 嵌套数组(如 `array<array<number>>`)为非法类型
|
||||
|
||||
下面分别介绍各个类型
|
||||
|
||||
|
||||
Reference in New Issue
Block a user