Skip to content

Documentation / @super-line/core / DocListOpts

Interface: DocListOpts ​

Defined in: packages/core/src/crdt-collections.ts:40

Filter / sort / paginate options for CrdtCollectionStore.list. Id-substring only — CRDT docs aren't content-queryable.

Properties ​

idContains? ​

optional idContains?: string

Defined in: packages/core/src/crdt-collections.ts:41


limit? ​

optional limit?: number

Defined in: packages/core/src/crdt-collections.ts:43


offset? ​

optional offset?: number

Defined in: packages/core/src/crdt-collections.ts:44


sort? ​

optional sort?: object

Defined in: packages/core/src/crdt-collections.ts:42

by ​

by: "id" | "createdAt" | "updatedAt"

dir ​

dir: "asc" | "desc"

Released under the MIT License.