IAttributionCollectionSpec Interface

Packages > @fluidframework/merge-tree > IAttributionCollectionSpec

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 IAttributionCollectionSpec<T>

Type Parameters

Parameter Description
T

Properties

Property Alerts Modifiers Type Description
channels Alpha optional { [name: string]: Iterable<{ offset: number; key: T | null; }>; }
length Alpha number
root Alpha Iterable<{ offset: number; key: T | null; }>

Property Details

channels

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

channels?: {
        [name: string]: Iterable<{
            offset: number;
            key: T | null;
        }>;
    };

Type: { [name: string]: Iterable<{ offset: number; key: T | null; }>; }

length

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

length: number;

Type: number

root

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

root: Iterable<{
        offset: number;
        key: T | null;
    }>;

Type: Iterable<{ offset: number; key: T | null; }>