@nivaro/react 0.1.237 → 0.1.239

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/dist/index.d.ts CHANGED
@@ -2322,6 +2322,8 @@ declare interface LockHolder {
2322
2322
  locked_by_name: string | null;
2323
2323
  /** The holder's intent note (#10) — "editing lines ~15 min". */
2324
2324
  note?: string | null;
2325
+ /** Minutes since the holder last did anything (presence), when known. */
2326
+ idle_minutes?: number | null;
2325
2327
  }
2326
2328
 
2327
2329
  declare interface LockQueueEntry {
@@ -4782,6 +4784,10 @@ export declare function useItemLock(collection: string | undefined, item: string
4782
4784
  joining: boolean;
4783
4785
  myNote: string;
4784
4786
  saveNote: (note: string) => Promise<void>;
4787
+ release: () => Promise<void>;
4788
+ releasing: boolean;
4789
+ released: boolean;
4790
+ relock: () => Promise<boolean>;
4785
4791
  };
4786
4792
 
4787
4793
  /** Resolved item-link helpers honoring the host's itemUrl/openItem overrides. */