Skip to main content

Type Alias: Document

type Document = PouchDB.Core.Document<object & BaseDocumentFields>;

Defined in: shared/lib/types.d.ts:199

Document-modelling types, re-exported from @docstack/client.

Sourced from the client rather than @docstack/shared on purpose: the two packages would otherwise resolve their own copies of @docstack/shared, and a consumer using both could end up holding two structurally-identical-but-distinct Patch types. One source means one copy.