BaseSegment Class
To use, import via @fluidframework/merge-tree/legacy
.
For more information about our API support guarantees, see here.
Signature
export declare abstract class BaseSegment implements ISegment
Implements: ISegment
Constructors
Constructor | Alerts | Description |
---|---|---|
(constructor)(properties) | Alpha |
Constructs a new instance of the BaseSegment class |
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
attribution | Alpha |
optional |
IAttributionCollection<AttributionKey> | |
cachedLength | Alpha |
number | ||
clientId | Alpha |
number | ||
index | Alpha |
number | ||
localMovedSeq | Alpha |
optional |
number | |
localRefs | Alpha |
optional |
LocalReferenceCollection | |
localRemovedSeq | Alpha |
optional |
number | |
localSeq | Alpha |
optional |
number | |
movedClientIds | Alpha |
optional |
number[] | |
movedSeq | Alpha |
optional |
number | |
movedSeqs | Alpha |
optional |
number[] | |
ordinal | Alpha |
string | ||
properties | Alpha |
optional |
PropertySet | |
removedClientIds | Alpha |
optional |
number[] | |
removedSeq | Alpha |
optional |
number | |
seq | Alpha |
number | ||
trackingCollection | Alpha |
readonly |
TrackingGroupCollection | |
type | Alpha |
readonly |
string | |
wasMovedOnInsert | Alpha |
optional |
boolean | undefined |
Constructor Details
(constructor)
Constructs a new instance of the BaseSegment
class
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
constructor(properties?: PropertySet);
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
properties | optional | PropertySet |
Property Details
attribution
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
attribution?: IAttributionCollection<AttributionKey>;
Type: IAttributionCollection<AttributionKey>
cachedLength
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
cachedLength: number;
Type: number
clientId
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
clientId: number;
Type: number
index
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
index: number;
Type: number
localMovedSeq
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
localMovedSeq?: number;
Type: number
localRefs
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
localRefs?: LocalReferenceCollection;
Type: LocalReferenceCollection
localRemovedSeq
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
localRemovedSeq?: number;
Type: number
localSeq
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
localSeq?: number;
Type: number
movedClientIds
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
movedClientIds?: number[];
Type: number[]
movedSeq
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
movedSeq?: number;
Type: number
movedSeqs
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
movedSeqs?: number[];
Type: number[]
ordinal
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
ordinal: string;
Type: string
properties
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
properties?: PropertySet;
Type: PropertySet
removedClientIds
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
removedClientIds?: number[];
Type: number[]
removedSeq
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
removedSeq?: number;
Type: number
seq
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
seq: number;
Type: number
trackingCollection
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly trackingCollection: TrackingGroupCollection;
Type: TrackingGroupCollection
type
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
abstract readonly type: string;
Type: string
wasMovedOnInsert
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
wasMovedOnInsert?: boolean | undefined;
Type: boolean | undefined