@fluidframework/test-runtime-utils 2.74.0 → 2.80.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @fluidframework/test-runtime-utils
2
2
 
3
+ ## 2.80.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Types not intended for consumer implementation/extension are now @sealed ([#26024](https://github.com/microsoft/FluidFramework/pull/26024)) [75a3861ba8b](https://github.com/microsoft/FluidFramework/commit/75a3861ba8bd4b1b0043bb137a17e0c8d4d3b330)
8
+
9
+ The following types are now explicitly marked as `@sealed` to indicate that they are not intended for consumer implementation or extension.
10
+ - `MockFluidDataStoreRuntime` class in `@fluidframework/test-runtime-utils`
11
+ - `IFluidParentContext` interface in `@fluidframework/runtime-definitions`
12
+ - `IFluidDataStoreContext` interface in `@fluidframework/runtime-definitions`
13
+ - `IFluidDataStoreContextDetached` interface in `@fluidframework/runtime-definitions`
14
+
3
15
  ## 2.74.0
4
16
 
5
17
  Dependency updates only.
@@ -191,7 +191,7 @@ export class MockDeltaConnection implements IDeltaConnection {
191
191
  // (undocumented)
192
192
  processMessages(messageCollection: IRuntimeMessageCollection): void;
193
193
  // (undocumented)
194
- reSubmit(content: any, localOpMetadata: unknown, squash?: boolean): void;
194
+ reSubmit(content: any, localOpMetadata: unknown, squash: boolean): void;
195
195
  // (undocumented)
196
196
  rollback?(message: any, localOpMetadata: unknown): void;
197
197
  // (undocumented)
@@ -376,7 +376,7 @@ export class MockFluidDataStoreContext implements IFluidDataStoreContext {
376
376
  uploadBlob(blob: ArrayBufferLike): Promise<IFluidHandleInternal<ArrayBufferLike>>;
377
377
  }
378
378
 
379
- // @beta @legacy
379
+ // @beta @sealed @legacy
380
380
  export class MockFluidDataStoreRuntime extends EventEmitter implements IFluidDataStoreRuntime, IFluidDataStoreChannel, IFluidHandleContext {
381
381
  constructor(overrides?: {
382
382
  clientId?: string;
@@ -490,7 +490,7 @@ export class MockFluidDataStoreRuntime extends EventEmitter implements IFluidDat
490
490
  // (undocumented)
491
491
  resolveHandle(request: IRequest): Promise<IResponse>;
492
492
  // (undocumented)
493
- reSubmit(content: any, localOpMetadata: unknown, squash?: boolean): void;
493
+ reSubmit(content: any, localOpMetadata: unknown, squash: boolean): void;
494
494
  // (undocumented)
495
495
  rollback?(message: any, localOpMetadata: unknown): void;
496
496
  // (undocumented)
@@ -1006,7 +1006,6 @@ export declare const shortCodeMap: {
1006
1006
  "0x7a2": string;
1007
1007
  "0x7a5": string;
1008
1008
  "0x7a8": string;
1009
- "0x7a9": string;
1010
1009
  "0x7aa": string;
1011
1010
  "0x7af": string;
1012
1011
  "0x7b6": string;
@@ -1284,14 +1283,10 @@ export declare const shortCodeMap: {
1284
1283
  "0x9aa": string;
1285
1284
  "0x9ab": string;
1286
1285
  "0x9ad": string;
1287
- "0x9af": string;
1288
- "0x9b0": string;
1289
1286
  "0x9b1": string;
1290
1287
  "0x9b4": string;
1291
1288
  "0x9b5": string;
1292
1289
  "0x9b6": string;
1293
- "0x9b8": string;
1294
- "0x9b9": string;
1295
1290
  "0x9ba": string;
1296
1291
  "0x9bb": string;
1297
1292
  "0x9bc": string;
@@ -1437,7 +1432,6 @@ export declare const shortCodeMap: {
1437
1432
  "0xa94": string;
1438
1433
  "0xa95": string;
1439
1434
  "0xa97": string;
1440
- "0xa98": string;
1441
1435
  "0xa99": string;
1442
1436
  "0xa9a": string;
1443
1437
  "0xa9b": string;
@@ -1893,5 +1887,9 @@ export declare const shortCodeMap: {
1893
1887
  "0xca9": string;
1894
1888
  "0xcaa": string;
1895
1889
  "0xcab": string;
1890
+ "0xcac": string;
1891
+ "0xcad": string;
1892
+ "0xcae": string;
1893
+ "0xcaf": string;
1896
1894
  };
1897
1895
  //# sourceMappingURL=assertionShortCodesMap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"assertionShortCodesMap.d.ts","sourceRoot":"","sources":["../src/assertionShortCodesMap.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+1DxB,CAAC"}
@@ -1010,7 +1010,6 @@ exports.shortCodeMap = {
1010
1010
  "0x7a2": "Must be in a field in order to attach",
1011
1011
  "0x7a5": "Must be in a field in order to detach",
1012
1012
  "0x7a8": "should be in fields",
1013
- "0x7a9": "Collision during index update",
1014
1013
  "0x7aa": "Unknown removed node ID",
1015
1014
  "0x7af": "Destination must be a new empty detached field",
1016
1015
  "0x7b6": "Attach source field must be different from current field",
@@ -1288,14 +1287,10 @@ exports.shortCodeMap = {
1288
1287
  "0x9aa": "identifier must be type string",
1289
1288
  "0x9ab": "childId is undefined in unpackChildNodesUsedRoutes",
1290
1289
  "0x9ad": "previous ordinal should not be empty",
1291
- "0x9af": "A view cannot be rebased while it has a pending transaction",
1292
- "0x9b0": "Views cannot be merged into a view while it has a pending transaction",
1293
1290
  "0x9b1": "Expected tree node to have kernel",
1294
1291
  "0x9b4": "Unexpected flex node implementation",
1295
1292
  "0x9b5": "Inheritance should work",
1296
1293
  "0x9b6": "No error to clear",
1297
- "0x9b8": "Inconsistent data: missing detached node entry",
1298
- "0x9b9": "Inconsistent data: missing node entry in latestRelevantRevision",
1299
1294
  "0x9ba": "Unable to delete unknown entry",
1300
1295
  "0x9bb": "Unable to delete unknown entry",
1301
1296
  "0x9bc": "detached node id does not exist in the detached field index",
@@ -1441,7 +1436,6 @@ exports.shortCodeMap = {
1441
1436
  "0xa94": "invalid forbidden field",
1442
1437
  "0xa95": "Invalid map schema",
1443
1438
  "0xa97": "Not in transaction",
1444
- "0xa98": "Expected transaction branch",
1445
1439
  "0xa99": "must have a parent",
1446
1440
  "0xa9a": "must have a parent",
1447
1441
  "0xa9b": "attach should happen in a node",
@@ -1896,6 +1890,10 @@ exports.shortCodeMap = {
1896
1890
  "0xca8": "missing schema",
1897
1891
  "0xca9": "missing schema",
1898
1892
  "0xcaa": "Reachable schema missing from input TreeSchema",
1899
- "0xcab": "missing kind"
1893
+ "0xcab": "missing kind",
1894
+ "0xcac": "Unexpected branch implementation",
1895
+ "0xcad": "Unexpected branch implementation",
1896
+ "0xcae": "The outer transaction should be ending",
1897
+ "0xcaf": "Unexpected commit in transaction"
1900
1898
  };
1901
1899
  //# sourceMappingURL=assertionShortCodesMap.js.map