snapshot while the tree was restored from disk and no live sync has completed yet.
Dynamically adds an observable property to the store.
The name of the property to add.
The initial value of the property.
Adds a newly created room (or other sub-group) under its parent. The room is made observable and attached like any group from a sync, so later edits on it re-render. A room already under the parent is merged in place.
Home (or group) the room was created in
Freshly transformed room from the adaptor
The store's instance of the room
Attaches fetched nodes to a group: upserts them into the node store, then
points the group's nodeIds / nodeDetails at the store instances. When the
group is a home, each room is filled from the same nodes by its nodeIds
(a room's nodes are always a subset of its home's), so one fetch per home
serves every room with no further calls.
With complete, snapshot nodes the group lists but nodes lacks are deleted.
Home or room the nodes were fetched for
Freshly transformed nodes from the adaptor
complete when nodes is the group's full fetch result
Releases this store's entity subscriptions. Called by ESPCDF.dispose.
Fetch next page of issued group sharing requests from a specific SDK
Fetch next page of groups from a specific SDK.
Fetch next page of received group sharing requests from a specific SDK
Marks the tree stale, so the next syncHomeWithNodes() fetches it.
The tree was just restored from disk: not synced, waiters hold until a live sync.
Records that a full home sync finished; releases snapshot waiters.
Applies plain field changes (name, description, custom data, ...) to a home or a room in place. Rooms are not top-level entries, so they are found by walking the tree.
Processes the issued group sharing request response from SDK Transforms SDK response to entities and stores pagination context
Processes the received group sharing request response from SDK Transforms SDK response to entities and stores pagination context
Removes a node from all groups' nodes arrays Called when a node is deleted from nodeStore to maintain consistency
The ID of the node to remove from groups
Replaces a group in the store (same ESPCDFGroup.id). Used when Matter conversion returns a new ESPCDFGroup / fabric instance from the SDK.
Keeps only valid homes in the store (used after first page and each next page in home sync).
Replaces the group tree with groups while keeping the instances the UI
already holds: groups (and sub-groups) with a known id are updated in place,
new ones are added, and ids missing from groups are removed and detached.
Snapshot nodes that no home in groups lists are deleted from the node store.
Action to set pagination context for a specific SDK.
Sync groups from registered SDKs that match this store type. This method fetches only the first page of groups from each registered SDK and stores pagination context for on-demand loading of additional pages.
Resolves when live data has replaced a snapshot; immediately when the data is already live.
trueonce a full home sync has completed and nothing has marked the tree stale since. Whiletrue,user.syncHomeWithNodes()serves the store. Bookkeeping only, so deliberately not observable.