A server-paged list: by NUI action name, by server action name with service: set, or
through a reader function. See the module comment above.
The NUI action, the server action (with service: set), or the reader itself. A
function is also what keeps server/__tests__/routes.test.ts's scanner from reading
the name as a route nobody declared — there is no name to read.
Optionaloptions: PagedOptions
A server-paged list over an add-on's own service, typed from its declaration (MICA-313).
The declaration your server half registers, and the action that reads one page. Its output is
addonOutput<{ rows: Row[]; nextCursor: … | null }>()— oraddonOutput<Row[]>()for a list that is always one page — andRow, which needs anid: number, is the store's row type. The action is sent{ ...filter, cursor, limit }, so it declares an optionalcursorof the typenextCursorhands out, and alimitfield if you setpageSize; whateverload(filter)adds must be declared too, or the server refuses it.At run time it is
createPagedStore(action, { ...options, service: declaration.id }): the same store, through the same generic service route, refused by the shell for any id but your own.