@sveltia/cms 0.75.0 → 0.76.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 +6 -3
- package/dist/sveltia-cms.js +212 -212
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +211 -211
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
- package/types/public.d.ts +23 -1
package/package.json
CHANGED
package/types/public.d.ts
CHANGED
|
@@ -1063,6 +1063,28 @@ export type CollectionFile = {
|
|
|
1063
1063
|
* Set of fields to be included in the file.
|
|
1064
1064
|
*/
|
|
1065
1065
|
fields: Field[];
|
|
1066
|
+
/**
|
|
1067
|
+
* Internal media folder path for the collection. This overrides
|
|
1068
|
+
* the global or collection-level `media_folder` option.
|
|
1069
|
+
*/
|
|
1070
|
+
media_folder?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* Public media folder path for an entry collection. This
|
|
1073
|
+
* overrides the global or collection-level `public_folder` option. Default: `media_folder` option
|
|
1074
|
+
* value.
|
|
1075
|
+
*/
|
|
1076
|
+
public_folder?: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* File format. This overrides the collection-level `format` option.
|
|
1079
|
+
* Default: `yaml-frontmatter`.
|
|
1080
|
+
*/
|
|
1081
|
+
format?: FileFormat;
|
|
1082
|
+
/**
|
|
1083
|
+
* Delimiters to be used for the front matter
|
|
1084
|
+
* format. This overrides the collection-level `frontmatter_delimiter` option. Default: depends on
|
|
1085
|
+
* the front matter type.
|
|
1086
|
+
*/
|
|
1087
|
+
frontmatter_delimiter?: string | string[];
|
|
1066
1088
|
/**
|
|
1067
1089
|
* I18n options. Default: `false`.
|
|
1068
1090
|
*/
|
|
@@ -1330,7 +1352,7 @@ export type Collection = {
|
|
|
1330
1352
|
format?: FileFormat;
|
|
1331
1353
|
/**
|
|
1332
1354
|
* Delimiters to be used for the front matter
|
|
1333
|
-
* format.
|
|
1355
|
+
* format. Default: depends on the front matter type.
|
|
1334
1356
|
*/
|
|
1335
1357
|
frontmatter_delimiter?: string | string[];
|
|
1336
1358
|
/**
|