@sveltia/cms 0.150.0 → 0.151.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/types/public.d.ts CHANGED
@@ -848,6 +848,11 @@ export type ComplexListFieldBaseProps = {
848
848
  * `true`.
849
849
  */
850
850
  allow_remove?: boolean;
851
+ /**
852
+ * Whether to allow users to duplicate items in the list.
853
+ * Default: `true`.
854
+ */
855
+ allow_duplicate?: boolean;
851
856
  /**
852
857
  * Whether to allow users to reorder items in the list. Default:
853
858
  * `true`.
@@ -1841,6 +1846,11 @@ export type EntryCollectionProps = {
1841
1846
  * `true`.
1842
1847
  */
1843
1848
  delete?: boolean;
1849
+ /**
1850
+ * Whether to allow users to duplicate entries in the collection.
1851
+ * Default: `true`.
1852
+ */
1853
+ duplicate?: boolean;
1844
1854
  /**
1845
1855
  * File extension. Default: `md`.
1846
1856
  */