@thebes/cadmea 1.3.0 → 1.4.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.
@@ -87,6 +87,15 @@ interface DraftActions {
87
87
  saveDraftLabel?: string;
88
88
  publishLabel?: string;
89
89
  previewLabel?: string;
90
+ /**
91
+ * Opt in to debounced autosave: while the form is dirty, `onSaveDraft` is
92
+ * called automatically after a pause in typing, and a "Saving…/Saved"
93
+ * status shows in the action bar. Off by default (existing consumers keep
94
+ * the manual Save-draft button only).
95
+ */
96
+ autosave?: boolean;
97
+ /** Debounce window for autosave, in ms. Default 1500. */
98
+ autosaveMs?: number;
90
99
  }
91
100
  interface CollectionEditProps {
92
101
  config: CollectionConfig;