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

Function nextCursorFromRawList

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

Source from the content-addressed store, hash-verified

65} as const;
66
67const nextCursorFromRawList = (response: typeof RawWorkOSListResponse.Type): string | null =>
68 response.listMetadata?.after ?? response.list_metadata?.after ?? null;
69
70export const collectWorkOSList = async <Resource>(
71 response: WorkOSAutoPaginatable<Resource>,

Callers 1

collectRawWorkOSListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected