Skip to content

TypeScript API / laikacms/documents / ListChangesDone

Interface: ListChangesDone ​

Done value returned by listChanges. Carries the sync token that captures the state of the scope after the listed changes; pass it as since on the next call to resume the feed. Pagination on the base follows the ListRecordsDone precedent.

Extends ​

Properties ​

pagination? ​

ts
readonly optional pagination?: 
  | {
  page: number;
  perPage?: number;
}
  | {
  before?: string;
  perPage?: number;
}
  | {
  after?: string;
  perPage?: number;
}
  | {
  limit?: number;
  offset: number;
};

Inherited from ​

LaikaDone.pagination


syncToken ​

ts
readonly syncToken: string & Brand<"SyncToken">;

total? ​

ts
readonly optional total?: number;

Inherited from ​

LaikaDone.total

Released under the MIT License.