import type { BasePageable } from './base-pageable.model'; export interface CursorPageable extends BasePageable { /** * An identifier used to divide the list into items that fall before or after the * current result list. Will usually be the first result's cursor. * * Used for cursor-based pagination (as opposed to offset-based pagination). * * @example eyJsYXN0X2lkIjoxMDA3OTc4ODg3NiwibGFzdF92YWx1ZSI6IjEwMDc5Nzg4ODc2In0= */ prevCursor?: string; /** * An identifier used to divide the list into items that fall before or after the * current result list. Will usually be the last result's cursor. * * Used for cursor-based pagination (as opposed to offset-based pagination). * * @example eyJsYXN0X2lkIjoxMDA3OTc4ODg3NiwibGFzdF92YWx1ZSI6IjEwMDc5Nzg4ODc2In0= */ nextCursor?: string; }