@sveltia/cms 0.91.7 → 0.91.8

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.91.7",
3
+ "version": "0.91.8",
4
4
  "description": "Sveltia CMS is a modern, lightweight, Git-based headless content management system.",
5
5
  "keywords": [
6
6
  "cms",
@@ -4266,10 +4266,6 @@
4266
4266
  "type": "string"
4267
4267
  }
4268
4268
  },
4269
- "required": [
4270
- "key",
4271
- "value"
4272
- ],
4273
4269
  "additionalProperties": false,
4274
4270
  "description": "Property name and value template used to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link localized files when entry slugs are localized. The default property name is `translationKey` used in Hugo’s multilingual support, and the default value is the default locale’s slug. See our [README](https://github.com/sveltia/sveltia-cms#localizing-entry-slugs) for details.",
4275
4271
  "markdownDescription": "Property name and value template used to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link localized files when entry slugs are localized. The default property name is `translationKey` used in Hugo’s multilingual support, and the default value is the default locale’s slug. See our [README](https://github.com/sveltia/sveltia-cms#localizing-entry-slugs) for details."
package/types/public.d.ts CHANGED
@@ -1122,15 +1122,15 @@ export type I18nOptions = {
1122
1122
  */
1123
1123
  save_all_locales?: boolean;
1124
1124
  /**
1125
- * Property name and value template used
1126
- * to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link
1125
+ * Property name and value template
1126
+ * used to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link
1127
1127
  * localized files when entry slugs are localized. The default property name is `translationKey`
1128
1128
  * used in Hugo’s multilingual support, and the default value is the default locale’s slug. See our
1129
1129
  * [README](https://github.com/sveltia/sveltia-cms#localizing-entry-slugs) for details.
1130
1130
  */
1131
1131
  canonical_slug?: {
1132
- key: string;
1133
- value: string;
1132
+ key?: string;
1133
+ value?: string;
1134
1134
  };
1135
1135
  /**
1136
1136
  * Whether to exclude the default locale