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
Properties
| Property | Type | Overrides | Inherited from | Defined in |
|---|
_rev? | string | - | - | shared/lib/types.d.ts:160 |
~class | "~self" | "domain" | Document.~class | - | shared/lib/types.d.ts:154 |
~createTimestamp? | number | - | Document.~createTimestamp | shared/lib/types.d.ts:174 |
~domain? | undefined | - | Document.~domain | shared/lib/types.d.ts:201 |
~updateTimestamp? | number | null | - | Document.~updateTimestamp | shared/lib/types.d.ts:175 |
active? | boolean | - | Document.active | shared/lib/types.d.ts:176 |
description? | string | - | - | shared/lib/types.d.ts:159 |
name | string | - | - | shared/lib/types.d.ts:155 |
relation | "1:1" | "1:N" | "N:1" | "N:N" | - | - | shared/lib/types.d.ts:156 |
sourceClass | string | - | - | shared/lib/types.d.ts:157 |
targetClass | string | - | - | shared/lib/types.d.ts:158 |