@fluidframework/sequence 2.0.0-dev.4.4.0.162253 → 2.0.0-dev.5.2.0.169897

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 (71) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/defaultMap.d.ts +3 -2
  3. package/dist/defaultMap.d.ts.map +1 -1
  4. package/dist/defaultMap.js +4 -3
  5. package/dist/defaultMap.js.map +1 -1
  6. package/dist/defaultMapInterfaces.d.ts +12 -1
  7. package/dist/defaultMapInterfaces.d.ts.map +1 -1
  8. package/dist/defaultMapInterfaces.js.map +1 -1
  9. package/dist/index.d.ts +3 -2
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +14 -3
  12. package/dist/index.js.map +1 -1
  13. package/dist/intervalCollection.d.ts +231 -59
  14. package/dist/intervalCollection.d.ts.map +1 -1
  15. package/dist/intervalCollection.js +288 -86
  16. package/dist/intervalCollection.js.map +1 -1
  17. package/dist/packageVersion.d.ts +1 -1
  18. package/dist/packageVersion.js +1 -1
  19. package/dist/packageVersion.js.map +1 -1
  20. package/dist/revertibles.d.ts +104 -0
  21. package/dist/revertibles.d.ts.map +1 -0
  22. package/dist/revertibles.js +374 -0
  23. package/dist/revertibles.js.map +1 -0
  24. package/dist/sequence.d.ts +4 -4
  25. package/dist/sequence.d.ts.map +1 -1
  26. package/dist/sequence.js +3 -3
  27. package/dist/sequence.js.map +1 -1
  28. package/dist/sharedIntervalCollection.d.ts +3 -3
  29. package/dist/sharedIntervalCollection.d.ts.map +1 -1
  30. package/dist/sharedIntervalCollection.js +1 -1
  31. package/dist/sharedIntervalCollection.js.map +1 -1
  32. package/dist/tsdoc-metadata.json +11 -0
  33. package/lib/defaultMap.d.ts +3 -2
  34. package/lib/defaultMap.d.ts.map +1 -1
  35. package/lib/defaultMap.js +4 -3
  36. package/lib/defaultMap.js.map +1 -1
  37. package/lib/defaultMapInterfaces.d.ts +12 -1
  38. package/lib/defaultMapInterfaces.d.ts.map +1 -1
  39. package/lib/defaultMapInterfaces.js.map +1 -1
  40. package/lib/index.d.ts +3 -2
  41. package/lib/index.d.ts.map +1 -1
  42. package/lib/index.js +2 -1
  43. package/lib/index.js.map +1 -1
  44. package/lib/intervalCollection.d.ts +231 -59
  45. package/lib/intervalCollection.d.ts.map +1 -1
  46. package/lib/intervalCollection.js +286 -86
  47. package/lib/intervalCollection.js.map +1 -1
  48. package/lib/packageVersion.d.ts +1 -1
  49. package/lib/packageVersion.js +1 -1
  50. package/lib/packageVersion.js.map +1 -1
  51. package/lib/revertibles.d.ts +104 -0
  52. package/lib/revertibles.d.ts.map +1 -0
  53. package/lib/revertibles.js +364 -0
  54. package/lib/revertibles.js.map +1 -0
  55. package/lib/sequence.d.ts +4 -4
  56. package/lib/sequence.d.ts.map +1 -1
  57. package/lib/sequence.js +3 -3
  58. package/lib/sequence.js.map +1 -1
  59. package/lib/sharedIntervalCollection.d.ts +3 -3
  60. package/lib/sharedIntervalCollection.d.ts.map +1 -1
  61. package/lib/sharedIntervalCollection.js +1 -1
  62. package/lib/sharedIntervalCollection.js.map +1 -1
  63. package/package.json +20 -22
  64. package/src/defaultMap.ts +4 -1
  65. package/src/defaultMapInterfaces.ts +13 -1
  66. package/src/index.ts +21 -5
  67. package/src/intervalCollection.ts +619 -73
  68. package/src/packageVersion.ts +1 -1
  69. package/src/revertibles.ts +572 -0
  70. package/src/sequence.ts +12 -2
  71. package/src/sharedIntervalCollection.ts +4 -2
@@ -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/common-definitions\";\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 * 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): 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/common-definitions\";\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 */\nexport interface SequenceOptions {\n\t/**\n\t * Enable {@link (IntervalStickiness:type) | interval stickiness}\n\t * other than \"end\"\n\t */\n\tintervalStickinessEnabled: 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"]}
package/lib/index.d.ts CHANGED
@@ -14,9 +14,10 @@
14
14
  *
15
15
  * @packageDocumentation
16
16
  */
17
- export { IMapMessageLocalMetadata, IValueOpEmitter } from "./defaultMapInterfaces";
18
- export { DeserializeCallback, IIntervalCollectionEvent, IIntervalHelpers, Interval, IntervalCollection, IntervalCollectionIterator, IntervalLocator, intervalLocatorFromEndpoint, IntervalType, ISerializableInterval, ISerializedInterval, SequenceInterval, ISerializedIntervalCollectionV2, CompressedSerializedInterval, SerializedIntervalDelta, } from "./intervalCollection";
17
+ export { IMapMessageLocalMetadata, IValueOpEmitter, SequenceOptions } from "./defaultMapInterfaces";
18
+ export { DeserializeCallback, IIntervalCollectionEvent, IIntervalHelpers, Interval, IntervalIndex, IIntervalCollection, IntervalLocator, intervalLocatorFromEndpoint, IntervalOpType, IntervalType, ISerializableInterval, ISerializedInterval, SequenceInterval, SerializedIntervalDelta, IntervalStickiness, sequenceIntervalHelpers, IEndpointInRangeIndex, IStartpointInRangeIndex, createEndpointInRangeIndex, createStartpointInRangeIndex, } from "./intervalCollection";
19
19
  export { IInterval, IntervalConflictResolver } from "./intervalTree";
20
+ export { appendAddIntervalToRevertibles, appendChangeIntervalToRevertibles, appendDeleteIntervalToRevertibles, appendIntervalPropertyChangedToRevertibles, appendSharedStringDeltaToRevertibles, discardSharedStringRevertibles, IntervalRevertible, revertSharedStringRevertibles, SharedStringRevertible, } from "./revertibles";
20
21
  export { ISharedSegmentSequenceEvents, SharedSegmentSequence } from "./sequence";
21
22
  export { ISequenceDeltaRange, SequenceDeltaEvent, SequenceEvent, SequenceMaintenanceEvent, } from "./sequenceDeltaEvent";
22
23
  export { SharedStringFactory } from "./sequenceFactory";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACnF,OAAO,EACN,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,QAAQ,EACR,kBAAkB,EAClB,0BAA0B,EAC1B,eAAe,EACf,2BAA2B,EAC3B,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,+BAA+B,EAC/B,4BAA4B,EAC5B,uBAAuB,GACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,EACN,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,wBAAwB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EACN,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,mBAAmB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACN,yBAAyB,EACzB,wBAAwB,EACxB,+BAA+B,GAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACpG,OAAO,EACN,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,QAAQ,EACR,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,2BAA2B,EAC3B,cAAc,EACd,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,GAC5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EACN,8BAA8B,EAC9B,iCAAiC,EACjC,iCAAiC,EACjC,0CAA0C,EAC1C,oCAAoC,EACpC,8BAA8B,EAC9B,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,GACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,EACN,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,wBAAwB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EACN,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,mBAAmB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACN,yBAAyB,EACzB,wBAAwB,EACxB,+BAA+B,GAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
package/lib/index.js CHANGED
@@ -2,7 +2,8 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export { Interval, IntervalCollection, IntervalCollectionIterator, intervalLocatorFromEndpoint, IntervalType, SequenceInterval, } from "./intervalCollection";
5
+ export { Interval, intervalLocatorFromEndpoint, IntervalOpType, IntervalType, SequenceInterval, IntervalStickiness, sequenceIntervalHelpers, createEndpointInRangeIndex, createStartpointInRangeIndex, } from "./intervalCollection";
6
+ export { appendAddIntervalToRevertibles, appendChangeIntervalToRevertibles, appendDeleteIntervalToRevertibles, appendIntervalPropertyChangedToRevertibles, appendSharedStringDeltaToRevertibles, discardSharedStringRevertibles, revertSharedStringRevertibles, } from "./revertibles";
6
7
  export { SharedSegmentSequence } from "./sequence";
7
8
  export { SequenceDeltaEvent, SequenceEvent, SequenceMaintenanceEvent, } from "./sequenceDeltaEvent";
8
9
  export { SharedStringFactory } from "./sequenceFactory";
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,EAIN,QAAQ,EACR,kBAAkB,EAClB,0BAA0B,EAE1B,2BAA2B,EAC3B,YAAY,EAGZ,gBAAgB,GAIhB,MAAM,sBAAsB,CAAC;AAE9B,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 } from \"./defaultMapInterfaces\";\nexport {\n\tDeserializeCallback,\n\tIIntervalCollectionEvent,\n\tIIntervalHelpers,\n\tInterval,\n\tIntervalCollection,\n\tIntervalCollectionIterator,\n\tIntervalLocator,\n\tintervalLocatorFromEndpoint,\n\tIntervalType,\n\tISerializableInterval,\n\tISerializedInterval,\n\tSequenceInterval,\n\tISerializedIntervalCollectionV2,\n\tCompressedSerializedInterval,\n\tSerializedIntervalDelta,\n} from \"./intervalCollection\";\nexport { IInterval, IntervalConflictResolver } from \"./intervalTree\";\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,OAAO,EAIN,QAAQ,EAIR,2BAA2B,EAC3B,cAAc,EACd,YAAY,EAGZ,gBAAgB,EAEhB,kBAAkB,EAClB,uBAAuB,EAGvB,0BAA0B,EAC1B,4BAA4B,GAC5B,MAAM,sBAAsB,CAAC;AAE9B,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\tDeserializeCallback,\n\tIIntervalCollectionEvent,\n\tIIntervalHelpers,\n\tInterval,\n\tIntervalIndex,\n\tIIntervalCollection,\n\tIntervalLocator,\n\tintervalLocatorFromEndpoint,\n\tIntervalOpType,\n\tIntervalType,\n\tISerializableInterval,\n\tISerializedInterval,\n\tSequenceInterval,\n\tSerializedIntervalDelta,\n\tIntervalStickiness,\n\tsequenceIntervalHelpers,\n\tIEndpointInRangeIndex,\n\tIStartpointInRangeIndex,\n\tcreateEndpointInRangeIndex,\n\tcreateStartpointInRangeIndex,\n} from \"./intervalCollection\";\nexport { IInterval, IntervalConflictResolver } from \"./intervalTree\";\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"]}
@@ -6,15 +6,26 @@ import { TypedEventEmitter } from "@fluidframework/common-utils";
6
6
  import { IEvent } from "@fluidframework/common-definitions";
7
7
  import { Client, ICombiningOp, PropertiesManager, PropertySet, LocalReferencePosition } from "@fluidframework/merge-tree";
8
8
  import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions";
9
- import { IMapMessageLocalMetadata, IValueFactory, IValueOpEmitter, IValueOperation, IValueType } from "./defaultMapInterfaces";
9
+ import { IMapMessageLocalMetadata, IValueFactory, IValueOpEmitter, IValueOperation, IValueType, SequenceOptions } from "./defaultMapInterfaces";
10
10
  import { IInterval, IntervalConflictResolver } from "./intervalTree";
11
+ /**
12
+ * Values are used in persisted formats (ops) and revertibles.
13
+ * @alpha
14
+ */
15
+ export declare const IntervalOpType: {
16
+ readonly ADD: "add";
17
+ readonly DELETE: "delete";
18
+ readonly CHANGE: "change";
19
+ readonly PROPERTY_CHANGED: "propertyChanged";
20
+ readonly POSITION_REMOVE: "positionRemove";
21
+ };
11
22
  export declare enum IntervalType {
12
23
  Simple = 0,
13
24
  Nest = 1,
14
25
  /**
15
26
  * SlideOnRemove indicates that the ends of the interval will slide if the segment
16
27
  * they reference is removed and acked.
17
- * See `packages\dds\merge-tree\REFERENCEPOSITIONS.md` for details
28
+ * See `packages\dds\merge-tree\docs\REFERENCEPOSITIONS.md` for details
18
29
  * SlideOnRemove is the default interval behavior and does not need to be specified.
19
30
  */
20
31
  SlideOnRemove = 2,
@@ -44,6 +55,7 @@ export interface ISerializedInterval {
44
55
  end: number;
45
56
  /** Interval type to create */
46
57
  intervalType: IntervalType;
58
+ stickiness?: IntervalStickiness;
47
59
  /** Any properties the interval has */
48
60
  properties?: PropertySet;
49
61
  }
@@ -59,12 +71,9 @@ export declare type SerializedIntervalDelta = Omit<ISerializedInterval, "start"
59
71
  *
60
72
  * Intervals are of the format:
61
73
  *
62
- * [start, end, sequenceNumber, intervalType, properties]
63
- */
64
- export declare type CompressedSerializedInterval = [number, number, number, IntervalType, PropertySet];
65
- /**
66
- * @internal
74
+ * [start, end, sequenceNumber, intervalType, properties, stickiness?]
67
75
  */
76
+ export declare type CompressedSerializedInterval = [number, number, number, IntervalType, PropertySet, IntervalStickiness] | [number, number, number, IntervalType, PropertySet];
68
77
  export interface ISerializedIntervalCollectionV2 {
69
78
  label: string;
70
79
  version: 2;
@@ -88,21 +97,60 @@ export interface ISerializableInterval extends IInterval {
88
97
  */
89
98
  getIntervalId(): string | undefined;
90
99
  }
100
+ /**
101
+ * @sealed
102
+ */
91
103
  export interface IIntervalHelpers<TInterval extends ISerializableInterval> {
92
104
  compareEnds(a: TInterval, b: TInterval): number;
105
+ compareStarts?(a: TInterval, b: TInterval): number;
93
106
  /**
94
107
  *
95
108
  * @param label - label of the interval collection this interval is being added to. This parameter is
96
109
  * irrelevant for transient intervals.
97
110
  * @param start - numerical start position of the interval
98
- * @param end - numberical end position of the interval
111
+ * @param end - numerical end position of the interval
99
112
  * @param client - client creating the interval
100
113
  * @param intervalType - Type of interval to create. Default is SlideOnRemove
101
114
  * @param op - If this create came from a remote client, op that created it. Default is undefined (i.e. local)
102
115
  * @param fromSnapshot - If this create came from loading a snapshot. Default is false.
103
116
  */
104
- create(label: string, start: number | undefined, end: number | undefined, client: Client | undefined, intervalType: IntervalType, op?: ISequencedDocumentMessage, fromSnapshot?: boolean): TInterval;
117
+ create(label: string, start: number | undefined, end: number | undefined, client: Client | undefined, intervalType: IntervalType, op?: ISequencedDocumentMessage, fromSnapshot?: boolean, stickiness?: IntervalStickiness): TInterval;
105
118
  }
119
+ /**
120
+ * Determines how an interval should expand when segments are inserted adjacent
121
+ * to the range it spans
122
+ *
123
+ * Note that interval stickiness is currently an experimental feature and must
124
+ * be explicitly enabled with the `intervalStickinessEnabled` flag
125
+ */
126
+ export declare const IntervalStickiness: {
127
+ /**
128
+ * Interval does not expand to include adjacent segments
129
+ */
130
+ readonly NONE: 0;
131
+ /**
132
+ * Interval expands to include segments inserted adjacent to the start
133
+ */
134
+ readonly START: 1;
135
+ /**
136
+ * Interval expands to include segments inserted adjacent to the end
137
+ *
138
+ * This is the default stickiness
139
+ */
140
+ readonly END: 2;
141
+ /**
142
+ * Interval expands to include all segments inserted adjacent to it
143
+ */
144
+ readonly FULL: 3;
145
+ };
146
+ /**
147
+ * Determines how an interval should expand when segments are inserted adjacent
148
+ * to the range it spans
149
+ *
150
+ * Note that interval stickiness is currently an experimental feature and must
151
+ * be explicitly enabled with the `intervalStickinessEnabled` flag
152
+ */
153
+ export declare type IntervalStickiness = typeof IntervalStickiness[keyof typeof IntervalStickiness];
106
154
  /**
107
155
  * Serializable interval whose endpoints are plain-old numbers.
108
156
  */
@@ -133,7 +181,7 @@ export declare class Interval implements ISerializableInterval {
133
181
  * Adds an auxiliary set of properties to this interval.
134
182
  * These properties can be recovered using `getAdditionalPropertySets`
135
183
  * @param props - set of properties to add
136
- * @remarks - This gets called as part of the default conflict resolver for `IntervalCollection<Interval>`
184
+ * @remarks - This gets called as part of the default conflict resolver for `IIntervalCollection<Interval>`
137
185
  * (i.e. non-sequence-based interval collections). However, the additional properties don't get serialized.
138
186
  * This functionality seems half-baked.
139
187
  */
@@ -182,7 +230,7 @@ export declare class Interval implements ISerializableInterval {
182
230
  private initializeProperties;
183
231
  }
184
232
  /**
185
- * Interval impelmentation whose ends are associated with positions in a mutatable sequence.
233
+ * Interval implementation whose ends are associated with positions in a mutatable sequence.
186
234
  * As such, when content is inserted into the middle of the interval, the interval expands to
187
235
  * include that content.
188
236
  *
@@ -215,6 +263,7 @@ export declare class SequenceInterval implements ISerializableInterval {
215
263
  */
216
264
  end: LocalReferencePosition;
217
265
  intervalType: IntervalType;
266
+ readonly stickiness: IntervalStickiness;
218
267
  /**
219
268
  * {@inheritDoc ISerializableInterval.properties}
220
269
  */
@@ -234,7 +283,7 @@ export declare class SequenceInterval implements ISerializableInterval {
234
283
  * End endpoint of this interval.
235
284
  * @remarks - This endpoint can be resolved into a character position using the SharedString it's a part of.
236
285
  */
237
- end: LocalReferencePosition, intervalType: IntervalType, props?: PropertySet);
286
+ end: LocalReferencePosition, intervalType: IntervalType, props?: PropertySet, stickiness?: IntervalStickiness);
238
287
  private callbacks?;
239
288
  /**
240
289
  * Subscribes to position change events on this interval if there are no current listeners.
@@ -293,10 +342,10 @@ export declare class SequenceInterval implements ISerializableInterval {
293
342
  * {@inheritDoc IInterval.modify}
294
343
  * @deprecated - This API was never intended to be public and will be marked internal in a future release.
295
344
  */
296
- modify(label: string, start: number, end: number, op?: ISequencedDocumentMessage, localSeq?: number): SequenceInterval;
345
+ modify(label: string, start: number, end: number, op?: ISequencedDocumentMessage, localSeq?: number, stickiness?: IntervalStickiness): SequenceInterval;
297
346
  private initializeProperties;
298
347
  }
299
- export declare function createSequenceInterval(label: string, start: number, end: number, client: Client, intervalType: IntervalType, op?: ISequencedDocumentMessage, fromSnapshot?: boolean): SequenceInterval;
348
+ export declare function createSequenceInterval(label: string, start: number, end: number, client: Client, intervalType: IntervalType, op?: ISequencedDocumentMessage, fromSnapshot?: boolean, stickiness?: IntervalStickiness): SequenceInterval;
300
349
  export declare function createIntervalIndex(): LocalIntervalCollection<Interval>;
301
350
  /**
302
351
  * Collection of intervals.
@@ -354,6 +403,30 @@ declare class EndpointIndex<TInterval extends ISerializableInterval> implements
354
403
  add(interval: TInterval): void;
355
404
  remove(interval: TInterval): void;
356
405
  }
406
+ /**
407
+ * Collection of intervals.
408
+ *
409
+ * Provide additional APIs to support efficiently querying a collection of intervals whose endpoints fall within a specified range.
410
+ */
411
+ export interface IEndpointInRangeIndex<TInterval extends ISerializableInterval> extends IntervalIndex<TInterval> {
412
+ /**
413
+ * @returns an array of all intervals contained in this collection whose endpoints locate in the range [start, end] (includes both ends)
414
+ */
415
+ findIntervalsWithEndpointInRange(start: number, end: number): any;
416
+ }
417
+ /**
418
+ * Collection of intervals.
419
+ *
420
+ * Provide additional APIs to support efficiently querying a collection of intervals whose startpoints fall within a specified range.
421
+ */
422
+ export interface IStartpointInRangeIndex<TInterval extends ISerializableInterval> extends IntervalIndex<TInterval> {
423
+ /**
424
+ * @returns an array of all intervals contained in this collection whose startpoints locate in the range [start, end] (includes both ends)
425
+ */
426
+ findIntervalsWithStartpointInRange(start: number, end: number): any;
427
+ }
428
+ export declare function createEndpointInRangeIndex<TInterval extends ISerializableInterval>(helpers: IIntervalHelpers<TInterval>, client: Client): IEndpointInRangeIndex<TInterval>;
429
+ export declare function createStartpointInRangeIndex<TInterval extends ISerializableInterval>(helpers: IIntervalHelpers<TInterval>, client: Client): IStartpointInRangeIndex<TInterval>;
357
430
  export declare class LocalIntervalCollection<TInterval extends ISerializableInterval> {
358
431
  private readonly client;
359
432
  private readonly label;
@@ -378,9 +451,11 @@ export declare class LocalIntervalCollection<TInterval extends ISerializableInte
378
451
  */
379
452
  ensureSerializedId(serializedInterval: ISerializedInterval): string;
380
453
  private removeIntervalFromIndexes;
454
+ appendIndex(index: IntervalIndex<TInterval>): void;
455
+ removeIndex(index: IntervalIndex<TInterval>): boolean;
381
456
  removeExistingInterval(interval: TInterval): void;
382
- createInterval(start: number, end: number, intervalType: IntervalType, op?: ISequencedDocumentMessage): TInterval;
383
- addInterval(start: number, end: number, intervalType: IntervalType, props?: PropertySet, op?: ISequencedDocumentMessage): TInterval;
457
+ createInterval(start: number, end: number, intervalType: IntervalType, op?: ISequencedDocumentMessage, stickiness?: IntervalStickiness): TInterval;
458
+ addInterval(start: number, end: number, intervalType: IntervalType, props?: PropertySet, op?: ISequencedDocumentMessage, stickiness?: IntervalStickiness): TInterval;
384
459
  private linkEndpointsToInterval;
385
460
  private addIntervalToIndexes;
386
461
  add(interval: TInterval): void;
@@ -390,6 +465,9 @@ export declare class LocalIntervalCollection<TInterval extends ISerializableInte
390
465
  private removeIntervalListeners;
391
466
  }
392
467
  export declare const compareSequenceIntervalEnds: (a: SequenceInterval, b: SequenceInterval) => number;
468
+ export declare const compareSequenceIntervalStarts: (a: SequenceInterval, b: SequenceInterval) => number;
469
+ export declare const sequenceIntervalHelpers: IIntervalHelpers<SequenceInterval>;
470
+ export declare const intervalHelpers: IIntervalHelpers<Interval>;
393
471
  export declare class SequenceIntervalCollectionValueType implements IValueType<IntervalCollection<SequenceInterval>> {
394
472
  static Name: string;
395
473
  get name(): string;
@@ -408,7 +486,7 @@ export declare class IntervalCollectionValueType implements IValueType<IntervalC
408
486
  }
409
487
  export declare function makeOpsMap<T extends ISerializableInterval>(): Map<string, IValueOperation<IntervalCollection<T>>>;
410
488
  export declare type DeserializeCallback = (properties: PropertySet) => void;
411
- export declare class IntervalCollectionIterator<TInterval extends ISerializableInterval> implements Iterator<TInterval> {
489
+ declare class IntervalCollectionIterator<TInterval extends ISerializableInterval> implements Iterator<TInterval> {
412
490
  private readonly results;
413
491
  private index;
414
492
  constructor(collection: IntervalCollection<TInterval>, iteratesForward?: boolean, start?: number, end?: number);
@@ -450,35 +528,27 @@ export interface IIntervalCollectionEvent<TInterval extends ISerializableInterva
450
528
  }
451
529
  /**
452
530
  * Collection of intervals that supports addition, modification, removal, and efficient spatial querying.
453
- * This class is not a DDS in its own right, but emits events on mutating operations such that it's possible to
454
- * integrate into a DDS.
455
- * This aligns with its usage in `SharedSegmentSequence`, which allows associating intervals to positions in the
456
- * sequence DDS which are broadcast to all other clients in an eventually consistent fashion.
531
+ * Changes to this collection will be incur updates on collaborating clients (i.e. they are not local-only).
457
532
  */
458
- export declare class IntervalCollection<TInterval extends ISerializableInterval> extends TypedEventEmitter<IIntervalCollectionEvent<TInterval>> {
459
- private readonly helpers;
460
- private readonly requiresClient;
461
- private readonly emitter;
462
- private savedSerializedIntervals?;
463
- private localCollection;
464
- private onDeserialize;
465
- private client;
466
- private readonly localSeqToSerializedInterval;
467
- private readonly localSeqToRebasedInterval;
468
- private readonly pendingChangesStart;
469
- private readonly pendingChangesEnd;
470
- get attached(): boolean;
471
- /** @internal */
472
- constructor(helpers: IIntervalHelpers<TInterval>, requiresClient: boolean, emitter: IValueOpEmitter, serializedIntervals: ISerializedInterval[] | ISerializedIntervalCollectionV2);
473
- private rebasePositionWithSegmentSlide;
474
- private computeRebasedPositions;
475
- /** @internal */
476
- attachGraph(client: Client, label: string): void;
533
+ export interface IIntervalCollection<TInterval extends ISerializableInterval> extends TypedEventEmitter<IIntervalCollectionEvent<TInterval>> {
534
+ readonly attached: boolean;
477
535
  /**
478
- * Gets the next local sequence number, modifying this client's collab window in doing so.
536
+ * Attaches an index to this collection.
537
+ * All intervals which are part of this collection will be added to the index, and the index will automatically
538
+ * be updated when this collection updates due to local or remote changes.
539
+ *
540
+ * @remarks - After attaching an index to an interval collection, applications should typically store this
541
+ * index somewhere in their in-memory data model for future reference and querying.
479
542
  */
480
- private getNextLocalSeq;
481
- private emitChange;
543
+ attachIndex(index: IntervalIndex<TInterval>): void;
544
+ /**
545
+ * Detaches an index from this collection.
546
+ * All intervals which are part of this collection will be removed from the index, and updates to this collection
547
+ * due to local or remote changes will no longer incur updates to the index.
548
+ *
549
+ * @returns - Return false if the target index cannot be found in the indexes, otherwise remove all intervals in the index and return true
550
+ */
551
+ detachIndex(index: IntervalIndex<TInterval>): boolean;
482
552
  /**
483
553
  * @returns the interval in this collection that has the provided `id`.
484
554
  * If no interval in the collection has this `id`, returns `undefined`.
@@ -490,12 +560,12 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
490
560
  * @param end - interval end position (exclusive)
491
561
  * @param intervalType - type of the interval. All intervals are SlideOnRemove. Intervals may not be Transient.
492
562
  * @param props - properties of the interval
563
+ * @param stickiness - {@link (IntervalStickiness:type)} to apply to the added interval.
493
564
  * @returns - the created interval
494
565
  * @remarks - See documentation on {@link SequenceInterval} for comments on interval endpoint semantics: there are subtleties
495
566
  * with how the current half-open behavior is represented.
496
567
  */
497
- add(start: number, end: number, intervalType: IntervalType, props?: PropertySet): TInterval;
498
- private deleteExistingInterval;
568
+ add(start: number, end: number, intervalType: IntervalType, props?: PropertySet, stickiness?: IntervalStickiness): TInterval;
499
569
  /**
500
570
  * Removes an interval from the collection.
501
571
  * @param id - Id of the interval to remove
@@ -508,7 +578,7 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
508
578
  * @param props - Property set to apply to the interval. Shallow merging is used between any existing properties
509
579
  * and `prop`, i.e. the interval will end up with a property object equivalent to `{ ...oldProps, ...props }`.
510
580
  */
511
- changeProperties(id: string, props: PropertySet): void;
581
+ changeProperties(id: string, props: PropertySet): any;
512
582
  /**
513
583
  * Changes the endpoints of an existing interval.
514
584
  * @param id - Id of the interval to change
@@ -517,6 +587,105 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
517
587
  * @returns the interval that was changed, if it existed in the collection.
518
588
  */
519
589
  change(id: string, start?: number, end?: number): TInterval | undefined;
590
+ attachDeserializer(onDeserialize: DeserializeCallback): void;
591
+ /**
592
+ * @returns an iterator over all intervals in this collection.
593
+ */
594
+ [Symbol.iterator](): Iterator<TInterval>;
595
+ /**
596
+ * @returns a forward iterator over all intervals in this collection with start point equal to `startPosition`.
597
+ */
598
+ CreateForwardIteratorWithStartPosition(startPosition: number): Iterator<TInterval>;
599
+ /**
600
+ * @returns a backward iterator over all intervals in this collection with start point equal to `startPosition`.
601
+ */
602
+ CreateBackwardIteratorWithStartPosition(startPosition: number): Iterator<TInterval>;
603
+ /**
604
+ * @returns a forward iterator over all intervals in this collection with end point equal to `endPosition`.
605
+ */
606
+ CreateForwardIteratorWithEndPosition(endPosition: number): Iterator<TInterval>;
607
+ /**
608
+ * @returns a backward iterator over all intervals in this collection with end point equal to `endPosition`.
609
+ */
610
+ CreateBackwardIteratorWithEndPosition(endPosition: number): Iterator<TInterval>;
611
+ /**
612
+ * Gathers iteration results that optionally match a start/end criteria into the provided array.
613
+ * @param results - Array to gather the results into. In lieu of a return value, this array will be populated with
614
+ * intervals matching the query upon edit.
615
+ * @param iteratesForward - whether or not iteration should be in the forward direction
616
+ * @param start - If provided, only match intervals whose start point is equal to `start`.
617
+ * @param end - If provided, only match intervals whose end point is equal to `end`.
618
+ */
619
+ gatherIterationResults(results: TInterval[], iteratesForward: boolean, start?: number, end?: number): void;
620
+ /**
621
+ * @returns an array of all intervals in this collection that overlap with the interval
622
+ * `[startPosition, endPosition]`.
623
+ */
624
+ findOverlappingIntervals(startPosition: number, endPosition: number): TInterval[];
625
+ /**
626
+ * Applies a function to each interval in this collection.
627
+ */
628
+ map(fn: (interval: TInterval) => void): void;
629
+ previousInterval(pos: number): TInterval | undefined;
630
+ nextInterval(pos: number): TInterval | undefined;
631
+ }
632
+ /**
633
+ * {@inheritdoc IIntervalCollection}
634
+ */
635
+ export declare class IntervalCollection<TInterval extends ISerializableInterval> extends TypedEventEmitter<IIntervalCollectionEvent<TInterval>> implements IIntervalCollection<TInterval> {
636
+ private readonly helpers;
637
+ private readonly requiresClient;
638
+ private readonly emitter;
639
+ private readonly options;
640
+ private savedSerializedIntervals?;
641
+ private localCollection;
642
+ private onDeserialize;
643
+ private client;
644
+ private readonly localSeqToSerializedInterval;
645
+ private readonly localSeqToRebasedInterval;
646
+ private readonly pendingChangesStart;
647
+ private readonly pendingChangesEnd;
648
+ get attached(): boolean;
649
+ /** @internal */
650
+ constructor(helpers: IIntervalHelpers<TInterval>, requiresClient: boolean, emitter: IValueOpEmitter, serializedIntervals: ISerializedInterval[] | ISerializedIntervalCollectionV2, options?: Partial<SequenceOptions>);
651
+ /**
652
+ * {@inheritdoc IIntervalCollection.attachIndex}
653
+ */
654
+ attachIndex(index: IntervalIndex<TInterval>): void;
655
+ /**
656
+ * {@inheritdoc IIntervalCollection.detachIndex}
657
+ */
658
+ detachIndex(index: IntervalIndex<TInterval>): boolean;
659
+ private rebasePositionWithSegmentSlide;
660
+ private computeRebasedPositions;
661
+ /** @internal */
662
+ attachGraph(client: Client, label: string): void;
663
+ /**
664
+ * Gets the next local sequence number, modifying this client's collab window in doing so.
665
+ */
666
+ private getNextLocalSeq;
667
+ private emitChange;
668
+ /**
669
+ * {@inheritdoc IIntervalCollection.getIntervalById}
670
+ */
671
+ getIntervalById(id: string): TInterval | undefined;
672
+ /**
673
+ * {@inheritdoc IIntervalCollection.add}
674
+ */
675
+ add(start: number, end: number, intervalType: IntervalType, props?: PropertySet, stickiness?: IntervalStickiness): TInterval;
676
+ private deleteExistingInterval;
677
+ /**
678
+ * {@inheritdoc IIntervalCollection.removeIntervalById}
679
+ */
680
+ removeIntervalById(id: string): TInterval | undefined;
681
+ /**
682
+ * {@inheritdoc IIntervalCollection.changeProperties}
683
+ */
684
+ changeProperties(id: string, props: PropertySet): void;
685
+ /**
686
+ * {@inheritdoc IIntervalCollection.change}
687
+ */
688
+ change(id: string, start?: number, end?: number): TInterval | undefined;
520
689
  private addPendingChange;
521
690
  private addPendingChangeHelper;
522
691
  private removePendingChange;
@@ -533,6 +702,9 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
533
702
  * As such, the conflict resolver is never invoked and unnecessary. This API will be removed in an upcoming release.
534
703
  */
535
704
  addConflictResolver(_: IntervalConflictResolver<TInterval>): void;
705
+ /**
706
+ * {@inheritdoc IIntervalCollection.attachDeserializer}
707
+ */
536
708
  attachDeserializer(onDeserialize: DeserializeCallback): void;
537
709
  /**
538
710
  * Returns new interval after rebasing. If undefined, the interval was
@@ -558,40 +730,40 @@ export declare class IntervalCollection<TInterval extends ISerializableInterval>
558
730
  */
559
731
  [Symbol.iterator](): IntervalCollectionIterator<TInterval>;
560
732
  /**
561
- * @returns a forward iterator over all intervals in this collection with start point equal to `startPosition`.
733
+ * {@inheritdoc IIntervalCollection.CreateForwardIteratorWithStartPosition}
562
734
  */
563
735
  CreateForwardIteratorWithStartPosition(startPosition: number): IntervalCollectionIterator<TInterval>;
564
736
  /**
565
- * @returns a backward iterator over all intervals in this collection with start point equal to `startPosition`.
737
+ * {@inheritdoc IIntervalCollection.CreateBackwardIteratorWithStartPosition}
566
738
  */
567
739
  CreateBackwardIteratorWithStartPosition(startPosition: number): IntervalCollectionIterator<TInterval>;
568
740
  /**
569
- * @returns a forward iterator over all intervals in this collection with end point equal to `endPosition`.
741
+ * {@inheritdoc IIntervalCollection.CreateForwardIteratorWithEndPosition}
570
742
  */
571
743
  CreateForwardIteratorWithEndPosition(endPosition: number): IntervalCollectionIterator<TInterval>;
572
744
  /**
573
- * @returns a backward iterator over all intervals in this collection with end point equal to `endPosition`.
745
+ * {@inheritdoc IIntervalCollection.CreateBackwardIteratorWithEndPosition}
574
746
  */
575
747
  CreateBackwardIteratorWithEndPosition(endPosition: number): IntervalCollectionIterator<TInterval>;
576
748
  /**
577
- * Gathers iteration results that optionally match a start/end criteria into the provided array.
578
- * @param results - Array to gather the results into. In lieu of a return value, this array will be populated with
579
- * intervals matching the query upon edit.
580
- * @param iteratesForward - whether or not iteration should be in the forward direction
581
- * @param start - If provided, only match intervals whose start point is equal to `start`.
582
- * @param end - If provided, only match intervals whose end point is equal to `end`.
749
+ * {@inheritdoc IIntervalCollection.gatherIterationResults}
583
750
  */
584
751
  gatherIterationResults(results: TInterval[], iteratesForward: boolean, start?: number, end?: number): void;
585
752
  /**
586
- * @returns an array of all intervals in this collection that overlap with the interval
587
- * `[startPosition, endPosition]`.
753
+ * {@inheritdoc IIntervalCollection.findOverlappingIntervals}
588
754
  */
589
755
  findOverlappingIntervals(startPosition: number, endPosition: number): TInterval[];
590
756
  /**
591
- * Applies a function to each interval in this collection.
757
+ * {@inheritdoc IIntervalCollection.map}
592
758
  */
593
759
  map(fn: (interval: TInterval) => void): void;
760
+ /**
761
+ * {@inheritdoc IIntervalCollection.previousInterval}
762
+ */
594
763
  previousInterval(pos: number): TInterval | undefined;
764
+ /**
765
+ * {@inheritdoc IIntervalCollection.nextInterval}
766
+ */
595
767
  nextInterval(pos: number): TInterval | undefined;
596
768
  }
597
769
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"intervalCollection.d.ts","sourceRoot":"","sources":["../src/intervalCollection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAU,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAE5D,OAAO,EAEN,MAAM,EAGN,YAAY,EAIZ,iBAAiB,EACjB,WAAW,EAEX,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,EAEV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,wBAAwB,EAA8B,MAAM,gBAAgB,CAAC;AAIjG,oBAAY,YAAY;IACvB,MAAM,IAAM;IACZ,IAAI,IAAM;IAEV;;;;;OAKG;IACH,aAAa,IAAM;IAEnB;;;OAGG;IACH,SAAS,IAAM;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IACnC;;;;;;OAMG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd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