@panneau/protocol 5.0.0-alpha.18 → 5.0.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compound.d.ts +20 -0
- package/dist/compound.d.ts.map +1 -0
- package/dist/compound.js +27 -0
- package/dist/compound.js.map +1 -0
- package/dist/index.js +2 -1
- package/dist/mock/index.d.ts +8 -0
- package/dist/mock/index.d.ts.map +1 -1
- package/dist/mock/index.js +14 -5
- package/dist/mock/index.js.map +1 -1
- package/dist/rules.d.ts.map +1 -1
- package/dist/rules.js +4 -2
- package/dist/rules.js.map +1 -1
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +2 -1
- package/dist/schemas/api.js +1 -1
- package/dist/schemas/api.js.map +1 -1
- package/dist/schemas/field.js +2 -2
- package/dist/schemas/field.js.map +1 -1
- package/package.json +1 -1
- package/schema/openapi.json +3 -3
package/package.json
CHANGED
package/schema/openapi.json
CHANGED
|
@@ -3852,7 +3852,7 @@
|
|
|
3852
3852
|
}
|
|
3853
3853
|
},
|
|
3854
3854
|
"multiple": {
|
|
3855
|
-
"description": "`select`, `relation`, `media`, `image`, `file`, `country
|
|
3855
|
+
"description": "`select`, `relation`, `media`, `image`, `file`, `country`, and compound fields: the value is an array.",
|
|
3856
3856
|
"type": "boolean"
|
|
3857
3857
|
},
|
|
3858
3858
|
"resource": {
|
|
@@ -3918,7 +3918,7 @@
|
|
|
3918
3918
|
"type": "string"
|
|
3919
3919
|
},
|
|
3920
3920
|
"fields": {
|
|
3921
|
-
"description": "`group` and `repeater`: the nested fields.",
|
|
3921
|
+
"description": "`group` and `repeater`: the nested fields. On a type that isn't built in, they make it a compound field (decision 0065): its value is an object of them, or a list of objects with `multiple`, and a client without the type's plugin renders it as a `group` or a `repeater`.",
|
|
3922
3922
|
"type": "array",
|
|
3923
3923
|
"items": {
|
|
3924
3924
|
"$ref": "#/components/schemas/Field"
|
|
@@ -6154,7 +6154,7 @@
|
|
|
6154
6154
|
"type": "string"
|
|
6155
6155
|
},
|
|
6156
6156
|
"reason": {
|
|
6157
|
-
"description": "`skipped`: `forbidden`, `not_found` or `
|
|
6157
|
+
"description": "`skipped`: `forbidden`, `not_found`, `unchanged`, or `in_use` (something else uses the item, so it can’t be deleted).",
|
|
6158
6158
|
"type": "string"
|
|
6159
6159
|
}
|
|
6160
6160
|
},
|