Skip to main content

Type Alias: AttributeModel

type AttributeModel = object;

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

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.

Properties

PropertyTypeDefined in
configAttributeType["config"]packages/shared/lib/types.d.ts:94
description?stringpackages/shared/lib/types.d.ts:93
namestringpackages/shared/lib/types.d.ts:92
typeAttributeType["type"]packages/shared/lib/types.d.ts:95