MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / pagingOf

Function pagingOf

packages/core/api/src/admin/reads.ts:372–375  ·  view source on GitHub ↗
(options: AdminUsersListOptions)

Source from the content-addressed store, hash-verified

370/** Only the paging window — never the filters — reaches the SDK: the filters
371 * are resolved here, and the SDK's own `externalIds` is set by this file. */
372const pagingOf = (options: AdminUsersListOptions): AdminListSubjectsOptions => ({
373 ...(options.limit === undefined ? {} : { limit: options.limit }),
374 ...(options.offset === undefined ? {} : { offset: options.offset }),
375});
376
377export const listUsers = (
378 admin: ExecutorAdmin,

Callers 1

selectSubjectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected