Skip to main content
Version: v2

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

Type Parameters​

ParameterDescription
T

Properties​

PropertyAlertsModifiersTypeDescription
channelsBetaoptional{ [name: string]: Iterable<{ offset: number; key: T | null; }>; }
lengthBetanumber
rootBetaIterable<{ offset: number; key: T | null; }>

Property Details​

channels​

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

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 for existing users, but is not recommended for new users.

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

Signature​

length: number;

Type: number

root​

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

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; }>