Packages > @fluidframework/merge-tree > IMergeTreeInsertMsg

IMergeTreeInsertMsg Interface

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/merge-tree/legacy.

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

Signature

export interface IMergeTreeInsertMsg extends IMergeTreeDelta

Extends: IMergeTreeDelta

Properties

Property Alerts Modifiers Type Description
pos1 Alpha optional number
pos2 Alpha optional number
relativePos1 Alpha optional IRelativePosition
relativePos2 Alpha optional IRelativePosition
seg Alpha optional any
type Alpha typeof MergeTreeDeltaType.INSERT

Property Details

pos1

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

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

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

Signature

pos1?: number;

Type: number

pos2

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

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

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

Signature

pos2?: number;

Type: number

relativePos1

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

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

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

Signature

relativePos1?: IRelativePosition;

Type: IRelativePosition

relativePos2

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

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

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

Signature

relativePos2?: IRelativePosition;

Type: IRelativePosition

seg

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

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

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

Signature

seg?: any;

Type: any

type

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

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

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

Signature

type: typeof MergeTreeDeltaType.INSERT;

Type: typeof MergeTreeDeltaType.INSERT