Skip to content

TypeScript API / @laikacms/astro/loader / SyncOptions

Interface: SyncOptions ​

Properties ​

scope? ​

ts
optional scope?: "collection" | "store";

Whether the sync token is scoped to this collection or to the whole store. A store-wide token is coarser but is the only option on repositories that cannot scope a feed to a folder. Defaults to 'collection'.


strategy? ​

ts
optional strategy?: SyncStrategy;

Defaults to 'auto'.

Released under the MIT License.