@fluidframework/sequence 0.54.2 → 0.55.0-48551
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +1 -1
- package/dist/intervalCollection.d.ts.map +1 -1
- package/dist/intervalCollection.js +0 -4
- package/dist/intervalCollection.js.map +1 -1
- package/dist/localValues.d.ts +2 -1
- package/dist/localValues.d.ts.map +1 -1
- package/dist/localValues.js.map +1 -1
- package/dist/mapKernel.d.ts +2 -1
- package/dist/mapKernel.d.ts.map +1 -1
- package/dist/mapKernel.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/sequence.d.ts +8 -8
- package/dist/sequence.d.ts.map +1 -1
- package/dist/sequence.js +10 -33
- package/dist/sequence.js.map +1 -1
- package/dist/sharedIntervalCollection.d.ts +4 -4
- package/dist/sharedIntervalCollection.d.ts.map +1 -1
- package/dist/sharedIntervalCollection.js +2 -15
- package/dist/sharedIntervalCollection.js.map +1 -1
- package/lib/intervalCollection.d.ts.map +1 -1
- package/lib/intervalCollection.js +0 -4
- package/lib/intervalCollection.js.map +1 -1
- package/lib/localValues.d.ts +2 -1
- package/lib/localValues.d.ts.map +1 -1
- package/lib/localValues.js.map +1 -1
- package/lib/mapKernel.d.ts +2 -1
- package/lib/mapKernel.d.ts.map +1 -1
- package/lib/mapKernel.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/sequence.d.ts +8 -8
- package/lib/sequence.d.ts.map +1 -1
- package/lib/sequence.js +13 -36
- package/lib/sequence.js.map +1 -1
- package/lib/sharedIntervalCollection.d.ts +4 -4
- package/lib/sharedIntervalCollection.d.ts.map +1 -1
- package/lib/sharedIntervalCollection.js +4 -17
- package/lib/sharedIntervalCollection.js.map +1 -1
- package/package.json +20 -19
- package/src/intervalCollection.ts +0 -4
- package/src/localValues.ts +1 -3
- package/src/mapKernel.ts +2 -2
- package/src/packageVersion.ts +1 -1
- package/src/sequence.ts +15 -46
- package/src/sharedIntervalCollection.ts +6 -20
|
@@ -4,10 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { bufferToString } from "@fluidframework/common-utils";
|
|
7
|
-
import { IFluidSerializer } from "@fluidframework/core-interfaces";
|
|
8
|
-
import {
|
|
9
|
-
FileMode, ISequencedDocumentMessage, ITree, MessageType, TreeEntry,
|
|
10
|
-
} from "@fluidframework/protocol-definitions";
|
|
11
7
|
import {
|
|
12
8
|
IChannelAttributes,
|
|
13
9
|
IFluidDataStoreRuntime,
|
|
@@ -15,7 +11,11 @@ import {
|
|
|
15
11
|
IChannelServices,
|
|
16
12
|
IChannelFactory,
|
|
17
13
|
} from "@fluidframework/datastore-definitions";
|
|
14
|
+
import { ISequencedDocumentMessage, MessageType } from "@fluidframework/protocol-definitions";
|
|
15
|
+
import { ISummaryTreeWithStats } from "@fluidframework/runtime-definitions";
|
|
18
16
|
import {
|
|
17
|
+
createSingleBlobSummary,
|
|
18
|
+
IFluidSerializer,
|
|
19
19
|
SharedObject,
|
|
20
20
|
} from "@fluidframework/shared-object-base";
|
|
21
21
|
import {
|
|
@@ -145,22 +145,8 @@ export class SharedIntervalCollection<TInterval extends ISerializableInterval =
|
|
|
145
145
|
return sharedCollection;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
protected
|
|
149
|
-
|
|
150
|
-
entries: [
|
|
151
|
-
{
|
|
152
|
-
mode: FileMode.File,
|
|
153
|
-
path: snapshotFileName,
|
|
154
|
-
type: TreeEntry.Blob,
|
|
155
|
-
value: {
|
|
156
|
-
contents: this.intervalMapKernel.serialize(serializer),
|
|
157
|
-
encoding: "utf-8",
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
],
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
return tree;
|
|
148
|
+
protected summarizeCore(serializer: IFluidSerializer, fullTree: boolean): ISummaryTreeWithStats {
|
|
149
|
+
return createSingleBlobSummary(snapshotFileName, this.intervalMapKernel.serialize(serializer));
|
|
164
150
|
}
|
|
165
151
|
|
|
166
152
|
protected reSubmitCore(content: any, localOpMetadata: unknown) {
|