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

Sign up to get free protection for your applications and to get access to all the features.
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> {