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

Function nextCursorFromRawList

apps/cloud/src/auth/workos.ts:332–333  ·  view source on GitHub ↗
(response: typeof RawWorkOSListResponse.Type)

Source from the content-addressed store, hash-verified

330} as const;
331
332const nextCursorFromRawList = (response: typeof RawWorkOSListResponse.Type): string | null =>
333 response.listMetadata?.after ?? response.list_metadata?.after ?? null;
334
335export const collectWorkOSList = async <Resource>(
336 response: WorkOSAutoPaginatable<Resource>,

Callers 1

collectRawWorkOSListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected