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

Function nextCursorFromRawList

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

Source from the content-addressed store, hash-verified

308} as const;
309
310const nextCursorFromRawList = (response: typeof RawWorkOSListResponse.Type): string | null =>
311 response.listMetadata?.after ?? response.list_metadata?.after ?? null;
312
313export const collectWorkOSList = async <Resource>(
314 response: WorkOSAutoPaginatable<Resource>,

Callers 1

collectRawWorkOSListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected