···11-// Single-entity reads composed with patch-store optimistic updates.
22-// This is the "current state" of an entity from the user's perspective —
33-// what they believe the server holds, including in-flight mutations.
44-// View-layer derivation (mute/hide/labels) is layered above this via derived.
55-66-export function getPost(dataStore, patchStore, uri) {
77- const raw = dataStore.getPost(uri);
88- if (!raw) return null;
99- return patchStore.applyPostPatches(raw);
1010-}
1111-1212-export function getProfile(dataStore, patchStore, did) {
1313- const raw = dataStore.getProfile(did);
1414- if (!raw) return null;
1515- return patchStore.applyProfilePatches(raw);
1616-}