@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/cms",
3
- "version": "0.75.0",
3
+ "version": "0.76.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
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. Entry collection only. Default: depends on the front matter type.
1355
+ * format. Default: depends on the front matter type.
1334
1356
  */
1335
1357
  frontmatter_delimiter?: string | string[];
1336
1358
  /**