@fluidframework/container-runtime 2.70.0-361092 → 2.70.0-361248
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/container-runtime.test-files.tar +0 -0
- package/dist/containerRuntime.d.ts +5 -5
- package/dist/containerRuntime.js +5 -5
- package/dist/containerRuntime.js.map +1 -1
- package/dist/messageTypes.d.ts +1 -1
- package/dist/messageTypes.js +1 -1
- package/dist/messageTypes.js.map +1 -1
- package/dist/opLifecycle/duplicateBatchDetector.d.ts +2 -2
- package/dist/opLifecycle/duplicateBatchDetector.js +2 -2
- package/dist/opLifecycle/duplicateBatchDetector.js.map +1 -1
- package/dist/opLifecycle/opGroupingManager.d.ts +2 -2
- package/dist/opLifecycle/opGroupingManager.d.ts.map +1 -1
- package/dist/opLifecycle/opGroupingManager.js +5 -3
- package/dist/opLifecycle/opGroupingManager.js.map +1 -1
- package/dist/opLifecycle/opSerialization.d.ts +2 -2
- package/dist/opLifecycle/opSerialization.js +2 -2
- package/dist/opLifecycle/opSerialization.js.map +1 -1
- package/dist/opLifecycle/opSplitter.d.ts +1 -1
- package/dist/opLifecycle/opSplitter.js +1 -1
- package/dist/opLifecycle/opSplitter.js.map +1 -1
- package/dist/opLifecycle/outbox.d.ts +2 -2
- package/dist/opLifecycle/outbox.js +2 -2
- package/dist/opLifecycle/outbox.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/pendingStateManager.d.ts +1 -1
- package/dist/pendingStateManager.js +1 -1
- package/dist/pendingStateManager.js.map +1 -1
- package/dist/storageServiceWithAttachBlobs.d.ts +7 -7
- package/dist/storageServiceWithAttachBlobs.js +7 -7
- package/dist/storageServiceWithAttachBlobs.js.map +1 -1
- package/dist/summary/documentSchema.d.ts +1 -1
- package/dist/summary/documentSchema.js +1 -1
- package/dist/summary/documentSchema.js.map +1 -1
- package/dist/summary/summaryFormat.d.ts +6 -6
- package/dist/summary/summaryFormat.js.map +1 -1
- package/lib/containerRuntime.d.ts +5 -5
- package/lib/containerRuntime.js +5 -5
- package/lib/containerRuntime.js.map +1 -1
- package/lib/messageTypes.d.ts +1 -1
- package/lib/messageTypes.js +1 -1
- package/lib/messageTypes.js.map +1 -1
- package/lib/opLifecycle/duplicateBatchDetector.d.ts +2 -2
- package/lib/opLifecycle/duplicateBatchDetector.js +2 -2
- package/lib/opLifecycle/duplicateBatchDetector.js.map +1 -1
- package/lib/opLifecycle/opGroupingManager.d.ts +2 -2
- package/lib/opLifecycle/opGroupingManager.d.ts.map +1 -1
- package/lib/opLifecycle/opGroupingManager.js +5 -3
- package/lib/opLifecycle/opGroupingManager.js.map +1 -1
- package/lib/opLifecycle/opSerialization.d.ts +2 -2
- package/lib/opLifecycle/opSerialization.js +2 -2
- package/lib/opLifecycle/opSerialization.js.map +1 -1
- package/lib/opLifecycle/opSplitter.d.ts +1 -1
- package/lib/opLifecycle/opSplitter.js +1 -1
- package/lib/opLifecycle/opSplitter.js.map +1 -1
- package/lib/opLifecycle/outbox.d.ts +2 -2
- package/lib/opLifecycle/outbox.js +2 -2
- package/lib/opLifecycle/outbox.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/pendingStateManager.d.ts +1 -1
- package/lib/pendingStateManager.js +1 -1
- package/lib/pendingStateManager.js.map +1 -1
- package/lib/storageServiceWithAttachBlobs.d.ts +7 -7
- package/lib/storageServiceWithAttachBlobs.js +7 -7
- package/lib/storageServiceWithAttachBlobs.js.map +1 -1
- package/lib/summary/documentSchema.d.ts +1 -1
- package/lib/summary/documentSchema.js +1 -1
- package/lib/summary/documentSchema.js.map +1 -1
- package/lib/summary/summaryFormat.d.ts +6 -6
- package/lib/summary/summaryFormat.js.map +1 -1
- package/package.json +17 -17
- package/src/containerRuntime.ts +5 -5
- package/src/messageTypes.ts +1 -1
- package/src/opLifecycle/duplicateBatchDetector.ts +2 -2
- package/src/opLifecycle/opGroupingManager.ts +7 -4
- package/src/opLifecycle/opSerialization.ts +2 -2
- package/src/opLifecycle/opSplitter.ts +1 -1
- package/src/opLifecycle/outbox.ts +2 -2
- package/src/packageVersion.ts +1 -1
- package/src/pendingStateManager.ts +1 -1
- package/src/storageServiceWithAttachBlobs.ts +7 -7
- package/src/summary/documentSchema.ts +1 -1
- package/src/summary/summaryFormat.ts +6 -6
|
Binary file
|
|
@@ -581,7 +581,7 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
581
581
|
* Api to fetch the snapshot from the service for a loadingGroupIds.
|
|
582
582
|
* @param loadingGroupIds - LoadingGroupId for which the snapshot is asked for.
|
|
583
583
|
* @param pathParts - Parts of the path, which we want to extract from the snapshot tree.
|
|
584
|
-
* @returns
|
|
584
|
+
* @returns snapshotTree and the sequence number of the snapshot.
|
|
585
585
|
*/
|
|
586
586
|
getSnapshotForLoadingGroupId(loadingGroupIds: string[], pathParts: string[]): Promise<{
|
|
587
587
|
snapshotTree: ISnapshotTree;
|
|
@@ -593,7 +593,7 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
593
593
|
* @param pathParts - Part of the path, which we want to extract from the snapshot tree.
|
|
594
594
|
* @param hasIsolatedChannels - whether the channels are present inside ".channels" subtree. Older
|
|
595
595
|
* snapshots will not have trees inside ".channels", so check that.
|
|
596
|
-
* @returns
|
|
596
|
+
* @returns requested snapshot tree based on the path parts.
|
|
597
597
|
*/
|
|
598
598
|
private getSnapshotTreeForPath;
|
|
599
599
|
/**
|
|
@@ -698,7 +698,7 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
698
698
|
/**
|
|
699
699
|
* Flush the current batch of ops to the ordering service for sequencing
|
|
700
700
|
* This method is not expected to be called in the middle of a batch.
|
|
701
|
-
* @remarks
|
|
701
|
+
* @remarks If it throws (e.g. if the batch is too large to send), the container will be closed.
|
|
702
702
|
*
|
|
703
703
|
* @param resubmitInfo - If defined, indicates this is a resubmission of a batch with the given Batch info needed for resubmit.
|
|
704
704
|
*/
|
|
@@ -771,7 +771,7 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
771
771
|
/**
|
|
772
772
|
* Builds the Summary tree including all the channels and the container state.
|
|
773
773
|
*
|
|
774
|
-
* @remarks
|
|
774
|
+
* @remarks Unfortunately, this function is accessed in a non-typesafe way by a legacy first-party partner,
|
|
775
775
|
* so until we can provide a proper API for their scenario, we need to ensure this function doesn't change.
|
|
776
776
|
*/
|
|
777
777
|
private summarizeInternal;
|
|
@@ -905,7 +905,7 @@ export declare class ContainerRuntime extends TypedEventEmitter<IContainerRuntim
|
|
|
905
905
|
* Emit "dirty" or "saved" event based on the current dirty state of the document.
|
|
906
906
|
* This must be called every time the states underlying the dirty state change.
|
|
907
907
|
*
|
|
908
|
-
* @privateRemarks
|
|
908
|
+
* @privateRemarks It's helpful to think of this as an event handler registered
|
|
909
909
|
* for hypothetical "changed" events for PendingStateManager, Outbox, and Container Attach machinery.
|
|
910
910
|
* But those events don't exist so we manually call this wherever we know those changes happen.
|
|
911
911
|
*/
|
package/dist/containerRuntime.js
CHANGED
|
@@ -1259,7 +1259,7 @@ class ContainerRuntime extends client_utils_1.TypedEventEmitter {
|
|
|
1259
1259
|
* Api to fetch the snapshot from the service for a loadingGroupIds.
|
|
1260
1260
|
* @param loadingGroupIds - LoadingGroupId for which the snapshot is asked for.
|
|
1261
1261
|
* @param pathParts - Parts of the path, which we want to extract from the snapshot tree.
|
|
1262
|
-
* @returns
|
|
1262
|
+
* @returns snapshotTree and the sequence number of the snapshot.
|
|
1263
1263
|
*/
|
|
1264
1264
|
async getSnapshotForLoadingGroupId(loadingGroupIds, pathParts) {
|
|
1265
1265
|
const sortedLoadingGroupIds = loadingGroupIds.sort();
|
|
@@ -1342,7 +1342,7 @@ class ContainerRuntime extends client_utils_1.TypedEventEmitter {
|
|
|
1342
1342
|
* @param pathParts - Part of the path, which we want to extract from the snapshot tree.
|
|
1343
1343
|
* @param hasIsolatedChannels - whether the channels are present inside ".channels" subtree. Older
|
|
1344
1344
|
* snapshots will not have trees inside ".channels", so check that.
|
|
1345
|
-
* @returns
|
|
1345
|
+
* @returns requested snapshot tree based on the path parts.
|
|
1346
1346
|
*/
|
|
1347
1347
|
getSnapshotTreeForPath(snapshotTree, pathParts, hasIsolatedChannels) {
|
|
1348
1348
|
let childTree = snapshotTree;
|
|
@@ -2074,7 +2074,7 @@ class ContainerRuntime extends client_utils_1.TypedEventEmitter {
|
|
|
2074
2074
|
/**
|
|
2075
2075
|
* Flush the current batch of ops to the ordering service for sequencing
|
|
2076
2076
|
* This method is not expected to be called in the middle of a batch.
|
|
2077
|
-
* @remarks
|
|
2077
|
+
* @remarks If it throws (e.g. if the batch is too large to send), the container will be closed.
|
|
2078
2078
|
*
|
|
2079
2079
|
* @param resubmitInfo - If defined, indicates this is a resubmission of a batch with the given Batch info needed for resubmit.
|
|
2080
2080
|
*/
|
|
@@ -2281,7 +2281,7 @@ class ContainerRuntime extends client_utils_1.TypedEventEmitter {
|
|
|
2281
2281
|
/**
|
|
2282
2282
|
* Builds the Summary tree including all the channels and the container state.
|
|
2283
2283
|
*
|
|
2284
|
-
* @remarks
|
|
2284
|
+
* @remarks Unfortunately, this function is accessed in a non-typesafe way by a legacy first-party partner,
|
|
2285
2285
|
* so until we can provide a proper API for their scenario, we need to ensure this function doesn't change.
|
|
2286
2286
|
*/
|
|
2287
2287
|
async summarizeInternal(fullTree, trackState, telemetryContext) {
|
|
@@ -2823,7 +2823,7 @@ class ContainerRuntime extends client_utils_1.TypedEventEmitter {
|
|
|
2823
2823
|
* Emit "dirty" or "saved" event based on the current dirty state of the document.
|
|
2824
2824
|
* This must be called every time the states underlying the dirty state change.
|
|
2825
2825
|
*
|
|
2826
|
-
* @privateRemarks
|
|
2826
|
+
* @privateRemarks It's helpful to think of this as an event handler registered
|
|
2827
2827
|
* for hypothetical "changed" events for PendingStateManager, Outbox, and Container Attach machinery.
|
|
2828
2828
|
* But those events don't exist so we manually call this wherever we know those changes happen.
|
|
2829
2829
|
*/
|