@fluidframework/test-utils 2.0.0-dev-rc.5.0.0.267932 → 2.0.0-dev-rc.5.0.0.268409

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.
@@ -0,0 +1,108 @@
1
+ ## Alpha API Report File for "@fluidframework/test-utils"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { ConfigTypes } from '@fluidframework/core-interfaces';
8
+ import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
+ import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct/internal';
10
+ import { FluidDataStoreRuntime } from '@fluidframework/datastore/internal';
11
+ import { FluidObject } from '@fluidframework/core-interfaces';
12
+ import { IChannelFactory } from '@fluidframework/datastore-definitions/internal';
13
+ import { ICodeDetailsLoader } from '@fluidframework/container-definitions/internal';
14
+ import { IConfigProviderBase } from '@fluidframework/core-interfaces';
15
+ import { IContainer } from '@fluidframework/container-definitions/internal';
16
+ import { IContainerContext } from '@fluidframework/container-definitions/internal';
17
+ import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
18
+ import { IContainerRuntimeOptions } from '@fluidframework/container-runtime/internal';
19
+ import { IDataStore } from '@fluidframework/runtime-definitions/internal';
20
+ import { IDocumentService } from '@fluidframework/driver-definitions/internal';
21
+ import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
22
+ import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
23
+ import { IFluidCodeDetails } from '@fluidframework/container-definitions/internal';
24
+ import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions/internal';
25
+ import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions/internal';
26
+ import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
27
+ import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions/internal';
28
+ import { IFluidHandle } from '@fluidframework/core-interfaces';
29
+ import { IFluidLoadable } from '@fluidframework/core-interfaces';
30
+ import { IFluidModule } from '@fluidframework/container-definitions/internal';
31
+ import { IFluidModuleWithDetails } from '@fluidframework/container-definitions/internal';
32
+ import { IHostLoader } from '@fluidframework/container-definitions/internal';
33
+ import { ILoaderOptions } from '@fluidframework/container-definitions/internal';
34
+ import { ILoaderProps } from '@fluidframework/container-loader/internal';
35
+ import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime/internal';
36
+ import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions/internal';
37
+ import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
38
+ import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
39
+ import { IProvideRuntimeFactory } from '@fluidframework/container-definitions/internal';
40
+ import { IRequest } from '@fluidframework/core-interfaces';
41
+ import { IRequestHeader } from '@fluidframework/core-interfaces';
42
+ import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
43
+ import { IResponse } from '@fluidframework/core-interfaces';
44
+ import { IRuntime } from '@fluidframework/container-definitions/internal';
45
+ import { ISharedMap } from '@fluidframework/map/internal';
46
+ import { ISummarizer } from '@fluidframework/container-runtime/internal';
47
+ import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
48
+ import { ISummaryTree } from '@fluidframework/driver-definitions';
49
+ import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
50
+ import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
51
+ import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils/internal';
52
+ import { ITelemetryLoggerPropertyBags } from '@fluidframework/telemetry-utils/internal';
53
+ import { ITestDriver } from '@fluid-internal/test-driver-definitions';
54
+ import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
55
+ import { Loader } from '@fluidframework/container-loader/internal';
56
+ import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions/internal';
57
+ import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
58
+
59
+ // @alpha
60
+ export function createAndAttachContainer(source: IFluidCodeDetails, loader: IHostLoader, attachRequest: IRequest): Promise<IContainer>;
61
+
62
+ // @alpha (undocumented)
63
+ export interface IOpProcessingController {
64
+ // (undocumented)
65
+ pauseProcessing(...containers: IContainer[]): Promise<void>;
66
+ // (undocumented)
67
+ processIncoming(...containers: IContainer[]): Promise<void>;
68
+ // (undocumented)
69
+ processOutgoing(...containers: IContainer[]): Promise<void>;
70
+ // (undocumented)
71
+ resumeProcessing(...containers: IContainer[]): void;
72
+ }
73
+
74
+ // @alpha (undocumented)
75
+ export interface IProvideTestFluidObject {
76
+ // (undocumented)
77
+ readonly ITestFluidObject: ITestFluidObject;
78
+ }
79
+
80
+ // @alpha (undocumented)
81
+ export interface ITestFluidObject extends IProvideTestFluidObject, IFluidLoadable {
82
+ // (undocumented)
83
+ readonly channel: IFluidDataStoreChannel;
84
+ // (undocumented)
85
+ readonly context: IFluidDataStoreContext;
86
+ // (undocumented)
87
+ getSharedObject<T = any>(id: string): Promise<T>;
88
+ // (undocumented)
89
+ root: ISharedMap;
90
+ // (undocumented)
91
+ readonly runtime: IFluidDataStoreRuntime;
92
+ }
93
+
94
+ // @alpha (undocumented)
95
+ export class LoaderContainerTracker implements IOpProcessingController {
96
+ constructor(syncSummarizerClients?: boolean);
97
+ add<LoaderType extends IHostLoader>(loader: LoaderType): void;
98
+ ensureSynchronized(...containers: IContainer[]): Promise<void>;
99
+ pauseProcessing(...containers: IContainer[]): Promise<void>;
100
+ processIncoming(...containers: IContainer[]): Promise<void>;
101
+ processOutgoing(...containers: IContainer[]): Promise<void>;
102
+ reset(): void;
103
+ resumeProcessing(...containers: IContainer[]): IContainer[];
104
+ }
105
+
106
+ // (No @packageDocumentation comment for this package)
107
+
108
+ ```
@@ -0,0 +1,61 @@
1
+ ## Beta API Report File for "@fluidframework/test-utils"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { ConfigTypes } from '@fluidframework/core-interfaces';
8
+ import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
+ import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct/internal';
10
+ import { FluidDataStoreRuntime } from '@fluidframework/datastore/internal';
11
+ import { FluidObject } from '@fluidframework/core-interfaces';
12
+ import { IChannelFactory } from '@fluidframework/datastore-definitions/internal';
13
+ import { ICodeDetailsLoader } from '@fluidframework/container-definitions/internal';
14
+ import { IConfigProviderBase } from '@fluidframework/core-interfaces';
15
+ import { IContainer } from '@fluidframework/container-definitions/internal';
16
+ import { IContainerContext } from '@fluidframework/container-definitions/internal';
17
+ import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
18
+ import { IContainerRuntimeOptions } from '@fluidframework/container-runtime/internal';
19
+ import { IDataStore } from '@fluidframework/runtime-definitions/internal';
20
+ import { IDocumentService } from '@fluidframework/driver-definitions/internal';
21
+ import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
22
+ import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
23
+ import { IFluidCodeDetails } from '@fluidframework/container-definitions/internal';
24
+ import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions/internal';
25
+ import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions/internal';
26
+ import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
27
+ import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions/internal';
28
+ import { IFluidHandle } from '@fluidframework/core-interfaces';
29
+ import { IFluidLoadable } from '@fluidframework/core-interfaces';
30
+ import { IFluidModule } from '@fluidframework/container-definitions/internal';
31
+ import { IFluidModuleWithDetails } from '@fluidframework/container-definitions/internal';
32
+ import { IHostLoader } from '@fluidframework/container-definitions/internal';
33
+ import { ILoaderOptions } from '@fluidframework/container-definitions/internal';
34
+ import { ILoaderProps } from '@fluidframework/container-loader/internal';
35
+ import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime/internal';
36
+ import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions/internal';
37
+ import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
38
+ import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
39
+ import { IProvideRuntimeFactory } from '@fluidframework/container-definitions/internal';
40
+ import { IRequest } from '@fluidframework/core-interfaces';
41
+ import { IRequestHeader } from '@fluidframework/core-interfaces';
42
+ import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
43
+ import { IResponse } from '@fluidframework/core-interfaces';
44
+ import { IRuntime } from '@fluidframework/container-definitions/internal';
45
+ import { ISharedMap } from '@fluidframework/map/internal';
46
+ import { ISummarizer } from '@fluidframework/container-runtime/internal';
47
+ import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
48
+ import { ISummaryTree } from '@fluidframework/driver-definitions';
49
+ import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
50
+ import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
51
+ import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils/internal';
52
+ import { ITelemetryLoggerPropertyBags } from '@fluidframework/telemetry-utils/internal';
53
+ import { ITestDriver } from '@fluid-internal/test-driver-definitions';
54
+ import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
55
+ import { Loader } from '@fluidframework/container-loader/internal';
56
+ import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions/internal';
57
+ import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
58
+
59
+ // (No @packageDocumentation comment for this package)
60
+
61
+ ```
@@ -0,0 +1,61 @@
1
+ ## Public API Report File for "@fluidframework/test-utils"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { ConfigTypes } from '@fluidframework/core-interfaces';
8
+ import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
+ import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct/internal';
10
+ import { FluidDataStoreRuntime } from '@fluidframework/datastore/internal';
11
+ import { FluidObject } from '@fluidframework/core-interfaces';
12
+ import { IChannelFactory } from '@fluidframework/datastore-definitions/internal';
13
+ import { ICodeDetailsLoader } from '@fluidframework/container-definitions/internal';
14
+ import { IConfigProviderBase } from '@fluidframework/core-interfaces';
15
+ import { IContainer } from '@fluidframework/container-definitions/internal';
16
+ import { IContainerContext } from '@fluidframework/container-definitions/internal';
17
+ import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
18
+ import { IContainerRuntimeOptions } from '@fluidframework/container-runtime/internal';
19
+ import { IDataStore } from '@fluidframework/runtime-definitions/internal';
20
+ import { IDocumentService } from '@fluidframework/driver-definitions/internal';
21
+ import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
22
+ import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
23
+ import { IFluidCodeDetails } from '@fluidframework/container-definitions/internal';
24
+ import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions/internal';
25
+ import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions/internal';
26
+ import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
27
+ import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions/internal';
28
+ import { IFluidHandle } from '@fluidframework/core-interfaces';
29
+ import { IFluidLoadable } from '@fluidframework/core-interfaces';
30
+ import { IFluidModule } from '@fluidframework/container-definitions/internal';
31
+ import { IFluidModuleWithDetails } from '@fluidframework/container-definitions/internal';
32
+ import { IHostLoader } from '@fluidframework/container-definitions/internal';
33
+ import { ILoaderOptions } from '@fluidframework/container-definitions/internal';
34
+ import { ILoaderProps } from '@fluidframework/container-loader/internal';
35
+ import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime/internal';
36
+ import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions/internal';
37
+ import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
38
+ import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
39
+ import { IProvideRuntimeFactory } from '@fluidframework/container-definitions/internal';
40
+ import { IRequest } from '@fluidframework/core-interfaces';
41
+ import { IRequestHeader } from '@fluidframework/core-interfaces';
42
+ import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
43
+ import { IResponse } from '@fluidframework/core-interfaces';
44
+ import { IRuntime } from '@fluidframework/container-definitions/internal';
45
+ import { ISharedMap } from '@fluidframework/map/internal';
46
+ import { ISummarizer } from '@fluidframework/container-runtime/internal';
47
+ import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
48
+ import { ISummaryTree } from '@fluidframework/driver-definitions';
49
+ import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
50
+ import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
51
+ import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils/internal';
52
+ import { ITelemetryLoggerPropertyBags } from '@fluidframework/telemetry-utils/internal';
53
+ import { ITestDriver } from '@fluid-internal/test-driver-definitions';
54
+ import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
55
+ import { Loader } from '@fluidframework/container-loader/internal';
56
+ import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions/internal';
57
+ import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
58
+
59
+ // (No @packageDocumentation comment for this package)
60
+
61
+ ```
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/test-utils";
8
- export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/test-utils";
11
- exports.pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
11
+ exports.pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.267932\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/test-utils";
8
- export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/test-utils";
8
- export const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,4BAA4B,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.267932\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,4BAA4B,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/test-utils",
3
- "version": "2.0.0-dev-rc.5.0.0.267932",
3
+ "version": "2.0.0-dev-rc.5.0.0.268409",
4
4
  "description": "Utilities for Fluid tests",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -67,25 +67,25 @@
67
67
  "temp-directory": "nyc/.nyc_output"
68
68
  },
69
69
  "dependencies": {
70
- "@fluid-internal/test-driver-definitions": "2.0.0-dev-rc.5.0.0.267932",
71
- "@fluidframework/aqueduct": "2.0.0-dev-rc.5.0.0.267932",
72
- "@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.267932",
73
- "@fluidframework/container-loader": "2.0.0-dev-rc.5.0.0.267932",
74
- "@fluidframework/container-runtime": "2.0.0-dev-rc.5.0.0.267932",
75
- "@fluidframework/container-runtime-definitions": "2.0.0-dev-rc.5.0.0.267932",
76
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.267932",
77
- "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.267932",
78
- "@fluidframework/datastore": "2.0.0-dev-rc.5.0.0.267932",
79
- "@fluidframework/datastore-definitions": "2.0.0-dev-rc.5.0.0.267932",
80
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.267932",
81
- "@fluidframework/driver-utils": "2.0.0-dev-rc.5.0.0.267932",
82
- "@fluidframework/local-driver": "2.0.0-dev-rc.5.0.0.267932",
83
- "@fluidframework/map": "2.0.0-dev-rc.5.0.0.267932",
84
- "@fluidframework/request-handler": "2.0.0-dev-rc.5.0.0.267932",
85
- "@fluidframework/routerlicious-driver": "2.0.0-dev-rc.5.0.0.267932",
86
- "@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.267932",
87
- "@fluidframework/runtime-utils": "2.0.0-dev-rc.5.0.0.267932",
88
- "@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.267932",
70
+ "@fluid-internal/test-driver-definitions": "2.0.0-dev-rc.5.0.0.268409",
71
+ "@fluidframework/aqueduct": "2.0.0-dev-rc.5.0.0.268409",
72
+ "@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.268409",
73
+ "@fluidframework/container-loader": "2.0.0-dev-rc.5.0.0.268409",
74
+ "@fluidframework/container-runtime": "2.0.0-dev-rc.5.0.0.268409",
75
+ "@fluidframework/container-runtime-definitions": "2.0.0-dev-rc.5.0.0.268409",
76
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.268409",
77
+ "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.268409",
78
+ "@fluidframework/datastore": "2.0.0-dev-rc.5.0.0.268409",
79
+ "@fluidframework/datastore-definitions": "2.0.0-dev-rc.5.0.0.268409",
80
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.268409",
81
+ "@fluidframework/driver-utils": "2.0.0-dev-rc.5.0.0.268409",
82
+ "@fluidframework/local-driver": "2.0.0-dev-rc.5.0.0.268409",
83
+ "@fluidframework/map": "2.0.0-dev-rc.5.0.0.268409",
84
+ "@fluidframework/request-handler": "2.0.0-dev-rc.5.0.0.268409",
85
+ "@fluidframework/routerlicious-driver": "2.0.0-dev-rc.5.0.0.268409",
86
+ "@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.268409",
87
+ "@fluidframework/runtime-utils": "2.0.0-dev-rc.5.0.0.268409",
88
+ "@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.268409",
89
89
  "best-random": "^1.0.0",
90
90
  "debug": "^4.3.4",
91
91
  "mocha": "^10.2.0",
@@ -93,12 +93,12 @@
93
93
  },
94
94
  "devDependencies": {
95
95
  "@arethetypeswrong/cli": "^0.15.2",
96
- "@biomejs/biome": "^1.6.2",
97
- "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.267932",
96
+ "@biomejs/biome": "^1.7.3",
97
+ "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.268409",
98
98
  "@fluid-tools/build-cli": "^0.39.0-264124",
99
99
  "@fluidframework/build-common": "^2.0.3",
100
100
  "@fluidframework/build-tools": "^0.39.0-264124",
101
- "@fluidframework/eslint-config-fluid": "^5.1.0",
101
+ "@fluidframework/eslint-config-fluid": "^5.3.0",
102
102
  "@fluidframework/test-utils-previous": "npm:@fluidframework/test-utils@2.0.0-rc.4.0.0",
103
103
  "@microsoft/api-extractor": "^7.45.1",
104
104
  "@types/debug": "^4.1.5",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/test-utils";
9
- export const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
9
+ export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
@@ -1,434 +0,0 @@
1
- ## API Report File for "@fluidframework/test-utils"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { ConfigTypes } from '@fluidframework/core-interfaces';
8
- import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
9
- import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct/internal';
10
- import { FluidDataStoreRuntime } from '@fluidframework/datastore/internal';
11
- import { FluidObject } from '@fluidframework/core-interfaces';
12
- import { IChannelFactory } from '@fluidframework/datastore-definitions/internal';
13
- import { ICodeDetailsLoader } from '@fluidframework/container-definitions/internal';
14
- import { IConfigProviderBase } from '@fluidframework/core-interfaces';
15
- import { IContainer } from '@fluidframework/container-definitions/internal';
16
- import { IContainerContext } from '@fluidframework/container-definitions/internal';
17
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
18
- import { IContainerRuntimeOptions } from '@fluidframework/container-runtime/internal';
19
- import { IDataStore } from '@fluidframework/runtime-definitions/internal';
20
- import { IDocumentService } from '@fluidframework/driver-definitions/internal';
21
- import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
22
- import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
23
- import { IFluidCodeDetails } from '@fluidframework/container-definitions/internal';
24
- import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions/internal';
25
- import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions/internal';
26
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
27
- import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions/internal';
28
- import { IFluidHandle } from '@fluidframework/core-interfaces';
29
- import { IFluidLoadable } from '@fluidframework/core-interfaces';
30
- import { IFluidModule } from '@fluidframework/container-definitions/internal';
31
- import { IFluidModuleWithDetails } from '@fluidframework/container-definitions/internal';
32
- import { IHostLoader } from '@fluidframework/container-definitions/internal';
33
- import { ILoaderOptions } from '@fluidframework/container-definitions/internal';
34
- import { ILoaderProps } from '@fluidframework/container-loader/internal';
35
- import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime/internal';
36
- import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions/internal';
37
- import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
38
- import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
39
- import { IProvideRuntimeFactory } from '@fluidframework/container-definitions/internal';
40
- import { IRequest } from '@fluidframework/core-interfaces';
41
- import { IRequestHeader } from '@fluidframework/core-interfaces';
42
- import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
43
- import { IResponse } from '@fluidframework/core-interfaces';
44
- import { IRuntime } from '@fluidframework/container-definitions/internal';
45
- import { ISharedMap } from '@fluidframework/map/internal';
46
- import { ISummarizer } from '@fluidframework/container-runtime/internal';
47
- import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
48
- import { ISummaryTree } from '@fluidframework/driver-definitions';
49
- import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
50
- import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
51
- import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils/internal';
52
- import { ITelemetryLoggerPropertyBags } from '@fluidframework/telemetry-utils/internal';
53
- import { ITestDriver } from '@fluid-internal/test-driver-definitions';
54
- import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
55
- import { Loader } from '@fluidframework/container-loader/internal';
56
- import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions/internal';
57
- import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
58
-
59
- // @internal (undocumented)
60
- export type ChannelFactoryRegistry = Iterable<[string | undefined, IChannelFactory]>;
61
-
62
- // @alpha
63
- export function createAndAttachContainer(source: IFluidCodeDetails, loader: IHostLoader, attachRequest: IRequest): Promise<IContainer>;
64
-
65
- // @internal
66
- export const createContainerRuntimeFactoryWithDefaultDataStore: (Base: typeof ContainerRuntimeFactoryWithDefaultDataStore | undefined, ctorArgs: {
67
- defaultFactory: IFluidDataStoreFactory;
68
- registryEntries: NamedFluidDataStoreRegistryEntries;
69
- dependencyContainer?: any;
70
- requestHandlers?: RuntimeRequestHandler[];
71
- runtimeOptions?: IContainerRuntimeOptions;
72
- provideEntryPoint?: (runtime: IContainerRuntime) => Promise<FluidObject>;
73
- }) => ContainerRuntimeFactoryWithDefaultDataStore;
74
-
75
- // @internal (undocumented)
76
- export const createDocumentId: () => string;
77
-
78
- // @internal
79
- export function createLoader(packageEntries: Iterable<[IFluidCodeDetails, fluidEntryPoint]>, documentServiceFactory: IDocumentServiceFactory, urlResolver: IUrlResolver, logger?: ITelemetryBaseLogger, options?: ILoaderOptions): IHostLoader;
80
-
81
- // @internal
82
- export function createSummarizer(provider: ITestObjectProvider, container: IContainer, config?: ITestContainerConfig, summaryVersion?: string, logger?: ITelemetryBaseLogger): Promise<{
83
- container: IContainer;
84
- summarizer: ISummarizer;
85
- }>;
86
-
87
- // @internal (undocumented)
88
- export function createSummarizerCore(container: IContainer, loader: IHostLoader, summaryVersion?: string): Promise<{
89
- container: IContainer;
90
- summarizer: ISummarizer;
91
- }>;
92
-
93
- // @internal
94
- export function createSummarizerFromFactory(provider: ITestObjectProvider, container: IContainer, dataStoreFactory: IFluidDataStoreFactory, summaryVersion?: string, containerRuntimeFactoryType?: typeof ContainerRuntimeFactoryWithDefaultDataStore, registryEntries?: NamedFluidDataStoreRegistryEntries, logger?: ITelemetryBaseLogger, configProvider?: IConfigProviderBase): Promise<{
95
- container: IContainer;
96
- summarizer: ISummarizer;
97
- }>;
98
-
99
- // @internal
100
- export const createTestConfigProvider: () => ITestConfigProvider;
101
-
102
- // @internal
103
- export const createTestContainerRuntimeFactory: (containerRuntimeCtor: typeof ContainerRuntime) => {
104
- new (type: string, dataStoreFactory: IFluidDataStoreFactory, runtimeOptions?: IContainerRuntimeOptions, requestHandlers?: RuntimeRequestHandler[]): {
105
- type: string;
106
- dataStoreFactory: IFluidDataStoreFactory;
107
- runtimeOptions: IContainerRuntimeOptions;
108
- requestHandlers: RuntimeRequestHandler[];
109
- instantiateFirstTime(runtime: ContainerRuntime): Promise<void>;
110
- instantiateFromExisting(runtime: ContainerRuntime): Promise<void>;
111
- preInitialize(context: IContainerContext, existing: boolean): Promise<IRuntime & IContainerRuntime>;
112
- readonly IRuntimeFactory: any;
113
- instantiateRuntime(context: IContainerContext, existing: boolean): Promise<IRuntime>;
114
- hasInitialized(_runtime: IContainerRuntime): Promise<void>;
115
- };
116
- };
117
-
118
- // @internal (undocumented)
119
- export enum DataObjectFactoryType {
120
- // (undocumented)
121
- Primed = 0,// default
122
- // (undocumented)
123
- Test = 1
124
- }
125
-
126
- // @internal (undocumented)
127
- export const defaultTimeoutDurationMs = 250;
128
-
129
- // @internal
130
- export class EventAndErrorTrackingLogger implements ITelemetryBaseLogger, IEventAndErrorTrackingLogger {
131
- constructor(baseLogger?: ITelemetryBaseLogger | undefined);
132
- // (undocumented)
133
- registerExpectedEvent(...orderedExpectedEvents: ITelemetryGenericEventExt[]): void;
134
- // (undocumented)
135
- reportAndClearTrackedEvents(): {
136
- expectedNotFound: {
137
- index: number;
138
- event: ITelemetryGenericEventExt;
139
- }[];
140
- unexpectedErrors: ITelemetryBaseEvent[];
141
- };
142
- // (undocumented)
143
- send(event: ITelemetryBaseEvent): void;
144
- }
145
-
146
- // @internal (undocumented)
147
- export type fluidEntryPoint = SupportedExportInterfaces | IFluidModule;
148
-
149
- // @internal
150
- export function getContainerEntryPointBackCompat<T>(container: IContainer): Promise<T>;
151
-
152
- // @internal
153
- export function getDataStoreEntryPointBackCompat<T>(dataStore: IDataStore): Promise<T>;
154
-
155
- // @internal (undocumented)
156
- export function getUnexpectedLogErrorException(logger: IEventAndErrorTrackingLogger | undefined, prefix?: string): Error | undefined;
157
-
158
- // @internal
159
- export interface IDocumentIdStrategy {
160
- get(): string;
161
- reset(): void;
162
- update(resolvedUrl?: IResolvedUrl): void;
163
- }
164
-
165
- // @internal (undocumented)
166
- export interface IEventAndErrorTrackingLogger {
167
- // (undocumented)
168
- registerExpectedEvent: (...orderedExpectedEvents: ITelemetryGenericEventExt[]) => void;
169
- // (undocumented)
170
- reportAndClearTrackedEvents: () => {
171
- expectedNotFound: {
172
- index: number;
173
- event: ITelemetryGenericEventExt;
174
- }[];
175
- unexpectedErrors: ITelemetryBaseEvent[];
176
- };
177
- }
178
-
179
- // @alpha (undocumented)
180
- export interface IOpProcessingController {
181
- // (undocumented)
182
- pauseProcessing(...containers: IContainer[]): Promise<void>;
183
- // (undocumented)
184
- processIncoming(...containers: IContainer[]): Promise<void>;
185
- // (undocumented)
186
- processOutgoing(...containers: IContainer[]): Promise<void>;
187
- // (undocumented)
188
- resumeProcessing(...containers: IContainer[]): void;
189
- }
190
-
191
- // @alpha (undocumented)
192
- export interface IProvideTestFluidObject {
193
- // (undocumented)
194
- readonly ITestFluidObject: ITestFluidObject;
195
- }
196
-
197
- // @internal
198
- export interface ITestConfigProvider extends IConfigProviderBase {
199
- clear: () => void;
200
- set: (key: string, value: ConfigTypes) => void;
201
- }
202
-
203
- // @internal (undocumented)
204
- export interface ITestContainerConfig {
205
- enableAttribution?: boolean;
206
- fluidDataObjectType?: DataObjectFactoryType;
207
- forceUseCreateVersion?: true;
208
- loaderProps?: Partial<ILoaderProps>;
209
- registry?: ChannelFactoryRegistry;
210
- runtimeOptions?: IContainerRuntimeOptions;
211
- }
212
-
213
- // @alpha (undocumented)
214
- export interface ITestFluidObject extends IProvideTestFluidObject, IFluidLoadable {
215
- // (undocumented)
216
- readonly channel: IFluidDataStoreChannel;
217
- // (undocumented)
218
- readonly context: IFluidDataStoreContext;
219
- // (undocumented)
220
- getSharedObject<T = any>(id: string): Promise<T>;
221
- // (undocumented)
222
- root: ISharedMap;
223
- // (undocumented)
224
- readonly runtime: IFluidDataStoreRuntime;
225
- }
226
-
227
- // @internal (undocumented)
228
- export interface ITestObjectProvider {
229
- attachDetachedContainer(container: IContainer): Promise<void>;
230
- createContainer(entryPoint: fluidEntryPoint, loaderProps?: Partial<ILoaderProps>): Promise<IContainer>;
231
- createDetachedContainer(entryPoint: fluidEntryPoint, loaderProps?: Partial<ILoaderProps>): Promise<IContainer>;
232
- createFluidEntryPoint: (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint;
233
- createLoader(packageEntries: Iterable<[IFluidCodeDetails, fluidEntryPoint]>, loaderProps?: Partial<ILoaderProps>, forceUseCreateVersion?: boolean): IHostLoader;
234
- defaultCodeDetails: IFluidCodeDetails;
235
- documentId: string;
236
- documentServiceFactory: IDocumentServiceFactory;
237
- driver: ITestDriver;
238
- ensureSynchronized(...containers: IContainer[]): Promise<void>;
239
- loadContainer(entryPoint: fluidEntryPoint, loaderProps?: Partial<ILoaderProps>, requestHeader?: IRequestHeader, pendingLocalState?: string): Promise<IContainer>;
240
- loadTestContainer(testContainerConfig?: ITestContainerConfig, requestHeader?: IRequestHeader, pendingLocalState?: string): Promise<IContainer>;
241
- logger: ITelemetryBaseLogger;
242
- makeTestContainer(testContainerConfig?: ITestContainerConfig): Promise<IContainer>;
243
- makeTestLoader(testContainerConfig?: ITestContainerConfig): IHostLoader;
244
- opProcessingController: IOpProcessingController;
245
- reset(): void;
246
- resetLoaderContainerTracker(syncSummarizerClients?: boolean): any;
247
- tracker: IEventAndErrorTrackingLogger;
248
- type: "TestObjectProvider" | "TestObjectProviderWithVersionedLoad";
249
- updateDocumentId(url: IResolvedUrl | undefined): void;
250
- urlResolver: IUrlResolver;
251
- }
252
-
253
- // @alpha (undocumented)
254
- export class LoaderContainerTracker implements IOpProcessingController {
255
- constructor(syncSummarizerClients?: boolean);
256
- add<LoaderType extends IHostLoader>(loader: LoaderType): void;
257
- ensureSynchronized(...containers: IContainer[]): Promise<void>;
258
- pauseProcessing(...containers: IContainer[]): Promise<void>;
259
- processIncoming(...containers: IContainer[]): Promise<void>;
260
- processOutgoing(...containers: IContainer[]): Promise<void>;
261
- reset(): void;
262
- resumeProcessing(...containers: IContainer[]): IContainer[];
263
- }
264
-
265
- // @internal
266
- export class LocalCodeLoader implements ICodeDetailsLoader {
267
- constructor(packageEntries: Iterable<[IFluidCodeDetails, fluidEntryPoint]>, runtimeOptions?: IContainerRuntimeOptions);
268
- load(source: IFluidCodeDetails): Promise<IFluidModuleWithDetails>;
269
- }
270
-
271
- // @internal
272
- export const retryWithEventualValue: <T>(callback: () => Promise<T>, check: (value: T) => boolean, defaultValue: T, maxTries?: number, backOffMs?: number) => Promise<T>;
273
-
274
- // @internal
275
- export function summarizeNow(summarizer: ISummarizer, inputs?: string | IOnDemandSummarizeOptions): Promise<SummaryInfo>;
276
-
277
- // @internal
278
- export interface SummaryInfo {
279
- summaryRefSeq: number;
280
- summaryTree: ISummaryTree;
281
- summaryVersion: string;
282
- }
283
-
284
- // @internal (undocumented)
285
- export type SupportedExportInterfaces = Partial<IProvideRuntimeFactory & IProvideFluidDataStoreFactory & IProvideFluidDataStoreRegistry & IProvideFluidCodeDetailsComparer>;
286
-
287
- // @internal
288
- export const TestContainerRuntimeFactory: {
289
- new (type: string, dataStoreFactory: IFluidDataStoreFactory, runtimeOptions?: IContainerRuntimeOptions, requestHandlers?: RuntimeRequestHandler[]): {
290
- type: string;
291
- dataStoreFactory: IFluidDataStoreFactory;
292
- runtimeOptions: IContainerRuntimeOptions;
293
- requestHandlers: RuntimeRequestHandler[];
294
- instantiateFirstTime(runtime: ContainerRuntime): Promise<void>;
295
- instantiateFromExisting(runtime: ContainerRuntime): Promise<void>;
296
- preInitialize(context: IContainerContext, existing: boolean): Promise<IRuntime & IContainerRuntime>;
297
- readonly IRuntimeFactory: any;
298
- instantiateRuntime(context: IContainerContext, existing: boolean): Promise<IRuntime>;
299
- hasInitialized(_runtime: IContainerRuntime): Promise<void>;
300
- };
301
- };
302
-
303
- // @internal
304
- export class TestFluidObject implements ITestFluidObject {
305
- constructor(runtime: IFluidDataStoreRuntime, channel: IFluidDataStoreChannel, context: IFluidDataStoreContext, factoryEntriesMap: Map<string, IChannelFactory>);
306
- // (undocumented)
307
- readonly channel: IFluidDataStoreChannel;
308
- // (undocumented)
309
- readonly context: IFluidDataStoreContext;
310
- getSharedObject<T = any>(id: string): Promise<T>;
311
- // (undocumented)
312
- get handle(): IFluidHandle<this>;
313
- // (undocumented)
314
- get IFluidLoadable(): this;
315
- // (undocumented)
316
- initialize(existing: boolean): Promise<void>;
317
- // (undocumented)
318
- get ITestFluidObject(): this;
319
- // (undocumented)
320
- request(request: IRequest): Promise<IResponse>;
321
- // (undocumented)
322
- root: ISharedMap;
323
- // (undocumented)
324
- readonly runtime: IFluidDataStoreRuntime;
325
- }
326
-
327
- // @internal
328
- export class TestFluidObjectFactory implements IFluidDataStoreFactory {
329
- constructor(factoryEntries: ChannelFactoryRegistry, type?: string);
330
- // (undocumented)
331
- get IFluidDataStoreFactory(): this;
332
- // (undocumented)
333
- instantiateDataStore(context: IFluidDataStoreContext, existing: boolean): Promise<FluidDataStoreRuntime>;
334
- // (undocumented)
335
- readonly type: string;
336
- }
337
-
338
- // @internal
339
- export class TestObjectProvider implements ITestObjectProvider {
340
- constructor(LoaderConstructor: typeof Loader,
341
- driver: ITestDriver,
342
- createFluidEntryPoint: (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint);
343
- attachDetachedContainer(container: IContainer): Promise<void>;
344
- createContainer(entryPoint: fluidEntryPoint, loaderProps?: Partial<ILoaderProps>): Promise<IContainer>;
345
- createDetachedContainer(entryPoint: fluidEntryPoint, loaderProps?: Partial<ILoaderProps> | undefined): Promise<IContainer>;
346
- readonly createFluidEntryPoint: (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint;
347
- createLoader(packageEntries: Iterable<[IFluidCodeDetails, fluidEntryPoint]>, loaderProps?: Partial<ILoaderProps>): Loader;
348
- get defaultCodeDetails(): IFluidCodeDetails;
349
- get documentId(): string;
350
- get documentServiceFactory(): IDocumentServiceFactory;
351
- readonly driver: ITestDriver;
352
- ensureSynchronized(...containers: IContainer[]): Promise<void>;
353
- loadContainer(entryPoint: fluidEntryPoint, loaderProps?: Partial<ILoaderProps>, requestHeader?: IRequestHeader, pendingState?: string): Promise<IContainer>;
354
- loadTestContainer(testContainerConfig?: ITestContainerConfig, requestHeader?: IRequestHeader, pendingLocalState?: string): Promise<IContainer>;
355
- get logger(): ITelemetryBaseLogger;
356
- makeTestContainer(testContainerConfig?: ITestContainerConfig): Promise<IContainer>;
357
- makeTestLoader(testContainerConfig?: ITestContainerConfig): Loader;
358
- get opProcessingController(): IOpProcessingController;
359
- reset(): void;
360
- resetLoaderContainerTracker(syncSummarizerClients?: boolean): void;
361
- // (undocumented)
362
- get tracker(): EventAndErrorTrackingLogger;
363
- readonly type = "TestObjectProvider";
364
- updateDocumentId(resolvedUrl: IResolvedUrl | undefined): void;
365
- get urlResolver(): IUrlResolver;
366
- }
367
-
368
- // @internal
369
- export class TestObjectProviderWithVersionedLoad implements ITestObjectProvider {
370
- constructor(LoaderConstructorForCreating: typeof Loader, LoaderConstructorForLoading: typeof Loader, driverForCreating: ITestDriver, driverForLoading: ITestDriver, createFluidEntryPointForCreating: (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint, createFluidEntryPointForLoading: (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint, telemetryProps?: ITelemetryLoggerPropertyBags | undefined);
371
- attachDetachedContainer(container: IContainer): Promise<void>;
372
- createContainer(entryPoint: fluidEntryPoint, loaderProps?: Partial<ILoaderProps>): Promise<IContainer>;
373
- createDetachedContainer(entryPoint: fluidEntryPoint, loaderProps?: Partial<ILoaderProps> | undefined): Promise<IContainer>;
374
- get createFluidEntryPoint(): (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint;
375
- createLoader(packageEntries: Iterable<[IFluidCodeDetails, fluidEntryPoint]>, loaderProps?: Partial<ILoaderProps>, forceUseCreateVersion?: boolean): Loader;
376
- get defaultCodeDetails(): IFluidCodeDetails;
377
- get documentId(): string;
378
- get documentServiceFactory(): IDocumentServiceFactory;
379
- get driver(): ITestDriver;
380
- ensureSynchronized(...containers: IContainer[]): Promise<void>;
381
- loadContainer(entryPoint: fluidEntryPoint, loaderProps?: Partial<ILoaderProps>, requestHeader?: IRequestHeader, pendingState?: string): Promise<IContainer>;
382
- loadTestContainer(testContainerConfig?: ITestContainerConfig, requestHeader?: IRequestHeader, pendingLocalState?: string): Promise<IContainer>;
383
- get logger(): ITelemetryBaseLogger;
384
- makeTestContainer(testContainerConfig?: ITestContainerConfig): Promise<IContainer>;
385
- makeTestLoader(testContainerConfig?: ITestContainerConfig): Loader;
386
- get opProcessingController(): IOpProcessingController;
387
- reset(): void;
388
- resetLoaderContainerTracker(syncSummarizerClients?: boolean): void;
389
- // (undocumented)
390
- get tracker(): EventAndErrorTrackingLogger;
391
- readonly type = "TestObjectProviderWithVersionedLoad";
392
- updateDocumentId(resolvedUrl: IResolvedUrl | undefined): void;
393
- get urlResolver(): IUrlResolver;
394
- }
395
-
396
- // @internal
397
- export function timeoutAwait<T = void>(promise: PromiseLike<T>, timeoutOptions?: TimeoutWithError | TimeoutWithValue<T>): Promise<T>;
398
-
399
- // @internal
400
- export function timeoutPromise<T = void>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void, timeoutOptions?: TimeoutWithError | TimeoutWithValue<T>): Promise<T>;
401
-
402
- // @internal (undocumented)
403
- export interface TimeoutWithError {
404
- durationMs?: number;
405
- // (undocumented)
406
- errorMsg?: string;
407
- // (undocumented)
408
- reject?: true;
409
- }
410
-
411
- // @internal (undocumented)
412
- export interface TimeoutWithValue<T = void> {
413
- durationMs?: number;
414
- // (undocumented)
415
- reject: false;
416
- // (undocumented)
417
- value: T;
418
- }
419
-
420
- // @internal
421
- export function waitForContainerConnection(container: IContainer, failOnContainerClose?: boolean, timeoutOptions?: TimeoutWithError): Promise<void>;
422
-
423
- // @internal @deprecated (undocumented)
424
- export function wrapDocumentService(innerDocService: IDocumentService, uploadSummaryCb: (summaryTree: ISummaryTree, context: ISummaryContext) => ISummaryContext): IDocumentService;
425
-
426
- // @internal @deprecated (undocumented)
427
- export function wrapDocumentServiceFactory(innerDocServiceFactory: IDocumentServiceFactory, uploadSummaryCb: (summaryTree: ISummaryTree, context: ISummaryContext) => ISummaryContext): IDocumentServiceFactory;
428
-
429
- // @internal @deprecated (undocumented)
430
- export function wrapDocumentStorageService(innerDocStorageService: IDocumentStorageService, uploadSummaryCb: (summaryTree: ISummaryTree, context: ISummaryContext) => ISummaryContext): IDocumentStorageService;
431
-
432
- // (No @packageDocumentation comment for this package)
433
-
434
- ```