@fluidframework/sequence 2.0.0-internal.7.4.0 → 2.0.0-internal.8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/CHANGELOG.md +111 -0
  2. package/api-report/sequence.api.md +52 -30
  3. package/dist/defaultMapInterfaces.d.ts +2 -2
  4. package/dist/defaultMapInterfaces.d.ts.map +1 -1
  5. package/dist/defaultMapInterfaces.js.map +1 -1
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +11 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/intervalCollection.d.ts +4 -4
  11. package/dist/intervalCollection.d.ts.map +1 -1
  12. package/dist/intervalCollection.js.map +1 -1
  13. package/dist/intervalTree.d.ts +1 -2
  14. package/dist/intervalTree.d.ts.map +1 -1
  15. package/dist/intervalTree.js +1 -3
  16. package/dist/intervalTree.js.map +1 -1
  17. package/dist/intervals/interval.d.ts +3 -4
  18. package/dist/intervals/interval.d.ts.map +1 -1
  19. package/dist/intervals/interval.js +9 -13
  20. package/dist/intervals/interval.js.map +1 -1
  21. package/dist/intervals/intervalUtils.d.ts +0 -4
  22. package/dist/intervals/intervalUtils.d.ts.map +1 -1
  23. package/dist/intervals/intervalUtils.js +0 -5
  24. package/dist/intervals/intervalUtils.js.map +1 -1
  25. package/dist/intervals/sequenceInterval.d.ts +2 -3
  26. package/dist/intervals/sequenceInterval.d.ts.map +1 -1
  27. package/dist/intervals/sequenceInterval.js +9 -17
  28. package/dist/intervals/sequenceInterval.js.map +1 -1
  29. package/dist/packageVersion.d.ts +1 -1
  30. package/dist/packageVersion.js +1 -1
  31. package/dist/packageVersion.js.map +1 -1
  32. package/dist/revertibles.d.ts.map +1 -1
  33. package/dist/revertibles.js +7 -1
  34. package/dist/revertibles.js.map +1 -1
  35. package/dist/sequence-alpha.d.ts +63 -51
  36. package/dist/sequence-beta.d.ts +18 -15
  37. package/dist/sequence-public.d.ts +18 -15
  38. package/dist/sequence-untrimmed.d.ts +69 -55
  39. package/dist/sequence.d.ts +24 -21
  40. package/dist/sequence.d.ts.map +1 -1
  41. package/dist/sequence.js +37 -22
  42. package/dist/sequence.js.map +1 -1
  43. package/dist/sequenceDeltaEvent.d.ts.map +1 -1
  44. package/dist/sequenceDeltaEvent.js +11 -4
  45. package/dist/sequenceDeltaEvent.js.map +1 -1
  46. package/dist/sharedSequence.d.ts +1 -1
  47. package/dist/sharedSequence.d.ts.map +1 -1
  48. package/dist/sharedSequence.js +6 -0
  49. package/dist/sharedSequence.js.map +1 -1
  50. package/dist/sharedString.d.ts +5 -17
  51. package/dist/sharedString.d.ts.map +1 -1
  52. package/dist/sharedString.js +7 -22
  53. package/dist/sharedString.js.map +1 -1
  54. package/lib/defaultMapInterfaces.d.ts +2 -2
  55. package/lib/defaultMapInterfaces.d.ts.map +1 -1
  56. package/lib/defaultMapInterfaces.js.map +1 -1
  57. package/lib/index.d.ts +1 -0
  58. package/lib/index.d.ts.map +1 -1
  59. package/lib/index.js +11 -1
  60. package/lib/index.js.map +1 -1
  61. package/lib/intervalCollection.d.ts +4 -4
  62. package/lib/intervalCollection.d.ts.map +1 -1
  63. package/lib/intervalCollection.js.map +1 -1
  64. package/lib/intervalTree.d.ts +1 -2
  65. package/lib/intervalTree.d.ts.map +1 -1
  66. package/lib/intervalTree.js +1 -3
  67. package/lib/intervalTree.js.map +1 -1
  68. package/lib/intervals/interval.d.ts +3 -4
  69. package/lib/intervals/interval.d.ts.map +1 -1
  70. package/lib/intervals/interval.js +9 -13
  71. package/lib/intervals/interval.js.map +1 -1
  72. package/lib/intervals/intervalUtils.d.ts +0 -4
  73. package/lib/intervals/intervalUtils.d.ts.map +1 -1
  74. package/lib/intervals/intervalUtils.js +0 -5
  75. package/lib/intervals/intervalUtils.js.map +1 -1
  76. package/lib/intervals/sequenceInterval.d.ts +2 -3
  77. package/lib/intervals/sequenceInterval.d.ts.map +1 -1
  78. package/lib/intervals/sequenceInterval.js +9 -17
  79. package/lib/intervals/sequenceInterval.js.map +1 -1
  80. package/lib/packageVersion.d.ts +1 -1
  81. package/lib/packageVersion.js +1 -1
  82. package/lib/packageVersion.js.map +1 -1
  83. package/lib/revertibles.d.ts.map +1 -1
  84. package/lib/revertibles.js +7 -1
  85. package/lib/revertibles.js.map +1 -1
  86. package/lib/sequence-alpha.d.ts +63 -51
  87. package/lib/sequence-beta.d.ts +18 -15
  88. package/lib/sequence-public.d.ts +18 -15
  89. package/lib/sequence-untrimmed.d.ts +69 -55
  90. package/lib/sequence.d.ts +24 -21
  91. package/lib/sequence.d.ts.map +1 -1
  92. package/lib/sequence.js +37 -22
  93. package/lib/sequence.js.map +1 -1
  94. package/lib/sequenceDeltaEvent.d.ts.map +1 -1
  95. package/lib/sequenceDeltaEvent.js +11 -4
  96. package/lib/sequenceDeltaEvent.js.map +1 -1
  97. package/lib/sharedSequence.d.ts +1 -1
  98. package/lib/sharedSequence.d.ts.map +1 -1
  99. package/lib/sharedSequence.js +6 -0
  100. package/lib/sharedSequence.js.map +1 -1
  101. package/lib/sharedString.d.ts +5 -17
  102. package/lib/sharedString.d.ts.map +1 -1
  103. package/lib/sharedString.js +7 -22
  104. package/lib/sharedString.js.map +1 -1
  105. package/package.json +36 -16
  106. package/sequence.test-files.tar +0 -0
  107. package/src/defaultMapInterfaces.ts +2 -2
  108. package/src/index.ts +17 -0
  109. package/src/intervalCollection.ts +4 -4
  110. package/src/intervalTree.ts +0 -3
  111. package/src/intervals/interval.ts +5 -19
  112. package/src/intervals/intervalUtils.ts +2 -5
  113. package/src/intervals/sequenceInterval.ts +4 -23
  114. package/src/packageVersion.ts +1 -1
  115. package/src/revertibles.ts +11 -4
  116. package/src/sequence.ts +59 -40
  117. package/src/sequenceDeltaEvent.ts +8 -2
  118. package/src/sharedSequence.ts +9 -3
  119. package/src/sharedString.ts +17 -47
  120. package/tsconfig.json +1 -0
@@ -18,7 +18,6 @@ import { IChannelAttributes } from '@fluidframework/datastore-definitions';
18
18
  import { IChannelFactory } from '@fluidframework/datastore-definitions';
19
19
  import { IChannelServices } from '@fluidframework/datastore-definitions';
20
20
  import { IChannelStorageService } from '@fluidframework/datastore-definitions';
21
- import { ICombiningOp } from '@fluidframework/merge-tree';
22
21
  import { IEvent } from '@fluidframework/core-interfaces';
23
22
  import { IEventThisPlaceHolder } from '@fluidframework/core-interfaces';
24
23
  import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
@@ -27,10 +26,7 @@ import { IJSONSegment } from '@fluidframework/merge-tree';
27
26
  import { IMergeTreeDeltaCallbackArgs } from '@fluidframework/merge-tree';
28
27
  import { IMergeTreeDeltaOpArgs } from '@fluidframework/merge-tree';
29
28
  import { IMergeTreeGroupMsg } from '@fluidframework/merge-tree';
30
- import { IMergeTreeInsertMsg } from '@fluidframework/merge-tree';
31
29
  import { IMergeTreeMaintenanceCallbackArgs } from '@fluidframework/merge-tree';
32
- import { IMergeTreeOp } from '@fluidframework/merge-tree';
33
- import { IMergeTreeRemoveMsg } from '@fluidframework/merge-tree';
34
30
  import { IRelativePosition } from '@fluidframework/merge-tree';
35
31
  import { ISegment } from '@fluidframework/merge-tree';
36
32
  import { ISegmentAction } from '@fluidframework/merge-tree';
@@ -39,22 +35,27 @@ import { ISharedObjectEvents } from '@fluidframework/shared-object-base';
39
35
  import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
40
36
  import { ITelemetryContext } from '@fluidframework/runtime-definitions';
41
37
  import { LocalReferencePosition } from '@fluidframework/merge-tree';
38
+ import { MapLike } from '@fluidframework/merge-tree';
42
39
  import { Marker } from '@fluidframework/merge-tree';
43
40
  import { MergeTreeDeltaOperationType } from '@fluidframework/merge-tree';
44
41
  import { MergeTreeDeltaOperationTypes } from '@fluidframework/merge-tree';
45
42
  import { MergeTreeDeltaRevertible } from '@fluidframework/merge-tree';
43
+ import { MergeTreeDeltaType } from '@fluidframework/merge-tree';
46
44
  import { MergeTreeMaintenanceType } from '@fluidframework/merge-tree';
47
45
  import { MergeTreeRevertibleDriver } from '@fluidframework/merge-tree';
48
46
  import { PropertiesManager } from '@fluidframework/merge-tree';
49
47
  import { PropertySet } from '@fluidframework/merge-tree';
50
- import { RangeStackMap } from '@fluidframework/merge-tree';
51
48
  import { ReferencePosition } from '@fluidframework/merge-tree';
52
49
  import { ReferenceType } from '@fluidframework/merge-tree';
50
+ import { reservedMarkerIdKey } from '@fluidframework/merge-tree';
51
+ import { reservedRangeLabelsKey } from '@fluidframework/merge-tree';
52
+ import { reservedTileLabelsKey } from '@fluidframework/merge-tree';
53
53
  import { Serializable } from '@fluidframework/datastore-definitions';
54
54
  import { SharedObject } from '@fluidframework/shared-object-base';
55
55
  import { SlidingPreference } from '@fluidframework/merge-tree';
56
56
  import { SummarySerializer } from '@fluidframework/shared-object-base';
57
57
  import { TextSegment } from '@fluidframework/merge-tree';
58
+ import { TrackingGroup } from '@fluidframework/merge-tree';
58
59
  import { TypedEventEmitter } from '@fluid-internal/client-utils';
59
60
 
60
61
  /* Excluded from this release type: appendAddIntervalToRevertibles */
@@ -99,8 +100,6 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
99
100
 
100
101
  /* Excluded from this release type: IChannelStorageService */
101
102
 
102
- /* Excluded from this release type: ICombiningOp */
103
-
104
103
  /* Excluded from this release type: IEndpointIndex */
105
104
 
106
105
  /* Excluded from this release type: IEndpointInRangeIndex */
@@ -135,14 +134,8 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
135
134
 
136
135
  /* Excluded from this release type: IMergeTreeGroupMsg */
137
136
 
138
- /* Excluded from this release type: IMergeTreeInsertMsg */
139
-
140
137
  /* Excluded from this release type: IMergeTreeMaintenanceCallbackArgs */
141
138
 
142
- /* Excluded from this release type: IMergeTreeOp */
143
-
144
- /* Excluded from this release type: IMergeTreeRemoveMsg */
145
-
146
139
  /* Excluded from this release type: InteriorSequencePlace */
147
140
 
148
141
  /* Excluded from this release type: Interval */
@@ -193,6 +186,8 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
193
186
 
194
187
  /* Excluded from this release type: LocalReferencePosition */
195
188
 
189
+ /* Excluded from this release type: MapLike */
190
+
196
191
  /* Excluded from this release type: Marker */
197
192
 
198
193
  /* Excluded from this release type: MergeTreeDeltaOperationType */
@@ -201,6 +196,8 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
201
196
 
202
197
  /* Excluded from this release type: MergeTreeDeltaRevertible */
203
198
 
199
+ /* Excluded from this release type: MergeTreeDeltaType */
200
+
204
201
  /* Excluded from this release type: MergeTreeMaintenanceType */
205
202
 
206
203
  /* Excluded from this release type: MergeTreeRevertibleDriver */
@@ -209,12 +206,16 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
209
206
 
210
207
  /* Excluded from this release type: PropertySet */
211
208
 
212
- /* Excluded from this release type: RangeStackMap */
213
-
214
209
  /* Excluded from this release type: ReferencePosition */
215
210
 
216
211
  /* Excluded from this release type: ReferenceType */
217
212
 
213
+ /* Excluded from this release type: reservedMarkerIdKey */
214
+
215
+ /* Excluded from this release type: reservedRangeLabelsKey */
216
+
217
+ /* Excluded from this release type: reservedTileLabelsKey */
218
+
218
219
  /* Excluded from this release type: revertSharedStringRevertibles */
219
220
 
220
221
  /* Excluded from this release type: SequenceDeltaEvent */
@@ -265,6 +266,8 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
265
266
 
266
267
  /* Excluded from this release type: TextSegment */
267
268
 
269
+ /* Excluded from this release type: TrackingGroup */
270
+
268
271
  /* Excluded from this release type: TypedEventEmitter */
269
272
 
270
273
  export { }
@@ -18,7 +18,6 @@ import { IChannelAttributes } from '@fluidframework/datastore-definitions';
18
18
  import { IChannelFactory } from '@fluidframework/datastore-definitions';
19
19
  import { IChannelServices } from '@fluidframework/datastore-definitions';
20
20
  import { IChannelStorageService } from '@fluidframework/datastore-definitions';
21
- import { ICombiningOp } from '@fluidframework/merge-tree';
22
21
  import { IEvent } from '@fluidframework/core-interfaces';
23
22
  import { IEventThisPlaceHolder } from '@fluidframework/core-interfaces';
24
23
  import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
@@ -27,10 +26,7 @@ import { IJSONSegment } from '@fluidframework/merge-tree';
27
26
  import { IMergeTreeDeltaCallbackArgs } from '@fluidframework/merge-tree';
28
27
  import { IMergeTreeDeltaOpArgs } from '@fluidframework/merge-tree';
29
28
  import { IMergeTreeGroupMsg } from '@fluidframework/merge-tree';
30
- import { IMergeTreeInsertMsg } from '@fluidframework/merge-tree';
31
29
  import { IMergeTreeMaintenanceCallbackArgs } from '@fluidframework/merge-tree';
32
- import { IMergeTreeOp } from '@fluidframework/merge-tree';
33
- import { IMergeTreeRemoveMsg } from '@fluidframework/merge-tree';
34
30
  import { IRelativePosition } from '@fluidframework/merge-tree';
35
31
  import { ISegment } from '@fluidframework/merge-tree';
36
32
  import { ISegmentAction } from '@fluidframework/merge-tree';
@@ -39,22 +35,27 @@ import { ISharedObjectEvents } from '@fluidframework/shared-object-base';
39
35
  import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
40
36
  import { ITelemetryContext } from '@fluidframework/runtime-definitions';
41
37
  import { LocalReferencePosition } from '@fluidframework/merge-tree';
38
+ import { MapLike } from '@fluidframework/merge-tree';
42
39
  import { Marker } from '@fluidframework/merge-tree';
43
40
  import { MergeTreeDeltaOperationType } from '@fluidframework/merge-tree';
44
41
  import { MergeTreeDeltaOperationTypes } from '@fluidframework/merge-tree';
45
42
  import { MergeTreeDeltaRevertible } from '@fluidframework/merge-tree';
43
+ import { MergeTreeDeltaType } from '@fluidframework/merge-tree';
46
44
  import { MergeTreeMaintenanceType } from '@fluidframework/merge-tree';
47
45
  import { MergeTreeRevertibleDriver } from '@fluidframework/merge-tree';
48
46
  import { PropertiesManager } from '@fluidframework/merge-tree';
49
47
  import { PropertySet } from '@fluidframework/merge-tree';
50
- import { RangeStackMap } from '@fluidframework/merge-tree';
51
48
  import { ReferencePosition } from '@fluidframework/merge-tree';
52
49
  import { ReferenceType } from '@fluidframework/merge-tree';
50
+ import { reservedMarkerIdKey } from '@fluidframework/merge-tree';
51
+ import { reservedRangeLabelsKey } from '@fluidframework/merge-tree';
52
+ import { reservedTileLabelsKey } from '@fluidframework/merge-tree';
53
53
  import { Serializable } from '@fluidframework/datastore-definitions';
54
54
  import { SharedObject } from '@fluidframework/shared-object-base';
55
55
  import { SlidingPreference } from '@fluidframework/merge-tree';
56
56
  import { SummarySerializer } from '@fluidframework/shared-object-base';
57
57
  import { TextSegment } from '@fluidframework/merge-tree';
58
+ import { TrackingGroup } from '@fluidframework/merge-tree';
58
59
  import { TypedEventEmitter } from '@fluid-internal/client-utils';
59
60
 
60
61
  /**
@@ -88,6 +89,8 @@ export declare function appendIntervalPropertyChangedToRevertibles(interval: Seq
88
89
  */
89
90
  export declare function appendSharedStringDeltaToRevertibles(string: SharedString, delta: SequenceDeltaEvent, revertibles: SharedStringRevertible[]): void;
90
91
 
92
+ export { BaseSegment }
93
+
91
94
  /**
92
95
  * @internal
93
96
  */
@@ -362,7 +365,7 @@ export declare interface IIntervalCollection<TInterval extends ISerializableInte
362
365
  * @param props - Property set to apply to the interval. Shallow merging is used between any existing properties
363
366
  * and `prop`, i.e. the interval will end up with a property object equivalent to `{ ...oldProps, ...props }`.
364
367
  */
365
- changeProperties(id: string, props: PropertySet): any;
368
+ changeProperties(id: string, props: PropertySet): void;
366
369
  /**
367
370
  * Changes the endpoints of an existing interval.
368
371
  * @deprecated - call change with the start and end parameters encapsulated in an object
@@ -475,13 +478,13 @@ export declare interface IIntervalCollectionEvent<TInterval extends ISerializabl
475
478
  * `op` is defined if and only if the server has acked this change.
476
479
  * `slide` is true if the change is due to sliding on removal of position
477
480
  */
478
- (event: "changeInterval", listener: (interval: TInterval, previousInterval: TInterval, local: boolean, op: ISequencedDocumentMessage | undefined, slide: boolean) => void): any;
481
+ (event: "changeInterval", listener: (interval: TInterval, previousInterval: TInterval, local: boolean, op: ISequencedDocumentMessage | undefined, slide: boolean) => void): void;
479
482
  /**
480
483
  * This event is invoked whenever an interval is added or removed from the collection.
481
484
  * `local` reflects whether the change originated locally.
482
485
  * `op` is defined if and only if the server has acked this change.
483
486
  */
484
- (event: "addInterval" | "deleteInterval", listener: (interval: TInterval, local: boolean, op: ISequencedDocumentMessage | undefined) => void): any;
487
+ (event: "addInterval" | "deleteInterval", listener: (interval: TInterval, local: boolean, op: ISequencedDocumentMessage | undefined) => void): void;
485
488
  /**
486
489
  * This event is invoked whenever an interval's properties have changed.
487
490
  * `interval` reflects the state of the updated properties.
@@ -491,7 +494,7 @@ export declare interface IIntervalCollectionEvent<TInterval extends ISerializabl
491
494
  * `local` reflects whether the change originated locally.
492
495
  * `op` is defined if and only if the server has acked this change.
493
496
  */
494
- (event: "propertyChanged", listener: (interval: TInterval, propertyDeltas: PropertySet, local: boolean, op: ISequencedDocumentMessage | undefined) => void): any;
497
+ (event: "propertyChanged", listener: (interval: TInterval, propertyDeltas: PropertySet, local: boolean, op: ISequencedDocumentMessage | undefined) => void): void;
495
498
  }
496
499
 
497
500
  /**
@@ -560,7 +563,7 @@ export declare class Interval implements ISerializableInterval {
560
563
  /**
561
564
  * {@inheritDoc ISerializableInterval.propertyManager}
562
565
  */
563
- propertyManager: PropertiesManager;
566
+ readonly propertyManager: PropertiesManager;
564
567
  constructor(start: number, end: number, props?: PropertySet);
565
568
  /**
566
569
  * {@inheritDoc ISerializableInterval.getIntervalId}
@@ -611,12 +614,11 @@ export declare class Interval implements ISerializableInterval {
611
614
  /**
612
615
  * {@inheritDoc ISerializableInterval.addProperties}
613
616
  */
614
- addProperties(newProps: PropertySet, collaborating?: boolean, seq?: number, op?: ICombiningOp): PropertySet | undefined;
617
+ addProperties(newProps: PropertySet, collaborating?: boolean, seq?: number): PropertySet | undefined;
615
618
  /**
616
619
  * {@inheritDoc IInterval.modify}
617
620
  */
618
621
  modify(label: string, start?: SequencePlace, end?: SequencePlace, op?: ISequencedDocumentMessage): Interval | undefined;
619
- private initializeProperties;
620
622
  }
621
623
 
622
624
  /**
@@ -767,10 +769,6 @@ export declare type IntervalStickiness = (typeof IntervalStickiness)[keyof typeo
767
769
  */
768
770
  export declare enum IntervalType {
769
771
  Simple = 0,
770
- /**
771
- * @deprecated this functionality is no longer supported and will be removed
772
- */
773
- Nest = 1,
774
772
  /**
775
773
  * SlideOnRemove indicates that the ends of the interval will slide if the segment
776
774
  * they reference is removed and acked.
@@ -800,6 +798,8 @@ export declare interface IOverlappingIntervalsIndex<TInterval extends ISerializa
800
798
  gatherIterationResults(results: TInterval[], iteratesForward: boolean, start?: SequencePlace, end?: SequencePlace): void;
801
799
  }
802
800
 
801
+ export { ISegment }
802
+
803
803
  /**
804
804
  * A range that has changed corresponding to a segment modification.
805
805
  * @alpha
@@ -930,9 +930,9 @@ export declare interface ISharedIntervalCollection<TInterval extends ISerializab
930
930
  * @alpha
931
931
  */
932
932
  export declare interface ISharedSegmentSequenceEvents extends ISharedObjectEvents {
933
- (event: "createIntervalCollection", listener: (label: string, local: boolean, target: IEventThisPlaceHolder) => void): any;
934
- (event: "sequenceDelta", listener: (event: SequenceDeltaEvent, target: IEventThisPlaceHolder) => void): any;
935
- (event: "maintenance", listener: (event: SequenceMaintenanceEvent, target: IEventThisPlaceHolder) => void): any;
933
+ (event: "createIntervalCollection", listener: (label: string, local: boolean, target: IEventThisPlaceHolder) => void): void;
934
+ (event: "sequenceDelta", listener: (event: SequenceDeltaEvent, target: IEventThisPlaceHolder) => void): void;
935
+ (event: "maintenance", listener: (event: SequenceMaintenanceEvent, target: IEventThisPlaceHolder) => void): void;
936
936
  }
937
937
 
938
938
  /**
@@ -953,7 +953,7 @@ export declare interface ISharedString extends SharedSegmentSequence<SharedStrin
953
953
  * @param refType - The reference type of the marker
954
954
  * @param props - The properties of the marker
955
955
  */
956
- insertMarker(pos: number, refType: ReferenceType, props?: PropertySet): IMergeTreeInsertMsg | undefined;
956
+ insertMarker(pos: number, refType: ReferenceType, props?: PropertySet): void;
957
957
  /**
958
958
  * {@inheritDoc SharedSegmentSequence.posFromRelativePos}
959
959
  */
@@ -989,6 +989,26 @@ export declare interface IValueOpEmitter {
989
989
  emit(opName: IntervalOpType, previousValue: undefined, params: SerializedIntervalDelta, localOpMetadata: IMapMessageLocalMetadata): void;
990
990
  }
991
991
 
992
+ export { LocalReferencePosition }
993
+
994
+ export { MapLike }
995
+
996
+ export { Marker }
997
+
998
+ export { MergeTreeDeltaType }
999
+
1000
+ export { PropertySet }
1001
+
1002
+ export { ReferencePosition }
1003
+
1004
+ export { ReferenceType }
1005
+
1006
+ export { reservedMarkerIdKey }
1007
+
1008
+ export { reservedRangeLabelsKey }
1009
+
1010
+ export { reservedTileLabelsKey }
1011
+
992
1012
  /**
993
1013
  * Invoke revertibles to reverse prior edits
994
1014
  * @internal
@@ -1159,7 +1179,7 @@ export declare class SequenceInterval implements ISerializableInterval {
1159
1179
  /**
1160
1180
  * {@inheritDoc ISerializableInterval.addProperties}
1161
1181
  */
1162
- addProperties(newProps: PropertySet, collab?: boolean, seq?: number, op?: ICombiningOp): PropertySet | undefined;
1182
+ addProperties(newProps: PropertySet, collab?: boolean, seq?: number): PropertySet | undefined;
1163
1183
  /**
1164
1184
  * @returns whether this interval overlaps two numerical positions.
1165
1185
  */
@@ -1168,7 +1188,6 @@ export declare class SequenceInterval implements ISerializableInterval {
1168
1188
  * {@inheritDoc IInterval.modify}
1169
1189
  */
1170
1190
  modify(label: string, start: SequencePlace | undefined, end: SequencePlace | undefined, op?: ISequencedDocumentMessage, localSeq?: number, useNewSlidingBehavior?: boolean): SequenceInterval;
1171
- private initializeProperties;
1172
1191
  }
1173
1192
 
1174
1193
  /**
@@ -1379,9 +1398,19 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
1379
1398
  * @param start - The inclusive start of the range to remove
1380
1399
  * @param end - The exclusive end of the range to remove
1381
1400
  */
1382
- removeRange(start: number, end: number): IMergeTreeRemoveMsg;
1401
+ removeRange(start: number, end: number): void;
1383
1402
  /**
1384
- * @deprecated The ability to create group ops will be removed in an upcoming release, as group ops are redundant with the native batching capabilities of the runtime
1403
+ * Obliterate is similar to remove, but differs in that segments concurrently
1404
+ * inserted into an obliterated range will also be removed
1405
+ *
1406
+ * @param start - The inclusive start of the range to obliterate
1407
+ * @param end - The exclusive end of the range to obliterate
1408
+ */
1409
+ obliterateRange(start: number, end: number): void;
1410
+ /**
1411
+ * @deprecated The ability to create group ops will be removed in an upcoming
1412
+ * release, as group ops are redundant with the native batching capabilities
1413
+ * of the runtime
1385
1414
  */
1386
1415
  groupOperation(groupOp: IMergeTreeGroupMsg): void;
1387
1416
  /**
@@ -1409,10 +1438,9 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
1409
1438
  * @param start - The inclusive start position of the range to annotate
1410
1439
  * @param end - The exclusive end position of the range to annotate
1411
1440
  * @param props - The properties to annotate the range with
1412
- * @param combiningOp - Optional. Specifies how to combine values for the property, such as "incr" for increment.
1413
1441
  *
1414
1442
  */
1415
- annotateRange(start: number, end: number, props: PropertySet, combiningOp?: ICombiningOp): void;
1443
+ annotateRange(start: number, end: number, props: PropertySet): void;
1416
1444
  getPropertiesAtPosition(pos: number): PropertySet | undefined;
1417
1445
  getRangeExtentsOfPosition(pos: number): {
1418
1446
  posStart: number | undefined;
@@ -1450,10 +1478,7 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
1450
1478
  * @param remoteClientId - The client id of the remote client
1451
1479
  */
1452
1480
  resolveRemoteClientPosition(remoteClientPosition: number, remoteClientRefSeq: number, remoteClientId: string): number | undefined;
1453
- /**
1454
- * @deprecated This method will no longer be public in an upcoming release as it is not safe to use outside of this class
1455
- */
1456
- submitSequenceMessage(message: IMergeTreeOp): void;
1481
+ private submitSequenceMessage;
1457
1482
  /**
1458
1483
  * Given a position specified relative to a marker id, lookup the marker
1459
1484
  * and convert the position to a character position.
@@ -1462,22 +1487,19 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
1462
1487
  posFromRelativePos(relativePos: IRelativePosition): number;
1463
1488
  /**
1464
1489
  * Walk the underlying segments of the sequence.
1465
- * The walked segments may extend beyond the range
1466
- * if the segments cross the ranges start or end boundaries.
1467
- * Set split range to true to ensure only segments within the
1468
- * range are walked.
1490
+ * The walked segments may extend beyond the range if the segments cross the
1491
+ * ranges start or end boundaries.
1492
+ *
1493
+ * Set split range to true to ensure only segments within the range are walked.
1469
1494
  *
1470
- * @param handler - The function to handle each segment
1495
+ * @param handler - The function to handle each segment. Traversal ends if
1496
+ * this function returns true.
1471
1497
  * @param start - Optional. The start of range walk.
1472
1498
  * @param end - Optional. The end of range walk
1473
1499
  * @param accum - Optional. An object that will be passed to the handler for accumulation
1474
1500
  * @param splitRange - Optional. Splits boundary segments on the range boundaries
1475
1501
  */
1476
1502
  walkSegments<TClientData>(handler: ISegmentAction<TClientData>, start?: number, end?: number, accum?: TClientData, splitRange?: boolean): void;
1477
- /**
1478
- * @deprecated this functionality is no longer supported and will be removed
1479
- */
1480
- getStackContext(startPos: number, rangeLabels: string[]): RangeStackMap;
1481
1503
  /**
1482
1504
  * @returns The most recent sequence number which has been acked by the server and processed by this
1483
1505
  * SharedSegmentSequence.
@@ -1639,7 +1661,7 @@ export declare class SharedString extends SharedSegmentSequence<SharedStringSegm
1639
1661
  /**
1640
1662
  * {@inheritDoc ISharedString.insertMarker}
1641
1663
  */
1642
- insertMarker(pos: number, refType: ReferenceType, props?: PropertySet): IMergeTreeInsertMsg | undefined;
1664
+ insertMarker(pos: number, refType: ReferenceType, props?: PropertySet): void;
1643
1665
  /**
1644
1666
  * Inserts the text at the position.
1645
1667
  * @param relativePos1 - The relative position to insert the text at
@@ -1665,25 +1687,13 @@ export declare class SharedString extends SharedSegmentSequence<SharedStringSegm
1665
1687
  * @param end - The exclusive end of the range to replace
1666
1688
  * @returns the message sent.
1667
1689
  */
1668
- removeText(start: number, end: number): IMergeTreeRemoveMsg;
1669
- /**
1670
- * Annotates the marker with the provided properties and calls the callback on consensus.
1671
- * @param marker - The marker to annotate
1672
- * @param props - The properties to annotate the marker with
1673
- * @param consensusCallback - The callback called when consensus is reached
1674
- *
1675
- * @deprecated We no longer intend to support this functionality and it will
1676
- * be removed in a future release. There is no replacement for this
1677
- * functionality.
1678
- */
1679
- annotateMarkerNotifyConsensus(marker: Marker, props: PropertySet, callback: (m: Marker) => void): void;
1690
+ removeText(start: number, end: number): void;
1680
1691
  /**
1681
1692
  * Annotates the marker with the provided properties.
1682
1693
  * @param marker - The marker to annotate
1683
1694
  * @param props - The properties to annotate the marker with
1684
- * @param combiningOp - Optional. Specifies how to combine values for the property, such as "incr" for increment.
1685
1695
  */
1686
- annotateMarker(marker: Marker, props: PropertySet, combiningOp?: ICombiningOp): void;
1696
+ annotateMarker(marker: Marker, props: PropertySet): void;
1687
1697
  /**
1688
1698
  * Finds the nearest reference with ReferenceType.Tile to `startPos` in the direction dictated by `tilePrecedesPos`.
1689
1699
  * Note that Markers receive `ReferenceType.Tile` by default.
@@ -1775,7 +1785,7 @@ export declare class SubSequence<T> extends BaseSegment {
1775
1785
  items: Serializable<T>[];
1776
1786
  static readonly typeString: string;
1777
1787
  static is(segment: ISegment): segment is SubSequence<any>;
1778
- static fromJSONObject<U>(spec: Serializable): SubSequence<U> | undefined;
1788
+ static fromJSONObject<U>(spec: any): SubSequence<U> | undefined;
1779
1789
  readonly type: string;
1780
1790
  constructor(items: Serializable<T>[]);
1781
1791
  toJSONObject(): IJSONRunSegment<T>;
@@ -1787,4 +1797,8 @@ export declare class SubSequence<T> extends BaseSegment {
1787
1797
  protected createSplitSegmentAt(pos: number): SubSequence<T> | undefined;
1788
1798
  }
1789
1799
 
1800
+ export { TextSegment }
1801
+
1802
+ export { TrackingGroup }
1803
+
1790
1804
  export { }
@@ -5,7 +5,7 @@
5
5
  import { Deferred } from "@fluidframework/core-utils";
6
6
  import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
7
7
  import { IChannelAttributes, IFluidDataStoreRuntime, IChannelStorageService } from "@fluidframework/datastore-definitions";
8
- import { Client, ICombiningOp, IJSONSegment, IMergeTreeGroupMsg, IMergeTreeOp, IMergeTreeRemoveMsg, IRelativePosition, ISegment, ISegmentAction, LocalReferencePosition, PropertySet, RangeStackMap, ReferencePosition, ReferenceType, MergeTreeRevertibleDriver, SlidingPreference } from "@fluidframework/merge-tree";
8
+ import { Client, IJSONSegment, IMergeTreeGroupMsg, IRelativePosition, ISegment, ISegmentAction, LocalReferencePosition, PropertySet, ReferencePosition, ReferenceType, MergeTreeRevertibleDriver, SlidingPreference } from "@fluidframework/merge-tree";
9
9
  import { IFluidSerializer, SharedObject, ISharedObjectEvents, SummarySerializer } from "@fluidframework/shared-object-base";
10
10
  import { IEventThisPlaceHolder } from "@fluidframework/core-interfaces";
11
11
  import { ISummaryTreeWithStats, ITelemetryContext } from "@fluidframework/runtime-definitions";
@@ -48,9 +48,9 @@ import { ISharedIntervalCollection } from "./sharedIntervalCollection";
48
48
  * @alpha
49
49
  */
50
50
  export interface ISharedSegmentSequenceEvents extends ISharedObjectEvents {
51
- (event: "createIntervalCollection", listener: (label: string, local: boolean, target: IEventThisPlaceHolder) => void): any;
52
- (event: "sequenceDelta", listener: (event: SequenceDeltaEvent, target: IEventThisPlaceHolder) => void): any;
53
- (event: "maintenance", listener: (event: SequenceMaintenanceEvent, target: IEventThisPlaceHolder) => void): any;
51
+ (event: "createIntervalCollection", listener: (label: string, local: boolean, target: IEventThisPlaceHolder) => void): void;
52
+ (event: "sequenceDelta", listener: (event: SequenceDeltaEvent, target: IEventThisPlaceHolder) => void): void;
53
+ (event: "maintenance", listener: (event: SequenceMaintenanceEvent, target: IEventThisPlaceHolder) => void): void;
54
54
  }
55
55
  /**
56
56
  * @alpha
@@ -87,9 +87,19 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
87
87
  * @param start - The inclusive start of the range to remove
88
88
  * @param end - The exclusive end of the range to remove
89
89
  */
90
- removeRange(start: number, end: number): IMergeTreeRemoveMsg;
90
+ removeRange(start: number, end: number): void;
91
91
  /**
92
- * @deprecated The ability to create group ops will be removed in an upcoming release, as group ops are redundant with the native batching capabilities of the runtime
92
+ * Obliterate is similar to remove, but differs in that segments concurrently
93
+ * inserted into an obliterated range will also be removed
94
+ *
95
+ * @param start - The inclusive start of the range to obliterate
96
+ * @param end - The exclusive end of the range to obliterate
97
+ */
98
+ obliterateRange(start: number, end: number): void;
99
+ /**
100
+ * @deprecated The ability to create group ops will be removed in an upcoming
101
+ * release, as group ops are redundant with the native batching capabilities
102
+ * of the runtime
93
103
  */
94
104
  groupOperation(groupOp: IMergeTreeGroupMsg): void;
95
105
  /**
@@ -117,10 +127,9 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
117
127
  * @param start - The inclusive start position of the range to annotate
118
128
  * @param end - The exclusive end position of the range to annotate
119
129
  * @param props - The properties to annotate the range with
120
- * @param combiningOp - Optional. Specifies how to combine values for the property, such as "incr" for increment.
121
130
  *
122
131
  */
123
- annotateRange(start: number, end: number, props: PropertySet, combiningOp?: ICombiningOp): void;
132
+ annotateRange(start: number, end: number, props: PropertySet): void;
124
133
  getPropertiesAtPosition(pos: number): PropertySet | undefined;
125
134
  getRangeExtentsOfPosition(pos: number): {
126
135
  posStart: number | undefined;
@@ -158,10 +167,7 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
158
167
  * @param remoteClientId - The client id of the remote client
159
168
  */
160
169
  resolveRemoteClientPosition(remoteClientPosition: number, remoteClientRefSeq: number, remoteClientId: string): number | undefined;
161
- /**
162
- * @deprecated This method will no longer be public in an upcoming release as it is not safe to use outside of this class
163
- */
164
- submitSequenceMessage(message: IMergeTreeOp): void;
170
+ private submitSequenceMessage;
165
171
  /**
166
172
  * Given a position specified relative to a marker id, lookup the marker
167
173
  * and convert the position to a character position.
@@ -170,22 +176,19 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
170
176
  posFromRelativePos(relativePos: IRelativePosition): number;
171
177
  /**
172
178
  * Walk the underlying segments of the sequence.
173
- * The walked segments may extend beyond the range
174
- * if the segments cross the ranges start or end boundaries.
175
- * Set split range to true to ensure only segments within the
176
- * range are walked.
179
+ * The walked segments may extend beyond the range if the segments cross the
180
+ * ranges start or end boundaries.
181
+ *
182
+ * Set split range to true to ensure only segments within the range are walked.
177
183
  *
178
- * @param handler - The function to handle each segment
184
+ * @param handler - The function to handle each segment. Traversal ends if
185
+ * this function returns true.
179
186
  * @param start - Optional. The start of range walk.
180
187
  * @param end - Optional. The end of range walk
181
188
  * @param accum - Optional. An object that will be passed to the handler for accumulation
182
189
  * @param splitRange - Optional. Splits boundary segments on the range boundaries
183
190
  */
184
191
  walkSegments<TClientData>(handler: ISegmentAction<TClientData>, start?: number, end?: number, accum?: TClientData, splitRange?: boolean): void;
185
- /**
186
- * @deprecated this functionality is no longer supported and will be removed
187
- */
188
- getStackContext(startPos: number, rangeLabels: string[]): RangeStackMap;
189
192
  /**
190
193
  * @returns The most recent sequence number which has been acked by the server and processed by this
191
194
  * SharedSegmentSequence.
@@ -1 +1 @@
1
- {"version":3,"file":"sequence.d.ts","sourceRoot":"","sources":["../src/sequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAU,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAG9D,OAAO,EAAE,yBAAyB,EAAe,MAAM,sCAAsC,CAAC;AAC9F,OAAO,EACN,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACN,MAAM,EAKN,YAAY,EACZ,YAAY,EAGZ,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,QAAQ,EACR,cAAc,EACd,sBAAsB,EAGtB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,yBAAyB,EAEzB,iBAAiB,EACjB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACN,gBAAgB,EAGhB,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,oCAAoC,CAAC;AAC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