Skip to content

TypeScript API / @contentia/astro/testing / FakeLoaderContextOptions

Interface: FakeLoaderContextOptions ​

Properties ​

collection? ​

ts
collection?: string;

entries? ​

ts
entries?: DataEntry<Record<string, unknown>>[];

Seed the data store, e.g. to simulate a warm build.


meta? ​

ts
meta?: Record<string, string>;

Seed the meta store, e.g. with a sync token from a previous run.


refreshContextData? ​

ts
refreshContextData?: Record<string, unknown>;

Value surfaced as refreshContextData.