@sveltia/cms 0.80.0 → 0.80.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/README.md +3 -2
- package/dist/sveltia-cms.js +230 -229
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +238 -237
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +11 -6
- package/types/public.d.ts +6 -4
package/package.json
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/cms",
|
|
3
|
-
"version": "0.80.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.80.2",
|
|
4
|
+
"description": "Sveltia CMS is a modern, lightweight, Git-based headless content management system.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cms",
|
|
7
|
+
"content-management-system"
|
|
8
|
+
],
|
|
6
9
|
"repository": {
|
|
7
10
|
"type": "git",
|
|
8
11
|
"url": "github:sveltia/sveltia-cms"
|
|
9
12
|
},
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"type": "module",
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@types/react": "^19.1.6"
|
|
17
|
+
},
|
|
10
18
|
"publishConfig": {
|
|
11
19
|
"directory": "package",
|
|
12
20
|
"access": "public",
|
|
13
21
|
"provenance": true
|
|
14
22
|
},
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"@types/react": "^19.1.6"
|
|
17
|
-
},
|
|
18
23
|
"files": [
|
|
19
24
|
"dist",
|
|
20
25
|
"types",
|
package/types/public.d.ts
CHANGED
|
@@ -855,9 +855,10 @@ export type RelationFieldProps = {
|
|
|
855
855
|
*/
|
|
856
856
|
widget: "relation";
|
|
857
857
|
/**
|
|
858
|
-
* Default value.
|
|
858
|
+
* Default value(s), which should match the options. When
|
|
859
|
+
* `multiple` is `false`, it should be a single value that matches the `value_field` option.
|
|
859
860
|
*/
|
|
860
|
-
default?: any;
|
|
861
|
+
default?: any | any[];
|
|
861
862
|
/**
|
|
862
863
|
* Referenced collection name.
|
|
863
864
|
*/
|
|
@@ -902,9 +903,10 @@ export type SelectFieldProps = {
|
|
|
902
903
|
*/
|
|
903
904
|
widget: "select";
|
|
904
905
|
/**
|
|
905
|
-
* Default
|
|
906
|
+
* Default value(s), which should match the options. When
|
|
907
|
+
* `multiple` is `false`, it should be a single value that matches the `value` option.
|
|
906
908
|
*/
|
|
907
|
-
default?:
|
|
909
|
+
default?: any | any[];
|
|
908
910
|
/**
|
|
909
911
|
* Options.
|
|
910
912
|
*/
|