@fluidframework/test-utils 2.0.0-dev-rc.3.0.0.250606 → 2.0.0-dev-rc.3.0.0.254274
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/api-report/test-utils.api.md +68 -48
- package/dist/DriverWrappers.d.ts +1 -1
- package/dist/DriverWrappers.d.ts.map +1 -1
- package/dist/DriverWrappers.js.map +1 -1
- package/dist/TestSummaryUtils.d.ts +4 -4
- package/dist/TestSummaryUtils.d.ts.map +1 -1
- package/dist/TestSummaryUtils.js +12 -12
- package/dist/TestSummaryUtils.js.map +1 -1
- package/dist/containerUtils.d.ts +2 -2
- package/dist/containerUtils.d.ts.map +1 -1
- package/dist/containerUtils.js +3 -3
- package/dist/containerUtils.js.map +1 -1
- package/dist/debug.d.ts.map +1 -1
- package/dist/debug.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +1 -1
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/interfaces.js.map +1 -1
- package/dist/loaderContainerTracker.d.ts +1 -1
- package/dist/loaderContainerTracker.d.ts.map +1 -1
- package/dist/loaderContainerTracker.js +13 -13
- package/dist/loaderContainerTracker.js.map +1 -1
- package/dist/localCodeLoader.d.ts +3 -3
- package/dist/localCodeLoader.d.ts.map +1 -1
- package/dist/localCodeLoader.js +4 -4
- package/dist/localCodeLoader.js.map +1 -1
- package/dist/localLoader.d.ts +2 -2
- package/dist/localLoader.d.ts.map +1 -1
- package/dist/localLoader.js +2 -2
- package/dist/localLoader.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/retry.js +2 -2
- package/dist/retry.js.map +1 -1
- package/dist/test-utils-alpha.d.ts +38 -37
- package/dist/test-utils-beta.d.ts +40 -37
- package/dist/test-utils-public.d.ts +40 -37
- package/dist/test-utils-untrimmed.d.ts +71 -50
- package/dist/testContainerRuntimeFactory.d.ts +5 -5
- package/dist/testContainerRuntimeFactory.d.ts.map +1 -1
- package/dist/testContainerRuntimeFactory.js +16 -14
- package/dist/testContainerRuntimeFactory.js.map +1 -1
- package/dist/testContainerRuntimeFactoryWithDefaultDataStore.d.ts +5 -5
- package/dist/testContainerRuntimeFactoryWithDefaultDataStore.d.ts.map +1 -1
- package/dist/testContainerRuntimeFactoryWithDefaultDataStore.js +2 -2
- package/dist/testContainerRuntimeFactoryWithDefaultDataStore.js.map +1 -1
- package/dist/testFluidObject.d.ts +2 -2
- package/dist/testFluidObject.d.ts.map +1 -1
- package/dist/testFluidObject.js +7 -7
- package/dist/testFluidObject.js.map +1 -1
- package/dist/testObjectProvider.d.ts +40 -20
- package/dist/testObjectProvider.d.ts.map +1 -1
- package/dist/testObjectProvider.js +61 -44
- package/dist/testObjectProvider.js.map +1 -1
- package/dist/timeoutUtils.js +4 -4
- package/dist/timeoutUtils.js.map +1 -1
- package/lib/DriverWrappers.d.ts +1 -1
- package/lib/DriverWrappers.d.ts.map +1 -1
- package/lib/DriverWrappers.js.map +1 -1
- package/lib/TestSummaryUtils.d.ts +4 -4
- package/lib/TestSummaryUtils.d.ts.map +1 -1
- package/lib/TestSummaryUtils.js +4 -4
- package/lib/TestSummaryUtils.js.map +1 -1
- package/lib/containerUtils.d.ts +2 -2
- package/lib/containerUtils.d.ts.map +1 -1
- package/lib/containerUtils.js +1 -1
- package/lib/containerUtils.js.map +1 -1
- package/lib/debug.d.ts.map +1 -1
- package/lib/debug.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/interfaces.d.ts +1 -1
- package/lib/interfaces.d.ts.map +1 -1
- package/lib/interfaces.js.map +1 -1
- package/lib/loaderContainerTracker.d.ts +1 -1
- package/lib/loaderContainerTracker.d.ts.map +1 -1
- package/lib/loaderContainerTracker.js +2 -2
- package/lib/loaderContainerTracker.js.map +1 -1
- package/lib/localCodeLoader.d.ts +3 -3
- package/lib/localCodeLoader.d.ts.map +1 -1
- package/lib/localCodeLoader.js +2 -2
- package/lib/localCodeLoader.js.map +1 -1
- package/lib/localLoader.d.ts +2 -2
- package/lib/localLoader.d.ts.map +1 -1
- package/lib/localLoader.js +1 -1
- package/lib/localLoader.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/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/test-utils-alpha.d.ts +38 -37
- package/lib/test-utils-beta.d.ts +40 -37
- package/lib/test-utils-public.d.ts +40 -37
- package/lib/test-utils-untrimmed.d.ts +71 -50
- package/lib/testContainerRuntimeFactory.d.ts +5 -5
- package/lib/testContainerRuntimeFactory.d.ts.map +1 -1
- package/lib/testContainerRuntimeFactory.js +10 -6
- package/lib/testContainerRuntimeFactory.js.map +1 -1
- package/lib/testContainerRuntimeFactoryWithDefaultDataStore.d.ts +5 -5
- package/lib/testContainerRuntimeFactoryWithDefaultDataStore.d.ts.map +1 -1
- package/lib/testContainerRuntimeFactoryWithDefaultDataStore.js +1 -1
- package/lib/testContainerRuntimeFactoryWithDefaultDataStore.js.map +1 -1
- package/lib/testFluidObject.d.ts +2 -2
- package/lib/testFluidObject.d.ts.map +1 -1
- package/lib/testFluidObject.js +3 -3
- package/lib/testFluidObject.js.map +1 -1
- package/lib/testObjectProvider.d.ts +40 -20
- package/lib/testObjectProvider.d.ts.map +1 -1
- package/lib/testObjectProvider.js +56 -39
- package/lib/testObjectProvider.js.map +1 -1
- package/lib/timeoutUtils.js +1 -1
- package/lib/timeoutUtils.js.map +1 -1
- package/lib/tsdoc-metadata.json +11 -0
- package/package.json +26 -35
- package/src/DriverWrappers.ts +1 -1
- package/src/TestSummaryUtils.ts +11 -6
- package/src/containerUtils.ts +4 -3
- package/src/debug.ts +1 -0
- package/src/index.ts +1 -0
- package/src/interfaces.ts +1 -1
- package/src/loaderContainerTracker.ts +6 -4
- package/src/localCodeLoader.ts +6 -5
- package/src/localLoader.ts +4 -3
- package/src/packageVersion.ts +1 -1
- package/src/retry.ts +1 -1
- package/src/testContainerRuntimeFactory.ts +14 -9
- package/src/testContainerRuntimeFactoryWithDefaultDataStore.ts +5 -5
- package/src/testFluidObject.ts +5 -4
- package/src/testObjectProvider.ts +120 -70
- package/src/timeoutUtils.ts +1 -1
- package/lib/test/timeoutUtils.spec.js +0 -165
- package/lib/test/timeoutUtils.spec.js.map +0 -1
- package/lib/test/types/validateTestUtilsPrevious.generated.js +0 -90
- package/lib/test/types/validateTestUtilsPrevious.generated.js.map +0 -1
|
@@ -1,53 +1,54 @@
|
|
|
1
1
|
import { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
2
|
-
import { ContainerRuntime } from '@fluidframework/container-runtime';
|
|
3
|
-
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct';
|
|
4
|
-
import { FluidDataStoreRuntime } from '@fluidframework/datastore';
|
|
2
|
+
import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
|
|
3
|
+
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct/internal';
|
|
4
|
+
import { FluidDataStoreRuntime } from '@fluidframework/datastore/internal';
|
|
5
5
|
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
6
6
|
import { IChannelFactory } from '@fluidframework/datastore-definitions';
|
|
7
|
-
import { ICodeDetailsLoader } from '@fluidframework/container-definitions';
|
|
7
|
+
import { ICodeDetailsLoader } from '@fluidframework/container-definitions/internal';
|
|
8
8
|
import { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IContainer } from '@fluidframework/container-definitions';
|
|
10
|
-
import { IContainerContext } from '@fluidframework/container-definitions';
|
|
11
|
-
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions';
|
|
12
|
-
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime';
|
|
13
|
-
import { IDataStore } from '@fluidframework/runtime-definitions';
|
|
14
|
-
import { IDocumentService } from '@fluidframework/driver-definitions';
|
|
15
|
-
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
16
|
-
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
17
|
-
import { IFluidCodeDetails } from '@fluidframework/container-definitions';
|
|
18
|
-
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
|
|
19
|
-
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
|
|
20
|
-
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
9
|
+
import { IContainer } from '@fluidframework/container-definitions/internal';
|
|
10
|
+
import { IContainerContext } from '@fluidframework/container-definitions/internal';
|
|
11
|
+
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
|
|
12
|
+
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime/internal';
|
|
13
|
+
import { IDataStore } from '@fluidframework/runtime-definitions/internal';
|
|
14
|
+
import { IDocumentService } from '@fluidframework/driver-definitions/internal';
|
|
15
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
|
|
16
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
|
|
17
|
+
import { IFluidCodeDetails } from '@fluidframework/container-definitions/internal';
|
|
18
|
+
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions/internal';
|
|
19
|
+
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions/internal';
|
|
20
|
+
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
|
|
21
21
|
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
|
|
22
22
|
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
23
23
|
import { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
24
|
-
import { IFluidModule } from '@fluidframework/container-definitions';
|
|
25
|
-
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions';
|
|
26
|
-
import { IHostLoader } from '@fluidframework/container-definitions';
|
|
27
|
-
import { ILoaderOptions } from '@fluidframework/container-definitions';
|
|
28
|
-
import { ILoaderProps } from '@fluidframework/container-loader';
|
|
29
|
-
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime';
|
|
30
|
-
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions';
|
|
31
|
-
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
32
|
-
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
|
|
33
|
-
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions';
|
|
24
|
+
import { IFluidModule } from '@fluidframework/container-definitions/internal';
|
|
25
|
+
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions/internal';
|
|
26
|
+
import { IHostLoader } from '@fluidframework/container-definitions/internal';
|
|
27
|
+
import { ILoaderOptions } from '@fluidframework/container-definitions/internal';
|
|
28
|
+
import { ILoaderProps } from '@fluidframework/container-loader/internal';
|
|
29
|
+
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime/internal';
|
|
30
|
+
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions/internal';
|
|
31
|
+
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
|
|
32
|
+
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
|
|
33
|
+
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions/internal';
|
|
34
34
|
import { IRequest } from '@fluidframework/core-interfaces';
|
|
35
35
|
import { IRequestHeader } from '@fluidframework/core-interfaces';
|
|
36
|
-
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
36
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
|
|
37
37
|
import { IResponse } from '@fluidframework/core-interfaces';
|
|
38
|
-
import { IRuntime } from '@fluidframework/container-definitions';
|
|
38
|
+
import { IRuntime } from '@fluidframework/container-definitions/internal';
|
|
39
39
|
import { ISharedMap } from '@fluidframework/map';
|
|
40
|
-
import { ISummarizer } from '@fluidframework/container-runtime';
|
|
41
|
-
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
40
|
+
import { ISummarizer } from '@fluidframework/container-runtime/internal';
|
|
41
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
|
|
42
42
|
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
43
43
|
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
44
44
|
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
45
45
|
import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils';
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
46
|
+
import { ITelemetryLoggerPropertyBags } from '@fluidframework/telemetry-utils/internal';
|
|
47
|
+
import { ITestDriver } from '@fluid-internal/test-driver-definitions';
|
|
48
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
|
|
49
|
+
import { Loader } from '@fluidframework/container-loader/internal';
|
|
50
|
+
import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions/internal';
|
|
51
|
+
import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
|
|
51
52
|
|
|
52
53
|
/* Excluded from this release type: ChannelFactoryRegistry */
|
|
53
54
|
|
|
@@ -92,6 +93,8 @@ export declare function createAndAttachContainer(source: IFluidCodeDetails, load
|
|
|
92
93
|
|
|
93
94
|
/* Excluded from this release type: IDocumentIdStrategy */
|
|
94
95
|
|
|
96
|
+
/* Excluded from this release type: IEventAndErrorTrackingLogger */
|
|
97
|
+
|
|
95
98
|
/**
|
|
96
99
|
* @alpha
|
|
97
100
|
*/
|
|
@@ -113,8 +116,6 @@ export declare interface IProvideTestFluidObject {
|
|
|
113
116
|
|
|
114
117
|
/* Excluded from this release type: ITestContainerConfig */
|
|
115
118
|
|
|
116
|
-
/* Excluded from this release type: ITestDriver */
|
|
117
|
-
|
|
118
119
|
/**
|
|
119
120
|
* @alpha
|
|
120
121
|
*/
|
|
@@ -1,53 +1,54 @@
|
|
|
1
1
|
import { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
2
|
-
import { ContainerRuntime } from '@fluidframework/container-runtime';
|
|
3
|
-
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct';
|
|
4
|
-
import { FluidDataStoreRuntime } from '@fluidframework/datastore';
|
|
2
|
+
import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
|
|
3
|
+
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct/internal';
|
|
4
|
+
import { FluidDataStoreRuntime } from '@fluidframework/datastore/internal';
|
|
5
5
|
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
6
6
|
import { IChannelFactory } from '@fluidframework/datastore-definitions';
|
|
7
|
-
import { ICodeDetailsLoader } from '@fluidframework/container-definitions';
|
|
7
|
+
import { ICodeDetailsLoader } from '@fluidframework/container-definitions/internal';
|
|
8
8
|
import { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IContainer } from '@fluidframework/container-definitions';
|
|
10
|
-
import { IContainerContext } from '@fluidframework/container-definitions';
|
|
11
|
-
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions';
|
|
12
|
-
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime';
|
|
13
|
-
import { IDataStore } from '@fluidframework/runtime-definitions';
|
|
14
|
-
import { IDocumentService } from '@fluidframework/driver-definitions';
|
|
15
|
-
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
16
|
-
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
17
|
-
import { IFluidCodeDetails } from '@fluidframework/container-definitions';
|
|
18
|
-
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
|
|
19
|
-
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
|
|
20
|
-
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
9
|
+
import { IContainer } from '@fluidframework/container-definitions/internal';
|
|
10
|
+
import { IContainerContext } from '@fluidframework/container-definitions/internal';
|
|
11
|
+
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
|
|
12
|
+
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime/internal';
|
|
13
|
+
import { IDataStore } from '@fluidframework/runtime-definitions/internal';
|
|
14
|
+
import { IDocumentService } from '@fluidframework/driver-definitions/internal';
|
|
15
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
|
|
16
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
|
|
17
|
+
import { IFluidCodeDetails } from '@fluidframework/container-definitions/internal';
|
|
18
|
+
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions/internal';
|
|
19
|
+
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions/internal';
|
|
20
|
+
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
|
|
21
21
|
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
|
|
22
22
|
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
23
23
|
import { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
24
|
-
import { IFluidModule } from '@fluidframework/container-definitions';
|
|
25
|
-
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions';
|
|
26
|
-
import { IHostLoader } from '@fluidframework/container-definitions';
|
|
27
|
-
import { ILoaderOptions } from '@fluidframework/container-definitions';
|
|
28
|
-
import { ILoaderProps } from '@fluidframework/container-loader';
|
|
29
|
-
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime';
|
|
30
|
-
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions';
|
|
31
|
-
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
32
|
-
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
|
|
33
|
-
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions';
|
|
24
|
+
import { IFluidModule } from '@fluidframework/container-definitions/internal';
|
|
25
|
+
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions/internal';
|
|
26
|
+
import { IHostLoader } from '@fluidframework/container-definitions/internal';
|
|
27
|
+
import { ILoaderOptions } from '@fluidframework/container-definitions/internal';
|
|
28
|
+
import { ILoaderProps } from '@fluidframework/container-loader/internal';
|
|
29
|
+
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime/internal';
|
|
30
|
+
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions/internal';
|
|
31
|
+
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
|
|
32
|
+
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
|
|
33
|
+
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions/internal';
|
|
34
34
|
import { IRequest } from '@fluidframework/core-interfaces';
|
|
35
35
|
import { IRequestHeader } from '@fluidframework/core-interfaces';
|
|
36
|
-
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
36
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
|
|
37
37
|
import { IResponse } from '@fluidframework/core-interfaces';
|
|
38
|
-
import { IRuntime } from '@fluidframework/container-definitions';
|
|
38
|
+
import { IRuntime } from '@fluidframework/container-definitions/internal';
|
|
39
39
|
import { ISharedMap } from '@fluidframework/map';
|
|
40
|
-
import { ISummarizer } from '@fluidframework/container-runtime';
|
|
41
|
-
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
40
|
+
import { ISummarizer } from '@fluidframework/container-runtime/internal';
|
|
41
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
|
|
42
42
|
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
43
43
|
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
44
44
|
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
45
45
|
import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils';
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
46
|
+
import { ITelemetryLoggerPropertyBags } from '@fluidframework/telemetry-utils/internal';
|
|
47
|
+
import { ITestDriver } from '@fluid-internal/test-driver-definitions';
|
|
48
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
|
|
49
|
+
import { Loader } from '@fluidframework/container-loader/internal';
|
|
50
|
+
import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions/internal';
|
|
51
|
+
import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
|
|
51
52
|
|
|
52
53
|
/* Excluded from this release type: ChannelFactoryRegistry */
|
|
53
54
|
|
|
@@ -109,6 +110,8 @@ import { RuntimeRequestHandler } from '@fluidframework/request-handler';
|
|
|
109
110
|
|
|
110
111
|
/* Excluded from this release type: IDocumentStorageService */
|
|
111
112
|
|
|
113
|
+
/* Excluded from this release type: IEventAndErrorTrackingLogger */
|
|
114
|
+
|
|
112
115
|
/* Excluded from this release type: IFluidCodeDetails */
|
|
113
116
|
|
|
114
117
|
/* Excluded from this release type: IFluidDataStoreChannel */
|
|
@@ -149,12 +152,12 @@ import { RuntimeRequestHandler } from '@fluidframework/request-handler';
|
|
|
149
152
|
|
|
150
153
|
/* Excluded from this release type: ISummaryContext */
|
|
151
154
|
|
|
155
|
+
/* Excluded from this release type: ITelemetryLoggerPropertyBags */
|
|
156
|
+
|
|
152
157
|
/* Excluded from this release type: ITestConfigProvider */
|
|
153
158
|
|
|
154
159
|
/* Excluded from this release type: ITestContainerConfig */
|
|
155
160
|
|
|
156
|
-
/* Excluded from this release type: ITestDriver */
|
|
157
|
-
|
|
158
161
|
/* Excluded from this release type: ITestFluidObject */
|
|
159
162
|
|
|
160
163
|
/* Excluded from this release type: ITestObjectProvider */
|
|
@@ -1,53 +1,54 @@
|
|
|
1
1
|
import { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
2
|
-
import { ContainerRuntime } from '@fluidframework/container-runtime';
|
|
3
|
-
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct';
|
|
4
|
-
import { FluidDataStoreRuntime } from '@fluidframework/datastore';
|
|
2
|
+
import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
|
|
3
|
+
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct/internal';
|
|
4
|
+
import { FluidDataStoreRuntime } from '@fluidframework/datastore/internal';
|
|
5
5
|
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
6
6
|
import { IChannelFactory } from '@fluidframework/datastore-definitions';
|
|
7
|
-
import { ICodeDetailsLoader } from '@fluidframework/container-definitions';
|
|
7
|
+
import { ICodeDetailsLoader } from '@fluidframework/container-definitions/internal';
|
|
8
8
|
import { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IContainer } from '@fluidframework/container-definitions';
|
|
10
|
-
import { IContainerContext } from '@fluidframework/container-definitions';
|
|
11
|
-
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions';
|
|
12
|
-
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime';
|
|
13
|
-
import { IDataStore } from '@fluidframework/runtime-definitions';
|
|
14
|
-
import { IDocumentService } from '@fluidframework/driver-definitions';
|
|
15
|
-
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
16
|
-
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
17
|
-
import { IFluidCodeDetails } from '@fluidframework/container-definitions';
|
|
18
|
-
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
|
|
19
|
-
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
|
|
20
|
-
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
9
|
+
import { IContainer } from '@fluidframework/container-definitions/internal';
|
|
10
|
+
import { IContainerContext } from '@fluidframework/container-definitions/internal';
|
|
11
|
+
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
|
|
12
|
+
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime/internal';
|
|
13
|
+
import { IDataStore } from '@fluidframework/runtime-definitions/internal';
|
|
14
|
+
import { IDocumentService } from '@fluidframework/driver-definitions/internal';
|
|
15
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
|
|
16
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
|
|
17
|
+
import { IFluidCodeDetails } from '@fluidframework/container-definitions/internal';
|
|
18
|
+
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions/internal';
|
|
19
|
+
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions/internal';
|
|
20
|
+
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
|
|
21
21
|
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
|
|
22
22
|
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
23
23
|
import { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
24
|
-
import { IFluidModule } from '@fluidframework/container-definitions';
|
|
25
|
-
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions';
|
|
26
|
-
import { IHostLoader } from '@fluidframework/container-definitions';
|
|
27
|
-
import { ILoaderOptions } from '@fluidframework/container-definitions';
|
|
28
|
-
import { ILoaderProps } from '@fluidframework/container-loader';
|
|
29
|
-
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime';
|
|
30
|
-
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions';
|
|
31
|
-
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
32
|
-
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
|
|
33
|
-
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions';
|
|
24
|
+
import { IFluidModule } from '@fluidframework/container-definitions/internal';
|
|
25
|
+
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions/internal';
|
|
26
|
+
import { IHostLoader } from '@fluidframework/container-definitions/internal';
|
|
27
|
+
import { ILoaderOptions } from '@fluidframework/container-definitions/internal';
|
|
28
|
+
import { ILoaderProps } from '@fluidframework/container-loader/internal';
|
|
29
|
+
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime/internal';
|
|
30
|
+
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions/internal';
|
|
31
|
+
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
|
|
32
|
+
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
|
|
33
|
+
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions/internal';
|
|
34
34
|
import { IRequest } from '@fluidframework/core-interfaces';
|
|
35
35
|
import { IRequestHeader } from '@fluidframework/core-interfaces';
|
|
36
|
-
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
36
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
|
|
37
37
|
import { IResponse } from '@fluidframework/core-interfaces';
|
|
38
|
-
import { IRuntime } from '@fluidframework/container-definitions';
|
|
38
|
+
import { IRuntime } from '@fluidframework/container-definitions/internal';
|
|
39
39
|
import { ISharedMap } from '@fluidframework/map';
|
|
40
|
-
import { ISummarizer } from '@fluidframework/container-runtime';
|
|
41
|
-
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
40
|
+
import { ISummarizer } from '@fluidframework/container-runtime/internal';
|
|
41
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
|
|
42
42
|
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
43
43
|
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
44
44
|
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
45
45
|
import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils';
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
46
|
+
import { ITelemetryLoggerPropertyBags } from '@fluidframework/telemetry-utils/internal';
|
|
47
|
+
import { ITestDriver } from '@fluid-internal/test-driver-definitions';
|
|
48
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
|
|
49
|
+
import { Loader } from '@fluidframework/container-loader/internal';
|
|
50
|
+
import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions/internal';
|
|
51
|
+
import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
|
|
51
52
|
|
|
52
53
|
/* Excluded from this release type: ChannelFactoryRegistry */
|
|
53
54
|
|
|
@@ -109,6 +110,8 @@ import { RuntimeRequestHandler } from '@fluidframework/request-handler';
|
|
|
109
110
|
|
|
110
111
|
/* Excluded from this release type: IDocumentStorageService */
|
|
111
112
|
|
|
113
|
+
/* Excluded from this release type: IEventAndErrorTrackingLogger */
|
|
114
|
+
|
|
112
115
|
/* Excluded from this release type: IFluidCodeDetails */
|
|
113
116
|
|
|
114
117
|
/* Excluded from this release type: IFluidDataStoreChannel */
|
|
@@ -149,12 +152,12 @@ import { RuntimeRequestHandler } from '@fluidframework/request-handler';
|
|
|
149
152
|
|
|
150
153
|
/* Excluded from this release type: ISummaryContext */
|
|
151
154
|
|
|
155
|
+
/* Excluded from this release type: ITelemetryLoggerPropertyBags */
|
|
156
|
+
|
|
152
157
|
/* Excluded from this release type: ITestConfigProvider */
|
|
153
158
|
|
|
154
159
|
/* Excluded from this release type: ITestContainerConfig */
|
|
155
160
|
|
|
156
|
-
/* Excluded from this release type: ITestDriver */
|
|
157
|
-
|
|
158
161
|
/* Excluded from this release type: ITestFluidObject */
|
|
159
162
|
|
|
160
163
|
/* Excluded from this release type: ITestObjectProvider */
|
|
@@ -1,53 +1,54 @@
|
|
|
1
1
|
import { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
2
|
-
import { ContainerRuntime } from '@fluidframework/container-runtime';
|
|
3
|
-
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct';
|
|
4
|
-
import { FluidDataStoreRuntime } from '@fluidframework/datastore';
|
|
2
|
+
import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
|
|
3
|
+
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct/internal';
|
|
4
|
+
import { FluidDataStoreRuntime } from '@fluidframework/datastore/internal';
|
|
5
5
|
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
6
6
|
import { IChannelFactory } from '@fluidframework/datastore-definitions';
|
|
7
|
-
import { ICodeDetailsLoader } from '@fluidframework/container-definitions';
|
|
7
|
+
import { ICodeDetailsLoader } from '@fluidframework/container-definitions/internal';
|
|
8
8
|
import { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IContainer } from '@fluidframework/container-definitions';
|
|
10
|
-
import { IContainerContext } from '@fluidframework/container-definitions';
|
|
11
|
-
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions';
|
|
12
|
-
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime';
|
|
13
|
-
import { IDataStore } from '@fluidframework/runtime-definitions';
|
|
14
|
-
import { IDocumentService } from '@fluidframework/driver-definitions';
|
|
15
|
-
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
16
|
-
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
17
|
-
import { IFluidCodeDetails } from '@fluidframework/container-definitions';
|
|
18
|
-
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
|
|
19
|
-
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
|
|
20
|
-
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
9
|
+
import { IContainer } from '@fluidframework/container-definitions/internal';
|
|
10
|
+
import { IContainerContext } from '@fluidframework/container-definitions/internal';
|
|
11
|
+
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions/internal';
|
|
12
|
+
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime/internal';
|
|
13
|
+
import { IDataStore } from '@fluidframework/runtime-definitions/internal';
|
|
14
|
+
import { IDocumentService } from '@fluidframework/driver-definitions/internal';
|
|
15
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
|
|
16
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
|
|
17
|
+
import { IFluidCodeDetails } from '@fluidframework/container-definitions/internal';
|
|
18
|
+
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions/internal';
|
|
19
|
+
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions/internal';
|
|
20
|
+
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
|
|
21
21
|
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
|
|
22
22
|
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
23
23
|
import { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
24
|
-
import { IFluidModule } from '@fluidframework/container-definitions';
|
|
25
|
-
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions';
|
|
26
|
-
import { IHostLoader } from '@fluidframework/container-definitions';
|
|
27
|
-
import { ILoaderOptions } from '@fluidframework/container-definitions';
|
|
28
|
-
import { ILoaderProps } from '@fluidframework/container-loader';
|
|
29
|
-
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime';
|
|
30
|
-
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions';
|
|
31
|
-
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
32
|
-
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
|
|
33
|
-
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions';
|
|
24
|
+
import { IFluidModule } from '@fluidframework/container-definitions/internal';
|
|
25
|
+
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions/internal';
|
|
26
|
+
import { IHostLoader } from '@fluidframework/container-definitions/internal';
|
|
27
|
+
import { ILoaderOptions } from '@fluidframework/container-definitions/internal';
|
|
28
|
+
import { ILoaderProps } from '@fluidframework/container-loader/internal';
|
|
29
|
+
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime/internal';
|
|
30
|
+
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions/internal';
|
|
31
|
+
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions/internal';
|
|
32
|
+
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions/internal';
|
|
33
|
+
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions/internal';
|
|
34
34
|
import { IRequest } from '@fluidframework/core-interfaces';
|
|
35
35
|
import { IRequestHeader } from '@fluidframework/core-interfaces';
|
|
36
|
-
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
36
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
|
|
37
37
|
import { IResponse } from '@fluidframework/core-interfaces';
|
|
38
|
-
import { IRuntime } from '@fluidframework/container-definitions';
|
|
38
|
+
import { IRuntime } from '@fluidframework/container-definitions/internal';
|
|
39
39
|
import { ISharedMap } from '@fluidframework/map';
|
|
40
|
-
import { ISummarizer } from '@fluidframework/container-runtime';
|
|
41
|
-
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
40
|
+
import { ISummarizer } from '@fluidframework/container-runtime/internal';
|
|
41
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
|
|
42
42
|
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
43
43
|
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
44
44
|
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
45
45
|
import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils';
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
46
|
+
import { ITelemetryLoggerPropertyBags } from '@fluidframework/telemetry-utils/internal';
|
|
47
|
+
import { ITestDriver } from '@fluid-internal/test-driver-definitions';
|
|
48
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
|
|
49
|
+
import { Loader } from '@fluidframework/container-loader/internal';
|
|
50
|
+
import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions/internal';
|
|
51
|
+
import { RuntimeRequestHandler } from '@fluidframework/request-handler/internal';
|
|
51
52
|
|
|
52
53
|
/**
|
|
53
54
|
* @internal
|
|
@@ -165,23 +166,23 @@ export declare const defaultTimeoutDurationMs = 250;
|
|
|
165
166
|
* any expected events that have not occurred.
|
|
166
167
|
* @internal
|
|
167
168
|
*/
|
|
168
|
-
export declare class EventAndErrorTrackingLogger implements ITelemetryBaseLogger {
|
|
169
|
-
private readonly baseLogger
|
|
169
|
+
export declare class EventAndErrorTrackingLogger implements ITelemetryBaseLogger, IEventAndErrorTrackingLogger {
|
|
170
|
+
private readonly baseLogger?;
|
|
170
171
|
/**
|
|
171
172
|
* Even if these error events are logged, tests should still be allowed to pass
|
|
172
173
|
* Additionally, if downgrade is true, then log as generic (e.g. to avoid polluting the e2e test logs)
|
|
173
174
|
*/
|
|
174
175
|
private readonly allowedErrors;
|
|
175
|
-
constructor(baseLogger
|
|
176
|
+
constructor(baseLogger?: ITelemetryBaseLogger | undefined);
|
|
176
177
|
private readonly expectedEvents;
|
|
177
178
|
private readonly unexpectedErrors;
|
|
178
179
|
registerExpectedEvent(...orderedExpectedEvents: ITelemetryGenericEventExt[]): void;
|
|
179
180
|
send(event: ITelemetryBaseEvent): void;
|
|
180
181
|
reportAndClearTrackedEvents(): {
|
|
181
|
-
expectedNotFound:
|
|
182
|
+
expectedNotFound: {
|
|
182
183
|
index: number;
|
|
183
|
-
event: ITelemetryGenericEventExt
|
|
184
|
-
}
|
|
184
|
+
event: ITelemetryGenericEventExt;
|
|
185
|
+
}[];
|
|
185
186
|
unexpectedErrors: ITelemetryBaseEvent[];
|
|
186
187
|
};
|
|
187
188
|
}
|
|
@@ -211,7 +212,7 @@ export declare function getDataStoreEntryPointBackCompat<T>(dataStore: IDataStor
|
|
|
211
212
|
/**
|
|
212
213
|
* @internal
|
|
213
214
|
*/
|
|
214
|
-
export declare function getUnexpectedLogErrorException(logger:
|
|
215
|
+
export declare function getUnexpectedLogErrorException(logger: IEventAndErrorTrackingLogger | undefined, prefix?: string): Error | undefined;
|
|
215
216
|
|
|
216
217
|
/**
|
|
217
218
|
* Used to retrieve, update, and reset document id based on the type of driver being used.
|
|
@@ -233,6 +234,18 @@ export declare interface IDocumentIdStrategy {
|
|
|
233
234
|
reset(): void;
|
|
234
235
|
}
|
|
235
236
|
|
|
237
|
+
/** @internal */
|
|
238
|
+
export declare interface IEventAndErrorTrackingLogger {
|
|
239
|
+
registerExpectedEvent: (...orderedExpectedEvents: ITelemetryGenericEventExt[]) => void;
|
|
240
|
+
reportAndClearTrackedEvents: () => {
|
|
241
|
+
expectedNotFound: {
|
|
242
|
+
index: number;
|
|
243
|
+
event: ITelemetryGenericEventExt;
|
|
244
|
+
}[];
|
|
245
|
+
unexpectedErrors: ITelemetryBaseEvent[];
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
|
|
236
249
|
/**
|
|
237
250
|
* @alpha
|
|
238
251
|
*/
|
|
@@ -315,7 +328,11 @@ export declare interface ITestObjectProvider {
|
|
|
315
328
|
/**
|
|
316
329
|
* Logger used to track expected and unexpected events.
|
|
317
330
|
*/
|
|
318
|
-
logger:
|
|
331
|
+
logger: ITelemetryBaseLogger;
|
|
332
|
+
/**
|
|
333
|
+
* Logger used to track expected and unexpected events.
|
|
334
|
+
*/
|
|
335
|
+
tracker: IEventAndErrorTrackingLogger;
|
|
319
336
|
/**
|
|
320
337
|
* Used to create a url for the created container with any data store path given in the relative url.
|
|
321
338
|
*/
|
|
@@ -383,7 +400,7 @@ export declare interface ITestObjectProvider {
|
|
|
383
400
|
* @param testContainerConfig - optional configuring the test Container
|
|
384
401
|
* @param requestHeader - optional headers to be supplied to the loader
|
|
385
402
|
*/
|
|
386
|
-
loadTestContainer(testContainerConfig?: ITestContainerConfig, requestHeader?: IRequestHeader): Promise<IContainer>;
|
|
403
|
+
loadTestContainer(testContainerConfig?: ITestContainerConfig, requestHeader?: IRequestHeader, pendingLocalState?: string): Promise<IContainer>;
|
|
387
404
|
/**
|
|
388
405
|
* Update the document ID from the resolved container's URL and reset the ID property
|
|
389
406
|
*/
|
|
@@ -729,6 +746,7 @@ export declare class TestObjectProvider implements ITestObjectProvider {
|
|
|
729
746
|
private _documentServiceFactory;
|
|
730
747
|
private _urlResolver;
|
|
731
748
|
private _logger;
|
|
749
|
+
private _tracker;
|
|
732
750
|
private readonly _documentIdStrategy;
|
|
733
751
|
private _documentCreated;
|
|
734
752
|
/**
|
|
@@ -748,8 +766,8 @@ export declare class TestObjectProvider implements ITestObjectProvider {
|
|
|
748
766
|
/**
|
|
749
767
|
* {@inheritDoc ITestObjectProvider.logger}
|
|
750
768
|
*/
|
|
751
|
-
get logger():
|
|
752
|
-
|
|
769
|
+
get logger(): ITelemetryBaseLogger;
|
|
770
|
+
get tracker(): EventAndErrorTrackingLogger;
|
|
753
771
|
/**
|
|
754
772
|
* {@inheritDoc ITestObjectProvider.documentServiceFactory}
|
|
755
773
|
*/
|
|
@@ -802,7 +820,7 @@ export declare class TestObjectProvider implements ITestObjectProvider {
|
|
|
802
820
|
/**
|
|
803
821
|
* {@inheritDoc ITestObjectProvider.loadTestContainer}
|
|
804
822
|
*/
|
|
805
|
-
loadTestContainer(testContainerConfig?: ITestContainerConfig, requestHeader?: IRequestHeader): Promise<IContainer>;
|
|
823
|
+
loadTestContainer(testContainerConfig?: ITestContainerConfig, requestHeader?: IRequestHeader, pendingLocalState?: string): Promise<IContainer>;
|
|
806
824
|
/**
|
|
807
825
|
* {@inheritDoc ITestObjectProvider.reset}
|
|
808
826
|
*/
|
|
@@ -834,12 +852,14 @@ export declare class TestObjectProviderWithVersionedLoad implements ITestObjectP
|
|
|
834
852
|
private readonly driverForLoading;
|
|
835
853
|
private readonly createFluidEntryPointForCreating;
|
|
836
854
|
private readonly createFluidEntryPointForLoading;
|
|
855
|
+
private readonly telemetryProps?;
|
|
837
856
|
/**
|
|
838
857
|
* {@inheritDoc ITestObjectProvider."type"}
|
|
839
858
|
*/
|
|
840
859
|
readonly type = "TestObjectProviderWithVersionedLoad";
|
|
841
860
|
private _loaderContainerTracker;
|
|
842
861
|
private _logger;
|
|
862
|
+
private _tracker;
|
|
843
863
|
private readonly _documentIdStrategy;
|
|
844
864
|
private _documentServiceFactory;
|
|
845
865
|
private _urlResolver;
|
|
@@ -851,11 +871,12 @@ export declare class TestObjectProviderWithVersionedLoad implements ITestObjectP
|
|
|
851
871
|
* subsequent loads use the load APIs.
|
|
852
872
|
*/
|
|
853
873
|
private useCreateApi;
|
|
854
|
-
constructor(LoaderConstructorForCreating: typeof Loader, LoaderConstructorForLoading: typeof Loader, driverForCreating: ITestDriver, driverForLoading: ITestDriver, createFluidEntryPointForCreating: (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint, createFluidEntryPointForLoading: (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint);
|
|
874
|
+
constructor(LoaderConstructorForCreating: typeof Loader, LoaderConstructorForLoading: typeof Loader, driverForCreating: ITestDriver, driverForLoading: ITestDriver, createFluidEntryPointForCreating: (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint, createFluidEntryPointForLoading: (testContainerConfig?: ITestContainerConfig) => fluidEntryPoint, telemetryProps?: ITelemetryLoggerPropertyBags | undefined);
|
|
855
875
|
/**
|
|
856
876
|
* {@inheritDoc ITestObjectProvider.logger}
|
|
857
877
|
*/
|
|
858
|
-
get logger():
|
|
878
|
+
get logger(): ITelemetryBaseLogger;
|
|
879
|
+
get tracker(): EventAndErrorTrackingLogger;
|
|
859
880
|
/**
|
|
860
881
|
* {@inheritDoc ITestObjectProvider.documentServiceFactory}
|
|
861
882
|
*/
|
|
@@ -918,7 +939,7 @@ export declare class TestObjectProviderWithVersionedLoad implements ITestObjectP
|
|
|
918
939
|
/**
|
|
919
940
|
* {@inheritDoc ITestObjectProvider.loadTestContainer}
|
|
920
941
|
*/
|
|
921
|
-
loadTestContainer(testContainerConfig?: ITestContainerConfig, requestHeader?: IRequestHeader): Promise<IContainer>;
|
|
942
|
+
loadTestContainer(testContainerConfig?: ITestContainerConfig, requestHeader?: IRequestHeader, pendingLocalState?: string): Promise<IContainer>;
|
|
922
943
|
/**
|
|
923
944
|
* {@inheritDoc ITestObjectProvider.reset}
|
|
924
945
|
*/
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { IContainerContext, IRuntime } from "@fluidframework/container-definitions";
|
|
6
|
-
import { ContainerRuntime, IContainerRuntimeOptions } from "@fluidframework/container-runtime";
|
|
7
|
-
import { IContainerRuntime } from "@fluidframework/container-runtime-definitions";
|
|
8
|
-
import { RuntimeRequestHandler } from "@fluidframework/request-handler";
|
|
9
|
-
import { IFluidDataStoreFactory } from "@fluidframework/runtime-definitions";
|
|
5
|
+
import { IContainerContext, IRuntime } from "@fluidframework/container-definitions/internal";
|
|
6
|
+
import { ContainerRuntime, IContainerRuntimeOptions } from "@fluidframework/container-runtime/internal";
|
|
7
|
+
import { IContainerRuntime } from "@fluidframework/container-runtime-definitions/internal";
|
|
8
|
+
import { RuntimeRequestHandler } from "@fluidframework/request-handler/internal";
|
|
9
|
+
import { IFluidDataStoreFactory } from "@fluidframework/runtime-definitions/internal";
|
|
10
10
|
/**
|
|
11
11
|
* Create a container runtime factory class that allows you to set runtime options
|
|
12
12
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testContainerRuntimeFactory.d.ts","sourceRoot":"","sources":["../src/testContainerRuntimeFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"testContainerRuntimeFactory.d.ts","sourceRoot":"","sources":["../src/testContainerRuntimeFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EACN,gBAAgB,EAEhB,wBAAwB,EACxB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wDAAwD,CAAC;AAQ3F,OAAO,EACN,qBAAqB,EAGrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACN,sBAAsB,EAEtB,MAAM,8CAA8C,CAAC;AAmCtD;;;GAGG;AACH,eAAO,MAAM,iCAAiC,yBACvB,uBAAuB;eAI9B,MAAM,oBACM,sBAAsB,mBACxB,wBAAwB,oBAUvB,qBAAqB,EAAE;cAZlC,MAAM;0BACM,sBAAsB;wBACxB,wBAAwB;yBAUvB,qBAAqB,EAAE;sCAKL,gBAAgB,GAAG,QAAQ,IAAI,CAAC;yCAkB7B,gBAAgB,GAAG,QAAQ,IAAI,CAAC;+BAiBpE,iBAAiB,YAChB,OAAO,GACf,QAAQ,QAAQ,GAAG,iBAAiB,CAAC;;;;;CA0DzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B;eAtHxB,MAAM,oBACM,sBAAsB,mBACxB,wBAAwB,oBAUvB,qBAAqB,EAAE;cAZlC,MAAM;0BACM,sBAAsB;wBACxB,wBAAwB;yBAUvB,qBAAqB,EAAE;sCAKL,gBAAgB,GAAG,QAAQ,IAAI,CAAC;yCAkB7B,gBAAgB,GAAG,QAAQ,IAAI,CAAC;+BAiBpE,iBAAiB,YAChB,OAAO,GACf,QAAQ,QAAQ,GAAG,iBAAiB,CAAC;;;;;CAgEoD,CAAC"}
|