@fluidframework/sequence 2.0.0-internal.1.4.2 → 2.0.0-internal.2.0.0

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 (117) hide show
  1. package/dist/defaultMap.d.ts.map +1 -1
  2. package/dist/defaultMap.js +1 -0
  3. package/dist/defaultMap.js.map +1 -1
  4. package/dist/index.d.ts +4 -5
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +2 -4
  7. package/dist/index.js.map +1 -1
  8. package/dist/intervalCollection.d.ts +271 -34
  9. package/dist/intervalCollection.d.ts.map +1 -1
  10. package/dist/intervalCollection.js +343 -97
  11. package/dist/intervalCollection.js.map +1 -1
  12. package/dist/intervalTree.d.ts +72 -0
  13. package/dist/intervalTree.d.ts.map +1 -0
  14. package/dist/intervalTree.js +91 -0
  15. package/dist/intervalTree.js.map +1 -0
  16. package/dist/packageVersion.d.ts +1 -1
  17. package/dist/packageVersion.js +1 -1
  18. package/dist/packageVersion.js.map +1 -1
  19. package/dist/sequence.d.ts +66 -15
  20. package/dist/sequence.d.ts.map +1 -1
  21. package/dist/sequence.js +73 -19
  22. package/dist/sequence.js.map +1 -1
  23. package/dist/sequenceDeltaEvent.d.ts +15 -1
  24. package/dist/sequenceDeltaEvent.d.ts.map +1 -1
  25. package/dist/sequenceDeltaEvent.js +2 -1
  26. package/dist/sequenceDeltaEvent.js.map +1 -1
  27. package/dist/sequenceFactory.d.ts +0 -89
  28. package/dist/sequenceFactory.d.ts.map +1 -1
  29. package/dist/sequenceFactory.js +2 -142
  30. package/dist/sequenceFactory.js.map +1 -1
  31. package/dist/sharedIntervalCollection.d.ts +0 -6
  32. package/dist/sharedIntervalCollection.d.ts.map +1 -1
  33. package/dist/sharedIntervalCollection.js +0 -7
  34. package/dist/sharedIntervalCollection.js.map +1 -1
  35. package/dist/sharedSequence.d.ts +2 -2
  36. package/dist/sharedString.d.ts +16 -15
  37. package/dist/sharedString.d.ts.map +1 -1
  38. package/dist/sharedString.js +96 -15
  39. package/dist/sharedString.js.map +1 -1
  40. package/lib/defaultMap.d.ts.map +1 -1
  41. package/lib/defaultMap.js +1 -0
  42. package/lib/defaultMap.js.map +1 -1
  43. package/lib/index.d.ts +4 -5
  44. package/lib/index.d.ts.map +1 -1
  45. package/lib/index.js +2 -4
  46. package/lib/index.js.map +1 -1
  47. package/lib/intervalCollection.d.ts +271 -34
  48. package/lib/intervalCollection.d.ts.map +1 -1
  49. package/lib/intervalCollection.js +341 -98
  50. package/lib/intervalCollection.js.map +1 -1
  51. package/lib/intervalTree.d.ts +72 -0
  52. package/lib/intervalTree.d.ts.map +1 -0
  53. package/lib/intervalTree.js +86 -0
  54. package/lib/intervalTree.js.map +1 -0
  55. package/lib/packageVersion.d.ts +1 -1
  56. package/lib/packageVersion.js +1 -1
  57. package/lib/packageVersion.js.map +1 -1
  58. package/lib/sequence.d.ts +66 -15
  59. package/lib/sequence.d.ts.map +1 -1
  60. package/lib/sequence.js +73 -19
  61. package/lib/sequence.js.map +1 -1
  62. package/lib/sequenceDeltaEvent.d.ts +15 -1
  63. package/lib/sequenceDeltaEvent.d.ts.map +1 -1
  64. package/lib/sequenceDeltaEvent.js +2 -1
  65. package/lib/sequenceDeltaEvent.js.map +1 -1
  66. package/lib/sequenceFactory.d.ts +0 -89
  67. package/lib/sequenceFactory.d.ts.map +1 -1
  68. package/lib/sequenceFactory.js +1 -139
  69. package/lib/sequenceFactory.js.map +1 -1
  70. package/lib/sharedIntervalCollection.d.ts +0 -6
  71. package/lib/sharedIntervalCollection.d.ts.map +1 -1
  72. package/lib/sharedIntervalCollection.js +0 -7
  73. package/lib/sharedIntervalCollection.js.map +1 -1
  74. package/lib/sharedSequence.d.ts +2 -2
  75. package/lib/sharedString.d.ts +16 -15
  76. package/lib/sharedString.d.ts.map +1 -1
  77. package/lib/sharedString.js +97 -16
  78. package/lib/sharedString.js.map +1 -1
  79. package/package.json +99 -27
  80. package/src/defaultMap.ts +3 -0
  81. package/src/index.ts +4 -4
  82. package/src/intervalCollection.ts +486 -143
  83. package/src/intervalTree.ts +166 -0
  84. package/src/packageVersion.ts +1 -1
  85. package/src/sequence.ts +86 -30
  86. package/src/sequenceDeltaEvent.ts +18 -4
  87. package/src/sequenceFactory.ts +2 -163
  88. package/src/sharedIntervalCollection.ts +0 -11
  89. package/src/sharedString.ts +120 -23
  90. package/tsconfig.json +0 -1
  91. package/dist/sharedNumberSequence.d.ts +0 -50
  92. package/dist/sharedNumberSequence.d.ts.map +0 -1
  93. package/dist/sharedNumberSequence.js +0 -61
  94. package/dist/sharedNumberSequence.js.map +0 -1
  95. package/dist/sharedObjectSequence.d.ts +0 -50
  96. package/dist/sharedObjectSequence.d.ts.map +0 -1
  97. package/dist/sharedObjectSequence.js +0 -61
  98. package/dist/sharedObjectSequence.js.map +0 -1
  99. package/dist/sparsematrix.d.ts +0 -152
  100. package/dist/sparsematrix.d.ts.map +0 -1
  101. package/dist/sparsematrix.js +0 -343
  102. package/dist/sparsematrix.js.map +0 -1
  103. package/lib/sharedNumberSequence.d.ts +0 -50
  104. package/lib/sharedNumberSequence.d.ts.map +0 -1
  105. package/lib/sharedNumberSequence.js +0 -57
  106. package/lib/sharedNumberSequence.js.map +0 -1
  107. package/lib/sharedObjectSequence.d.ts +0 -50
  108. package/lib/sharedObjectSequence.d.ts.map +0 -1
  109. package/lib/sharedObjectSequence.js +0 -57
  110. package/lib/sharedObjectSequence.js.map +0 -1
  111. package/lib/sparsematrix.d.ts +0 -152
  112. package/lib/sparsematrix.d.ts.map +0 -1
  113. package/lib/sparsematrix.js +0 -334
  114. package/lib/sparsematrix.js.map +0 -1
  115. package/src/sharedNumberSequence.ts +0 -62
  116. package/src/sharedObjectSequence.ts +0 -62
  117. package/src/sparsematrix.ts +0 -434
@@ -4,9 +4,10 @@
4
4
  */
5
5
  import { TypedEventEmitter } from "@fluidframework/common-utils";
6
6
  import { IEvent } from "@fluidframework/common-definitions";
7
- import { Client, ICombiningOp, IInterval, IntervalConflictResolver, PropertiesManager, PropertySet, LocalReferencePosition } from "@fluidframework/merge-tree";
7
+ import { Client, ICombiningOp, PropertiesManager, PropertySet, LocalReferencePosition } from "@fluidframework/merge-tree";
8
8
  import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
9
9
  import { IValueFactory, IValueOpEmitter, IValueOperation, IValueType } from "./defaultMapInterfaces";
10
+ import { IInterval, IntervalConflictResolver } from "./intervalTree";
10
11
  export declare enum IntervalType {
11
12
  Simple = 0,
12
13
  Nest = 1,
@@ -23,16 +24,40 @@ export declare enum IntervalType {
23
24
  */
24
25
  Transient = 4
25
26
  }
27
+ /**
28
+ * Serialized object representation of an interval.
29
+ * This representation is used for ops that create or change intervals.
30
+ * @internal
31
+ */
26
32
  export interface ISerializedInterval {
33
+ /**
34
+ * Sequence number at which `start` and `end` should be interpreted
35
+ *
36
+ * @remarks - It's unclear that this is necessary to store here.
37
+ * This should just be the refSeq on the op that modified the interval, which should be available via other means.
38
+ * At the time of writing, it's not plumbed through to the reconnect/rebase code, however, which does need it.
39
+ */
27
40
  sequenceNumber: number;
41
+ /** Start position of the interval (inclusive) */
28
42
  start: number;
43
+ /** End position of the interval (inclusive) */
29
44
  end: number;
45
+ /** Interval type to create */
30
46
  intervalType: IntervalType;
47
+ /** Any properties the interval has */
31
48
  properties?: PropertySet;
32
49
  }
50
+ /**
51
+ * Represents a change that should be applied to an existing interval.
52
+ * Changes can modify any of start/end/properties, with `undefined` signifying no change should be made.
53
+ * @internal
54
+ */
55
+ export declare type SerializedIntervalDelta = Omit<ISerializedInterval, "start" | "end" | "properties"> & Partial<Pick<ISerializedInterval, "start" | "end" | "properties">>;
33
56
  /**
34
57
  * A size optimization to avoid redundantly storing keys when serializing intervals
35
- * as JSON. Intervals are of the format:
58
+ * as JSON for summaries.
59
+ *
60
+ * Intervals are of the format:
36
61
  *
37
62
  * [start, end, sequenceNumber, intervalType, properties]
38
63
  */
@@ -46,10 +71,21 @@ export interface ISerializedIntervalCollectionV2 {
46
71
  intervals: CompressedSerializedInterval[];
47
72
  }
48
73
  export interface ISerializableInterval extends IInterval {
74
+ /** Serializable bag of properties associated with the interval. */
49
75
  properties: PropertySet;
76
+ /** @internal */
50
77
  propertyManager: PropertiesManager;
51
- serialize(client: Client): ISerializedInterval;
78
+ /** @internal */
79
+ serialize(): ISerializedInterval;
80
+ /** @internal */
52
81
  addProperties(props: PropertySet, collaborating?: boolean, seq?: number): PropertySet | undefined;
82
+ /**
83
+ * Gets the id associated with this interval.
84
+ * When the interval is used as part of an interval collection, this id can be used to modify or remove the
85
+ * interval.
86
+ * @remarks - This signature includes `undefined` strictly for backwards-compatibility reasons, as older versions
87
+ * of Fluid didn't always write interval ids.
88
+ */
53
89
  getIntervalId(): string | undefined;
54
90
  }
55
91
  export interface IIntervalHelpers<TInterval extends ISerializableInterval> {
@@ -65,38 +101,119 @@ export interface IIntervalHelpers<TInterval extends ISerializableInterval> {
65
101
  * @param op - If this create came from a remote client, op that created it. Default is undefined (i.e. local)
66
102
  * @param fromSnapshot - If this create came from loading a snapshot. Default is false.
67
103
  */
68
- create(label: string, start: number, end: number, client: Client, intervalType?: IntervalType, op?: ISequencedDocumentMessage, fromSnapshot?: boolean): TInterval;
104
+ create(label: string, start: number | undefined, end: number | undefined, client: Client | undefined, intervalType: IntervalType, op?: ISequencedDocumentMessage, fromSnapshot?: boolean): TInterval;
69
105
  }
106
+ /**
107
+ * Serializable interval whose endpoints are plain-old numbers.
108
+ */
70
109
  export declare class Interval implements ISerializableInterval {
71
110
  start: number;
72
111
  end: number;
112
+ /**
113
+ * {@inheritDoc ISerializableInterval.properties}
114
+ */
73
115
  properties: PropertySet;
74
- auxProps: PropertySet[];
116
+ /** @internal */
117
+ auxProps: PropertySet[] | undefined;
118
+ /**
119
+ * {@inheritDoc ISerializableInterval.propertyManager}
120
+ */
75
121
  propertyManager: PropertiesManager;
76
122
  constructor(start: number, end: number, props?: PropertySet);
123
+ /**
124
+ * {@inheritDoc ISerializableInterval.getIntervalId}
125
+ */
77
126
  getIntervalId(): string | undefined;
127
+ /**
128
+ * @returns an array containing any auxiliary property sets added with `addPropertySet`.
129
+ */
78
130
  getAdditionalPropertySets(): PropertySet[];
131
+ /**
132
+ * Adds an auxiliary set of properties to this interval.
133
+ * These properties can be recovered using `getAdditionalPropertySets`
134
+ * @param props - set of properties to add
135
+ * @remarks - This gets called as part of the default conflict resolver for `IntervalCollection<Interval>`
136
+ * (i.e. non-sequence-based interval collections). However, the additional properties don't get serialized.
137
+ * This functionality seems half-baked.
138
+ */
79
139
  addPropertySet(props: PropertySet): void;
80
- serialize(client: Client): ISerializedInterval;
140
+ /**
141
+ * {@inheritDoc ISerializableInterval.serialize}
142
+ * @internal
143
+ */
144
+ serialize(): ISerializedInterval;
145
+ /**
146
+ * {@inheritDoc IInterval.clone}
147
+ */
81
148
  clone(): Interval;
149
+ /**
150
+ * {@inheritDoc IInterval.compare}
151
+ */
82
152
  compare(b: Interval): number;
153
+ /**
154
+ * {@inheritDoc IInterval.compareStart}
155
+ */
83
156
  compareStart(b: Interval): number;
157
+ /**
158
+ * {@inheritDoc IInterval.compareEnd}
159
+ */
84
160
  compareEnd(b: Interval): number;
161
+ /**
162
+ * {@inheritDoc IInterval.overlaps}
163
+ */
85
164
  overlaps(b: Interval): boolean;
165
+ /**
166
+ * {@inheritDoc IInterval.union}
167
+ */
86
168
  union(b: Interval): Interval;
87
169
  getProperties(): PropertySet;
170
+ /**
171
+ * {@inheritDoc ISerializableInterval.addProperties}
172
+ */
88
173
  addProperties(newProps: PropertySet, collaborating?: boolean, seq?: number, op?: ICombiningOp): PropertySet | undefined;
89
- modify(label: string, start: number, end: number, op?: ISequencedDocumentMessage): Interval;
174
+ /**
175
+ * {@inheritDoc IInterval.modify}
176
+ */
177
+ modify(label: string, start: number, end: number, op?: ISequencedDocumentMessage): Interval | undefined;
90
178
  private initializeProperties;
91
179
  }
180
+ /**
181
+ * Interval impelmentation whose ends are associated with positions in a mutatable sequence.
182
+ * As such, when content is inserted into the middle of the interval, the interval expands to
183
+ * include that content.
184
+ */
92
185
  export declare class SequenceInterval implements ISerializableInterval {
93
186
  private readonly client;
187
+ /**
188
+ * Start endpoint of this interval.
189
+ * @remarks - This endpoint can be resolved into a character position using the SharedString it's a part of.
190
+ */
94
191
  start: LocalReferencePosition;
192
+ /**
193
+ * End endpoint of this interval.
194
+ * @remarks - This endpoint can be resolved into a character position using the SharedString it's a part of.
195
+ */
95
196
  end: LocalReferencePosition;
96
197
  intervalType: IntervalType;
198
+ /**
199
+ * {@inheritDoc ISerializableInterval.properties}
200
+ */
97
201
  properties: PropertySet;
202
+ /**
203
+ * {@inheritDoc ISerializableInterval.propertyManager}
204
+ */
98
205
  propertyManager: PropertiesManager;
99
- constructor(client: Client, start: LocalReferencePosition, end: LocalReferencePosition, intervalType: IntervalType, props?: PropertySet);
206
+ constructor(client: Client,
207
+ /**
208
+ * Start endpoint of this interval.
209
+ * @remarks - This endpoint can be resolved into a character position using the SharedString it's a part of.
210
+ */
211
+ start: LocalReferencePosition,
212
+ /**
213
+ * End endpoint of this interval.
214
+ * @remarks - This endpoint can be resolved into a character position using the SharedString it's a part of.
215
+ */
216
+ end: LocalReferencePosition, intervalType: IntervalType, props?: PropertySet);
100
217
  private callbacks?;
101
218
  /**
102
219
  * Subscribes to position change events on this interval if there are no current listeners.
@@ -108,19 +225,55 @@ export declare class SequenceInterval implements ISerializableInterval {
108
225
  * @internal
109
226
  */
110
227
  removePositionChangeListeners(): void;
111
- serialize(client: Client): ISerializedInterval;
228
+ /**
229
+ * {@inheritDoc ISerializableInterval.serialize}
230
+ * @internal
231
+ */
232
+ serialize(): ISerializedInterval;
233
+ /**
234
+ * {@inheritDoc IInterval.clone}
235
+ */
112
236
  clone(): SequenceInterval;
237
+ /**
238
+ * {@inheritDoc IInterval.compare}
239
+ */
113
240
  compare(b: SequenceInterval): number;
241
+ /**
242
+ * {@inheritDoc IInterval.compareStart}
243
+ */
114
244
  compareStart(b: SequenceInterval): number;
245
+ /**
246
+ * {@inheritDoc IInterval.compareEnd}
247
+ */
115
248
  compareEnd(b: SequenceInterval): number;
249
+ /**
250
+ * {@inheritDoc IInterval.overlaps}
251
+ */
116
252
  overlaps(b: SequenceInterval): boolean;
253
+ /**
254
+ * {@inheritDoc ISerializableInterval.getIntervalId}
255
+ */
117
256
  getIntervalId(): string | undefined;
257
+ /**
258
+ * {@inheritDoc IInterval.union}
259
+ */
118
260
  union(b: SequenceInterval): SequenceInterval;
261
+ /**
262
+ * {@inheritDoc ISerializableInterval.addProperties}
263
+ */
119
264
  addProperties(newProps: PropertySet, collab?: boolean, seq?: number, op?: ICombiningOp): PropertySet | undefined;
265
+ /**
266
+ * @returns whether this interval overlaps two numerical positions.
267
+ * @remarks - this is currently strict overlap, which doesn't align with the endpoint treatment of`.overlaps()`
268
+ */
120
269
  overlapsPos(bstart: number, bend: number): boolean;
270
+ /**
271
+ * {@inheritDoc IInterval.modify}
272
+ */
121
273
  modify(label: string, start: number, end: number, op?: ISequencedDocumentMessage, localSeq?: number): SequenceInterval;
122
274
  private initializeProperties;
123
275
  }
276
+ export declare function createSequenceInterval(label: string, start: number, end: number, client: Client, intervalType: IntervalType, op?: ISequencedDocumentMessage, fromSnapshot?: boolean): SequenceInterval;
124
277
  export declare function defaultIntervalConflictResolver(a: Interval, b: Interval): Interval;
125
278
  export declare function createIntervalIndex(conflict?: IntervalConflictResolver<Interval>): LocalIntervalCollection<Interval>;
126
279
  export declare class LocalIntervalCollection<TInterval extends ISerializableInterval> {
@@ -137,7 +290,7 @@ export declare class LocalIntervalCollection<TInterval extends ISerializableInte
137
290
  private static readonly legacyIdPrefix;
138
291
  constructor(client: Client, label: string, helpers: IIntervalHelpers<TInterval>,
139
292
  /** Callback invoked each time one of the endpoints of an interval slides. */
140
- onPositionChange?: (interval: TInterval) => void);
293
+ onPositionChange?: ((interval: TInterval, previousInterval: TInterval) => void) | undefined);
141
294
  addConflictResolver(conflictResolver: IntervalConflictResolver<TInterval>): void;
142
295
  map(fn: (interval: TInterval) => void): void;
143
296
  createLegacyId(start: number, end: number): string;
@@ -151,9 +304,13 @@ export declare class LocalIntervalCollection<TInterval extends ISerializableInte
151
304
  ensureSerializedId(serializedInterval: ISerializedInterval): string;
152
305
  mapUntil(fn: (interval: TInterval) => boolean): void;
153
306
  gatherIterationResults(results: TInterval[], iteratesForward: boolean, start?: number, end?: number): void;
307
+ /**
308
+ * @returns an array of all intervals contained in this collection that overlap the range
309
+ * `[startPosition, endPosition]`.
310
+ */
154
311
  findOverlappingIntervals(startPosition: number, endPosition: number): TInterval[];
155
- previousInterval(pos: number): TInterval;
156
- nextInterval(pos: number): TInterval;
312
+ previousInterval(pos: number): TInterval | undefined;
313
+ nextInterval(pos: number): TInterval | undefined;
157
314
  removeInterval(startPosition: number, endPosition: number): TInterval;
158
315
  private removeIntervalFromIndex;
159
316
  removeExistingInterval(interval: TInterval): void;
@@ -162,12 +319,13 @@ export declare class LocalIntervalCollection<TInterval extends ISerializableInte
162
319
  private linkEndpointsToInterval;
163
320
  private addIntervalToIndex;
164
321
  add(interval: TInterval): void;
165
- getIntervalById(id: string): TInterval;
166
- changeInterval(interval: TInterval, start: number, end: number, op?: ISequencedDocumentMessage, localSeq?: number): TInterval;
322
+ getIntervalById(id: string): TInterval | undefined;
323
+ changeInterval(interval: TInterval, start: number | undefined, end: number | undefined, op?: ISequencedDocumentMessage, localSeq?: number): TInterval | undefined;
167
324
  serialize(): ISerializedIntervalCollectionV2;
168
325
  private addIntervalListeners;
169
326
  private removeIntervalListeners;
170
327
  }
328
+ export declare const compareSequenceIntervalEnds: (a: SequenceInterval, b: SequenceInterval) => number;
171
329
  export declare class SequenceIntervalCollectionValueType implements IValueType<IntervalCollection<SequenceInterval>> {
172
330
  static Name: string;
173
331
  get name(): string;
@@ -184,30 +342,55 @@ export declare class IntervalCollectionValueType implements IValueType<IntervalC
184
342
  private static readonly _factory;
185
343
  private static readonly _ops;
186
344
  }
345
+ export declare function makeOpsMap<T extends ISerializableInterval>(): Map<string, IValueOperation<IntervalCollection<T>>>;
187
346
  export declare type DeserializeCallback = (properties: PropertySet) => void;
188
- export declare class IntervalCollectionIterator<TInterval extends ISerializableInterval> {
347
+ export declare class IntervalCollectionIterator<TInterval extends ISerializableInterval> implements Iterator<TInterval> {
189
348
  private readonly results;
190
349
  private index;
191
350
  constructor(collection: IntervalCollection<TInterval>, iteratesForward?: boolean, start?: number, end?: number);
192
- next(): {
193
- value: TInterval;
194
- done: boolean;
195
- };
351
+ next(): IteratorResult<TInterval>;
196
352
  }
353
+ /**
354
+ * Change events emitted by `IntervalCollection`s
355
+ */
197
356
  export interface IIntervalCollectionEvent<TInterval extends ISerializableInterval> extends IEvent {
198
357
  /**
199
- * This event is invoked whenever the properties or endpoints of an interval may have changed.
358
+ * This event is invoked whenever the endpoints of an interval may have changed.
200
359
  * This can happen on:
201
- * - endpoint modification (local or remote)
202
- * - ack of an endpoint modification
203
- * - property change (local or remote)
204
- * - position change due to segment sliding (will always appear as a local change)
360
+ * - local endpoint modification
361
+ * - ack of a remote endpoint modification
362
+ * - position change due to segment sliding (slides due to mergeTree segment deletion will always appear local)
205
363
  * The `interval` argument reflects the new values.
364
+ * `previousInterval` contains transient `ReferencePosition`s at the same location as the interval's original
365
+ * endpoints. These references should be used for position information only.
366
+ * `local` reflects whether the change originated locally.
367
+ * `op` is defined if and only if the server has acked this change.
368
+ */
369
+ (event: "changeInterval", listener: (interval: TInterval, previousInterval: TInterval, local: boolean, op: ISequencedDocumentMessage | undefined) => void): any;
370
+ /**
371
+ * This event is invoked whenever an interval is added or removed from the collection.
372
+ * `local` reflects whether the change originated locally.
373
+ * `op` is defined if and only if the server has acked this change.
206
374
  */
207
- (event: "changeInterval", listener: (interval: TInterval, local: boolean, op: ISequencedDocumentMessage | undefined) => void): any;
208
- (event: "addInterval" | "deleteInterval", listener: (interval: TInterval, local: boolean, op: ISequencedDocumentMessage) => void): any;
209
- (event: "propertyChanged", listener: (interval: TInterval, propertyArgs: PropertySet) => void): any;
375
+ (event: "addInterval" | "deleteInterval", listener: (interval: TInterval, local: boolean, op: ISequencedDocumentMessage | undefined) => void): any;
376
+ /**
377
+ * This event is invoked whenever an interval's properties have changed.
378
+ * `interval` reflects the state of the updated properties.
379
+ * `propertyDeltas` is a map-like whose keys contain all values that were changed, and whose
380
+ * values contain all previous values of the property set.
381
+ * This object can be used directly in a call to `changeProperties` to revert the property change if desired.
382
+ * `local` reflects whether the change originated locally.
383
+ * `op` is defined if and only if the server has acked this change.
384
+ */
385
+ (event: "propertyChanged", listener: (interval: TInterval, propertyDeltas: PropertySet, local: boolean, op: ISequencedDocumentMessage | undefined) => void): any;
210
386
  }
387
+ /**
388
+ * Collection of intervals that supports addition, modification, removal, and efficient spatial querying.
389
+ * This class is not a DDS in its own right, but emits events on mutating operations such that it's possible to
390
+ * integrate into a DDS.
391
+ * This aligns with its usage in `SharedSegmentSequence`, which allows associating intervals to positions in the
392
+ * sequence DDS which are broadcast to all other clients in an eventually consistent fashion.
393
+ */
211
394
  export declare class IntervalCollection<TInterval extends ISerializableInterval> extends TypedEventEmitter<IIntervalCollectionEvent<TInterval>> {
212
395
  private readonly helpers;
213
396
  private readonly requiresClient;
@@ -221,14 +404,20 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
221
404
  get attached(): boolean;
222
405
  /** @internal */
223
406
  constructor(helpers: IIntervalHelpers<TInterval>, requiresClient: boolean, emitter: IValueOpEmitter, serializedIntervals: ISerializedInterval[] | ISerializedIntervalCollectionV2);
407
+ /** @internal */
224
408
  attachGraph(client: Client, label: string): void;
225
409
  /**
226
410
  * Gets the next local sequence number, modifying this client's collab window in doing so.
227
411
  */
228
412
  private getNextLocalSeq;
229
- getIntervalById(id: string): TInterval;
413
+ private emitChange;
414
+ /**
415
+ * @returns the interval in this collection that has the provided `id`.
416
+ * If no interval in the collection has this `id`, returns `undefined`.
417
+ */
418
+ getIntervalById(id: string): TInterval | undefined;
230
419
  /**
231
- * Create a new interval and add it to the collection
420
+ * Creates a new interval and add it to the collection.
232
421
  * @param start - interval start position
233
422
  * @param end - interval end position
234
423
  * @param intervalType - type of the interval. All intervals are SlideOnRemove. Intervals may not be Transient.
@@ -237,8 +426,26 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
237
426
  */
238
427
  add(start: number, end: number, intervalType: IntervalType, props?: PropertySet): TInterval;
239
428
  private deleteExistingInterval;
240
- removeIntervalById(id: string): TInterval;
429
+ /**
430
+ * Removes an interval from the collection.
431
+ * @param id - Id of the interval to remove
432
+ * @returns the removed interval
433
+ */
434
+ removeIntervalById(id: string): TInterval | undefined;
435
+ /**
436
+ * Changes the properties on an existing interval.
437
+ * @param id - Id of the interval whose properties should be changed
438
+ * @param props - Property set to apply to the interval. Shallow merging is used between any existing properties
439
+ * and `prop`, i.e. the interval will end up with a property object equivalent to `{ ...oldProps, ...props }`.
440
+ */
241
441
  changeProperties(id: string, props: PropertySet): void;
442
+ /**
443
+ * Changes the endpoints of an existing interval.
444
+ * @param id - Id of the interval to change
445
+ * @param start - New start value, if defined. `undefined` signifies this endpoint should be left unchanged.
446
+ * @param end - New end value, if defined. `undefined` signifies this endpoint should be left unchanged.
447
+ * @returns the interval that was changed, if it existed in the collection.
448
+ */
242
449
  change(id: string, start?: number, end?: number): TInterval | undefined;
243
450
  private addPendingChange;
244
451
  private addPendingChangeHelper;
@@ -257,28 +464,58 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
257
464
  *
258
465
  * @internal
259
466
  */
260
- rebaseLocalInterval(opName: string, serializedInterval: ISerializedInterval, localSeq: number): ISerializedInterval | undefined;
467
+ rebaseLocalInterval(opName: string, serializedInterval: SerializedIntervalDelta, localSeq: number): SerializedIntervalDelta | undefined;
261
468
  private getSlideToSegment;
262
469
  private setSlideOnRemove;
263
470
  private ackInterval;
264
471
  /** @internal */
265
- ackAdd(serializedInterval: ISerializedInterval, local: boolean, op: ISequencedDocumentMessage): TInterval;
472
+ ackAdd(serializedInterval: ISerializedInterval, local: boolean, op: ISequencedDocumentMessage): TInterval | undefined;
266
473
  /** @internal */
267
474
  ackDelete(serializedInterval: ISerializedInterval, local: boolean, op: ISequencedDocumentMessage): void;
268
475
  /**
269
476
  * @internal
270
477
  */
271
478
  serializeInternal(): ISerializedIntervalCollectionV2;
479
+ /**
480
+ * @returns an iterator over all intervals in this collection.
481
+ */
272
482
  [Symbol.iterator](): IntervalCollectionIterator<TInterval>;
483
+ /**
484
+ * @returns a forward iterator over all intervals in this collection with start point equal to `startPosition`.
485
+ */
273
486
  CreateForwardIteratorWithStartPosition(startPosition: number): IntervalCollectionIterator<TInterval>;
487
+ /**
488
+ * @returns a backward iterator over all intervals in this collection with start point equal to `startPosition`.
489
+ */
274
490
  CreateBackwardIteratorWithStartPosition(startPosition: number): IntervalCollectionIterator<TInterval>;
491
+ /**
492
+ * @returns a forward iterator over all intervals in this collection with end point equal to `endPosition`.
493
+ */
275
494
  CreateForwardIteratorWithEndPosition(endPosition: number): IntervalCollectionIterator<TInterval>;
495
+ /**
496
+ * @returns a backward iterator over all intervals in this collection with end point equal to `endPosition`.
497
+ */
276
498
  CreateBackwardIteratorWithEndPosition(endPosition: number): IntervalCollectionIterator<TInterval>;
499
+ /**
500
+ * Gathers iteration results that optionally match a start/end criteria into the provided array.
501
+ * @param results - Array to gather the results into. In lieu of a return value, this array will be populated with
502
+ * intervals matching the query upon edit.
503
+ * @param iteratesForward - whether or not iteration should be in the forward direction
504
+ * @param start - If provided, only match intervals whose start point is equal to `start`.
505
+ * @param end - If provided, only match intervals whose end point is equal to `end`.
506
+ */
277
507
  gatherIterationResults(results: TInterval[], iteratesForward: boolean, start?: number, end?: number): void;
508
+ /**
509
+ * @returns an array of all intervals in this collection that overlap with the interval
510
+ * `[startPosition, endPosition]`.
511
+ */
278
512
  findOverlappingIntervals(startPosition: number, endPosition: number): TInterval[];
513
+ /**
514
+ * Applies a function to each interval in this collection.
515
+ */
279
516
  map(fn: (interval: TInterval) => void): void;
280
- previousInterval(pos: number): TInterval;
281
- nextInterval(pos: number): TInterval;
517
+ previousInterval(pos: number): TInterval | undefined;
518
+ nextInterval(pos: number): TInterval | undefined;
282
519
  }
283
520
  /**
284
521
  * Information that identifies an interval within a `Sequence`.
@@ -1 +1 @@
1
- {"version":3,"file":"intervalCollection.d.ts","sourceRoot":"","sources":["../src/intervalCollection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAU,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAE5D,OAAO,EAEH,MAAM,EAIN,YAAY,EACZ,SAAS,EACT,wBAAwB,EAMxB,iBAAiB,EACjB,WAAW,EAEX,sBAAsB,EAQzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAGjF,OAAO,EAEH,aAAa,EACb,eAAe,EACf,eAAe,EACf,UAAU,EAEb,MAAM,wBAAwB,CAAC;AAIhC,oBAAY,YAAY;IACpB,MAAM,IAAM;IACZ,IAAI,IAAM;IAEV;;;;;OAKG;IACH,aAAa,IAAM;IAEnB;;;OAGG;IACH,SAAS,IAAM;CAClB;AAED,MAAM,WAAW,mBAAmB;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,CAAC,EAAE,WAAW,CAAC;CAC5B;AAED;;;;;GAKG;AACH,oBAAY,4BAA4B,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;AAE/F;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,CAAC;IACX,SAAS,EAAE,4BAA4B,EAAE,CAAC;CAC7C;AAkCD,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACpD,UA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