Skip to content

BlockSuite API Documentation / @blocksuite/data-view / PropertyModel

Type Alias: PropertyModel<Type, PropertyData, RawValue, JsonValue>

PropertyModel<Type, PropertyData, RawValue, JsonValue> = object

Defined in: packages/affine/data-view/src/core/property/property-config.ts:34

Type Parameters

Type

Type extends string = string

PropertyData

PropertyData extends Record<string, unknown> = Record<string, unknown>

RawValue

RawValue = unknown

JsonValue

JsonValue = unknown

Properties

config

config: PropertyConfig<PropertyData, RawValue, JsonValue>

Defined in: packages/affine/data-view/src/core/property/property-config.ts:41


create

create: Create<PropertyData>

Defined in: packages/affine/data-view/src/core/property/property-config.ts:42


createPropertyMeta

createPropertyMeta: CreatePropertyMeta<Type, PropertyData, RawValue, JsonValue>

Defined in: packages/affine/data-view/src/core/property/property-config.ts:43


type

type: Type

Defined in: packages/affine/data-view/src/core/property/property-config.ts:40