@sveltia/cms 0.83.0 → 0.85.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.83.0",
3
+ "version": "0.85.0",
4
4
  "description": "Sveltia CMS is a modern, lightweight, Git-based headless content management system.",
5
5
  "keywords": [
6
6
  "cms",
package/types/public.d.ts CHANGED
@@ -1289,9 +1289,20 @@ export type CollectionMetaData = {
1289
1289
  */
1290
1290
  export type CollectionIndexFile = {
1291
1291
  /**
1292
- * Index file name. Use `_index` for Hugo’s special index file.
1292
+ * Index file name without a locale or file extension. Default: `_index`,
1293
+ * which is used for Hugo’s special index file.
1293
1294
  */
1294
- name: string;
1295
+ name?: string;
1296
+ /**
1297
+ * Label to be displayed in the editor UI. Default: Index File or its
1298
+ * localized version.
1299
+ */
1300
+ label?: string;
1301
+ /**
1302
+ * Name of a Material Symbols icon to be displayed in the editor UI.
1303
+ * Default: `home`.
1304
+ */
1305
+ icon?: string;
1295
1306
  /**
1296
1307
  * Set of fields for the index file. If omitted, the regular entry
1297
1308
  * collection `fields` will be used instead.