A page read, for a list that no NUI action or useService call can reach.
The third door, and the one an add-on needs for a shared service: a named NUI action
is refused inside the sandbox (sdk/host/iframe/fetchNui.ts) and the generic service
route is pinned to the app's own namespace (IframeHostServer's serviceAllowed), so
a list like the follow graph is reachable only through its enumerated facet —
useAccounts().getFollowers. Passing that function here keeps the paging (cursor,
hasMore, the optimistic prepend/replace/remove) instead of reimplementing it
per app.
A page read, for a list that no NUI action or
useServicecall can reach.The third door, and the one an add-on needs for a shared service: a named NUI action is refused inside the sandbox (
sdk/host/iframe/fetchNui.ts) and the generic service route is pinned to the app's own namespace (IframeHostServer'sserviceAllowed), so a list like the follow graph is reachable only through its enumerated facet —useAccounts().getFollowers. Passing that function here keeps the paging (cursor,hasMore, the optimisticprepend/replace/remove) instead of reimplementing it per app.