Skip to main content

KeyEncodingOptions Enum

Options for how to encode keys in a tree. \

This API is provided as a beta preview and may change without notice.

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

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

Input

This type is "input," meaning that code outside of the library defining it should not read from it. Future versions of this type may add optional members or make typing of members more general.

Signature

export declare enum KeyEncodingOptions

Flags

FlagAlertsDescription
allStoredKeysBetaUse stored keys, and include Unknown optional fields.
knownStoredKeysBetaUse stored keys but do not include unknown optional fields.
usePropertyKeysBetaUse property keys.

allStoredKeys

Use stored keys, and include Unknown optional fields.

This API is provided as a beta preview and may change without notice.

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

Signature

allStoredKeys = "allStoredKeys"

Remarks

Currently only supported for export.

knownStoredKeys

Use stored keys but do not include unknown optional fields.

This API is provided as a beta preview and may change without notice.

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

Signature

knownStoredKeys = "knownStoredKeys"

Remarks

Supported for import and export. For export, this omits unknown optional fields. For import, any unexpected fields are errors, regardless of allowUnknownOptionalFields.

usePropertyKeys

Use property keys.

This API is provided as a beta preview and may change without notice.

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

Signature

usePropertyKeys = "usePropertyKeys"

Remarks

Supported for import and export. Unknown optional fields will be omitted when using property keys.