@firecms/core 3.0.0-canary.283 → 3.0.0-canary.284

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.
@@ -352,6 +352,14 @@ export interface EntityCollection<M extends Record<string, any> = any, USER exte
352
352
  * This prop has no effect if the history plugin is not enabled
353
353
  */
354
354
  history?: boolean;
355
+
356
+ /**
357
+ * If set to true, local changes to entities in this collection will be backed up
358
+ * in the browser's local storage. This allows users to recover unsaved changes
359
+ * in case of accidental navigation or browser crashes.
360
+ * Defaults to `true`.
361
+ */
362
+ enableLocalChangesBackup?: boolean;
355
363
  }
356
364
 
357
365
  /**
@@ -157,7 +157,6 @@ export function hasEntityInCache(path: string): boolean {
157
157
  */
158
158
  export function removeEntityFromCache(path: string): void {
159
159
 
160
-
161
160
  console.debug("Removing entity from cache", path);
162
161
 
163
162
  // Remove from the in-memory cache