@sveltia/cms 0.130.0 → 0.140.1

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/types/public.d.ts CHANGED
@@ -692,6 +692,14 @@ export type KeyValueFieldProps = {
692
692
  * Label for the value column. Default: Value.
693
693
  */
694
694
  value_label?: string;
695
+ /**
696
+ * Whether to save the field value at the top-level of the data file
697
+ * without the field name. If the `single_file` i18n structure is enabled, the key-value pairs will
698
+ * still be saved under locale keys. Default: `false`. See the
699
+ * [documentation](https://sveltiacms.app/en/docs/fields/keyvalue#top-level-key-value-pairs) for
700
+ * details.
701
+ */
702
+ root?: boolean;
695
703
  };
696
704
  /**
697
705
  * KeyValue field definition.