@sveltia/cms 0.109.0 → 0.110.0
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 +17 -13
- package/dist/sveltia-cms.js +293 -253
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +284 -244
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +2 -2
- package/schema/sveltia-cms.json +16 -36
- package/types/public.d.ts +4 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sveltia/cms",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.110.0",
|
|
4
4
|
"description": "Sveltia CMS is a modern, lightweight, Git-based headless content management system.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@types/react": "^19.
|
|
16
|
+
"@types/react": "^19.2.0"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"directory": "package",
|
package/schema/sveltia-cms.json
CHANGED
|
@@ -75,15 +75,10 @@
|
|
|
75
75
|
"description": "Whether to include transformation segments in an output URL. Default: `true`.",
|
|
76
76
|
"markdownDescription": "Whether to include transformation segments in an output URL. Default: `true`."
|
|
77
77
|
},
|
|
78
|
-
"use_secure_url": {
|
|
79
|
-
"type": "boolean",
|
|
80
|
-
"description": "Whether to use an HTTP URL. Default: `true`.",
|
|
81
|
-
"markdownDescription": "Whether to use an HTTP URL. Default: `true`."
|
|
82
|
-
},
|
|
83
78
|
"config": {
|
|
84
79
|
"type": "object",
|
|
85
|
-
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options.",
|
|
86
|
-
"markdownDescription": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options."
|
|
80
|
+
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. Some options, including `inline_container`, will be ignored in Sveltia CMS because we use an API-based integration instead of Cloudinary’s pre-built widget.",
|
|
81
|
+
"markdownDescription": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. Some options, including `inline_container`, will be ignored in Sveltia CMS because we use an API-based integration instead of Cloudinary’s pre-built widget."
|
|
87
82
|
}
|
|
88
83
|
},
|
|
89
84
|
"required": [
|
|
@@ -101,8 +96,8 @@
|
|
|
101
96
|
},
|
|
102
97
|
"config": {
|
|
103
98
|
"type": "object",
|
|
104
|
-
"description": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options.",
|
|
105
|
-
"markdownDescription": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options."
|
|
99
|
+
"description": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader.",
|
|
100
|
+
"markdownDescription": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader."
|
|
106
101
|
},
|
|
107
102
|
"settings": {
|
|
108
103
|
"$ref": "#/definitions/UploadcareMediaLibrarySettings",
|
|
@@ -802,15 +797,10 @@
|
|
|
802
797
|
"description": "Whether to include transformation segments in an output URL. Default: `true`.",
|
|
803
798
|
"markdownDescription": "Whether to include transformation segments in an output URL. Default: `true`."
|
|
804
799
|
},
|
|
805
|
-
"use_secure_url": {
|
|
806
|
-
"type": "boolean",
|
|
807
|
-
"description": "Whether to use an HTTP URL. Default: `true`.",
|
|
808
|
-
"markdownDescription": "Whether to use an HTTP URL. Default: `true`."
|
|
809
|
-
},
|
|
810
800
|
"config": {
|
|
811
801
|
"type": "object",
|
|
812
|
-
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options.",
|
|
813
|
-
"markdownDescription": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options."
|
|
802
|
+
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. Some options, including `inline_container`, will be ignored in Sveltia CMS because we use an API-based integration instead of Cloudinary’s pre-built widget.",
|
|
803
|
+
"markdownDescription": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. Some options, including `inline_container`, will be ignored in Sveltia CMS because we use an API-based integration instead of Cloudinary’s pre-built widget."
|
|
814
804
|
}
|
|
815
805
|
},
|
|
816
806
|
"additionalProperties": false,
|
|
@@ -822,8 +812,8 @@
|
|
|
822
812
|
"properties": {
|
|
823
813
|
"config": {
|
|
824
814
|
"type": "object",
|
|
825
|
-
"description": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options.",
|
|
826
|
-
"markdownDescription": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options."
|
|
815
|
+
"description": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader.",
|
|
816
|
+
"markdownDescription": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader."
|
|
827
817
|
},
|
|
828
818
|
"settings": {
|
|
829
819
|
"$ref": "#/definitions/UploadcareMediaLibrarySettings",
|
|
@@ -1979,15 +1969,10 @@
|
|
|
1979
1969
|
"description": "Whether to include transformation segments in an output URL. Default: `true`.",
|
|
1980
1970
|
"markdownDescription": "Whether to include transformation segments in an output URL. Default: `true`."
|
|
1981
1971
|
},
|
|
1982
|
-
"use_secure_url": {
|
|
1983
|
-
"type": "boolean",
|
|
1984
|
-
"description": "Whether to use an HTTP URL. Default: `true`.",
|
|
1985
|
-
"markdownDescription": "Whether to use an HTTP URL. Default: `true`."
|
|
1986
|
-
},
|
|
1987
1972
|
"config": {
|
|
1988
1973
|
"type": "object",
|
|
1989
|
-
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options.",
|
|
1990
|
-
"markdownDescription": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options."
|
|
1974
|
+
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. Some options, including `inline_container`, will be ignored in Sveltia CMS because we use an API-based integration instead of Cloudinary’s pre-built widget.",
|
|
1975
|
+
"markdownDescription": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. Some options, including `inline_container`, will be ignored in Sveltia CMS because we use an API-based integration instead of Cloudinary’s pre-built widget."
|
|
1991
1976
|
}
|
|
1992
1977
|
}
|
|
1993
1978
|
},
|
|
@@ -2002,8 +1987,8 @@
|
|
|
2002
1987
|
},
|
|
2003
1988
|
"config": {
|
|
2004
1989
|
"type": "object",
|
|
2005
|
-
"description": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options.",
|
|
2006
|
-
"markdownDescription": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options."
|
|
1990
|
+
"description": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader.",
|
|
1991
|
+
"markdownDescription": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader."
|
|
2007
1992
|
},
|
|
2008
1993
|
"settings": {
|
|
2009
1994
|
"$ref": "#/definitions/UploadcareMediaLibrarySettings",
|
|
@@ -2345,15 +2330,10 @@
|
|
|
2345
2330
|
"description": "Whether to include transformation segments in an output URL. Default: `true`.",
|
|
2346
2331
|
"markdownDescription": "Whether to include transformation segments in an output URL. Default: `true`."
|
|
2347
2332
|
},
|
|
2348
|
-
"use_secure_url": {
|
|
2349
|
-
"type": "boolean",
|
|
2350
|
-
"description": "Whether to use an HTTP URL. Default: `true`.",
|
|
2351
|
-
"markdownDescription": "Whether to use an HTTP URL. Default: `true`."
|
|
2352
|
-
},
|
|
2353
2333
|
"config": {
|
|
2354
2334
|
"type": "object",
|
|
2355
|
-
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options.",
|
|
2356
|
-
"markdownDescription": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options."
|
|
2335
|
+
"description": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. Some options, including `inline_container`, will be ignored in Sveltia CMS because we use an API-based integration instead of Cloudinary’s pre-built widget.",
|
|
2336
|
+
"markdownDescription": "Options to be passed to Cloudinary, such as `multiple`. The `cloud_name` and `api_key` options are required for the global `media_library` option. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. Some options, including `inline_container`, will be ignored in Sveltia CMS because we use an API-based integration instead of Cloudinary’s pre-built widget."
|
|
2357
2337
|
}
|
|
2358
2338
|
}
|
|
2359
2339
|
},
|
|
@@ -2368,8 +2348,8 @@
|
|
|
2368
2348
|
},
|
|
2369
2349
|
"config": {
|
|
2370
2350
|
"type": "object",
|
|
2371
|
-
"description": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options.",
|
|
2372
|
-
"markdownDescription": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options."
|
|
2351
|
+
"description": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader.",
|
|
2352
|
+
"markdownDescription": "Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required for the global `media_library` option. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader."
|
|
2373
2353
|
},
|
|
2374
2354
|
"settings": {
|
|
2375
2355
|
"$ref": "#/definitions/UploadcareMediaLibrarySettings",
|
package/types/public.d.ts
CHANGED
|
@@ -159,16 +159,13 @@ export type CloudinaryMediaLibrary = {
|
|
|
159
159
|
* URL. Default: `true`.
|
|
160
160
|
*/
|
|
161
161
|
use_transformations?: boolean;
|
|
162
|
-
/**
|
|
163
|
-
* Whether to use an HTTP URL. Default: `true`.
|
|
164
|
-
*/
|
|
165
|
-
use_secure_url?: boolean;
|
|
166
162
|
/**
|
|
167
163
|
* Options to be passed to Cloudinary, such as `multiple`.
|
|
168
164
|
* The `cloud_name` and `api_key` options are required for the global `media_library` option. See
|
|
169
165
|
* the [Cloudinary
|
|
170
166
|
* documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options)
|
|
171
|
-
* for a full list of available options.
|
|
167
|
+
* for a full list of available options. Some options, including `inline_container`, will be ignored
|
|
168
|
+
* in Sveltia CMS because we use an API-based integration instead of Cloudinary’s pre-built widget.
|
|
172
169
|
*/
|
|
173
170
|
config?: Record<string, any>;
|
|
174
171
|
};
|
|
@@ -195,7 +192,8 @@ export type UploadcareMediaLibrary = {
|
|
|
195
192
|
* Options to be passed to Uploadcare, such as `multiple`.
|
|
196
193
|
* The `publicKey` option is required for the global `media_library` option. See the [Uploadcare
|
|
197
194
|
* documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of
|
|
198
|
-
* available options.
|
|
195
|
+
* available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because
|
|
196
|
+
* we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader.
|
|
199
197
|
*/
|
|
200
198
|
config?: Record<string, any>;
|
|
201
199
|
/**
|