Skip to main content

Type Alias: AttributeType

type AttributeType =
| AttributeTypeString
| AttributeTypeInteger
| AttribruteTypeDate
| AttributeTypeDecimal
| AttributeTypeBoolean
| AttributeTypeForeignKey
| AttributeTypeObject
| AttributeTypeEnum
| AttributeTypeReference;

Defined in: packages/shared/lib/types.d.ts:90

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

These describe the values consumers have to construct themselves — most of all Patch, which StackOptions.patches asks for. @docstack/shared is an internal package, so surfacing them here is the only import path an application has.

Note that Document shadows the DOM's global Document in whichever module imports it; alias it (import type { Document as DocStackDocument }) in code that needs both.