Skip to main content

Interface: DomainModel

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

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.

Extends

Indexable

[key: string]: any

Properties

PropertyTypeOverridesInherited fromDefined in
_rev?string--shared/lib/types.d.ts:160
~class"~self" | "domain"Document.~class-shared/lib/types.d.ts:154
~createTimestamp?number-Document.~createTimestampshared/lib/types.d.ts:174
~domain?undefined-Document.~domainshared/lib/types.d.ts:201
~updateTimestamp?number | null-Document.~updateTimestampshared/lib/types.d.ts:175
active?boolean-Document.activeshared/lib/types.d.ts:176
description?string--shared/lib/types.d.ts:159
namestring--shared/lib/types.d.ts:155
relation"1:1" | "1:N" | "N:1" | "N:N"--shared/lib/types.d.ts:156
sourceClassstring--shared/lib/types.d.ts:157
targetClassstring--shared/lib/types.d.ts:158