UNPKG

@adonis-agora/agent

Version:

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

18 lines • 1.01 kB
/** * The ecosystem's cursor-pagination vocabulary. * * These types **intentionally mirror `@adonis-agora/filter`'s `CursorParams` / `CursorPage<T>` / * `CursorPageResponse<T>` * STRUCTURALLY** — same property names, same meanings — so every `@adonis-agora/*` package speaks the * one pagination interface and a consumer can move a page between them without a translation layer. * The mirroring is deliberate and must be kept in sync by hand: the browser entry points (`./react`, * `./client`) import these types and must not pull the server-side filter lib in. If * `@adonis-agora/filter` changes the shape, change it here too. * * `CursorParams` / `CursorPage` are the store SPI's (rows under `items`); `CursorPageResponse` is * what the HTTP lists answer (rows under `data`). The SPI's one intentional difference is that its * paginated reads are **forward-only**, so {@link CursorParams} omits `before`/`last` — see its * docblock. */ export {}; //# sourceMappingURL=pagination.js.map