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

Function nextCursorFromRawList

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

Source from the content-addressed store, hash-verified

247} as const;
248
249const nextCursorFromRawList = (response: typeof RawWorkOSListResponse.Type): string | null =>
250 response.listMetadata?.after ?? response.list_metadata?.after ?? null;
251
252export const collectWorkOSList = async <Resource>(
253 response: WorkOSAutoPaginatable<Resource>,

Callers 1

collectRawWorkOSListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected