@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localCodeLoader.js","sourceRoot":"","sources":["../src/localCodeLoader.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,MAAM,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"localCodeLoader.js","sourceRoot":"","sources":["../src/localCodeLoader.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,2CAA2C,EAAE,MAAM,mCAAmC,CAAC;AAchG,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAkBhF;;;;GAIG;AACH,MAAM,OAAO,eAAe;IAG3B,YACC,cAA8D,EAC9D,cAAyC;QAJzB,sBAAiB,GAAG,IAAI,GAAG,EAAmC,CAAC;QAM/E,KAAK,MAAM,KAAK,IAAI,cAAc,EAAE;YACnC,sEAAsE;YACtE,8EAA8E;YAC9E,qGAAqG;YACrG,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACxB,MAAM,KAAK,GACV,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ;gBACjC,CAAC,CAAC,MAAM,CAAC,OAAO;gBAChB,CAAC,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;YACvD,IAAI,WAAW,GAAG,KAAK,CAAC,CAAC,CAAiB,CAAC;YAC3C,IAAI,WAAW,EAAE,WAAW,KAAK,SAAS,EAAE;gBAC3C,MAAM,WAAW,GAAG,WAAwC,CAAC;gBAE7D,IAAI,WAAW,CAAC,eAAe,KAAK,SAAS,EAAE;oBAC9C,WAAW,GAAG,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;iBAC3C;qBAAM;oBACN,MAAM,CAAC,WAAW,CAAC,sBAAsB,KAAK,SAAS,CAAC,CAAC;oBACzD,MAAM,cAAc,GAAG,sBAAsB,CAC5C,SAAS,EACT,WAAW,CAAC,sBAAsB,CAClC,CAAC;oBACF,WAAW,GAAG;wBACb,WAAW,EAAE;4BACZ,GAAG,WAAW;4BACd,eAAe,EAAE,IAAI,2CAA2C,CAAC;gCAChE,cAAc;gCACd,eAAe,EAAE;oCAChB,CAAC,cAAc,CAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;iCACtD;gCACD,cAAc;6BACd,CAAC;yBACF;qBACD,CAAC;iBACF;aACD;YAED,MAAM,cAAc,GAAG;gBACtB,MAAM,EAAE,WAAW;gBACnB,OAAO,EAAE,MAAM;aACf,CAAC;YAEF,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;SAClD;IACF,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,IAAI,CAAC,MAAyB;QAC1C,iFAAiF;QACjF,8EAA8E;QAC9E,qGAAqG;QACrG,MAAM,KAAK,GACV,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ;YACjC,CAAC,CAAC,MAAM,CAAC,OAAO;YAChB,CAAC,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QAEvD,MAAM,UAAU,GAAG,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACrD,IAAI,UAAU,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,uBAAuB,KAAK,EAAE,CAAC,CAAC;SAChD;QACD,OAAO,UAAU,CAAC;IACnB,CAAC;CACD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport assert from \"assert\";\n\nimport { ContainerRuntimeFactoryWithDefaultDataStore } from \"@fluidframework/aqueduct/internal\";\nimport {\n\tICodeDetailsLoader,\n\tIFluidCodeDetails,\n\tIFluidModule,\n\tIFluidModuleWithDetails,\n\tIProvideFluidCodeDetailsComparer,\n\tIProvideRuntimeFactory,\n} from \"@fluidframework/container-definitions/internal\";\nimport { IContainerRuntimeOptions } from \"@fluidframework/container-runtime/internal\";\nimport {\n\tIProvideFluidDataStoreFactory,\n\tIProvideFluidDataStoreRegistry,\n} from \"@fluidframework/runtime-definitions/internal\";\nimport { createDataStoreFactory } from \"@fluidframework/runtime-utils/internal\";\n\n/**\n * @internal\n */\nexport type SupportedExportInterfaces = Partial<\n\tIProvideRuntimeFactory &\n\t\tIProvideFluidDataStoreFactory &\n\t\tIProvideFluidDataStoreRegistry &\n\t\tIProvideFluidCodeDetailsComparer\n>;\n\n// Represents the entry point for a Fluid container.\n/**\n * @internal\n */\nexport type fluidEntryPoint = SupportedExportInterfaces | IFluidModule;\n\n/**\n * A simple code loader that caches a mapping of package name to a Fluid entry point.\n * On load, it retrieves the entry point matching the package name in the given code details.\n * @internal\n */\nexport class LocalCodeLoader implements ICodeDetailsLoader {\n\tprivate readonly fluidPackageCache = new Map<string, IFluidModuleWithDetails>();\n\n\tconstructor(\n\t\tpackageEntries: Iterable<[IFluidCodeDetails, fluidEntryPoint]>,\n\t\truntimeOptions?: IContainerRuntimeOptions,\n\t) {\n\t\tfor (const entry of packageEntries) {\n\t\t\t// Store the entry point against a unique id in the fluidPackageCache.\n\t\t\t// For code details containing a package name, use the package name as the id.\n\t\t\t// For code details containing a Fluid package, create a unique id from the package name and version.\n\t\t\tconst source = entry[0];\n\t\t\tconst pkgId =\n\t\t\t\ttypeof source.package === \"string\"\n\t\t\t\t\t? source.package\n\t\t\t\t\t: `${source.package.name}@${source.package.version}`;\n\t\t\tlet fluidModule = entry[1] as IFluidModule;\n\t\t\tif (fluidModule?.fluidExport === undefined) {\n\t\t\t\tconst maybeExport = fluidModule as SupportedExportInterfaces;\n\n\t\t\t\tif (maybeExport.IRuntimeFactory !== undefined) {\n\t\t\t\t\tfluidModule = { fluidExport: maybeExport };\n\t\t\t\t} else {\n\t\t\t\t\tassert(maybeExport.IFluidDataStoreFactory !== undefined);\n\t\t\t\t\tconst defaultFactory = createDataStoreFactory(\n\t\t\t\t\t\t\"default\",\n\t\t\t\t\t\tmaybeExport.IFluidDataStoreFactory,\n\t\t\t\t\t);\n\t\t\t\t\tfluidModule = {\n\t\t\t\t\t\tfluidExport: {\n\t\t\t\t\t\t\t...maybeExport,\n\t\t\t\t\t\t\tIRuntimeFactory: new ContainerRuntimeFactoryWithDefaultDataStore({\n\t\t\t\t\t\t\t\tdefaultFactory,\n\t\t\t\t\t\t\t\tregistryEntries: [\n\t\t\t\t\t\t\t\t\t[defaultFactory.type, Promise.resolve(defaultFactory)],\n\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\truntimeOptions,\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t},\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst runtimeFactory = {\n\t\t\t\tmodule: fluidModule,\n\t\t\t\tdetails: source,\n\t\t\t};\n\n\t\t\tthis.fluidPackageCache.set(pkgId, runtimeFactory);\n\t\t}\n\t}\n\n\t/**\n\t * It finds the entry point for the package name in the given source and return it\n\t * as a Fluid module.\n\t * @param source - Details of where to find chaincode\n\t */\n\tpublic async load(source: IFluidCodeDetails): Promise<IFluidModuleWithDetails> {\n\t\t// Get the entry point for from the fluidPackageCache for the given code details.\n\t\t// For code details containing a package name, use the package name as the id.\n\t\t// For code details containing a Fluid package, create a unique id from the package name and version.\n\t\tconst pkdId =\n\t\t\ttypeof source.package === \"string\"\n\t\t\t\t? source.package\n\t\t\t\t: `${source.package.name}@${source.package.version}`;\n\n\t\tconst entryPoint = this.fluidPackageCache.get(pkdId);\n\t\tif (entryPoint === undefined) {\n\t\t\tthrow new Error(`Cannot find package ${pkdId}`);\n\t\t}\n\t\treturn entryPoint;\n\t}\n}\n"]}
|
package/lib/localLoader.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { IContainer, IFluidCodeDetails, IHostLoader, ILoaderOptions } from "@fluidframework/container-definitions";
|
|
5
|
+
import { IContainer, IFluidCodeDetails, IHostLoader, ILoaderOptions } from "@fluidframework/container-definitions/internal";
|
|
6
6
|
import { IRequest, ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
7
|
-
import { IDocumentServiceFactory, IUrlResolver } from "@fluidframework/driver-definitions";
|
|
7
|
+
import { IDocumentServiceFactory, IUrlResolver } from "@fluidframework/driver-definitions/internal";
|
|
8
8
|
import { fluidEntryPoint } from "./localCodeLoader.js";
|
|
9
9
|
/**
|
|
10
10
|
* Creates a loader with the given package entries and driver.
|
package/lib/localLoader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localLoader.d.ts","sourceRoot":"","sources":["../src/localLoader.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEN,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,MAAM,
|
|
1
|
+
{"version":3,"file":"localLoader.d.ts","sourceRoot":"","sources":["../src/localLoader.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEN,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAEpG,OAAO,EAAmB,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAExE;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAC3B,cAAc,EAAE,QAAQ,CAAC,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,EAC9D,sBAAsB,EAAE,uBAAuB,EAC/C,WAAW,EAAE,YAAY,EACzB,MAAM,CAAC,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACtB,WAAW,CAUb;AAED;;;;;;GAMG;AAEH,wBAAsB,wBAAwB,CAC7C,MAAM,EAAE,iBAAiB,EACzB,MAAM,EAAE,WAAW,EACnB,aAAa,EAAE,QAAQ,GACrB,OAAO,CAAC,UAAU,CAAC,CAKrB"}
|
package/lib/localLoader.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { Loader } from "@fluidframework/container-loader";
|
|
5
|
+
import { Loader } from "@fluidframework/container-loader/internal";
|
|
6
6
|
import { LocalCodeLoader } from "./localCodeLoader.js";
|
|
7
7
|
/**
|
|
8
8
|
* Creates a loader with the given package entries and driver.
|
package/lib/localLoader.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localLoader.js","sourceRoot":"","sources":["../src/localLoader.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"localLoader.js","sourceRoot":"","sources":["../src/localLoader.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAInE,OAAO,EAAE,eAAe,EAAmB,MAAM,sBAAsB,CAAC;AAExE;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAC3B,cAA8D,EAC9D,sBAA+C,EAC/C,WAAyB,EACzB,MAA6B,EAC7B,OAAwB;IAExB,MAAM,UAAU,GAAuB,IAAI,eAAe,CAAC,cAAc,CAAC,CAAC;IAE3E,OAAO,IAAI,MAAM,CAAC;QACjB,WAAW;QACX,sBAAsB;QACtB,UAAU;QACV,MAAM;QACN,OAAO;KACP,CAAC,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AAEH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC7C,MAAyB,EACzB,MAAmB,EACnB,aAAuB;IAEvB,MAAM,SAAS,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC;IAC/D,MAAM,SAAS,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAEtC,OAAO,SAAS,CAAC;AAClB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tICodeDetailsLoader,\n\tIContainer,\n\tIFluidCodeDetails,\n\tIHostLoader,\n\tILoaderOptions,\n} from \"@fluidframework/container-definitions/internal\";\nimport { Loader } from \"@fluidframework/container-loader/internal\";\nimport { IRequest, ITelemetryBaseLogger } from \"@fluidframework/core-interfaces\";\nimport { IDocumentServiceFactory, IUrlResolver } from \"@fluidframework/driver-definitions/internal\";\n\nimport { LocalCodeLoader, fluidEntryPoint } from \"./localCodeLoader.js\";\n\n/**\n * Creates a loader with the given package entries and driver.\n * @param packageEntries - A list of code details to Fluid entry points.\n * @param documentServiceFactory - the driver factory to use\n * @param urlResolver - the url resolver to use\n * @param options - loader options\n * @internal\n */\nexport function createLoader(\n\tpackageEntries: Iterable<[IFluidCodeDetails, fluidEntryPoint]>,\n\tdocumentServiceFactory: IDocumentServiceFactory,\n\turlResolver: IUrlResolver,\n\tlogger?: ITelemetryBaseLogger,\n\toptions?: ILoaderOptions,\n): IHostLoader {\n\tconst codeLoader: ICodeDetailsLoader = new LocalCodeLoader(packageEntries);\n\n\treturn new Loader({\n\t\turlResolver,\n\t\tdocumentServiceFactory,\n\t\tcodeLoader,\n\t\tlogger,\n\t\toptions,\n\t});\n}\n\n/**\n * Creates a detached Container and attaches it.\n * @param source - The code details used to create the Container.\n * @param loader - The loader to use to initialize the container.\n * @param attachRequest - The request to create new from.\n * @alpha\n */\n\nexport async function createAndAttachContainer(\n\tsource: IFluidCodeDetails,\n\tloader: IHostLoader,\n\tattachRequest: IRequest,\n): Promise<IContainer> {\n\tconst container = await loader.createDetachedContainer(source);\n\tawait container.attach(attachRequest);\n\n\treturn container;\n}\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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.3.0.0.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-dev-rc.3.0.0.254274";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -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.3.0.0.
|
|
8
|
+
export const pkgVersion = "2.0.0-dev-rc.3.0.0.254274";
|
|
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.3.0.0.
|
|
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.3.0.0.254274\";\n"]}
|
package/lib/retry.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { delay } from "@fluidframework/core-utils";
|
|
5
|
+
import { delay } from "@fluidframework/core-utils/internal";
|
|
6
6
|
const retry = async (callback, defaultValue, maxTries, backOffMs) => {
|
|
7
7
|
for (let currentTry = 1; currentTry <= maxTries; currentTry++) {
|
|
8
8
|
try {
|
package/lib/retry.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retry.js","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"retry.js","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAE5D,MAAM,KAAK,GAAG,KAAK,EAClB,QAA0B,EAC1B,YAAe,EACf,QAAgB,EAChB,SAAiB,EACJ,EAAE;IACf,KAAK,IAAI,UAAU,GAAG,CAAC,EAAE,UAAU,IAAI,QAAQ,EAAE,UAAU,EAAE,EAAE;QAC9D,IAAI;YACH,MAAM,MAAM,GAAG,MAAM,QAAQ,EAAE,CAAC;YAChC,OAAO,MAAM,CAAC;SACd;QAAC,OAAO,KAAK,EAAE;YACf,MAAM,KAAK,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;SACpC;KACD;IAED,OAAO,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;AACtC,CAAC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,KAAK,EAC1C,QAA0B,EAC1B,KAA4B,EAC5B,YAAe,EACf,QAAQ,GAAG,EAAE,EACb,SAAS,GAAG,EAAE,EACD,EAAE,CACf,KAAK,CACJ,KAAK,IAAI,EAAE;IACV,MAAM,KAAK,GAAG,MAAM,QAAQ,EAAE,CAAC;IAC/B,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE;QACjB,OAAO,KAAK,CAAC;KACb;IAED,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC;AAC1B,CAAC,EACD,YAAY,EACZ,QAAQ,EACR,SAAS,CACT,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { delay } from \"@fluidframework/core-utils/internal\";\n\nconst retry = async <T>(\n\tcallback: () => Promise<T>,\n\tdefaultValue: T,\n\tmaxTries: number,\n\tbackOffMs: number,\n): Promise<T> => {\n\tfor (let currentTry = 1; currentTry <= maxTries; currentTry++) {\n\t\ttry {\n\t\t\tconst result = await callback();\n\t\t\treturn result;\n\t\t} catch (error) {\n\t\t\tawait delay(currentTry * backOffMs);\n\t\t}\n\t}\n\n\treturn Promise.resolve(defaultValue);\n};\n\n/**\n * Simple retry mechanism with linear back off to call\n * a function which may eventually return an accepted value.\n *\n * @param callback - the function to execute\n * @param check - the function to check if the value is acceptable\n * @param defaultValue - the default value\n * @param maxTries - maximum number of attempts\n * @param backOffMs - back off between attempts in milliseconds\n * @returns the actual value from the callback when successful or the default value otherwise\n * @internal\n */\nexport const retryWithEventualValue = async <T>(\n\tcallback: () => Promise<T>,\n\tcheck: (value: T) => boolean,\n\tdefaultValue: T,\n\tmaxTries = 20,\n\tbackOffMs = 50,\n): Promise<T> =>\n\tretry(\n\t\tasync () => {\n\t\t\tconst value = await callback();\n\t\t\tif (check(value)) {\n\t\t\t\treturn value;\n\t\t\t}\n\n\t\t\tthrow Error(\"Not ready\");\n\t\t},\n\t\tdefaultValue,\n\t\tmaxTries,\n\t\tbackOffMs,\n\t);\n"]}
|
|
@@ -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
|
*/
|
package/lib/test-utils-beta.d.ts
CHANGED
|
@@ -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 */
|