@fluidframework/sequence 2.0.0-dev.7.4.0.215747 → 2.0.0-dev.7.4.0.216897
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.
- package/api-extractor-lint.json +13 -0
- package/api-report/sequence.api.md +68 -78
- package/dist/defaultMapInterfaces.d.ts +1 -2
- package/dist/defaultMapInterfaces.d.ts.map +1 -1
- package/dist/defaultMapInterfaces.js.map +1 -1
- package/dist/intervalCollection.d.ts +8 -8
- package/dist/intervalCollection.js +2 -2
- package/dist/intervalCollection.js.map +1 -1
- package/dist/intervalIndex/endpointInRangeIndex.d.ts +2 -2
- package/dist/intervalIndex/endpointInRangeIndex.js +1 -1
- package/dist/intervalIndex/endpointInRangeIndex.js.map +1 -1
- package/dist/intervalIndex/endpointIndex.d.ts +2 -2
- package/dist/intervalIndex/endpointIndex.js +1 -1
- package/dist/intervalIndex/endpointIndex.js.map +1 -1
- package/dist/intervalIndex/idIntervalIndex.d.ts +2 -2
- package/dist/intervalIndex/idIntervalIndex.js +1 -1
- package/dist/intervalIndex/idIntervalIndex.js.map +1 -1
- package/dist/intervalIndex/intervalIndex.d.ts +1 -1
- package/dist/intervalIndex/intervalIndex.js.map +1 -1
- package/dist/intervalIndex/overlappingIntervalsIndex.d.ts +2 -2
- package/dist/intervalIndex/overlappingIntervalsIndex.js +1 -1
- package/dist/intervalIndex/overlappingIntervalsIndex.js.map +1 -1
- package/dist/intervalIndex/overlappingSequenceIntervalsIndex.d.ts +1 -1
- package/dist/intervalIndex/overlappingSequenceIntervalsIndex.js +1 -1
- package/dist/intervalIndex/overlappingSequenceIntervalsIndex.js.map +1 -1
- package/dist/intervalIndex/sequenceIntervalIndexes.d.ts +2 -1
- package/dist/intervalIndex/sequenceIntervalIndexes.d.ts.map +1 -1
- package/dist/intervalIndex/sequenceIntervalIndexes.js.map +1 -1
- package/dist/intervalIndex/startpointInRangeIndex.d.ts +2 -2
- package/dist/intervalIndex/startpointInRangeIndex.js +1 -1
- package/dist/intervalIndex/startpointInRangeIndex.js.map +1 -1
- package/dist/intervals/interval.d.ts +2 -7
- package/dist/intervals/interval.d.ts.map +1 -1
- package/dist/intervals/interval.js +1 -5
- package/dist/intervals/interval.js.map +1 -1
- package/dist/intervals/intervalUtils.d.ts +9 -11
- package/dist/intervals/intervalUtils.d.ts.map +1 -1
- package/dist/intervals/intervalUtils.js +2 -2
- package/dist/intervals/intervalUtils.js.map +1 -1
- package/dist/intervals/sequenceInterval.d.ts +3 -12
- package/dist/intervals/sequenceInterval.d.ts.map +1 -1
- package/dist/intervals/sequenceInterval.js +3 -11
- package/dist/intervals/sequenceInterval.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/revertibles.d.ts +9 -13
- package/dist/revertibles.d.ts.map +1 -1
- package/dist/revertibles.js +7 -9
- package/dist/revertibles.js.map +1 -1
- package/dist/sequence-alpha.d.ts +141 -1540
- package/dist/sequence-beta.d.ts +128 -1442
- package/dist/sequence-public.d.ts +128 -1442
- package/dist/sequence-untrimmed.d.ts +63 -85
- package/dist/sequence.d.ts +2 -3
- package/dist/sequence.d.ts.map +1 -1
- package/dist/sequence.js +1 -1
- package/dist/sequence.js.map +1 -1
- package/dist/sequenceDeltaEvent.d.ts +4 -4
- package/dist/sequenceDeltaEvent.js +3 -3
- package/dist/sequenceDeltaEvent.js.map +1 -1
- package/dist/sequenceFactory.d.ts +1 -1
- package/dist/sequenceFactory.js +1 -1
- package/dist/sequenceFactory.js.map +1 -1
- package/dist/sharedIntervalCollection.d.ts +3 -3
- package/dist/sharedIntervalCollection.js +2 -2
- package/dist/sharedIntervalCollection.js.map +1 -1
- package/dist/sharedSequence.d.ts +3 -3
- package/dist/sharedSequence.js +2 -2
- package/dist/sharedSequence.js.map +1 -1
- package/dist/sharedString.d.ts +4 -5
- package/dist/sharedString.d.ts.map +1 -1
- package/dist/sharedString.js +2 -3
- package/dist/sharedString.js.map +1 -1
- package/lib/defaultMapInterfaces.d.ts +1 -2
- package/lib/defaultMapInterfaces.d.ts.map +1 -1
- package/lib/defaultMapInterfaces.js.map +1 -1
- package/lib/intervalCollection.d.ts +8 -8
- package/lib/intervalCollection.js +2 -2
- package/lib/intervalCollection.js.map +1 -1
- package/lib/intervalIndex/endpointInRangeIndex.d.ts +2 -2
- package/lib/intervalIndex/endpointInRangeIndex.js +1 -1
- package/lib/intervalIndex/endpointInRangeIndex.js.map +1 -1
- package/lib/intervalIndex/endpointIndex.d.ts +2 -2
- package/lib/intervalIndex/endpointIndex.js +1 -1
- package/lib/intervalIndex/endpointIndex.js.map +1 -1
- package/lib/intervalIndex/idIntervalIndex.d.ts +2 -2
- package/lib/intervalIndex/idIntervalIndex.js +1 -1
- package/lib/intervalIndex/idIntervalIndex.js.map +1 -1
- package/lib/intervalIndex/intervalIndex.d.ts +1 -1
- package/lib/intervalIndex/intervalIndex.js.map +1 -1
- package/lib/intervalIndex/overlappingIntervalsIndex.d.ts +2 -2
- package/lib/intervalIndex/overlappingIntervalsIndex.js +1 -1
- package/lib/intervalIndex/overlappingIntervalsIndex.js.map +1 -1
- package/lib/intervalIndex/overlappingSequenceIntervalsIndex.d.ts +1 -1
- package/lib/intervalIndex/overlappingSequenceIntervalsIndex.js +1 -1
- package/lib/intervalIndex/overlappingSequenceIntervalsIndex.js.map +1 -1
- package/lib/intervalIndex/sequenceIntervalIndexes.d.ts +2 -1
- package/lib/intervalIndex/sequenceIntervalIndexes.d.ts.map +1 -1
- package/lib/intervalIndex/sequenceIntervalIndexes.js.map +1 -1
- package/lib/intervalIndex/startpointInRangeIndex.d.ts +2 -2
- package/lib/intervalIndex/startpointInRangeIndex.js +1 -1
- package/lib/intervalIndex/startpointInRangeIndex.js.map +1 -1
- package/lib/intervals/interval.d.ts +2 -7
- package/lib/intervals/interval.d.ts.map +1 -1
- package/lib/intervals/interval.js +1 -5
- package/lib/intervals/interval.js.map +1 -1
- package/lib/intervals/intervalUtils.d.ts +9 -11
- package/lib/intervals/intervalUtils.d.ts.map +1 -1
- package/lib/intervals/intervalUtils.js +2 -2
- package/lib/intervals/intervalUtils.js.map +1 -1
- package/lib/intervals/sequenceInterval.d.ts +3 -12
- package/lib/intervals/sequenceInterval.d.ts.map +1 -1
- package/lib/intervals/sequenceInterval.js +3 -11
- package/lib/intervals/sequenceInterval.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/revertibles.d.ts +9 -13
- package/lib/revertibles.d.ts.map +1 -1
- package/lib/revertibles.js +7 -9
- package/lib/revertibles.js.map +1 -1
- package/lib/sequence-alpha.d.ts +141 -1540
- package/lib/sequence-beta.d.ts +128 -1442
- package/lib/sequence-public.d.ts +128 -1442
- package/lib/sequence-untrimmed.d.ts +63 -85
- package/lib/sequence.d.ts +2 -3
- package/lib/sequence.d.ts.map +1 -1
- package/lib/sequence.js +1 -1
- package/lib/sequence.js.map +1 -1
- package/lib/sequenceDeltaEvent.d.ts +4 -4
- package/lib/sequenceDeltaEvent.js +3 -3
- package/lib/sequenceDeltaEvent.js.map +1 -1
- package/lib/sequenceFactory.d.ts +1 -1
- package/lib/sequenceFactory.js +1 -1
- package/lib/sequenceFactory.js.map +1 -1
- package/lib/sharedIntervalCollection.d.ts +3 -3
- package/lib/sharedIntervalCollection.js +2 -2
- package/lib/sharedIntervalCollection.js.map +1 -1
- package/lib/sharedSequence.d.ts +3 -3
- package/lib/sharedSequence.js +2 -2
- package/lib/sharedSequence.js.map +1 -1
- package/lib/sharedString.d.ts +4 -5
- package/lib/sharedString.d.ts.map +1 -1
- package/lib/sharedString.js +2 -3
- package/lib/sharedString.js.map +1 -1
- package/package.json +16 -15
- package/src/defaultMapInterfaces.ts +1 -2
- package/src/intervalCollection.ts +8 -8
- package/src/intervalIndex/endpointInRangeIndex.ts +2 -2
- package/src/intervalIndex/endpointIndex.ts +2 -2
- package/src/intervalIndex/idIntervalIndex.ts +2 -2
- package/src/intervalIndex/intervalIndex.ts +1 -1
- package/src/intervalIndex/overlappingIntervalsIndex.ts +2 -2
- package/src/intervalIndex/overlappingSequenceIntervalsIndex.ts +1 -1
- package/src/intervalIndex/sequenceIntervalIndexes.ts +2 -1
- package/src/intervalIndex/startpointInRangeIndex.ts +2 -2
- package/src/intervals/interval.ts +2 -7
- package/src/intervals/intervalUtils.ts +9 -11
- package/src/intervals/sequenceInterval.ts +3 -12
- package/src/packageVersion.ts +1 -1
- package/src/revertibles.ts +9 -13
- package/src/sequence.ts +2 -3
- package/src/sequenceDeltaEvent.ts +4 -4
- package/src/sequenceFactory.ts +1 -1
- package/src/sharedIntervalCollection.ts +3 -3
- package/src/sharedSequence.ts +3 -3
- package/src/sharedString.ts +4 -5
|
@@ -59,74 +59,73 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* Create revertibles for adding an interval
|
|
62
|
-
* @
|
|
62
|
+
* @internal
|
|
63
63
|
*/
|
|
64
64
|
export declare function appendAddIntervalToRevertibles(interval: SequenceInterval, revertibles: SharedStringRevertible[]): SharedStringRevertible[];
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Create revertibles for moving endpoints of an interval
|
|
68
|
-
* @
|
|
68
|
+
* @internal
|
|
69
69
|
*/
|
|
70
70
|
export declare function appendChangeIntervalToRevertibles(string: SharedString, newInterval: SequenceInterval, previousInterval: SequenceInterval, revertibles: SharedStringRevertible[]): SharedStringRevertible[];
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* Create revertibles for deleting an interval
|
|
74
|
-
* @
|
|
74
|
+
* @internal
|
|
75
75
|
*/
|
|
76
76
|
export declare function appendDeleteIntervalToRevertibles(string: SharedString, interval: SequenceInterval, revertibles: SharedStringRevertible[]): SharedStringRevertible[];
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Create revertibles for changing properties of an interval
|
|
80
|
-
* @
|
|
80
|
+
* @internal
|
|
81
81
|
*/
|
|
82
82
|
export declare function appendIntervalPropertyChangedToRevertibles(interval: SequenceInterval, deltas: PropertySet, revertibles: SharedStringRevertible[]): SharedStringRevertible[];
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
85
|
* Create revertibles for SharedStringDeltas, handling indirectly modified intervals
|
|
86
86
|
* (e.g. reverting remove of a range that contains an interval will move the interval back)
|
|
87
|
-
*
|
|
88
|
-
* @alpha
|
|
87
|
+
* @internal
|
|
89
88
|
*/
|
|
90
89
|
export declare function appendSharedStringDeltaToRevertibles(string: SharedString, delta: SequenceDeltaEvent, revertibles: SharedStringRevertible[]): void;
|
|
91
90
|
|
|
92
91
|
/**
|
|
93
|
-
* @
|
|
92
|
+
* @internal
|
|
94
93
|
*/
|
|
95
94
|
export declare function createEndpointIndex(sharedString: SharedString): IEndpointIndex<SequenceInterval>;
|
|
96
95
|
|
|
97
96
|
/**
|
|
98
|
-
* @
|
|
97
|
+
* @internal
|
|
99
98
|
*/
|
|
100
99
|
export declare function createEndpointInRangeIndex(sharedString: SharedString): IEndpointInRangeIndex<SequenceInterval>;
|
|
101
100
|
|
|
102
101
|
/**
|
|
103
|
-
* @
|
|
102
|
+
* @internal
|
|
104
103
|
*/
|
|
105
104
|
export declare function createIdIntervalIndex<TInterval extends ISerializableInterval>(): IIdIntervalIndex<TInterval>;
|
|
106
105
|
|
|
107
106
|
/**
|
|
108
|
-
* @
|
|
107
|
+
* @internal
|
|
109
108
|
*/
|
|
110
109
|
export declare function createOverlappingIntervalsIndex(sharedString: SharedString): IOverlappingIntervalsIndex<SequenceInterval>;
|
|
111
110
|
|
|
112
111
|
/**
|
|
113
|
-
* @
|
|
112
|
+
* @internal
|
|
114
113
|
*/
|
|
115
114
|
export declare function createOverlappingSequenceIntervalsIndex(sharedString: SharedString): SequenceIntervalIndexes.Overlapping;
|
|
116
115
|
|
|
117
116
|
/**
|
|
118
|
-
* @
|
|
117
|
+
* @internal
|
|
119
118
|
*/
|
|
120
119
|
export declare function createStartpointInRangeIndex(sharedString: SharedString): IStartpointInRangeIndex<SequenceInterval>;
|
|
121
120
|
|
|
122
121
|
/**
|
|
123
|
-
* @
|
|
122
|
+
* @internal
|
|
124
123
|
*/
|
|
125
124
|
export declare type DeserializeCallback = (properties: PropertySet) => void;
|
|
126
125
|
|
|
127
126
|
/**
|
|
128
127
|
* Clean up resources held by revertibles that are no longer needed.
|
|
129
|
-
* @
|
|
128
|
+
* @internal
|
|
130
129
|
*/
|
|
131
130
|
export declare function discardSharedStringRevertibles(sharedString: SharedString, revertibles: SharedStringRevertible[]): void;
|
|
132
131
|
|
|
@@ -143,7 +142,7 @@ export declare function discardSharedStringRevertibles(sharedString: SharedStrin
|
|
|
143
142
|
* // parallelMarkers === [<paragraph marker 1 object>, <paragraph marker 2 object>]
|
|
144
143
|
* // Note parallelText does not include "missing".
|
|
145
144
|
* ```
|
|
146
|
-
* @
|
|
145
|
+
* @internal
|
|
147
146
|
*/
|
|
148
147
|
export declare function getTextAndMarkers(sharedString: SharedString, label: string, start?: number, end?: number): {
|
|
149
148
|
parallelText: string[];
|
|
@@ -151,7 +150,7 @@ export declare function getTextAndMarkers(sharedString: SharedString, label: str
|
|
|
151
150
|
};
|
|
152
151
|
|
|
153
152
|
/**
|
|
154
|
-
* @
|
|
153
|
+
* @internal
|
|
155
154
|
*/
|
|
156
155
|
export declare interface IEndpointIndex<TInterval extends ISerializableInterval> extends IntervalIndex<TInterval> {
|
|
157
156
|
/**
|
|
@@ -170,7 +169,7 @@ export declare interface IEndpointIndex<TInterval extends ISerializableInterval>
|
|
|
170
169
|
* Collection of intervals.
|
|
171
170
|
*
|
|
172
171
|
* Provide additional APIs to support efficiently querying a collection of intervals whose endpoints fall within a specified range.
|
|
173
|
-
* @
|
|
172
|
+
* @internal
|
|
174
173
|
*/
|
|
175
174
|
export declare interface IEndpointInRangeIndex<TInterval extends ISerializableInterval> extends IntervalIndex<TInterval> {
|
|
176
175
|
/**
|
|
@@ -180,7 +179,7 @@ export declare interface IEndpointInRangeIndex<TInterval extends ISerializableIn
|
|
|
180
179
|
}
|
|
181
180
|
|
|
182
181
|
/**
|
|
183
|
-
* @
|
|
182
|
+
* @internal
|
|
184
183
|
*/
|
|
185
184
|
export declare interface IIdIntervalIndex<TInterval extends ISerializableInterval> extends IntervalIndex<TInterval>, Iterable<TInterval> {
|
|
186
185
|
getIntervalById(id: string): TInterval | undefined;
|
|
@@ -189,7 +188,7 @@ export declare interface IIdIntervalIndex<TInterval extends ISerializableInterva
|
|
|
189
188
|
|
|
190
189
|
/**
|
|
191
190
|
* Basic interval abstraction
|
|
192
|
-
* @
|
|
191
|
+
* @internal
|
|
193
192
|
*/
|
|
194
193
|
export declare interface IInterval {
|
|
195
194
|
/**
|
|
@@ -218,7 +217,6 @@ export declare interface IInterval {
|
|
|
218
217
|
compareEnd(b: IInterval): number;
|
|
219
218
|
/**
|
|
220
219
|
* Modifies one or more of the endpoints of this interval, returning a new interval representing the result.
|
|
221
|
-
* @internal
|
|
222
220
|
*/
|
|
223
221
|
modify(label: string, start: SequencePlace | undefined, end: SequencePlace | undefined, op?: ISequencedDocumentMessage, localSeq?: number, useNewSlidingBehavior?: boolean): IInterval | undefined;
|
|
224
222
|
/**
|
|
@@ -230,7 +228,6 @@ export declare interface IInterval {
|
|
|
230
228
|
* Unions this interval with `b`, returning a new interval.
|
|
231
229
|
* The union operates as a convex hull, i.e. if the two intervals are disjoint, the return value includes
|
|
232
230
|
* intermediate values between the two intervals.
|
|
233
|
-
* @internal
|
|
234
231
|
*/
|
|
235
232
|
union(b: IInterval): IInterval;
|
|
236
233
|
}
|
|
@@ -238,7 +235,7 @@ export declare interface IInterval {
|
|
|
238
235
|
/**
|
|
239
236
|
* Collection of intervals that supports addition, modification, removal, and efficient spatial querying.
|
|
240
237
|
* Changes to this collection will be incur updates on collaborating clients (i.e. they are not local-only).
|
|
241
|
-
* @
|
|
238
|
+
* @internal
|
|
242
239
|
*/
|
|
243
240
|
export declare interface IIntervalCollection<TInterval extends ISerializableInterval> extends TypedEventEmitter<IIntervalCollectionEvent<TInterval>> {
|
|
244
241
|
readonly attached: boolean;
|
|
@@ -447,7 +444,7 @@ export declare interface IIntervalCollection<TInterval extends ISerializableInte
|
|
|
447
444
|
|
|
448
445
|
/**
|
|
449
446
|
* Change events emitted by `IntervalCollection`s
|
|
450
|
-
* @
|
|
447
|
+
* @internal
|
|
451
448
|
*/
|
|
452
449
|
export declare interface IIntervalCollectionEvent<TInterval extends ISerializableInterval> extends IEvent {
|
|
453
450
|
/**
|
|
@@ -485,7 +482,7 @@ export declare interface IIntervalCollectionEvent<TInterval extends ISerializabl
|
|
|
485
482
|
/**
|
|
486
483
|
* @sealed
|
|
487
484
|
* @deprecated The methods within have substitutions
|
|
488
|
-
* @
|
|
485
|
+
* @internal
|
|
489
486
|
*/
|
|
490
487
|
export declare interface IIntervalHelpers<TInterval extends ISerializableInterval> {
|
|
491
488
|
/**
|
|
@@ -508,7 +505,7 @@ export declare interface IIntervalHelpers<TInterval extends ISerializableInterva
|
|
|
508
505
|
|
|
509
506
|
/**
|
|
510
507
|
* @deprecated IJSONRunSegment will be removed in a upcoming release. It has been moved to the fluid-experimental/sequence-deprecated package
|
|
511
|
-
* @
|
|
508
|
+
* @internal
|
|
512
509
|
*/
|
|
513
510
|
export declare interface IJSONRunSegment<T> extends IJSONSegment {
|
|
514
511
|
items: Serializable<T>[];
|
|
@@ -525,7 +522,7 @@ export declare interface IMapMessageLocalMetadata {
|
|
|
525
522
|
* A sequence place that does not refer to the special endpoint segments.
|
|
526
523
|
*
|
|
527
524
|
* See {@link SequencePlace} for additional context.
|
|
528
|
-
* @
|
|
525
|
+
* @internal
|
|
529
526
|
*/
|
|
530
527
|
export declare interface InteriorSequencePlace {
|
|
531
528
|
pos: number;
|
|
@@ -534,7 +531,7 @@ export declare interface InteriorSequencePlace {
|
|
|
534
531
|
|
|
535
532
|
/**
|
|
536
533
|
* Serializable interval whose endpoints are plain-old numbers.
|
|
537
|
-
* @
|
|
534
|
+
* @internal
|
|
538
535
|
*/
|
|
539
536
|
export declare class Interval implements ISerializableInterval {
|
|
540
537
|
start: number;
|
|
@@ -543,11 +540,10 @@ export declare class Interval implements ISerializableInterval {
|
|
|
543
540
|
* {@inheritDoc ISerializableInterval.properties}
|
|
544
541
|
*/
|
|
545
542
|
properties: PropertySet;
|
|
546
|
-
|
|
543
|
+
/***/
|
|
547
544
|
auxProps: PropertySet[] | undefined;
|
|
548
545
|
/**
|
|
549
546
|
* {@inheritDoc ISerializableInterval.propertyManager}
|
|
550
|
-
* @internal
|
|
551
547
|
*/
|
|
552
548
|
propertyManager: PropertiesManager;
|
|
553
549
|
constructor(start: number, end: number, props?: PropertySet);
|
|
@@ -570,7 +566,6 @@ export declare class Interval implements ISerializableInterval {
|
|
|
570
566
|
addPropertySet(props: PropertySet): void;
|
|
571
567
|
/**
|
|
572
568
|
* {@inheritDoc ISerializableInterval.serialize}
|
|
573
|
-
* @internal
|
|
574
569
|
*/
|
|
575
570
|
serialize(): ISerializedInterval;
|
|
576
571
|
/**
|
|
@@ -595,18 +590,15 @@ export declare class Interval implements ISerializableInterval {
|
|
|
595
590
|
overlaps(b: Interval): boolean;
|
|
596
591
|
/**
|
|
597
592
|
* {@inheritDoc IInterval.union}
|
|
598
|
-
* @internal
|
|
599
593
|
*/
|
|
600
594
|
union(b: Interval): Interval;
|
|
601
595
|
getProperties(): PropertySet;
|
|
602
596
|
/**
|
|
603
597
|
* {@inheritDoc ISerializableInterval.addProperties}
|
|
604
|
-
* @internal
|
|
605
598
|
*/
|
|
606
599
|
addProperties(newProps: PropertySet, collaborating?: boolean, seq?: number, op?: ICombiningOp): PropertySet | undefined;
|
|
607
600
|
/**
|
|
608
601
|
* {@inheritDoc IInterval.modify}
|
|
609
|
-
* @internal
|
|
610
602
|
*/
|
|
611
603
|
modify(label: string, start?: SequencePlace, end?: SequencePlace, op?: ISequencedDocumentMessage): Interval | undefined;
|
|
612
604
|
private initializeProperties;
|
|
@@ -620,7 +612,7 @@ export declare class Interval implements ISerializableInterval {
|
|
|
620
612
|
* - "find all intervals with start endpoint between these two points"
|
|
621
613
|
* - "find all intervals which overlap this range"
|
|
622
614
|
* etc.
|
|
623
|
-
* @
|
|
615
|
+
* @internal
|
|
624
616
|
*/
|
|
625
617
|
export declare interface IntervalIndex<TInterval extends ISerializableInterval> {
|
|
626
618
|
/**
|
|
@@ -639,7 +631,7 @@ export declare interface IntervalIndex<TInterval extends ISerializableInterval>
|
|
|
639
631
|
|
|
640
632
|
/**
|
|
641
633
|
* Information that identifies an interval within a `Sequence`.
|
|
642
|
-
* @
|
|
634
|
+
* @internal
|
|
643
635
|
*/
|
|
644
636
|
export declare interface IntervalLocator {
|
|
645
637
|
/**
|
|
@@ -657,13 +649,13 @@ export declare interface IntervalLocator {
|
|
|
657
649
|
* @returns undefined if the reference position is not the endpoint of any interval (e.g. it was created
|
|
658
650
|
* on the merge tree directly by app code), otherwise an {@link IntervalLocator} for the interval this
|
|
659
651
|
* endpoint is a part of.
|
|
660
|
-
* @
|
|
652
|
+
* @internal
|
|
661
653
|
*/
|
|
662
654
|
export declare function intervalLocatorFromEndpoint(potentialEndpoint: LocalReferencePosition): IntervalLocator | undefined;
|
|
663
655
|
|
|
664
656
|
/**
|
|
665
657
|
* Values are used in persisted formats (ops) and revertibles.
|
|
666
|
-
* @
|
|
658
|
+
* @internal
|
|
667
659
|
*/
|
|
668
660
|
export declare const IntervalOpType: {
|
|
669
661
|
readonly ADD: "add";
|
|
@@ -674,14 +666,13 @@ export declare const IntervalOpType: {
|
|
|
674
666
|
};
|
|
675
667
|
|
|
676
668
|
/**
|
|
677
|
-
* @
|
|
669
|
+
* @internal
|
|
678
670
|
*/
|
|
679
671
|
export declare type IntervalOpType = (typeof IntervalOpType)[keyof typeof IntervalOpType];
|
|
680
672
|
|
|
681
673
|
/**
|
|
682
674
|
* Data for undoing edits affecting Intervals.
|
|
683
|
-
*
|
|
684
|
-
* @alpha
|
|
675
|
+
* @internal
|
|
685
676
|
*/
|
|
686
677
|
export declare type IntervalRevertible = {
|
|
687
678
|
event: typeof IntervalOpType.CHANGE;
|
|
@@ -758,7 +749,7 @@ export declare const IntervalStickiness: {
|
|
|
758
749
|
export declare type IntervalStickiness = (typeof IntervalStickiness)[keyof typeof IntervalStickiness];
|
|
759
750
|
|
|
760
751
|
/**
|
|
761
|
-
* @
|
|
752
|
+
* @internal
|
|
762
753
|
*/
|
|
763
754
|
export declare enum IntervalType {
|
|
764
755
|
Simple = 0,
|
|
@@ -781,7 +772,7 @@ export declare enum IntervalType {
|
|
|
781
772
|
}
|
|
782
773
|
|
|
783
774
|
/**
|
|
784
|
-
* @
|
|
775
|
+
* @internal
|
|
785
776
|
*/
|
|
786
777
|
export declare interface IOverlappingIntervalsIndex<TInterval extends ISerializableInterval> extends IntervalIndex<TInterval> {
|
|
787
778
|
/**
|
|
@@ -797,7 +788,7 @@ export declare interface IOverlappingIntervalsIndex<TInterval extends ISerializa
|
|
|
797
788
|
|
|
798
789
|
/**
|
|
799
790
|
* A range that has changed corresponding to a segment modification.
|
|
800
|
-
* @
|
|
791
|
+
* @internal
|
|
801
792
|
*/
|
|
802
793
|
export declare interface ISequenceDeltaRange<TOperation extends MergeTreeDeltaOperationTypes = MergeTreeDeltaOperationTypes> {
|
|
803
794
|
/**
|
|
@@ -832,16 +823,16 @@ export declare interface ISequenceDeltaRange<TOperation extends MergeTreeDeltaOp
|
|
|
832
823
|
}
|
|
833
824
|
|
|
834
825
|
/**
|
|
835
|
-
* @
|
|
826
|
+
* @internal
|
|
836
827
|
*/
|
|
837
828
|
export declare interface ISerializableInterval extends IInterval {
|
|
838
829
|
/** Serializable bag of properties associated with the interval. */
|
|
839
830
|
properties: PropertySet;
|
|
840
|
-
|
|
831
|
+
/***/
|
|
841
832
|
propertyManager: PropertiesManager;
|
|
842
|
-
|
|
833
|
+
/***/
|
|
843
834
|
serialize(): ISerializedInterval;
|
|
844
|
-
|
|
835
|
+
/***/
|
|
845
836
|
addProperties(props: PropertySet, collaborating?: boolean, seq?: number): PropertySet | undefined;
|
|
846
837
|
/**
|
|
847
838
|
* Gets the id associated with this interval.
|
|
@@ -884,7 +875,7 @@ export declare interface ISerializedInterval {
|
|
|
884
875
|
}
|
|
885
876
|
|
|
886
877
|
/**
|
|
887
|
-
* @
|
|
878
|
+
* @internal
|
|
888
879
|
*/
|
|
889
880
|
export declare interface ISharedIntervalCollection<TInterval extends ISerializableInterval> {
|
|
890
881
|
getIntervalCollection(label: string): IIntervalCollection<TInterval>;
|
|
@@ -922,7 +913,7 @@ export declare interface ISharedIntervalCollection<TInterval extends ISerializab
|
|
|
922
913
|
* - `event` - Various information on the segments that were modified.
|
|
923
914
|
*
|
|
924
915
|
* - `target` - The sequence itself.
|
|
925
|
-
* @
|
|
916
|
+
* @internal
|
|
926
917
|
*/
|
|
927
918
|
export declare interface ISharedSegmentSequenceEvents extends ISharedObjectEvents {
|
|
928
919
|
(event: "createIntervalCollection", listener: (label: string, local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
@@ -932,7 +923,7 @@ export declare interface ISharedSegmentSequenceEvents extends ISharedObjectEvent
|
|
|
932
923
|
|
|
933
924
|
/**
|
|
934
925
|
* Fluid object interface describing access methods on a SharedString
|
|
935
|
-
* @
|
|
926
|
+
* @internal
|
|
936
927
|
*/
|
|
937
928
|
export declare interface ISharedString extends SharedSegmentSequence<SharedStringSegment> {
|
|
938
929
|
/**
|
|
@@ -959,7 +950,7 @@ export declare interface ISharedString extends SharedSegmentSequence<SharedStrin
|
|
|
959
950
|
* Collection of intervals.
|
|
960
951
|
*
|
|
961
952
|
* Provide additional APIs to support efficiently querying a collection of intervals whose startpoints fall within a specified range.
|
|
962
|
-
* @
|
|
953
|
+
* @internal
|
|
963
954
|
*/
|
|
964
955
|
export declare interface IStartpointInRangeIndex<TInterval extends ISerializableInterval> extends IntervalIndex<TInterval> {
|
|
965
956
|
/**
|
|
@@ -980,15 +971,13 @@ export declare interface IValueOpEmitter {
|
|
|
980
971
|
* @param previousValue - JSONable previous value as defined by the value type @deprecated unused
|
|
981
972
|
* @param params - JSONable params for the operation as defined by the value type
|
|
982
973
|
* @param localOpMetadata - JSONable local metadata which should be submitted with the op
|
|
983
|
-
* @internal
|
|
984
974
|
*/
|
|
985
975
|
emit(opName: IntervalOpType, previousValue: undefined, params: SerializedIntervalDelta, localOpMetadata: IMapMessageLocalMetadata): void;
|
|
986
976
|
}
|
|
987
977
|
|
|
988
978
|
/**
|
|
989
979
|
* Invoke revertibles to reverse prior edits
|
|
990
|
-
*
|
|
991
|
-
* @alpha
|
|
980
|
+
* @internal
|
|
992
981
|
*/
|
|
993
982
|
export declare function revertSharedStringRevertibles(sharedString: SharedString, revertibles: SharedStringRevertible[]): void;
|
|
994
983
|
|
|
@@ -1002,7 +991,7 @@ export declare function revertSharedStringRevertibles(sharedString: SharedString
|
|
|
1002
991
|
* For group ops, each op will get its own event, and the group op property will be set on the op args.
|
|
1003
992
|
*
|
|
1004
993
|
* Ops may get multiple events. For instance, an insert-replace will get a remove then an insert event.
|
|
1005
|
-
* @
|
|
994
|
+
* @internal
|
|
1006
995
|
*/
|
|
1007
996
|
export declare class SequenceDeltaEvent extends SequenceEvent<MergeTreeDeltaOperationType> {
|
|
1008
997
|
readonly opArgs: IMergeTreeDeltaOpArgs;
|
|
@@ -1019,7 +1008,7 @@ export declare class SequenceDeltaEvent extends SequenceEvent<MergeTreeDeltaOper
|
|
|
1019
1008
|
* The properties of this object and its sub-objects represent the state of the sequence at the
|
|
1020
1009
|
* point in time at which the operation was applied.
|
|
1021
1010
|
* They will not take into any future modifications performed to the underlying sequence and merge tree.
|
|
1022
|
-
* @
|
|
1011
|
+
* @internal
|
|
1023
1012
|
*/
|
|
1024
1013
|
export declare abstract class SequenceEvent<TOperation extends MergeTreeDeltaOperationTypes = MergeTreeDeltaOperationTypes> {
|
|
1025
1014
|
readonly deltaArgs: IMergeTreeDeltaCallbackArgs<TOperation>;
|
|
@@ -1074,7 +1063,7 @@ export declare abstract class SequenceEvent<TOperation extends MergeTreeDeltaOpe
|
|
|
1074
1063
|
* `mergeTreeReferencesCanSlideToEndpoint` feature flag set to true, the endpoints
|
|
1075
1064
|
* of the interval that are exclusive will have the ability to slide to these
|
|
1076
1065
|
* special endpoint segments.
|
|
1077
|
-
* @
|
|
1066
|
+
* @internal
|
|
1078
1067
|
*/
|
|
1079
1068
|
export declare class SequenceInterval implements ISerializableInterval {
|
|
1080
1069
|
private readonly client;
|
|
@@ -1097,12 +1086,9 @@ export declare class SequenceInterval implements ISerializableInterval {
|
|
|
1097
1086
|
properties: PropertySet;
|
|
1098
1087
|
/**
|
|
1099
1088
|
* {@inheritDoc ISerializableInterval.propertyManager}
|
|
1100
|
-
* @internal
|
|
1101
1089
|
*/
|
|
1102
1090
|
propertyManager: PropertiesManager;
|
|
1103
|
-
|
|
1104
|
-
* @internal
|
|
1105
|
-
*/
|
|
1091
|
+
/***/
|
|
1106
1092
|
get stickiness(): IntervalStickiness;
|
|
1107
1093
|
constructor(client: Client,
|
|
1108
1094
|
/**
|
|
@@ -1118,17 +1104,14 @@ export declare class SequenceInterval implements ISerializableInterval {
|
|
|
1118
1104
|
private callbacks?;
|
|
1119
1105
|
/**
|
|
1120
1106
|
* Subscribes to position change events on this interval if there are no current listeners.
|
|
1121
|
-
* @internal
|
|
1122
1107
|
*/
|
|
1123
1108
|
addPositionChangeListeners(beforePositionChange: () => void, afterPositionChange: () => void): void;
|
|
1124
1109
|
/**
|
|
1125
1110
|
* Removes the currently subscribed position change listeners.
|
|
1126
|
-
* @internal
|
|
1127
1111
|
*/
|
|
1128
1112
|
removePositionChangeListeners(): void;
|
|
1129
1113
|
/**
|
|
1130
1114
|
* {@inheritDoc ISerializableInterval.serialize}
|
|
1131
|
-
* @internal
|
|
1132
1115
|
*/
|
|
1133
1116
|
serialize(): ISerializedInterval;
|
|
1134
1117
|
/**
|
|
@@ -1157,12 +1140,10 @@ export declare class SequenceInterval implements ISerializableInterval {
|
|
|
1157
1140
|
getIntervalId(): string;
|
|
1158
1141
|
/**
|
|
1159
1142
|
* {@inheritDoc IInterval.union}
|
|
1160
|
-
* @internal
|
|
1161
1143
|
*/
|
|
1162
1144
|
union(b: SequenceInterval): SequenceInterval;
|
|
1163
1145
|
/**
|
|
1164
1146
|
* {@inheritDoc ISerializableInterval.addProperties}
|
|
1165
|
-
* @internal
|
|
1166
1147
|
*/
|
|
1167
1148
|
addProperties(newProps: PropertySet, collab?: boolean, seq?: number, op?: ICombiningOp): PropertySet | undefined;
|
|
1168
1149
|
/**
|
|
@@ -1171,7 +1152,6 @@ export declare class SequenceInterval implements ISerializableInterval {
|
|
|
1171
1152
|
overlapsPos(bstart: number, bend: number): boolean;
|
|
1172
1153
|
/**
|
|
1173
1154
|
* {@inheritDoc IInterval.modify}
|
|
1174
|
-
* @internal
|
|
1175
1155
|
*/
|
|
1176
1156
|
modify(label: string, start: SequencePlace | undefined, end: SequencePlace | undefined, op?: ISequencedDocumentMessage, localSeq?: number, useNewSlidingBehavior?: boolean): SequenceInterval;
|
|
1177
1157
|
private initializeProperties;
|
|
@@ -1179,20 +1159,21 @@ export declare class SequenceInterval implements ISerializableInterval {
|
|
|
1179
1159
|
|
|
1180
1160
|
/**
|
|
1181
1161
|
* @deprecated The methods within have substitutions
|
|
1182
|
-
* @
|
|
1162
|
+
* @internal
|
|
1183
1163
|
*/
|
|
1184
1164
|
export declare const sequenceIntervalHelpers: IIntervalHelpers<SequenceInterval>;
|
|
1185
1165
|
|
|
1186
1166
|
/**
|
|
1187
1167
|
* This namespace contains specialiazations of indexes which support spatial queries
|
|
1188
1168
|
* specifically for `SequenceInterval`s.
|
|
1189
|
-
* @
|
|
1169
|
+
* @internal
|
|
1190
1170
|
*/
|
|
1191
1171
|
export declare namespace SequenceIntervalIndexes {
|
|
1192
1172
|
/**
|
|
1193
1173
|
* Collection of intervals.
|
|
1194
1174
|
*
|
|
1195
1175
|
* Provides additional APIs to support efficiently querying a collection of intervals based on segments and offset.
|
|
1176
|
+
* @internal
|
|
1196
1177
|
*/
|
|
1197
1178
|
export interface Overlapping extends IOverlappingIntervalsIndex<SequenceInterval> {
|
|
1198
1179
|
/**
|
|
@@ -1216,7 +1197,7 @@ export declare namespace SequenceIntervalIndexes {
|
|
|
1216
1197
|
* The properties of this object and its sub-objects represent the state of the sequence at the
|
|
1217
1198
|
* point in time at which the operation was applied.
|
|
1218
1199
|
* They will not take into consideration any future modifications performed to the underlying sequence and merge tree.
|
|
1219
|
-
* @
|
|
1200
|
+
* @internal
|
|
1220
1201
|
*/
|
|
1221
1202
|
export declare class SequenceMaintenanceEvent extends SequenceEvent<MergeTreeMaintenanceType> {
|
|
1222
1203
|
readonly opArgs: IMergeTreeDeltaOpArgs | undefined;
|
|
@@ -1225,7 +1206,7 @@ export declare class SequenceMaintenanceEvent extends SequenceEvent<MergeTreeMai
|
|
|
1225
1206
|
|
|
1226
1207
|
/**
|
|
1227
1208
|
* Optional flags that configure options for sequence DDSs
|
|
1228
|
-
* @
|
|
1209
|
+
* @internal
|
|
1229
1210
|
*/
|
|
1230
1211
|
export declare interface SequenceOptions {
|
|
1231
1212
|
/**
|
|
@@ -1278,7 +1259,7 @@ export declare interface SequenceOptions {
|
|
|
1278
1259
|
* If a SequencePlace is the endpoint of a range (e.g. start/end of an interval or search range),
|
|
1279
1260
|
* the Side value means it is exclusive if it is nearer to the other position and inclusive if it is farther.
|
|
1280
1261
|
* E.g. the start of a range with Side.After is exclusive of the character at the position.
|
|
1281
|
-
* @
|
|
1262
|
+
* @internal
|
|
1282
1263
|
*/
|
|
1283
1264
|
export declare type SequencePlace = number | "start" | "end" | InteriorSequencePlace;
|
|
1284
1265
|
|
|
@@ -1291,7 +1272,7 @@ export declare type SerializedIntervalDelta = Omit<ISerializedInterval, "start"
|
|
|
1291
1272
|
|
|
1292
1273
|
/**
|
|
1293
1274
|
* @deprecated `SharedIntervalCollection` is not maintained and is planned to be removed.
|
|
1294
|
-
* @
|
|
1275
|
+
* @internal
|
|
1295
1276
|
*/
|
|
1296
1277
|
export declare class SharedIntervalCollection extends SharedObject implements ISharedIntervalCollection<Interval> {
|
|
1297
1278
|
/**
|
|
@@ -1335,7 +1316,7 @@ export declare class SharedIntervalCollection extends SharedObject implements IS
|
|
|
1335
1316
|
/**
|
|
1336
1317
|
* The factory that defines the SharedIntervalCollection.
|
|
1337
1318
|
* @deprecated `SharedIntervalCollection` is not maintained and is planned to be removed.
|
|
1338
|
-
* @
|
|
1319
|
+
* @internal
|
|
1339
1320
|
*/
|
|
1340
1321
|
export declare class SharedIntervalCollectionFactory implements IChannelFactory {
|
|
1341
1322
|
static readonly Type = "https://graph.microsoft.com/types/sharedIntervalCollection";
|
|
@@ -1350,7 +1331,7 @@ export declare class SharedIntervalCollectionFactory implements IChannelFactory
|
|
|
1350
1331
|
}
|
|
1351
1332
|
|
|
1352
1333
|
/**
|
|
1353
|
-
* @
|
|
1334
|
+
* @internal
|
|
1354
1335
|
*/
|
|
1355
1336
|
export declare abstract class SharedSegmentSequence<T extends ISegment> extends SharedObject<ISharedSegmentSequenceEvents> implements ISharedIntervalCollection<SequenceInterval>, MergeTreeRevertibleDriver {
|
|
1356
1337
|
private readonly dataStoreRuntime;
|
|
@@ -1368,7 +1349,6 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
|
|
|
1368
1349
|
*
|
|
1369
1350
|
* An application using SharedString which explicitly wants to opt in to allowing reentrancy anyway can set `sharedStringPreventReentrancy`
|
|
1370
1351
|
* on the data store options to `false`.
|
|
1371
|
-
* @internal
|
|
1372
1352
|
*/
|
|
1373
1353
|
protected guardReentrancy: <TRet>(callback: () => TRet) => TRet;
|
|
1374
1354
|
private static createOpsFromDelta;
|
|
@@ -1579,7 +1559,7 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
|
|
|
1579
1559
|
|
|
1580
1560
|
/**
|
|
1581
1561
|
* @deprecated SharedSequence will be removed in a upcoming release. It has been moved to the fluid-experimental/sequence-deprecated package
|
|
1582
|
-
* @
|
|
1562
|
+
* @internal
|
|
1583
1563
|
*/
|
|
1584
1564
|
export declare class SharedSequence<T> extends SharedSegmentSequence<SubSequence<T>> {
|
|
1585
1565
|
id: string;
|
|
@@ -1616,8 +1596,7 @@ export declare class SharedSequence<T> extends SharedSegmentSequence<SubSequence
|
|
|
1616
1596
|
* In addition to text, a Shared String can also contain markers. Markers can be
|
|
1617
1597
|
* used to store metadata at positions within the text, like the details of an
|
|
1618
1598
|
* image or Fluid object that should be rendered with the text.
|
|
1619
|
-
*
|
|
1620
|
-
* @public
|
|
1599
|
+
* @internal
|
|
1621
1600
|
*/
|
|
1622
1601
|
export declare class SharedString extends SharedSegmentSequence<SharedStringSegment> implements ISharedString {
|
|
1623
1602
|
id: string;
|
|
@@ -1737,7 +1716,7 @@ export declare class SharedString extends SharedSegmentSequence<SharedStringSegm
|
|
|
1737
1716
|
}
|
|
1738
1717
|
|
|
1739
1718
|
/**
|
|
1740
|
-
* @
|
|
1719
|
+
* @internal
|
|
1741
1720
|
*/
|
|
1742
1721
|
export declare class SharedStringFactory implements IChannelFactory {
|
|
1743
1722
|
static Type: string;
|
|
@@ -1754,13 +1733,12 @@ export declare class SharedStringFactory implements IChannelFactory {
|
|
|
1754
1733
|
|
|
1755
1734
|
/**
|
|
1756
1735
|
* Data for undoing edits on SharedStrings and Intervals.
|
|
1757
|
-
*
|
|
1758
|
-
* @alpha
|
|
1736
|
+
* @internal
|
|
1759
1737
|
*/
|
|
1760
1738
|
export declare type SharedStringRevertible = MergeTreeDeltaRevertible | IntervalRevertible;
|
|
1761
1739
|
|
|
1762
1740
|
/**
|
|
1763
|
-
* @
|
|
1741
|
+
* @internal
|
|
1764
1742
|
*/
|
|
1765
1743
|
export declare type SharedStringSegment = TextSegment | Marker;
|
|
1766
1744
|
|
|
@@ -1768,7 +1746,7 @@ export declare type SharedStringSegment = TextSegment | Marker;
|
|
|
1768
1746
|
* Defines a side relative to a character in a sequence.
|
|
1769
1747
|
*
|
|
1770
1748
|
* @remarks See {@link SequencePlace} for additional context on usage.
|
|
1771
|
-
* @
|
|
1749
|
+
* @internal
|
|
1772
1750
|
*/
|
|
1773
1751
|
export declare enum Side {
|
|
1774
1752
|
Before = 0,
|
|
@@ -1777,7 +1755,7 @@ export declare enum Side {
|
|
|
1777
1755
|
|
|
1778
1756
|
/**
|
|
1779
1757
|
* @deprecated SubSequence will be removed in a upcoming release. It has been moved to the fluid-experimental/sequence-deprecated package
|
|
1780
|
-
* @
|
|
1758
|
+
* @internal
|
|
1781
1759
|
*/
|
|
1782
1760
|
export declare class SubSequence<T> extends BaseSegment {
|
|
1783
1761
|
items: Serializable<T>[];
|
package/dist/sequence.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ import { ISharedIntervalCollection } from "./sharedIntervalCollection";
|
|
|
45
45
|
* - `event` - Various information on the segments that were modified.
|
|
46
46
|
*
|
|
47
47
|
* - `target` - The sequence itself.
|
|
48
|
-
* @
|
|
48
|
+
* @internal
|
|
49
49
|
*/
|
|
50
50
|
export interface ISharedSegmentSequenceEvents extends ISharedObjectEvents {
|
|
51
51
|
(event: "createIntervalCollection", listener: (label: string, local: boolean, target: IEventThisPlaceHolder) => void): any;
|
|
@@ -53,7 +53,7 @@ export interface ISharedSegmentSequenceEvents extends ISharedObjectEvents {
|
|
|
53
53
|
(event: "maintenance", listener: (event: SequenceMaintenanceEvent, target: IEventThisPlaceHolder) => void): any;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* @
|
|
56
|
+
* @internal
|
|
57
57
|
*/
|
|
58
58
|
export declare abstract class SharedSegmentSequence<T extends ISegment> extends SharedObject<ISharedSegmentSequenceEvents> implements ISharedIntervalCollection<SequenceInterval>, MergeTreeRevertibleDriver {
|
|
59
59
|
private readonly dataStoreRuntime;
|
|
@@ -71,7 +71,6 @@ export declare abstract class SharedSegmentSequence<T extends ISegment> extends
|
|
|
71
71
|
*
|
|
72
72
|
* An application using SharedString which explicitly wants to opt in to allowing reentrancy anyway can set `sharedStringPreventReentrancy`
|
|
73
73
|
* on the data store options to `false`.
|
|
74
|
-
* @internal
|
|
75
74
|
*/
|
|
76
75
|
protected guardReentrancy: <TRet>(callback: () => TRet) => TRet;
|
|
77
76
|
private static createOpsFromDelta;
|
package/dist/sequence.d.ts.map
CHANGED
|
@@ -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;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAG/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EACN,mBAAmB,EAGnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAKvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH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C,iBAAiB,CAAC,UAAU,EAAE,iBAAiB;IAQzD;;;;;;;;OAQG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ;IAapE;;OAEG;IACH,SAAS,CAAC,SAAS;IAKnB;;OAEG;IACH,SAAS,CAAC,YAAY;IAEtB;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,OAAO;IAgB7D;;OAEG;cACa,QAAQ,CAAC,OAAO,EAAE,sBAAsB;IA6DxD;;OAEG;IACH,SAAS,CAAC,WAAW,CACpB,OAAO,EAAE,yBAAyB,EAClC,KAAK,EAAE,OAAO,EACd,eAAe,EAAE,OAAO;IA0BzB;;OAEG;IACH,SAAS,CAAC,SAAS;IAQnB;;OAEG;IACH,SAAS,CAAC,mBAAmB;IAK7B;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO;IAI/C,OAAO,CAAC,kBAAkB;IAsB1B,OAAO,CAAC,mBAAmB;IAyC3B,OAAO,CAAC,+BAA+B;IAYvC,OAAO,CAAC,YAAY;IA6BpB,OAAO,CAAC,6BAA6B;CAuBrC;AA4BD;;GAEG;AACH,wBAAgB,yBAAyB,SAExC"}
|
package/dist/sequence.js
CHANGED
|
@@ -19,7 +19,7 @@ const sequenceDeltaEvent_1 = require("./sequenceDeltaEvent");
|
|
|
19
19
|
const snapshotFileName = "header";
|
|
20
20
|
const contentPath = "content";
|
|
21
21
|
/**
|
|
22
|
-
* @
|
|
22
|
+
* @internal
|
|
23
23
|
*/
|
|
24
24
|
class SharedSegmentSequence extends shared_object_base_1.SharedObject {
|
|
25
25
|
get loaded() {
|