Skip to main content

lightyear.modelsynchronizer.list

Home > @runlightyear/lightyear > ModelSynchronizer > list

ModelSynchronizer.list() method

Signature:
abstract list(props: {
syncType: "FULL" | "INCREMENTAL";
lastUpdatedAt?: string;
cursor?: string;
}): Promise<{
objects: Array<FullObjectProps<T>>;
cursor?: string;
}>;

Parameters

ParameterTypeDescription
props{ syncType: "FULL" | "INCREMENTAL"; lastUpdatedAt?: string; cursor?: string; }
Returns:

Promise<{ objects: Array<FullObjectProps<T>>; cursor?: string; }>