@fluidframework/sequence 2.0.0-internal.7.2.2 → 2.0.0-internal.7.4.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 (208) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/api-extractor-lint.json +13 -0
  3. package/api-extractor.json +9 -1
  4. package/api-report/sequence.api.md +87 -84
  5. package/dist/defaultMap.d.ts +3 -3
  6. package/dist/defaultMap.d.ts.map +1 -1
  7. package/dist/defaultMap.js +7 -2
  8. package/dist/defaultMap.js.map +1 -1
  9. package/dist/defaultMapInterfaces.d.ts +11 -10
  10. package/dist/defaultMapInterfaces.d.ts.map +1 -1
  11. package/dist/defaultMapInterfaces.js.map +1 -1
  12. package/dist/intervalCollection.d.ts +68 -14
  13. package/dist/intervalCollection.d.ts.map +1 -1
  14. package/dist/intervalCollection.js +50 -45
  15. package/dist/intervalCollection.js.map +1 -1
  16. package/dist/intervalIndex/endpointInRangeIndex.d.ts +2 -2
  17. package/dist/intervalIndex/endpointInRangeIndex.js +1 -1
  18. package/dist/intervalIndex/endpointInRangeIndex.js.map +1 -1
  19. package/dist/intervalIndex/endpointIndex.d.ts +2 -2
  20. package/dist/intervalIndex/endpointIndex.js +1 -1
  21. package/dist/intervalIndex/endpointIndex.js.map +1 -1
  22. package/dist/intervalIndex/idIntervalIndex.d.ts +2 -2
  23. package/dist/intervalIndex/idIntervalIndex.js +1 -1
  24. package/dist/intervalIndex/idIntervalIndex.js.map +1 -1
  25. package/dist/intervalIndex/intervalIndex.d.ts +1 -1
  26. package/dist/intervalIndex/intervalIndex.js.map +1 -1
  27. package/dist/intervalIndex/overlappingIntervalsIndex.d.ts +2 -2
  28. package/dist/intervalIndex/overlappingIntervalsIndex.js +1 -1
  29. package/dist/intervalIndex/overlappingIntervalsIndex.js.map +1 -1
  30. package/dist/intervalIndex/overlappingSequenceIntervalsIndex.d.ts +1 -1
  31. package/dist/intervalIndex/overlappingSequenceIntervalsIndex.js +1 -1
  32. package/dist/intervalIndex/overlappingSequenceIntervalsIndex.js.map +1 -1
  33. package/dist/intervalIndex/sequenceIntervalIndexes.d.ts +2 -1
  34. package/dist/intervalIndex/sequenceIntervalIndexes.d.ts.map +1 -1
  35. package/dist/intervalIndex/sequenceIntervalIndexes.js.map +1 -1
  36. package/dist/intervalIndex/startpointInRangeIndex.d.ts +2 -2
  37. package/dist/intervalIndex/startpointInRangeIndex.js +1 -1
  38. package/dist/intervalIndex/startpointInRangeIndex.js.map +1 -1
  39. package/dist/intervals/interval.d.ts +2 -7
  40. package/dist/intervals/interval.d.ts.map +1 -1
  41. package/dist/intervals/interval.js +1 -5
  42. package/dist/intervals/interval.js.map +1 -1
  43. package/dist/intervals/intervalUtils.d.ts +15 -14
  44. package/dist/intervals/intervalUtils.d.ts.map +1 -1
  45. package/dist/intervals/intervalUtils.js +4 -3
  46. package/dist/intervals/intervalUtils.js.map +1 -1
  47. package/dist/intervals/sequenceInterval.d.ts +3 -12
  48. package/dist/intervals/sequenceInterval.d.ts.map +1 -1
  49. package/dist/intervals/sequenceInterval.js +3 -11
  50. package/dist/intervals/sequenceInterval.js.map +1 -1
  51. package/dist/localValues.d.ts +2 -1
  52. package/dist/localValues.d.ts.map +1 -1
  53. package/dist/localValues.js.map +1 -1
  54. package/dist/packageVersion.d.ts +1 -1
  55. package/dist/packageVersion.js +1 -1
  56. package/dist/packageVersion.js.map +1 -1
  57. package/dist/revertibles.d.ts +9 -15
  58. package/dist/revertibles.d.ts.map +1 -1
  59. package/dist/revertibles.js +41 -21
  60. package/dist/revertibles.js.map +1 -1
  61. package/dist/sequence-alpha.d.ts +1306 -0
  62. package/dist/sequence-beta.d.ts +270 -0
  63. package/dist/sequence-public.d.ts +270 -0
  64. package/dist/sequence-untrimmed.d.ts +1790 -0
  65. package/dist/sequence.d.ts +2 -3
  66. package/dist/sequence.d.ts.map +1 -1
  67. package/dist/sequence.js +4 -5
  68. package/dist/sequence.js.map +1 -1
  69. package/dist/sequenceDeltaEvent.d.ts +4 -4
  70. package/dist/sequenceDeltaEvent.d.ts.map +1 -1
  71. package/dist/sequenceDeltaEvent.js +4 -3
  72. package/dist/sequenceDeltaEvent.js.map +1 -1
  73. package/dist/sequenceFactory.d.ts +1 -1
  74. package/dist/sequenceFactory.js +1 -1
  75. package/dist/sequenceFactory.js.map +1 -1
  76. package/dist/sharedIntervalCollection.d.ts +3 -3
  77. package/dist/sharedIntervalCollection.js +2 -2
  78. package/dist/sharedIntervalCollection.js.map +1 -1
  79. package/dist/sharedSequence.d.ts +3 -3
  80. package/dist/sharedSequence.js +2 -2
  81. package/dist/sharedSequence.js.map +1 -1
  82. package/dist/sharedString.d.ts +8 -5
  83. package/dist/sharedString.d.ts.map +1 -1
  84. package/dist/sharedString.js +6 -3
  85. package/dist/sharedString.js.map +1 -1
  86. package/dist/tsdoc-metadata.json +1 -1
  87. package/lib/defaultMap.d.ts +3 -3
  88. package/lib/defaultMap.d.ts.map +1 -1
  89. package/lib/defaultMap.js +29 -20
  90. package/lib/defaultMap.js.map +1 -1
  91. package/lib/defaultMapInterfaces.d.ts +11 -10
  92. package/lib/defaultMapInterfaces.d.ts.map +1 -1
  93. package/lib/defaultMapInterfaces.js +2 -1
  94. package/lib/defaultMapInterfaces.js.map +1 -1
  95. package/lib/index.js +45 -10
  96. package/lib/index.js.map +1 -1
  97. package/lib/intervalCollection.d.ts +68 -14
  98. package/lib/intervalCollection.d.ts.map +1 -1
  99. package/lib/intervalCollection.js +174 -156
  100. package/lib/intervalCollection.js.map +1 -1
  101. package/lib/intervalIndex/endpointInRangeIndex.d.ts +2 -2
  102. package/lib/intervalIndex/endpointInRangeIndex.js +18 -13
  103. package/lib/intervalIndex/endpointInRangeIndex.js.map +1 -1
  104. package/lib/intervalIndex/endpointIndex.d.ts +2 -2
  105. package/lib/intervalIndex/endpointIndex.js +14 -9
  106. package/lib/intervalIndex/endpointIndex.js.map +1 -1
  107. package/lib/intervalIndex/idIntervalIndex.d.ts +2 -2
  108. package/lib/intervalIndex/idIntervalIndex.js +9 -5
  109. package/lib/intervalIndex/idIntervalIndex.js.map +1 -1
  110. package/lib/intervalIndex/index.js +19 -6
  111. package/lib/intervalIndex/index.js.map +1 -1
  112. package/lib/intervalIndex/intervalIndex.d.ts +1 -1
  113. package/lib/intervalIndex/intervalIndex.js +2 -1
  114. package/lib/intervalIndex/intervalIndex.js.map +1 -1
  115. package/lib/intervalIndex/intervalIndexUtils.js +8 -4
  116. package/lib/intervalIndex/intervalIndexUtils.js.map +1 -1
  117. package/lib/intervalIndex/overlappingIntervalsIndex.d.ts +2 -2
  118. package/lib/intervalIndex/overlappingIntervalsIndex.js +16 -11
  119. package/lib/intervalIndex/overlappingIntervalsIndex.js.map +1 -1
  120. package/lib/intervalIndex/overlappingSequenceIntervalsIndex.d.ts +1 -1
  121. package/lib/intervalIndex/overlappingSequenceIntervalsIndex.js +15 -11
  122. package/lib/intervalIndex/overlappingSequenceIntervalsIndex.js.map +1 -1
  123. package/lib/intervalIndex/sequenceIntervalIndexes.d.ts +2 -1
  124. package/lib/intervalIndex/sequenceIntervalIndexes.d.ts.map +1 -1
  125. package/lib/intervalIndex/sequenceIntervalIndexes.js +2 -1
  126. package/lib/intervalIndex/sequenceIntervalIndexes.js.map +1 -1
  127. package/lib/intervalIndex/startpointInRangeIndex.d.ts +2 -2
  128. package/lib/intervalIndex/startpointInRangeIndex.js +18 -13
  129. package/lib/intervalIndex/startpointInRangeIndex.js.map +1 -1
  130. package/lib/intervalTree.js +9 -4
  131. package/lib/intervalTree.js.map +1 -1
  132. package/lib/intervals/index.js +18 -3
  133. package/lib/intervals/index.js.map +1 -1
  134. package/lib/intervals/interval.d.ts +2 -7
  135. package/lib/intervals/interval.d.ts.map +1 -1
  136. package/lib/intervals/interval.js +19 -18
  137. package/lib/intervals/interval.js.map +1 -1
  138. package/lib/intervals/intervalUtils.d.ts +15 -14
  139. package/lib/intervals/intervalUtils.d.ts.map +1 -1
  140. package/lib/intervals/intervalUtils.js +22 -16
  141. package/lib/intervals/intervalUtils.js.map +1 -1
  142. package/lib/intervals/sequenceInterval.d.ts +3 -12
  143. package/lib/intervals/sequenceInterval.d.ts.map +1 -1
  144. package/lib/intervals/sequenceInterval.js +68 -70
  145. package/lib/intervals/sequenceInterval.js.map +1 -1
  146. package/lib/localValues.d.ts +2 -1
  147. package/lib/localValues.d.ts.map +1 -1
  148. package/lib/localValues.js +9 -4
  149. package/lib/localValues.js.map +1 -1
  150. package/lib/packageVersion.d.ts +1 -1
  151. package/lib/packageVersion.js +5 -2
  152. package/lib/packageVersion.js.map +1 -1
  153. package/lib/revertibles.d.ts +9 -15
  154. package/lib/revertibles.d.ts.map +1 -1
  155. package/lib/revertibles.js +98 -68
  156. package/lib/revertibles.js.map +1 -1
  157. package/lib/sequence-alpha.d.ts +1306 -0
  158. package/lib/sequence-beta.d.ts +270 -0
  159. package/lib/sequence-public.d.ts +270 -0
  160. package/lib/sequence-untrimmed.d.ts +1790 -0
  161. package/lib/sequence.d.ts +2 -3
  162. package/lib/sequence.d.ts.map +1 -1
  163. package/lib/sequence.js +46 -46
  164. package/lib/sequence.js.map +1 -1
  165. package/lib/sequenceDeltaEvent.d.ts +4 -4
  166. package/lib/sequenceDeltaEvent.d.ts.map +1 -1
  167. package/lib/sequenceDeltaEvent.js +17 -10
  168. package/lib/sequenceDeltaEvent.js.map +1 -1
  169. package/lib/sequenceFactory.d.ts +1 -1
  170. package/lib/sequenceFactory.js +14 -10
  171. package/lib/sequenceFactory.js.map +1 -1
  172. package/lib/sharedIntervalCollection.d.ts +3 -3
  173. package/lib/sharedIntervalCollection.js +20 -15
  174. package/lib/sharedIntervalCollection.js.map +1 -1
  175. package/lib/sharedSequence.d.ts +3 -3
  176. package/lib/sharedSequence.js +13 -8
  177. package/lib/sharedSequence.js.map +1 -1
  178. package/lib/sharedString.d.ts +8 -5
  179. package/lib/sharedString.d.ts.map +1 -1
  180. package/lib/sharedString.js +27 -19
  181. package/lib/sharedString.js.map +1 -1
  182. package/package.json +43 -29
  183. package/sequence.test-files.tar +0 -0
  184. package/src/defaultMap.ts +22 -16
  185. package/src/defaultMapInterfaces.ts +15 -12
  186. package/src/intervalCollection.ts +131 -67
  187. package/src/intervalIndex/endpointInRangeIndex.ts +2 -2
  188. package/src/intervalIndex/endpointIndex.ts +2 -2
  189. package/src/intervalIndex/idIntervalIndex.ts +2 -2
  190. package/src/intervalIndex/intervalIndex.ts +1 -1
  191. package/src/intervalIndex/overlappingIntervalsIndex.ts +2 -2
  192. package/src/intervalIndex/overlappingSequenceIntervalsIndex.ts +1 -1
  193. package/src/intervalIndex/sequenceIntervalIndexes.ts +2 -1
  194. package/src/intervalIndex/startpointInRangeIndex.ts +2 -2
  195. package/src/intervals/interval.ts +2 -7
  196. package/src/intervals/intervalUtils.ts +16 -15
  197. package/src/intervals/sequenceInterval.ts +3 -12
  198. package/src/localValues.ts +2 -1
  199. package/src/packageVersion.ts +1 -1
  200. package/src/revertibles.ts +95 -24
  201. package/src/sequence.ts +5 -7
  202. package/src/sequenceDeltaEvent.ts +6 -4
  203. package/src/sequenceFactory.ts +1 -1
  204. package/src/sharedIntervalCollection.ts +3 -3
  205. package/src/sharedSequence.ts +3 -3
  206. package/src/sharedString.ts +8 -5
  207. package/tsconfig.esnext.json +1 -2
  208. package/tsconfig.json +5 -3
@@ -5,6 +5,7 @@
5
5
  import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
6
6
  import { ISharedObjectEvents } from "@fluidframework/shared-object-base";
7
7
  import { IEventThisPlaceHolder } from "@fluidframework/core-interfaces";
8
+ import { ISerializedInterval, IntervalOpType, SerializedIntervalDelta } from "./intervals";
8
9
  /**
9
10
  * Type of "valueChanged" event parameter.
10
11
  */
@@ -21,17 +22,17 @@ export interface IValueChanged {
21
22
  /**
22
23
  * Value types are given an IValueOpEmitter to emit their ops through the container type that holds them.
23
24
  * @internal
25
+ * @deprecated - will be remove from public api as there is no public used of this type
24
26
  */
25
27
  export interface IValueOpEmitter {
26
28
  /**
27
29
  * Called by the value type to emit a value type operation through the container type holding it.
28
30
  * @param opName - Name of the emitted operation
29
- * @param previousValue - JSONable previous value as defined by the value type
31
+ * @param previousValue - JSONable previous value as defined by the value type @deprecated unused
30
32
  * @param params - JSONable params for the operation as defined by the value type
31
33
  * @param localOpMetadata - JSONable local metadata which should be submitted with the op
32
- * @internal
33
34
  */
34
- emit(opName: string, previousValue: any, params: any, localOpMetadata: IMapMessageLocalMetadata): void;
35
+ emit(opName: IntervalOpType, previousValue: undefined, params: SerializedIntervalDelta, localOpMetadata: IMapMessageLocalMetadata): void;
35
36
  }
36
37
  /**
37
38
  * @internal
@@ -41,7 +42,7 @@ export interface IMapMessageLocalMetadata {
41
42
  }
42
43
  /**
43
44
  * Optional flags that configure options for sequence DDSs
44
- * @public
45
+ * @internal
45
46
  */
46
47
  export interface SequenceOptions {
47
48
  /**
@@ -107,7 +108,7 @@ export interface IValueOperation<T> {
107
108
  * @param localOpMetadata - any local metadata submitted by `IValueOpEmitter.emit`.
108
109
  * @alpha
109
110
  */
110
- process(value: T, params: any, local: boolean, message: ISequencedDocumentMessage | undefined, localOpMetadata: IMapMessageLocalMetadata | undefined): any;
111
+ process(value: T, params: ISerializedInterval, local: boolean, message: ISequencedDocumentMessage | undefined, localOpMetadata: IMapMessageLocalMetadata | undefined): any;
111
112
  /**
112
113
  * Rebases an `op` on `value` from its original perspective (ref/local seq) to the current
113
114
  * perspective. Should be invoked on reconnection.
@@ -119,7 +120,7 @@ export interface IValueOperation<T> {
119
120
  rebase(value: T, op: IValueTypeOperationValue, localOpMetadata: IMapMessageLocalMetadata): {
120
121
  rebasedOp: IValueTypeOperationValue;
121
122
  rebasedLocalOpMetadata: IMapMessageLocalMetadata;
122
- };
123
+ } | undefined;
123
124
  }
124
125
  /**
125
126
  * Defines a value type that can be registered on a container type.
@@ -139,7 +140,7 @@ export interface IValueType<T> {
139
140
  * Operations that can be applied to the value type.
140
141
  * @alpha
141
142
  */
142
- ops: Map<string, IValueOperation<T>>;
143
+ ops: Map<IntervalOpType, IValueOperation<T>>;
143
144
  }
144
145
  export interface ISharedDefaultMapEvents extends ISharedObjectEvents {
145
146
  (event: "valueChanged" | "create", listener: (changed: IValueChanged, local: boolean, target: IEventThisPlaceHolder) => void): any;
@@ -152,7 +153,7 @@ export interface ISharedDefaultMapEvents extends ISharedObjectEvents {
152
153
  * JSON.stringify and comes out of JSON.parse. This format is used both for snapshots (loadCore/populate)
153
154
  * and ops (set).
154
155
  *
155
- * The DefaultMap impelmentation for sequence has been specialized to only support a single ValueType, which serializes
156
+ * The DefaultMap implementation for sequence has been specialized to only support a single ValueType, which serializes
156
157
  * and deserializes via .store() and .load().
157
158
  */
158
159
  export interface ISerializableValue {
@@ -188,10 +189,10 @@ export interface IValueTypeOperationValue {
188
189
  /**
189
190
  * The name of the operation.
190
191
  */
191
- opName: string;
192
+ opName: IntervalOpType;
192
193
  /**
193
194
  * The payload that is submitted along with the operation.
194
195
  */
195
- value: any;
196
+ value: SerializedIntervalDelta;
196
197
  }
197
198
  //# sourceMappingURL=defaultMapInterfaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaultMapInterfaces.d.ts","sourceRoot":"","sources":["../src/defaultMapInterfaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE;;GAEG;AACH,MAAM,WAAW,aAAa;IAC7B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,aAAa,EAAE,GAAG,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC/B;;;;;;;OAOG;IACH,IAAI,CACH,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,GAAG,EAClB,MAAM,EAAE,GAAG,EACX,eAAe,EAAE,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GAAG,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,uBAAwB,SAAQ,mBAAmB;IACnE,CACC,KAAK,EAAE,cAAc,GAAG,QAAQ,EAChC,QAAQ,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,qBAAqB,KAAK,IAAI,OACxF;CACF;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,kBAAkB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,GAAG,CAAC;CACX;AAED,MAAM,WAAW,gBAAgB;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,wBAAwB;IACxC;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IAEvB;;OAEG;IACH,KAAK,EAAE,uBAAuB,CAAC;CAC/B"}
@@ -1,6 +1,7 @@
1
+ "use strict";
1
2
  /*!
2
3
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
4
  * Licensed under the MIT License.
4
5
  */
5
- export {};
6
+ Object.defineProperty(exports, "__esModule", { value: true });
6
7
  //# sourceMappingURL=defaultMapInterfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaultMapInterfaces.js","sourceRoot":"","sources":["../src/defaultMapInterfaces.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { ISequencedDocumentMessage } from \"@fluidframework/protocol-definitions\";\nimport { ISharedObjectEvents } from \"@fluidframework/shared-object-base\";\nimport { IEventThisPlaceHolder } from \"@fluidframework/core-interfaces\";\n\n/**\n * Type of \"valueChanged\" event parameter.\n */\nexport interface IValueChanged {\n\t/**\n\t * The key storing the value that changed.\n\t */\n\tkey: string;\n\n\t/**\n\t * The value that was stored at the key prior to the change.\n\t */\n\tpreviousValue: any;\n}\n\n/**\n * Value types are given an IValueOpEmitter to emit their ops through the container type that holds them.\n * @internal\n */\nexport interface IValueOpEmitter {\n\t/**\n\t * Called by the value type to emit a value type operation through the container type holding it.\n\t * @param opName - Name of the emitted operation\n\t * @param previousValue - JSONable previous value as defined by the value type\n\t * @param params - JSONable params for the operation as defined by the value type\n\t * @param localOpMetadata - JSONable local metadata which should be submitted with the op\n\t * @internal\n\t */\n\temit(\n\t\topName: string,\n\t\tpreviousValue: any,\n\t\tparams: any,\n\t\tlocalOpMetadata: IMapMessageLocalMetadata,\n\t): void;\n}\n\n/**\n * @internal\n */\nexport interface IMapMessageLocalMetadata {\n\tlocalSeq: number;\n}\n\n/**\n * Optional flags that configure options for sequence DDSs\n * @public\n */\nexport interface SequenceOptions {\n\t/**\n\t * Enable the ability to use interval APIs that rely on positions before and\n\t * after individual characters, referred to as \"sides\". See {@link SequencePlace}\n\t * for additional context.\n\t *\n\t * This flag must be enabled to pass instances of {@link SequencePlace} to\n\t * any IIntervalCollection API.\n\t *\n\t * Also see the feature flag `mergeTreeReferencesCanSlideToEndpoint` to allow\n\t * endpoints to slide to the special endpoint segments.\n\t *\n\t * The default value is false.\n\t */\n\tintervalStickinessEnabled: boolean;\n\t/**\n\t * Enable the ability for interval endpoints to slide to the special endpoint\n\t * segments that exist before and after the bounds of the string. This is\n\t * primarily useful for workflows involving interval stickiness, and it is\n\t * suggested to enable both this flag and `intervalStickinessEnabled` at the\n\t * same time.\n\t *\n\t * The default value is false.\n\t */\n\tmergeTreeReferencesCanSlideToEndpoint: boolean;\n\t[key: string]: boolean;\n}\n\n/**\n * A value factory is used to serialize/deserialize value types to a map\n * @alpha\n */\nexport interface IValueFactory<T> {\n\t/**\n\t * Create a new value type. Used both in creation of new value types, as well as in loading existing ones\n\t * from remote.\n\t * @param emitter - Emitter object that the created value type will use to emit operations\n\t * @param raw - Initialization parameters as defined by the value type\n\t * @returns The new value type\n\t * @alpha\n\t */\n\tload(emitter: IValueOpEmitter, raw: any, options?: Partial<SequenceOptions>): T;\n\n\t/**\n\t * Given a value type, provides a JSONable form of its data to be used for snapshotting. This data must be\n\t * loadable using the load method of its factory.\n\t * @param value - The value type to serialize\n\t * @returns The JSONable form of the value type\n\t * @alpha\n\t */\n\tstore(value: T): any;\n}\n\n/**\n * Defines an operation that a value type is able to handle.\n * @alpha\n */\nexport interface IValueOperation<T> {\n\t/**\n\t * Performs the actual processing on the incoming operation.\n\t * @param value - The current value stored at the given key, which should be the value type\n\t * @param params - The params on the incoming operation\n\t * @param local - Whether the operation originated from this client\n\t * @param message - The operation itself\n\t * @param localOpMetadata - any local metadata submitted by `IValueOpEmitter.emit`.\n\t * @alpha\n\t */\n\tprocess(\n\t\tvalue: T,\n\t\tparams: any,\n\t\tlocal: boolean,\n\t\tmessage: ISequencedDocumentMessage | undefined,\n\t\tlocalOpMetadata: IMapMessageLocalMetadata | undefined,\n\t);\n\n\t/**\n\t * Rebases an `op` on `value` from its original perspective (ref/local seq) to the current\n\t * perspective. Should be invoked on reconnection.\n\t * @param value - The current value stored at the given key, which should be the value type.\n\t * @param op - The op to be rebased.\n\t * @param localOpMetadata - Any local metadata that was originally submitted with the op.\n\t * @returns A rebased version of the op and any local metadata that should be submitted with it.\n\t */\n\trebase(\n\t\tvalue: T,\n\t\top: IValueTypeOperationValue,\n\t\tlocalOpMetadata: IMapMessageLocalMetadata,\n\t): { rebasedOp: IValueTypeOperationValue; rebasedLocalOpMetadata: IMapMessageLocalMetadata };\n}\n\n/**\n * Defines a value type that can be registered on a container type.\n */\nexport interface IValueType<T> {\n\t/**\n\t * Name of the value type.\n\t * @alpha\n\t */\n\tname: string;\n\n\t/**\n\t * Factory method used to convert to/from a JSON form of the type.\n\t * @alpha\n\t */\n\tfactory: IValueFactory<T>;\n\n\t/**\n\t * Operations that can be applied to the value type.\n\t * @alpha\n\t */\n\tops: Map<string, IValueOperation<T>>;\n}\n\nexport interface ISharedDefaultMapEvents extends ISharedObjectEvents {\n\t(\n\t\tevent: \"valueChanged\" | \"create\",\n\t\tlistener: (changed: IValueChanged, local: boolean, target: IEventThisPlaceHolder) => void,\n\t);\n}\n\n/**\n * The _ready-for-serialization_ format of values contained in DDS contents. This allows us to use\n * ISerializableValue.type to understand whether they're storing a Plain JS object, a SharedObject, or a value type.\n * Note that the in-memory equivalent of ISerializableValue is ILocalValue (similarly holding a type, but with\n * the _in-memory representation_ of the value instead). An ISerializableValue is what gets passed to\n * JSON.stringify and comes out of JSON.parse. This format is used both for snapshots (loadCore/populate)\n * and ops (set).\n *\n * The DefaultMap impelmentation for sequence has been specialized to only support a single ValueType, which serializes\n * and deserializes via .store() and .load().\n */\nexport interface ISerializableValue {\n\t/**\n\t * A type annotation to help indicate how the value serializes.\n\t */\n\ttype: string;\n\n\t/**\n\t * The JSONable representation of the value.\n\t */\n\tvalue: any;\n}\n\nexport interface ISerializedValue {\n\t/**\n\t * A type annotation to help indicate how the value serializes.\n\t */\n\ttype: string;\n\n\t/**\n\t * String representation of the value.\n\t */\n\tvalue: string | undefined;\n}\n\n/**\n * ValueTypes handle ops slightly differently from SharedObjects or plain JS objects. Since the Map/Directory doesn't\n * know how to handle the ValueType's ops, those ops are instead passed along to the ValueType for processing.\n * IValueTypeOperationValue is that passed-along op. The opName on it is the ValueType-specific operation and the\n * value is whatever params the ValueType needs to complete that operation. Similar to ISerializableValue, it is\n * serializable via JSON.stringify/parse but differs in that it has no equivalency with an in-memory value - rather\n * it just describes an operation to be applied to an already-in-memory value.\n * @alpha\n */\nexport interface IValueTypeOperationValue {\n\t/**\n\t * The name of the operation.\n\t */\n\topName: string;\n\n\t/**\n\t * The payload that is submitted along with the operation.\n\t */\n\tvalue: any;\n}\n"]}
1
+ {"version":3,"file":"defaultMapInterfaces.js","sourceRoot":"","sources":["../src/defaultMapInterfaces.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { ISequencedDocumentMessage } from \"@fluidframework/protocol-definitions\";\nimport { ISharedObjectEvents } from \"@fluidframework/shared-object-base\";\nimport { IEventThisPlaceHolder } from \"@fluidframework/core-interfaces\";\nimport { ISerializedInterval, IntervalOpType, SerializedIntervalDelta } from \"./intervals\";\n\n/**\n * Type of \"valueChanged\" event parameter.\n */\nexport interface IValueChanged {\n\t/**\n\t * The key storing the value that changed.\n\t */\n\tkey: string;\n\n\t/**\n\t * The value that was stored at the key prior to the change.\n\t */\n\tpreviousValue: any;\n}\n\n/**\n * Value types are given an IValueOpEmitter to emit their ops through the container type that holds them.\n * @internal\n * @deprecated - will be remove from public api as there is no public used of this type\n */\nexport interface IValueOpEmitter {\n\t/**\n\t * Called by the value type to emit a value type operation through the container type holding it.\n\t * @param opName - Name of the emitted operation\n\t * @param previousValue - JSONable previous value as defined by the value type @deprecated unused\n\t * @param params - JSONable params for the operation as defined by the value type\n\t * @param localOpMetadata - JSONable local metadata which should be submitted with the op\n\t */\n\temit(\n\t\topName: IntervalOpType,\n\t\tpreviousValue: undefined,\n\t\tparams: SerializedIntervalDelta,\n\t\tlocalOpMetadata: IMapMessageLocalMetadata,\n\t): void;\n}\n\n/**\n * @internal\n */\nexport interface IMapMessageLocalMetadata {\n\tlocalSeq: number;\n}\n\n/**\n * Optional flags that configure options for sequence DDSs\n * @internal\n */\nexport interface SequenceOptions {\n\t/**\n\t * Enable the ability to use interval APIs that rely on positions before and\n\t * after individual characters, referred to as \"sides\". See {@link SequencePlace}\n\t * for additional context.\n\t *\n\t * This flag must be enabled to pass instances of {@link SequencePlace} to\n\t * any IIntervalCollection API.\n\t *\n\t * Also see the feature flag `mergeTreeReferencesCanSlideToEndpoint` to allow\n\t * endpoints to slide to the special endpoint segments.\n\t *\n\t * The default value is false.\n\t */\n\tintervalStickinessEnabled: boolean;\n\t/**\n\t * Enable the ability for interval endpoints to slide to the special endpoint\n\t * segments that exist before and after the bounds of the string. This is\n\t * primarily useful for workflows involving interval stickiness, and it is\n\t * suggested to enable both this flag and `intervalStickinessEnabled` at the\n\t * same time.\n\t *\n\t * The default value is false.\n\t */\n\tmergeTreeReferencesCanSlideToEndpoint: boolean;\n\t[key: string]: boolean;\n}\n\n/**\n * A value factory is used to serialize/deserialize value types to a map\n * @alpha\n */\nexport interface IValueFactory<T> {\n\t/**\n\t * Create a new value type. Used both in creation of new value types, as well as in loading existing ones\n\t * from remote.\n\t * @param emitter - Emitter object that the created value type will use to emit operations\n\t * @param raw - Initialization parameters as defined by the value type\n\t * @returns The new value type\n\t * @alpha\n\t */\n\tload(emitter: IValueOpEmitter, raw: any, options?: Partial<SequenceOptions>): T;\n\n\t/**\n\t * Given a value type, provides a JSONable form of its data to be used for snapshotting. This data must be\n\t * loadable using the load method of its factory.\n\t * @param value - The value type to serialize\n\t * @returns The JSONable form of the value type\n\t * @alpha\n\t */\n\tstore(value: T): any;\n}\n\n/**\n * Defines an operation that a value type is able to handle.\n * @alpha\n */\nexport interface IValueOperation<T> {\n\t/**\n\t * Performs the actual processing on the incoming operation.\n\t * @param value - The current value stored at the given key, which should be the value type\n\t * @param params - The params on the incoming operation\n\t * @param local - Whether the operation originated from this client\n\t * @param message - The operation itself\n\t * @param localOpMetadata - any local metadata submitted by `IValueOpEmitter.emit`.\n\t * @alpha\n\t */\n\tprocess(\n\t\tvalue: T,\n\t\tparams: ISerializedInterval,\n\t\tlocal: boolean,\n\t\tmessage: ISequencedDocumentMessage | undefined,\n\t\tlocalOpMetadata: IMapMessageLocalMetadata | undefined,\n\t);\n\n\t/**\n\t * Rebases an `op` on `value` from its original perspective (ref/local seq) to the current\n\t * perspective. Should be invoked on reconnection.\n\t * @param value - The current value stored at the given key, which should be the value type.\n\t * @param op - The op to be rebased.\n\t * @param localOpMetadata - Any local metadata that was originally submitted with the op.\n\t * @returns A rebased version of the op and any local metadata that should be submitted with it.\n\t */\n\trebase(\n\t\tvalue: T,\n\t\top: IValueTypeOperationValue,\n\t\tlocalOpMetadata: IMapMessageLocalMetadata,\n\t):\n\t\t| { rebasedOp: IValueTypeOperationValue; rebasedLocalOpMetadata: IMapMessageLocalMetadata }\n\t\t| undefined;\n}\n\n/**\n * Defines a value type that can be registered on a container type.\n */\nexport interface IValueType<T> {\n\t/**\n\t * Name of the value type.\n\t * @alpha\n\t */\n\tname: string;\n\n\t/**\n\t * Factory method used to convert to/from a JSON form of the type.\n\t * @alpha\n\t */\n\tfactory: IValueFactory<T>;\n\n\t/**\n\t * Operations that can be applied to the value type.\n\t * @alpha\n\t */\n\tops: Map<IntervalOpType, IValueOperation<T>>;\n}\n\nexport interface ISharedDefaultMapEvents extends ISharedObjectEvents {\n\t(\n\t\tevent: \"valueChanged\" | \"create\",\n\t\tlistener: (changed: IValueChanged, local: boolean, target: IEventThisPlaceHolder) => void,\n\t);\n}\n\n/**\n * The _ready-for-serialization_ format of values contained in DDS contents. This allows us to use\n * ISerializableValue.type to understand whether they're storing a Plain JS object, a SharedObject, or a value type.\n * Note that the in-memory equivalent of ISerializableValue is ILocalValue (similarly holding a type, but with\n * the _in-memory representation_ of the value instead). An ISerializableValue is what gets passed to\n * JSON.stringify and comes out of JSON.parse. This format is used both for snapshots (loadCore/populate)\n * and ops (set).\n *\n * The DefaultMap implementation for sequence has been specialized to only support a single ValueType, which serializes\n * and deserializes via .store() and .load().\n */\nexport interface ISerializableValue {\n\t/**\n\t * A type annotation to help indicate how the value serializes.\n\t */\n\ttype: string;\n\n\t/**\n\t * The JSONable representation of the value.\n\t */\n\tvalue: any;\n}\n\nexport interface ISerializedValue {\n\t/**\n\t * A type annotation to help indicate how the value serializes.\n\t */\n\ttype: string;\n\n\t/**\n\t * String representation of the value.\n\t */\n\tvalue: string | undefined;\n}\n\n/**\n * ValueTypes handle ops slightly differently from SharedObjects or plain JS objects. Since the Map/Directory doesn't\n * know how to handle the ValueType's ops, those ops are instead passed along to the ValueType for processing.\n * IValueTypeOperationValue is that passed-along op. The opName on it is the ValueType-specific operation and the\n * value is whatever params the ValueType needs to complete that operation. Similar to ISerializableValue, it is\n * serializable via JSON.stringify/parse but differs in that it has no equivalency with an in-memory value - rather\n * it just describes an operation to be applied to an already-in-memory value.\n * @alpha\n */\nexport interface IValueTypeOperationValue {\n\t/**\n\t * The name of the operation.\n\t */\n\topName: IntervalOpType;\n\n\t/**\n\t * The payload that is submitted along with the operation.\n\t */\n\tvalue: SerializedIntervalDelta;\n}\n"]}
package/lib/index.js CHANGED
@@ -1,15 +1,50 @@
1
+ "use strict";
1
2
  /*!
2
3
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
4
  * Licensed under the MIT License.
4
5
  */
5
- export { Interval, IntervalOpType, IntervalType, SequenceInterval, IntervalStickiness, sequenceIntervalHelpers, } from "./intervals";
6
- export { intervalLocatorFromEndpoint, Side, } from "./intervalCollection";
7
- export { createOverlappingIntervalsIndex, createOverlappingSequenceIntervalsIndex, createEndpointInRangeIndex, createStartpointInRangeIndex, createIdIntervalIndex, createEndpointIndex, } from "./intervalIndex";
8
- export { appendAddIntervalToRevertibles, appendChangeIntervalToRevertibles, appendDeleteIntervalToRevertibles, appendIntervalPropertyChangedToRevertibles, appendSharedStringDeltaToRevertibles, discardSharedStringRevertibles, revertSharedStringRevertibles, } from "./revertibles";
9
- export { SharedSegmentSequence } from "./sequence";
10
- export { SequenceDeltaEvent, SequenceEvent, SequenceMaintenanceEvent, } from "./sequenceDeltaEvent";
11
- export { SharedStringFactory } from "./sequenceFactory";
12
- export { getTextAndMarkers, SharedString, } from "./sharedString";
13
- export { SharedIntervalCollection, SharedIntervalCollectionFactory, } from "./sharedIntervalCollection";
14
- export { SharedSequence, SubSequence } from "./sharedSequence";
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.SubSequence = exports.SharedSequence = exports.SharedIntervalCollectionFactory = exports.SharedIntervalCollection = exports.SharedString = exports.getTextAndMarkers = exports.SharedStringFactory = exports.SequenceMaintenanceEvent = exports.SequenceEvent = exports.SequenceDeltaEvent = exports.SharedSegmentSequence = exports.revertSharedStringRevertibles = exports.discardSharedStringRevertibles = exports.appendSharedStringDeltaToRevertibles = exports.appendIntervalPropertyChangedToRevertibles = exports.appendDeleteIntervalToRevertibles = exports.appendChangeIntervalToRevertibles = exports.appendAddIntervalToRevertibles = exports.createEndpointIndex = exports.createIdIntervalIndex = exports.createStartpointInRangeIndex = exports.createEndpointInRangeIndex = exports.createOverlappingSequenceIntervalsIndex = exports.createOverlappingIntervalsIndex = exports.Side = exports.intervalLocatorFromEndpoint = exports.sequenceIntervalHelpers = exports.IntervalStickiness = exports.SequenceInterval = exports.IntervalType = exports.IntervalOpType = exports.Interval = void 0;
8
+ var intervals_1 = require("./intervals");
9
+ Object.defineProperty(exports, "Interval", { enumerable: true, get: function () { return intervals_1.Interval; } });
10
+ Object.defineProperty(exports, "IntervalOpType", { enumerable: true, get: function () { return intervals_1.IntervalOpType; } });
11
+ Object.defineProperty(exports, "IntervalType", { enumerable: true, get: function () { return intervals_1.IntervalType; } });
12
+ Object.defineProperty(exports, "SequenceInterval", { enumerable: true, get: function () { return intervals_1.SequenceInterval; } });
13
+ Object.defineProperty(exports, "IntervalStickiness", { enumerable: true, get: function () { return intervals_1.IntervalStickiness; } });
14
+ Object.defineProperty(exports, "sequenceIntervalHelpers", { enumerable: true, get: function () { return intervals_1.sequenceIntervalHelpers; } });
15
+ var intervalCollection_1 = require("./intervalCollection");
16
+ Object.defineProperty(exports, "intervalLocatorFromEndpoint", { enumerable: true, get: function () { return intervalCollection_1.intervalLocatorFromEndpoint; } });
17
+ Object.defineProperty(exports, "Side", { enumerable: true, get: function () { return intervalCollection_1.Side; } });
18
+ var intervalIndex_1 = require("./intervalIndex");
19
+ Object.defineProperty(exports, "createOverlappingIntervalsIndex", { enumerable: true, get: function () { return intervalIndex_1.createOverlappingIntervalsIndex; } });
20
+ Object.defineProperty(exports, "createOverlappingSequenceIntervalsIndex", { enumerable: true, get: function () { return intervalIndex_1.createOverlappingSequenceIntervalsIndex; } });
21
+ Object.defineProperty(exports, "createEndpointInRangeIndex", { enumerable: true, get: function () { return intervalIndex_1.createEndpointInRangeIndex; } });
22
+ Object.defineProperty(exports, "createStartpointInRangeIndex", { enumerable: true, get: function () { return intervalIndex_1.createStartpointInRangeIndex; } });
23
+ Object.defineProperty(exports, "createIdIntervalIndex", { enumerable: true, get: function () { return intervalIndex_1.createIdIntervalIndex; } });
24
+ Object.defineProperty(exports, "createEndpointIndex", { enumerable: true, get: function () { return intervalIndex_1.createEndpointIndex; } });
25
+ var revertibles_1 = require("./revertibles");
26
+ Object.defineProperty(exports, "appendAddIntervalToRevertibles", { enumerable: true, get: function () { return revertibles_1.appendAddIntervalToRevertibles; } });
27
+ Object.defineProperty(exports, "appendChangeIntervalToRevertibles", { enumerable: true, get: function () { return revertibles_1.appendChangeIntervalToRevertibles; } });
28
+ Object.defineProperty(exports, "appendDeleteIntervalToRevertibles", { enumerable: true, get: function () { return revertibles_1.appendDeleteIntervalToRevertibles; } });
29
+ Object.defineProperty(exports, "appendIntervalPropertyChangedToRevertibles", { enumerable: true, get: function () { return revertibles_1.appendIntervalPropertyChangedToRevertibles; } });
30
+ Object.defineProperty(exports, "appendSharedStringDeltaToRevertibles", { enumerable: true, get: function () { return revertibles_1.appendSharedStringDeltaToRevertibles; } });
31
+ Object.defineProperty(exports, "discardSharedStringRevertibles", { enumerable: true, get: function () { return revertibles_1.discardSharedStringRevertibles; } });
32
+ Object.defineProperty(exports, "revertSharedStringRevertibles", { enumerable: true, get: function () { return revertibles_1.revertSharedStringRevertibles; } });
33
+ var sequence_1 = require("./sequence");
34
+ Object.defineProperty(exports, "SharedSegmentSequence", { enumerable: true, get: function () { return sequence_1.SharedSegmentSequence; } });
35
+ var sequenceDeltaEvent_1 = require("./sequenceDeltaEvent");
36
+ Object.defineProperty(exports, "SequenceDeltaEvent", { enumerable: true, get: function () { return sequenceDeltaEvent_1.SequenceDeltaEvent; } });
37
+ Object.defineProperty(exports, "SequenceEvent", { enumerable: true, get: function () { return sequenceDeltaEvent_1.SequenceEvent; } });
38
+ Object.defineProperty(exports, "SequenceMaintenanceEvent", { enumerable: true, get: function () { return sequenceDeltaEvent_1.SequenceMaintenanceEvent; } });
39
+ var sequenceFactory_1 = require("./sequenceFactory");
40
+ Object.defineProperty(exports, "SharedStringFactory", { enumerable: true, get: function () { return sequenceFactory_1.SharedStringFactory; } });
41
+ var sharedString_1 = require("./sharedString");
42
+ Object.defineProperty(exports, "getTextAndMarkers", { enumerable: true, get: function () { return sharedString_1.getTextAndMarkers; } });
43
+ Object.defineProperty(exports, "SharedString", { enumerable: true, get: function () { return sharedString_1.SharedString; } });
44
+ var sharedIntervalCollection_1 = require("./sharedIntervalCollection");
45
+ Object.defineProperty(exports, "SharedIntervalCollection", { enumerable: true, get: function () { return sharedIntervalCollection_1.SharedIntervalCollection; } });
46
+ Object.defineProperty(exports, "SharedIntervalCollectionFactory", { enumerable: true, get: function () { return sharedIntervalCollection_1.SharedIntervalCollectionFactory; } });
47
+ var sharedSequence_1 = require("./sharedSequence");
48
+ Object.defineProperty(exports, "SharedSequence", { enumerable: true, get: function () { return sharedSequence_1.SharedSequence; } });
49
+ Object.defineProperty(exports, "SubSequence", { enumerable: true, get: function () { return sharedSequence_1.SubSequence; } });
15
50
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAeH,OAAO,EAEN,QAAQ,EACR,cAAc,EACd,YAAY,EAGZ,gBAAgB,EAEhB,kBAAkB,EAElB,uBAAuB,GACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAKN,2BAA2B,EAC3B,IAAI,GAGJ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAIN,+BAA+B,EAC/B,uCAAuC,EAGvC,0BAA0B,EAC1B,4BAA4B,EAE5B,qBAAqB,EAErB,mBAAmB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,8BAA8B,EAC9B,iCAAiC,EACjC,iCAAiC,EACjC,0CAA0C,EAC1C,oCAAoC,EACpC,8BAA8B,EAE9B,6BAA6B,GAE7B,MAAM,eAAe,CAAC;AACvB,OAAO,EAAgC,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,EAEN,kBAAkB,EAClB,aAAa,EACb,wBAAwB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EACN,iBAAiB,EAEjB,YAAY,GAEZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAEN,wBAAwB,EACxB,+BAA+B,GAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAmB,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * Supports distributed data structures which are list-like.\n *\n * This library's main export is {@link SharedString}, a DDS for storing and simultaneously editing a sequence of\n * text.\n *\n * See the package's README for a high-level introduction to `SharedString`'s feature set.\n * @remarks Note that SharedString is a sequence DDS but it has additional specialized features and behaviors for\n * working with text.\n *\n * @packageDocumentation\n */\nexport { IMapMessageLocalMetadata, IValueOpEmitter, SequenceOptions } from \"./defaultMapInterfaces\";\nexport {\n\tIInterval,\n\tInterval,\n\tIntervalOpType,\n\tIntervalType,\n\tISerializableInterval,\n\tISerializedInterval,\n\tSequenceInterval,\n\tSerializedIntervalDelta,\n\tIntervalStickiness,\n\tIIntervalHelpers,\n\tsequenceIntervalHelpers,\n} from \"./intervals\";\nexport {\n\tDeserializeCallback,\n\tIIntervalCollectionEvent,\n\tIIntervalCollection,\n\tIntervalLocator,\n\tintervalLocatorFromEndpoint,\n\tSide,\n\tInteriorSequencePlace,\n\tSequencePlace,\n} from \"./intervalCollection\";\nexport {\n\tIntervalIndex,\n\tSequenceIntervalIndexes,\n\tIOverlappingIntervalsIndex,\n\tcreateOverlappingIntervalsIndex,\n\tcreateOverlappingSequenceIntervalsIndex,\n\tIEndpointInRangeIndex,\n\tIStartpointInRangeIndex,\n\tcreateEndpointInRangeIndex,\n\tcreateStartpointInRangeIndex,\n\tIIdIntervalIndex,\n\tcreateIdIntervalIndex,\n\tIEndpointIndex,\n\tcreateEndpointIndex,\n} from \"./intervalIndex\";\nexport {\n\tappendAddIntervalToRevertibles,\n\tappendChangeIntervalToRevertibles,\n\tappendDeleteIntervalToRevertibles,\n\tappendIntervalPropertyChangedToRevertibles,\n\tappendSharedStringDeltaToRevertibles,\n\tdiscardSharedStringRevertibles,\n\tIntervalRevertible,\n\trevertSharedStringRevertibles,\n\tSharedStringRevertible,\n} from \"./revertibles\";\nexport { ISharedSegmentSequenceEvents, SharedSegmentSequence } from \"./sequence\";\nexport {\n\tISequenceDeltaRange,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceMaintenanceEvent,\n} from \"./sequenceDeltaEvent\";\nexport { SharedStringFactory } from \"./sequenceFactory\";\nexport {\n\tgetTextAndMarkers,\n\tISharedString,\n\tSharedString,\n\tSharedStringSegment,\n} from \"./sharedString\";\nexport {\n\tISharedIntervalCollection,\n\tSharedIntervalCollection,\n\tSharedIntervalCollectionFactory,\n} from \"./sharedIntervalCollection\";\nexport { IJSONRunSegment, SharedSequence, SubSequence } from \"./sharedSequence\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAeH,yCAYqB;AAVpB,qGAAA,QAAQ,OAAA;AACR,2GAAA,cAAc,OAAA;AACd,yGAAA,YAAY,OAAA;AAGZ,6GAAA,gBAAgB,OAAA;AAEhB,+GAAA,kBAAkB,OAAA;AAElB,oHAAA,uBAAuB,OAAA;AAExB,2DAS8B;AAJ7B,iIAAA,2BAA2B,OAAA;AAC3B,0GAAA,IAAI,OAAA;AAIL,iDAcyB;AAVxB,gIAAA,+BAA+B,OAAA;AAC/B,wIAAA,uCAAuC,OAAA;AAGvC,2HAAA,0BAA0B,OAAA;AAC1B,6HAAA,4BAA4B,OAAA;AAE5B,sHAAA,qBAAqB,OAAA;AAErB,oHAAA,mBAAmB,OAAA;AAEpB,6CAUuB;AATtB,6HAAA,8BAA8B,OAAA;AAC9B,gIAAA,iCAAiC,OAAA;AACjC,gIAAA,iCAAiC,OAAA;AACjC,yIAAA,0CAA0C,OAAA;AAC1C,mIAAA,oCAAoC,OAAA;AACpC,6HAAA,8BAA8B,OAAA;AAE9B,4HAAA,6BAA6B,OAAA;AAG9B,uCAAiF;AAA1C,iHAAA,qBAAqB,OAAA;AAC5D,2DAK8B;AAH7B,wHAAA,kBAAkB,OAAA;AAClB,mHAAA,aAAa,OAAA;AACb,8HAAA,wBAAwB,OAAA;AAEzB,qDAAwD;AAA/C,sHAAA,mBAAmB,OAAA;AAC5B,+CAKwB;AAJvB,iHAAA,iBAAiB,OAAA;AAEjB,4GAAA,YAAY,OAAA;AAGb,uEAIoC;AAFnC,oIAAA,wBAAwB,OAAA;AACxB,2IAAA,+BAA+B,OAAA;AAEhC,mDAAgF;AAAtD,gHAAA,cAAc,OAAA;AAAE,6GAAA,WAAW,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * Supports distributed data structures which are list-like.\n *\n * This library's main export is {@link SharedString}, a DDS for storing and simultaneously editing a sequence of\n * text.\n *\n * See the package's README for a high-level introduction to `SharedString`'s feature set.\n * @remarks Note that SharedString is a sequence DDS but it has additional specialized features and behaviors for\n * working with text.\n *\n * @packageDocumentation\n */\nexport { IMapMessageLocalMetadata, IValueOpEmitter, SequenceOptions } from \"./defaultMapInterfaces\";\nexport {\n\tIInterval,\n\tInterval,\n\tIntervalOpType,\n\tIntervalType,\n\tISerializableInterval,\n\tISerializedInterval,\n\tSequenceInterval,\n\tSerializedIntervalDelta,\n\tIntervalStickiness,\n\tIIntervalHelpers,\n\tsequenceIntervalHelpers,\n} from \"./intervals\";\nexport {\n\tDeserializeCallback,\n\tIIntervalCollectionEvent,\n\tIIntervalCollection,\n\tIntervalLocator,\n\tintervalLocatorFromEndpoint,\n\tSide,\n\tInteriorSequencePlace,\n\tSequencePlace,\n} from \"./intervalCollection\";\nexport {\n\tIntervalIndex,\n\tSequenceIntervalIndexes,\n\tIOverlappingIntervalsIndex,\n\tcreateOverlappingIntervalsIndex,\n\tcreateOverlappingSequenceIntervalsIndex,\n\tIEndpointInRangeIndex,\n\tIStartpointInRangeIndex,\n\tcreateEndpointInRangeIndex,\n\tcreateStartpointInRangeIndex,\n\tIIdIntervalIndex,\n\tcreateIdIntervalIndex,\n\tIEndpointIndex,\n\tcreateEndpointIndex,\n} from \"./intervalIndex\";\nexport {\n\tappendAddIntervalToRevertibles,\n\tappendChangeIntervalToRevertibles,\n\tappendDeleteIntervalToRevertibles,\n\tappendIntervalPropertyChangedToRevertibles,\n\tappendSharedStringDeltaToRevertibles,\n\tdiscardSharedStringRevertibles,\n\tIntervalRevertible,\n\trevertSharedStringRevertibles,\n\tSharedStringRevertible,\n} from \"./revertibles\";\nexport { ISharedSegmentSequenceEvents, SharedSegmentSequence } from \"./sequence\";\nexport {\n\tISequenceDeltaRange,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceMaintenanceEvent,\n} from \"./sequenceDeltaEvent\";\nexport { SharedStringFactory } from \"./sequenceFactory\";\nexport {\n\tgetTextAndMarkers,\n\tISharedString,\n\tSharedString,\n\tSharedStringSegment,\n} from \"./sharedString\";\nexport {\n\tISharedIntervalCollection,\n\tSharedIntervalCollection,\n\tSharedIntervalCollectionFactory,\n} from \"./sharedIntervalCollection\";\nexport { IJSONRunSegment, SharedSequence, SubSequence } from \"./sharedSequence\";\n"]}
@@ -7,7 +7,7 @@ import { IEvent } from "@fluidframework/core-interfaces";
7
7
  import { Client, PropertySet, LocalReferencePosition } from "@fluidframework/merge-tree";
8
8
  import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
9
9
  import { IMapMessageLocalMetadata, IValueFactory, IValueOpEmitter, IValueOperation, IValueType, SequenceOptions } from "./defaultMapInterfaces";
10
- import { CompressedSerializedInterval, IIntervalHelpers, Interval, IntervalStickiness, IntervalType, ISerializableInterval, ISerializedInterval, SequenceInterval, SerializedIntervalDelta } from "./intervals";
10
+ import { CompressedSerializedInterval, IIntervalHelpers, Interval, IntervalOpType, IntervalStickiness, IntervalType, ISerializableInterval, ISerializedInterval, SequenceInterval, SerializedIntervalDelta } from "./intervals";
11
11
  import { IEndpointIndex, IIdIntervalIndex, IOverlappingIntervalsIndex, IntervalIndex } from "./intervalIndex";
12
12
  /**
13
13
  * Defines a position and side relative to a character in a sequence.
@@ -32,14 +32,14 @@ import { IEndpointIndex, IIdIntervalIndex, IOverlappingIntervalsIndex, IntervalI
32
32
  * If a SequencePlace is the endpoint of a range (e.g. start/end of an interval or search range),
33
33
  * the Side value means it is exclusive if it is nearer to the other position and inclusive if it is farther.
34
34
  * E.g. the start of a range with Side.After is exclusive of the character at the position.
35
- * @public
35
+ * @alpha
36
36
  */
37
37
  export type SequencePlace = number | "start" | "end" | InteriorSequencePlace;
38
38
  /**
39
39
  * A sequence place that does not refer to the special endpoint segments.
40
40
  *
41
41
  * See {@link SequencePlace} for additional context.
42
- * @public
42
+ * @alpha
43
43
  */
44
44
  export interface InteriorSequencePlace {
45
45
  pos: number;
@@ -49,7 +49,7 @@ export interface InteriorSequencePlace {
49
49
  * Defines a side relative to a character in a sequence.
50
50
  *
51
51
  * @remarks See {@link SequencePlace} for additional context on usage.
52
- * @public
52
+ * @alpha
53
53
  */
54
54
  export declare enum Side {
55
55
  Before = 0,
@@ -67,8 +67,8 @@ export declare function sidesFromStickiness(stickiness: IntervalStickiness): {
67
67
  export declare function endpointPosAndSide(start: SequencePlace | undefined, end: SequencePlace | undefined): {
68
68
  startSide: Side | undefined;
69
69
  endSide: Side | undefined;
70
- startPos: number | "start" | "end" | undefined;
71
- endPos: number | "start" | "end" | undefined;
70
+ startPos: number | "end" | "start" | undefined;
71
+ endPos: number | "end" | "start" | undefined;
72
72
  };
73
73
  export declare function computeStickinessFromSide(startPos?: number | "start" | "end" | undefined, startSide?: Side, endPos?: number | "start" | "end" | undefined, endSide?: Side): IntervalStickiness;
74
74
  export declare function createIntervalIndex(): LocalIntervalCollection<Interval>;
@@ -114,7 +114,7 @@ export declare class SequenceIntervalCollectionValueType implements IValueType<I
114
114
  static Name: string;
115
115
  get name(): string;
116
116
  get factory(): IValueFactory<IntervalCollection<SequenceInterval>>;
117
- get ops(): Map<string, IValueOperation<IntervalCollection<SequenceInterval>>>;
117
+ get ops(): Map<IntervalOpType, IValueOperation<IntervalCollection<SequenceInterval>>>;
118
118
  private static readonly _factory;
119
119
  private static readonly _ops;
120
120
  }
@@ -122,13 +122,13 @@ export declare class IntervalCollectionValueType implements IValueType<IntervalC
122
122
  static Name: string;
123
123
  get name(): string;
124
124
  get factory(): IValueFactory<IntervalCollection<Interval>>;
125
- get ops(): Map<string, IValueOperation<IntervalCollection<Interval>>>;
125
+ get ops(): Map<IntervalOpType, IValueOperation<IntervalCollection<Interval>>>;
126
126
  private static readonly _factory;
127
127
  private static readonly _ops;
128
128
  }
129
- export declare function makeOpsMap<T extends ISerializableInterval>(): Map<string, IValueOperation<IntervalCollection<T>>>;
129
+ export declare function makeOpsMap<T extends ISerializableInterval>(): Map<IntervalOpType, IValueOperation<IntervalCollection<T>>>;
130
130
  /**
131
- * @public
131
+ * @alpha
132
132
  */
133
133
  export type DeserializeCallback = (properties: PropertySet) => void;
134
134
  declare class IntervalCollectionIterator<TInterval extends ISerializableInterval> implements Iterator<TInterval> {
@@ -139,7 +139,7 @@ declare class IntervalCollectionIterator<TInterval extends ISerializableInterval
139
139
  }
140
140
  /**
141
141
  * Change events emitted by `IntervalCollection`s
142
- * @public
142
+ * @alpha
143
143
  */
144
144
  export interface IIntervalCollectionEvent<TInterval extends ISerializableInterval> extends IEvent {
145
145
  /**
@@ -176,7 +176,7 @@ export interface IIntervalCollectionEvent<TInterval extends ISerializableInterva
176
176
  /**
177
177
  * Collection of intervals that supports addition, modification, removal, and efficient spatial querying.
178
178
  * Changes to this collection will be incur updates on collaborating clients (i.e. they are not local-only).
179
- * @public
179
+ * @alpha
180
180
  */
181
181
  export interface IIntervalCollection<TInterval extends ISerializableInterval> extends TypedEventEmitter<IIntervalCollectionEvent<TInterval>> {
182
182
  readonly attached: boolean;
@@ -298,6 +298,7 @@ export interface IIntervalCollection<TInterval extends ISerializableInterval> ex
298
298
  removeIntervalById(id: string): TInterval | undefined;
299
299
  /**
300
300
  * Changes the properties on an existing interval.
301
+ * @deprecated - call change with the id and and object containing the new properties
301
302
  * @param id - Id of the interval whose properties should be changed
302
303
  * @param props - Property set to apply to the interval. Shallow merging is used between any existing properties
303
304
  * and `prop`, i.e. the interval will end up with a property object equivalent to `{ ...oldProps, ...props }`.
@@ -305,12 +306,26 @@ export interface IIntervalCollection<TInterval extends ISerializableInterval> ex
305
306
  changeProperties(id: string, props: PropertySet): any;
306
307
  /**
307
308
  * Changes the endpoints of an existing interval.
309
+ * @deprecated - call change with the start and end parameters encapsulated in an object
308
310
  * @param id - Id of the interval to change
309
311
  * @param start - New start value. To leave the endpoint unchanged, pass the current value.
310
312
  * @param end - New end value. To leave the endpoint unchanged, pass the current value.
311
313
  * @returns the interval that was changed, if it existed in the collection.
312
314
  */
313
315
  change(id: string, start: SequencePlace, end: SequencePlace): TInterval | undefined;
316
+ /**
317
+ * Changes the endpoints, properties, or both of an existing interval.
318
+ * @param id - Id of the Interval to change
319
+ * @returns the interval that was changed, if it existed in the collection.
320
+ * Pass the desired new start position, end position, and/or properties in an object. Start and end positions must be changed
321
+ * simultaneously - they must either both be specified or both undefined. To only change the properties, leave both endpoints
322
+ * undefined. To only change the endpoints, leave the properties undefined.
323
+ */
324
+ change(id: string, { start, end, props }: {
325
+ start?: SequencePlace;
326
+ end?: SequencePlace;
327
+ props?: PropertySet;
328
+ }): TInterval | undefined;
314
329
  attachDeserializer(onDeserialize: DeserializeCallback): void;
315
330
  /**
316
331
  * @returns an iterator over all intervals in this collection.
@@ -342,6 +357,14 @@ export interface IIntervalCollection<TInterval extends ISerializableInterval> ex
342
357
  */
343
358
  gatherIterationResults(results: TInterval[], iteratesForward: boolean, start?: number, end?: number): void;
344
359
  /**
360
+ * @deprecated - Users must manually attach the corresponding interval index to utilize this functionality, for instance:
361
+ *
362
+ * ```typescript
363
+ * const overlappingIntervalsIndex = createOverlappingIntervalsIndex(sharedString);
364
+ * collection.attachIndex(overlappingIntervalsIndex)
365
+ * const result = overlappingIntervalsIndex.findOverlappingIntervals(start, end);
366
+ * ```
367
+ *
345
368
  * @returns an array of all intervals in this collection that overlap with the interval
346
369
  * `[startPosition, endPosition]`.
347
370
  */
@@ -350,7 +373,28 @@ export interface IIntervalCollection<TInterval extends ISerializableInterval> ex
350
373
  * Applies a function to each interval in this collection.
351
374
  */
352
375
  map(fn: (interval: TInterval) => void): void;
376
+ /**
377
+ * @deprecated - due to the forthcoming change where the endpointIndex will no longer be
378
+ * automatically added to the collection. Users are advised to independently attach the
379
+ * index to the collection and utilize the API accordingly, for instance:
380
+ * ```typescript
381
+ * const endpointIndex = createEndpointIndex(sharedString);
382
+ * collection.attachIndex(endpointIndex);
383
+ * const result1 = endpointIndex.previousInterval(pos);
384
+ * ```
385
+ * If an index is used repeatedly, applications should generally attach it once and store it in memory.
386
+ */
353
387
  previousInterval(pos: number): TInterval | undefined;
388
+ /**
389
+ * @deprecated - due to the forthcoming change where the endpointIndex will no longer be
390
+ * automatically added to the collection. Users are advised to independently attach the
391
+ * index to the collection and utilize the API accordingly, for instance:
392
+ * ```typescript
393
+ * const endpointIndex = createEndpointIndex(sharedString);
394
+ * collection.attachIndex(endpointIndex);
395
+ * const result2 = endpointIndex.nextInterval(pos);
396
+ * ```
397
+ */
354
398
  nextInterval(pos: number): TInterval | undefined;
355
399
  }
356
400
  /**
@@ -411,12 +455,22 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
411
455
  removeIntervalById(id: string): TInterval | undefined;
412
456
  /**
413
457
  * {@inheritdoc IIntervalCollection.changeProperties}
458
+ * @deprecated - call change with the id and an object containing the new props values
414
459
  */
415
460
  changeProperties(id: string, props: PropertySet): void;
416
461
  /**
417
462
  * {@inheritdoc IIntervalCollection.change}
463
+ * @deprecated - call change with the id and an object containing the new start, end, and/or props values
418
464
  */
419
465
  change(id: string, start: SequencePlace, end: SequencePlace): TInterval | undefined;
466
+ /**
467
+ * {@inheritdoc IIntervalCollection.change}
468
+ */
469
+ change(id: string, { start, end, props }: {
470
+ start?: SequencePlace;
471
+ end?: SequencePlace;
472
+ props?: PropertySet;
473
+ }): TInterval | undefined;
420
474
  private get isCollaborating();
421
475
  private addPendingChange;
422
476
  private addPendingChangeHelper;
@@ -491,7 +545,7 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
491
545
  }
492
546
  /**
493
547
  * Information that identifies an interval within a `Sequence`.
494
- * @public
548
+ * @internal
495
549
  */
496
550
  export interface IntervalLocator {
497
551
  /**
@@ -508,7 +562,7 @@ export interface IntervalLocator {
508
562
  * @returns undefined if the reference position is not the endpoint of any interval (e.g. it was created
509
563
  * on the merge tree directly by app code), otherwise an {@link IntervalLocator} for the interval this
510
564
  * endpoint is a part of.
511
- * @public
565
+ * @internal
512
566
  */
513
567
  export declare function intervalLocatorFromEndpoint(potentialEndpoint: LocalReferencePosition): IntervalLocator | undefined;
514
568
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"intervalCollection.d.ts","sourceRoot":"","sources":["../src/intervalCollection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAEN,MAAM,EAKN,WAAW,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SAAS,GAAG,SAAS;CAOvD;AASD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,gBAAgB,CAAC;CAC3B;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAC1C,iBAAiB,EAAE,sBAAsB,GACvC,eAAe,GAAG,SAAS,CAM7B"}
1
+ {"version":3,"file":"intervalCollection.d.ts","sourceRoot":"","sources":["../src/intervalCollection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAEN,MAAM,EAKN,WAAW,EACX,sBAAsB,EAQtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAGjF,OAAO,EACN,wBAAwB,EACxB,aAAa,EACb,eAAe,EACf,eAAe,EACf,UAAU,EACV,eAAe,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,4BAA4B,EAC5B,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,uBAAuB,EAMvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAEN,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC1B,aAAa,EAGb,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,qBAAqB,CAAC;AAE7E;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,IAAI,CAAC;CACX;AAED;;;;;GAKG;AACH,oBAAY,IAAI;IACf,MAAM,I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