Skip to main content

RemoteChangeMetadata Interface

Information about a change that has been applied by a remote client.

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

To use, import via fluid-framework/alpha.

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

Sealed

This type is "sealed," meaning that code outside of the library defining it should not implement or extend it. Future versions of this type may add members or make typing of readonly members more specific.

Signature

/** @sealed */
export interface RemoteChangeMetadata extends CommitMetadata

Extends: CommitMetadata

Properties

PropertyAlertsModifiersTypeDescription
getChangeAlphaoptional, readonlyundefinedReturns a serializable object that encodes the change.
getRevertibleAlphaoptional, readonlyundefinedReturns an object (a "revertible") that can be used to revert the change that produced this event.
isLocalAlphareadonlyfalseWhether the change was made on the local machine/client or received from a remote client.

Property Details

getChange

Returns a serializable object that encodes the change.

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

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

Signature

readonly getChange?: undefined;

Type: undefined

Remarks

This is only available for local changes.

getRevertible

Returns an object (a "revertible") that can be used to revert the change that produced this event.

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

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

Signature

readonly getRevertible?: undefined;

Type: undefined

Remarks

This is only available for local changes.

isLocal

Whether the change was made on the local machine/client or received from a remote client.

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

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

Signature

readonly isLocal: false;

Type: false