Skip to main content

ModifyDiff Interface

An object that describes the modification of an existing node on a tree.

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

To use, import via @fluidframework/ai-collab/alpha.

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

Signature

export interface ModifyDiff extends DiffBase

Extends: DiffBase

Properties

PropertyAlertsModifiersTypeDescription
newValueAlphareadonlyunknownThe new value of the node.
nodePathAlphareadonlyNodePathThe path from the root node to the ndoe being modified.
oldValueAlphareadonlyunknownThe old value of the node.
typeAlphareadonly"modify"

Property Details

newValue

The new value of the node.

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 newValue: unknown;

Type: unknown

nodePath

The path from the root node to the ndoe being modified.

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 nodePath: NodePath;

Type: NodePath

oldValue

The old value of the node.

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 oldValue: unknown;

Type: unknown

type

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 type: "modify";

Type: "modify"