@sveltia/cms 0.107.1 → 0.107.2
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/sveltia-cms.js +2 -2
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +2 -2
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/sveltia-cms.json +15 -4
- package/types/public.d.ts +3 -2
package/package.json
CHANGED
package/schema/sveltia-cms.json
CHANGED
|
@@ -3422,8 +3422,8 @@
|
|
|
3422
3422
|
"items": {
|
|
3423
3423
|
"$ref": "#/definitions/Field"
|
|
3424
3424
|
},
|
|
3425
|
-
"description": "Set of fields to be included.",
|
|
3426
|
-
"markdownDescription": "Set of fields to be included."
|
|
3425
|
+
"description": "Set of fields to be included. Either the `fields` or `types` option is required.",
|
|
3426
|
+
"markdownDescription": "Set of fields to be included. Either the `fields` or `types` option is required."
|
|
3427
3427
|
},
|
|
3428
3428
|
"required": {
|
|
3429
3429
|
"anyOf": [
|
|
@@ -3516,12 +3516,23 @@
|
|
|
3516
3516
|
}
|
|
3517
3517
|
},
|
|
3518
3518
|
"required": [
|
|
3519
|
-
"fields",
|
|
3520
3519
|
"name",
|
|
3521
3520
|
"widget"
|
|
3522
3521
|
],
|
|
3523
3522
|
"description": "Object field definition.",
|
|
3524
|
-
"markdownDescription": "Object field definition."
|
|
3523
|
+
"markdownDescription": "Object field definition.",
|
|
3524
|
+
"oneOf": [
|
|
3525
|
+
{
|
|
3526
|
+
"required": [
|
|
3527
|
+
"fields"
|
|
3528
|
+
]
|
|
3529
|
+
},
|
|
3530
|
+
{
|
|
3531
|
+
"required": [
|
|
3532
|
+
"types"
|
|
3533
|
+
]
|
|
3534
|
+
}
|
|
3535
|
+
]
|
|
3525
3536
|
},
|
|
3526
3537
|
"RelationField": {
|
|
3527
3538
|
"type": "object",
|
package/types/public.d.ts
CHANGED
|
@@ -913,9 +913,10 @@ export type ObjectFieldProps = {
|
|
|
913
913
|
*/
|
|
914
914
|
summary?: string;
|
|
915
915
|
/**
|
|
916
|
-
* Set of fields to be included.
|
|
916
|
+
* Set of fields to be included. Either the `fields` or `types` option
|
|
917
|
+
* is required.
|
|
917
918
|
*/
|
|
918
|
-
fields
|
|
919
|
+
fields?: Field[];
|
|
919
920
|
};
|
|
920
921
|
/**
|
|
921
922
|
* Object field definition.
|