TypeScript API / @laikacms/astro/loader / createDocumentsSyncSource
Function: createDocumentsSyncSource()
ts
function createDocumentsSyncSource(
documents,
collection,
select
): SyncSource;Adapt a DocumentsRepository to the seam the sync tiers work through.
Parameters
| Parameter | Type |
|---|---|
documents | DocumentsRepository |
collection | string |
select | DocumentSelectOptions |
Returns
SyncSource