Skip to main content

SchemaType Enum

The type of simple schema being represented.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/tree/alpha.

For more information about our API support guarantees, see here.

Signature

export declare enum SchemaType

Flags

FlagAlertsDescription
StoredAlphaThe schema is a stored schema, meaning it expresses exactly what could be validly persisted in a SharedTree.
ViewAlphaThe schema is a view schema, meaning it expresses how to view data which is using a compatible stored schema.

Stored

The schema is a stored schema, meaning it expresses exactly what could be validly persisted in a SharedTree.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

Stored = 0

View

The schema is a view schema, meaning it expresses how to view data which is using a compatible stored schema.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature

View = 1