@fireproof/core 0.19.112-dev-usefp → 0.19.112-dev-script

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/index.d.cts CHANGED
@@ -865,9 +865,9 @@ type UpdateListenerFn<T extends DocTypes> = (docs: DocWithId<T>[]) => Promise<vo
865
865
  type NoUpdateListenerFn = () => Promise<void> | void;
866
866
  type ListenerFn<T extends DocTypes> = UpdateListenerFn<T> | NoUpdateListenerFn;
867
867
  interface CRDTEntry {
868
- data: string;
869
- parents: string[];
870
- cid: string;
868
+ readonly data: string;
869
+ readonly parents: string[];
870
+ readonly cid: string;
871
871
  }
872
872
 
873
873
  interface WriteQueue<T extends DocTypes> {
package/index.d.ts CHANGED
@@ -865,9 +865,9 @@ type UpdateListenerFn<T extends DocTypes> = (docs: DocWithId<T>[]) => Promise<vo
865
865
  type NoUpdateListenerFn = () => Promise<void> | void;
866
866
  type ListenerFn<T extends DocTypes> = UpdateListenerFn<T> | NoUpdateListenerFn;
867
867
  interface CRDTEntry {
868
- data: string;
869
- parents: string[];
870
- cid: string;
868
+ readonly data: string;
869
+ readonly parents: string[];
870
+ readonly cid: string;
871
871
  }
872
872
 
873
873
  interface WriteQueue<T extends DocTypes> {