@fluidframework/test-utils 2.0.0-dev-rc.3.0.0.254513 → 2.0.0-dev-rc.3.0.0.254674
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/dist/alpha.d.ts +17 -0
- package/dist/beta.d.ts +9 -0
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/public.d.ts +9 -0
- package/lib/alpha.d.ts +17 -0
- package/lib/beta.d.ts +9 -0
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/public.d.ts +9 -0
- package/package.json +29 -41
- package/src/packageVersion.ts +1 -1
- package/api-extractor-cjs.json +0 -8
- package/dist/test-utils-alpha.d.ts +0 -310
- package/dist/test-utils-beta.d.ts +0 -211
- package/dist/test-utils-public.d.ts +0 -211
- package/dist/test-utils-untrimmed.d.ts +0 -1071
- package/dist/tsdoc-metadata.json +0 -11
- package/lib/test-utils-alpha.d.ts +0 -310
- package/lib/test-utils-beta.d.ts +0 -211
- package/lib/test-utils-public.d.ts +0 -211
- package/lib/test-utils-untrimmed.d.ts +0 -1071
package/dist/alpha.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
|
+
*/
|
|
10
|
+
export {
|
|
11
|
+
// alpha APIs
|
|
12
|
+
IOpProcessingController,
|
|
13
|
+
IProvideTestFluidObject,
|
|
14
|
+
ITestFluidObject,
|
|
15
|
+
LoaderContainerTracker,
|
|
16
|
+
createAndAttachContainer
|
|
17
|
+
} from "./index.js";
|
package/dist/beta.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
|
+
*/
|
package/dist/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.254674";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.pkgVersion = exports.pkgName = void 0;
|
|
10
10
|
exports.pkgName = "@fluidframework/test-utils";
|
|
11
|
-
exports.pkgVersion = "2.0.0-dev-rc.3.0.0.
|
|
11
|
+
exports.pkgVersion = "2.0.0-dev-rc.3.0.0.254674";
|
|
12
12
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.3.0.0.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/test-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.3.0.0.254674\";\n"]}
|
package/dist/public.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
|
+
*/
|
package/lib/alpha.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
|
+
*/
|
|
10
|
+
export {
|
|
11
|
+
// alpha APIs
|
|
12
|
+
IOpProcessingController,
|
|
13
|
+
IProvideTestFluidObject,
|
|
14
|
+
ITestFluidObject,
|
|
15
|
+
LoaderContainerTracker,
|
|
16
|
+
createAndAttachContainer
|
|
17
|
+
} from "./index.js";
|
package/lib/beta.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
|
+
*/
|
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.254674";
|
|
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.254674";
|
|
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.254674\";\n"]}
|
package/lib/public.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
+
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
|
+
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/test-utils",
|
|
3
|
-
"version": "2.0.0-dev-rc.3.0.0.
|
|
3
|
+
"version": "2.0.0-dev-rc.3.0.0.254674",
|
|
4
4
|
"description": "Utilities for Fluid tests",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
17
|
"import": {
|
|
18
|
-
"types": "./lib/
|
|
18
|
+
"types": "./lib/public.d.ts",
|
|
19
19
|
"default": "./lib/index.js"
|
|
20
20
|
},
|
|
21
21
|
"require": {
|
|
22
|
-
"types": "./dist/
|
|
22
|
+
"types": "./dist/public.d.ts",
|
|
23
23
|
"default": "./dist/index.js"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"./alpha": {
|
|
27
27
|
"import": {
|
|
28
|
-
"types": "./lib/
|
|
28
|
+
"types": "./lib/alpha.d.ts",
|
|
29
29
|
"default": "./lib/index.js"
|
|
30
30
|
},
|
|
31
31
|
"require": {
|
|
32
|
-
"types": "./dist/
|
|
32
|
+
"types": "./dist/alpha.d.ts",
|
|
33
33
|
"default": "./dist/index.js"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"main": "dist/index.js",
|
|
48
|
-
"types": "./dist/
|
|
48
|
+
"types": "./dist/public.d.ts",
|
|
49
49
|
"c8": {
|
|
50
50
|
"all": true,
|
|
51
51
|
"cache-dir": "nyc/.cache",
|
|
@@ -67,26 +67,26 @@
|
|
|
67
67
|
"temp-directory": "nyc/.nyc_output"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@fluid-internal/test-driver-definitions": "2.0.0-dev-rc.3.0.0.
|
|
71
|
-
"@fluidframework/aqueduct": "2.0.0-dev-rc.3.0.0.
|
|
72
|
-
"@fluidframework/container-definitions": "2.0.0-dev-rc.3.0.0.
|
|
73
|
-
"@fluidframework/container-loader": "2.0.0-dev-rc.3.0.0.
|
|
74
|
-
"@fluidframework/container-runtime": "2.0.0-dev-rc.3.0.0.
|
|
75
|
-
"@fluidframework/container-runtime-definitions": "2.0.0-dev-rc.3.0.0.
|
|
76
|
-
"@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.
|
|
77
|
-
"@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.
|
|
78
|
-
"@fluidframework/datastore": "2.0.0-dev-rc.3.0.0.
|
|
79
|
-
"@fluidframework/datastore-definitions": "2.0.0-dev-rc.3.0.0.
|
|
80
|
-
"@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.
|
|
81
|
-
"@fluidframework/driver-utils": "2.0.0-dev-rc.3.0.0.
|
|
82
|
-
"@fluidframework/local-driver": "2.0.0-dev-rc.3.0.0.
|
|
83
|
-
"@fluidframework/map": "2.0.0-dev-rc.3.0.0.
|
|
70
|
+
"@fluid-internal/test-driver-definitions": "2.0.0-dev-rc.3.0.0.254674",
|
|
71
|
+
"@fluidframework/aqueduct": "2.0.0-dev-rc.3.0.0.254674",
|
|
72
|
+
"@fluidframework/container-definitions": "2.0.0-dev-rc.3.0.0.254674",
|
|
73
|
+
"@fluidframework/container-loader": "2.0.0-dev-rc.3.0.0.254674",
|
|
74
|
+
"@fluidframework/container-runtime": "2.0.0-dev-rc.3.0.0.254674",
|
|
75
|
+
"@fluidframework/container-runtime-definitions": "2.0.0-dev-rc.3.0.0.254674",
|
|
76
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.3.0.0.254674",
|
|
77
|
+
"@fluidframework/core-utils": "2.0.0-dev-rc.3.0.0.254674",
|
|
78
|
+
"@fluidframework/datastore": "2.0.0-dev-rc.3.0.0.254674",
|
|
79
|
+
"@fluidframework/datastore-definitions": "2.0.0-dev-rc.3.0.0.254674",
|
|
80
|
+
"@fluidframework/driver-definitions": "2.0.0-dev-rc.3.0.0.254674",
|
|
81
|
+
"@fluidframework/driver-utils": "2.0.0-dev-rc.3.0.0.254674",
|
|
82
|
+
"@fluidframework/local-driver": "2.0.0-dev-rc.3.0.0.254674",
|
|
83
|
+
"@fluidframework/map": "2.0.0-dev-rc.3.0.0.254674",
|
|
84
84
|
"@fluidframework/protocol-definitions": "^3.2.0",
|
|
85
|
-
"@fluidframework/request-handler": "2.0.0-dev-rc.3.0.0.
|
|
86
|
-
"@fluidframework/routerlicious-driver": "2.0.0-dev-rc.3.0.0.
|
|
87
|
-
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.3.0.0.
|
|
88
|
-
"@fluidframework/runtime-utils": "2.0.0-dev-rc.3.0.0.
|
|
89
|
-
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.3.0.0.
|
|
85
|
+
"@fluidframework/request-handler": "2.0.0-dev-rc.3.0.0.254674",
|
|
86
|
+
"@fluidframework/routerlicious-driver": "2.0.0-dev-rc.3.0.0.254674",
|
|
87
|
+
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.3.0.0.254674",
|
|
88
|
+
"@fluidframework/runtime-utils": "2.0.0-dev-rc.3.0.0.254674",
|
|
89
|
+
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.3.0.0.254674",
|
|
90
90
|
"best-random": "^1.0.0",
|
|
91
91
|
"debug": "^4.3.4",
|
|
92
92
|
"mocha": "^10.2.0",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"devDependencies": {
|
|
96
96
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
97
97
|
"@biomejs/biome": "^1.6.2",
|
|
98
|
-
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.3.0.0.
|
|
98
|
+
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.3.0.0.254674",
|
|
99
99
|
"@fluid-tools/build-cli": "^0.35.0",
|
|
100
100
|
"@fluidframework/build-common": "^2.0.3",
|
|
101
101
|
"@fluidframework/build-tools": "^0.35.0",
|
|
@@ -119,18 +119,6 @@
|
|
|
119
119
|
"rimraf": "^4.4.0",
|
|
120
120
|
"typescript": "~5.1.6"
|
|
121
121
|
},
|
|
122
|
-
"fluidBuild": {
|
|
123
|
-
"tasks": {
|
|
124
|
-
"build:docs": {
|
|
125
|
-
"dependsOn": [
|
|
126
|
-
"...",
|
|
127
|
-
"api-extractor:commonjs",
|
|
128
|
-
"api-extractor:esnext"
|
|
129
|
-
],
|
|
130
|
-
"script": false
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
122
|
"typeValidation": {
|
|
135
123
|
"broken": {
|
|
136
124
|
"RemovedVariableDeclaration_mockConfigProvider": {
|
|
@@ -157,12 +145,12 @@
|
|
|
157
145
|
},
|
|
158
146
|
"scripts": {
|
|
159
147
|
"api": "fluid-build . --task api",
|
|
160
|
-
"api-extractor:commonjs": "
|
|
161
|
-
"api-extractor:esnext": "
|
|
148
|
+
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
|
|
149
|
+
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib",
|
|
162
150
|
"build": "fluid-build . --task build",
|
|
163
151
|
"build:compile": "fluid-build . --task compile",
|
|
164
152
|
"build:compile:min": "npm run build:compile",
|
|
165
|
-
"build:docs": "
|
|
153
|
+
"build:docs": "api-extractor run --local",
|
|
166
154
|
"build:esnext": "tsc --project ./tsconfig.json",
|
|
167
155
|
"build:genver": "gen-version",
|
|
168
156
|
"build:test": "npm run build:test:esm && npm run build:test:cjs",
|
package/src/packageVersion.ts
CHANGED
package/api-extractor-cjs.json
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
|
-
"extends": "../../../common/build/build-common/api-extractor-base.cjs.primary.json",
|
|
4
|
-
// CJS is actually secondary; so, no report.
|
|
5
|
-
"apiReport": {
|
|
6
|
-
"enabled": false
|
|
7
|
-
}
|
|
8
|
-
}
|
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
import { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
2
|
-
import { ContainerRuntime } from '@fluidframework/container-runtime/internal';
|
|
3
|
-
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct/internal';
|
|
4
|
-
import { FluidDataStoreRuntime } from '@fluidframework/datastore/internal';
|
|
5
|
-
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
6
|
-
import { IChannelFactory } from '@fluidframework/datastore-definitions';
|
|
7
|
-
import { ICodeDetailsLoader } from '@fluidframework/container-definitions/internal';
|
|
8
|
-
import { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
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
|
-
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
|
|
22
|
-
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
23
|
-
import { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
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
|
-
import { IRequest } from '@fluidframework/core-interfaces';
|
|
35
|
-
import { IRequestHeader } from '@fluidframework/core-interfaces';
|
|
36
|
-
import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
|
|
37
|
-
import { IResponse } from '@fluidframework/core-interfaces';
|
|
38
|
-
import { IRuntime } from '@fluidframework/container-definitions/internal';
|
|
39
|
-
import { ISharedMap } from '@fluidframework/map';
|
|
40
|
-
import { ISummarizer } from '@fluidframework/container-runtime/internal';
|
|
41
|
-
import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
|
|
42
|
-
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
43
|
-
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
44
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
45
|
-
import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils';
|
|
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';
|
|
52
|
-
|
|
53
|
-
/* Excluded from this release type: ChannelFactoryRegistry */
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Creates a detached Container and attaches it.
|
|
57
|
-
* @param source - The code details used to create the Container.
|
|
58
|
-
* @param loader - The loader to use to initialize the container.
|
|
59
|
-
* @param attachRequest - The request to create new from.
|
|
60
|
-
* @alpha
|
|
61
|
-
*/
|
|
62
|
-
export declare function createAndAttachContainer(source: IFluidCodeDetails, loader: IHostLoader, attachRequest: IRequest): Promise<IContainer>;
|
|
63
|
-
|
|
64
|
-
/* Excluded from this release type: createContainerRuntimeFactoryWithDefaultDataStore */
|
|
65
|
-
|
|
66
|
-
/* Excluded from this release type: createDocumentId */
|
|
67
|
-
|
|
68
|
-
/* Excluded from this release type: createLoader */
|
|
69
|
-
|
|
70
|
-
/* Excluded from this release type: createSummarizer */
|
|
71
|
-
|
|
72
|
-
/* Excluded from this release type: createSummarizerCore */
|
|
73
|
-
|
|
74
|
-
/* Excluded from this release type: createSummarizerFromFactory */
|
|
75
|
-
|
|
76
|
-
/* Excluded from this release type: createTestConfigProvider */
|
|
77
|
-
|
|
78
|
-
/* Excluded from this release type: createTestContainerRuntimeFactory */
|
|
79
|
-
|
|
80
|
-
/* Excluded from this release type: DataObjectFactoryType */
|
|
81
|
-
|
|
82
|
-
/* Excluded from this release type: defaultTimeoutDurationMs */
|
|
83
|
-
|
|
84
|
-
/* Excluded from this release type: EventAndErrorTrackingLogger */
|
|
85
|
-
|
|
86
|
-
/* Excluded from this release type: fluidEntryPoint */
|
|
87
|
-
|
|
88
|
-
/* Excluded from this release type: getContainerEntryPointBackCompat */
|
|
89
|
-
|
|
90
|
-
/* Excluded from this release type: getDataStoreEntryPointBackCompat */
|
|
91
|
-
|
|
92
|
-
/* Excluded from this release type: getUnexpectedLogErrorException */
|
|
93
|
-
|
|
94
|
-
/* Excluded from this release type: IDocumentIdStrategy */
|
|
95
|
-
|
|
96
|
-
/* Excluded from this release type: IEventAndErrorTrackingLogger */
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @alpha
|
|
100
|
-
*/
|
|
101
|
-
export declare interface IOpProcessingController {
|
|
102
|
-
processIncoming(...containers: IContainer[]): Promise<void>;
|
|
103
|
-
processOutgoing(...containers: IContainer[]): Promise<void>;
|
|
104
|
-
pauseProcessing(...containers: IContainer[]): Promise<void>;
|
|
105
|
-
resumeProcessing(...containers: IContainer[]): void;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* @alpha
|
|
110
|
-
*/
|
|
111
|
-
export declare interface IProvideTestFluidObject {
|
|
112
|
-
readonly ITestFluidObject: ITestFluidObject;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/* Excluded from this release type: ITestConfigProvider */
|
|
116
|
-
|
|
117
|
-
/* Excluded from this release type: ITestContainerConfig */
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @alpha
|
|
121
|
-
*/
|
|
122
|
-
export declare interface ITestFluidObject extends IProvideTestFluidObject, IFluidLoadable {
|
|
123
|
-
root: ISharedMap;
|
|
124
|
-
readonly runtime: IFluidDataStoreRuntime;
|
|
125
|
-
readonly channel: IFluidDataStoreChannel;
|
|
126
|
-
readonly context: IFluidDataStoreContext;
|
|
127
|
-
getSharedObject<T = any>(id: string): Promise<T>;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
/* Excluded from this release type: ITestObjectProvider */
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* @alpha
|
|
134
|
-
*/
|
|
135
|
-
export declare class LoaderContainerTracker implements IOpProcessingController {
|
|
136
|
-
private readonly syncSummarizerClients;
|
|
137
|
-
private readonly containers;
|
|
138
|
-
private lastProposalSeqNum;
|
|
139
|
-
constructor(syncSummarizerClients?: boolean);
|
|
140
|
-
/**
|
|
141
|
-
* Add a loader to start to track any container created from them
|
|
142
|
-
* @param loader - loader to start tracking any container created.
|
|
143
|
-
*/
|
|
144
|
-
add<LoaderType extends IHostLoader>(loader: LoaderType): void;
|
|
145
|
-
/**
|
|
146
|
-
* Utility function to add container to be tracked.
|
|
147
|
-
*
|
|
148
|
-
* @param container - container to add
|
|
149
|
-
*/
|
|
150
|
-
private addContainer;
|
|
151
|
-
/**
|
|
152
|
-
* Keep track of the trailing NoOp that was sent so we can discount them in the clientSequenceNumber tracking.
|
|
153
|
-
* The server might coalesce them with other ops, or a single NoOp, or delay it if it don't think it is necessary.
|
|
154
|
-
*
|
|
155
|
-
* @param container - the container to track
|
|
156
|
-
* @param record - the record to update the trailing op information
|
|
157
|
-
*/
|
|
158
|
-
private trackTrailingNoOps;
|
|
159
|
-
private trackLastProposal;
|
|
160
|
-
/**
|
|
161
|
-
* Reset the tracker, closing all containers and stop tracking them.
|
|
162
|
-
*/
|
|
163
|
-
reset(): void;
|
|
164
|
-
/**
|
|
165
|
-
* Make sure all the tracked containers are synchronized.
|
|
166
|
-
*
|
|
167
|
-
* No isDirty (non-readonly) containers
|
|
168
|
-
* No extra clientId in quorum of any container that is not tracked and still opened.
|
|
169
|
-
* - i.e. no pending Join/Leave message.
|
|
170
|
-
* No unresolved proposal (minSeqNum \>= lastProposalSeqNum)
|
|
171
|
-
* lastSequenceNumber of all container is the same
|
|
172
|
-
* clientSequenceNumberObserved is the same as clientSequenceNumber sent
|
|
173
|
-
* - this overlaps with !isDirty, but include task scheduler ops.
|
|
174
|
-
* - Trailing NoOp is tracked and don't count as pending ops.
|
|
175
|
-
*
|
|
176
|
-
* Containers that are already pause will resume process and paused again once
|
|
177
|
-
* everything is synchronized. Containers that aren't paused will remain unpaused when this
|
|
178
|
-
* function returns.
|
|
179
|
-
*/
|
|
180
|
-
ensureSynchronized(...containers: IContainer[]): Promise<void>;
|
|
181
|
-
/**
|
|
182
|
-
* Utility to calculate the set of clientId per container in quorum that is NOT associated with
|
|
183
|
-
* any container we tracked, indicating there is a pending join or leave op that we need to wait.
|
|
184
|
-
*
|
|
185
|
-
* @param containersToApply - the set of containers to check
|
|
186
|
-
*/
|
|
187
|
-
private getPendingClients;
|
|
188
|
-
/**
|
|
189
|
-
* Utility to check synchronization based on sequence number
|
|
190
|
-
* See ensureSynchronized for more detail
|
|
191
|
-
*
|
|
192
|
-
* @param containersToApply - the set of containers to check
|
|
193
|
-
*/
|
|
194
|
-
private needSequenceNumberSynchronize;
|
|
195
|
-
private containerIndexStrings;
|
|
196
|
-
/**
|
|
197
|
-
* Utility to wait for any clientId in quorum that is NOT associated with any container we
|
|
198
|
-
* tracked, indicating there is a pending join or leave op that we need to wait.
|
|
199
|
-
*
|
|
200
|
-
* Note that this function doesn't account for container that got added after we started waiting
|
|
201
|
-
*
|
|
202
|
-
* @param containersToApply - the set of containers to wait for any inbound ops for
|
|
203
|
-
*/
|
|
204
|
-
private waitForPendingClients;
|
|
205
|
-
/**
|
|
206
|
-
* Utility to wait for any inbound ops from a set of containers
|
|
207
|
-
* @param containersToApply - the set of containers to wait for any inbound ops for
|
|
208
|
-
*/
|
|
209
|
-
private waitForAnyInboundOps;
|
|
210
|
-
/**
|
|
211
|
-
* Resume all queue activities on all paused tracked containers and return them
|
|
212
|
-
*/
|
|
213
|
-
resumeProcessing(...containers: IContainer[]): IContainer[];
|
|
214
|
-
/**
|
|
215
|
-
* Pause all queue activities on the containers given, or all tracked containers
|
|
216
|
-
* Any containers given that is not tracked will be ignored.
|
|
217
|
-
*
|
|
218
|
-
* When a container is paused, it is assumed that we want fine grain control over op
|
|
219
|
-
* sequencing. This function will prepare the container and force it into write mode to
|
|
220
|
-
* avoid missing join messages or change the sequence of event when switching from read to
|
|
221
|
-
* write mode.
|
|
222
|
-
*/
|
|
223
|
-
pauseProcessing(...containers: IContainer[]): Promise<void>;
|
|
224
|
-
/**
|
|
225
|
-
* When a container is paused, it is assumed that we want fine grain control over op
|
|
226
|
-
* sequencing. This function will prepare the container and force it into write mode to
|
|
227
|
-
* avoid missing join messages or change the sequence of event when switching from read to
|
|
228
|
-
* write mode.
|
|
229
|
-
*
|
|
230
|
-
* @param container - the container to pause
|
|
231
|
-
* @param record - the record for the container
|
|
232
|
-
*/
|
|
233
|
-
private pauseContainer;
|
|
234
|
-
/**
|
|
235
|
-
* Pause all queue activities on all tracked containers, and resume only
|
|
236
|
-
* inbound to process ops until it is idle. All queues are left in the paused state
|
|
237
|
-
* after the function.
|
|
238
|
-
*
|
|
239
|
-
* Pausing will switch the container to write mode. See `pauseProcessing`
|
|
240
|
-
*/
|
|
241
|
-
processIncoming(...containers: IContainer[]): Promise<void>;
|
|
242
|
-
/**
|
|
243
|
-
* Pause all queue activities on all tracked containers, and resume only
|
|
244
|
-
* outbound to process ops until it is idle. All queues are left in the paused state
|
|
245
|
-
* after the function.
|
|
246
|
-
*
|
|
247
|
-
* Pausing will switch the container to write mode. See `pauseProcessing`
|
|
248
|
-
*/
|
|
249
|
-
processOutgoing(...containers: IContainer[]): Promise<void>;
|
|
250
|
-
/**
|
|
251
|
-
* Implementation of processIncoming and processOutgoing
|
|
252
|
-
*/
|
|
253
|
-
private processQueue;
|
|
254
|
-
/**
|
|
255
|
-
* Utility to set up listener to track the outbound ops until it round trip back
|
|
256
|
-
* Returns a function to remove the handler after it is done.
|
|
257
|
-
*
|
|
258
|
-
* @param container - the container to setup
|
|
259
|
-
* @param inflightTracker - a map to track the clientSequenceNumber per container it expect to get ops back
|
|
260
|
-
*/
|
|
261
|
-
private setupInOutTracker;
|
|
262
|
-
/**
|
|
263
|
-
* Setup debug traces for connection and ops
|
|
264
|
-
*/
|
|
265
|
-
private setupTrace;
|
|
266
|
-
/**
|
|
267
|
-
* Filter out the opened containers based on param.
|
|
268
|
-
* @param containers - The container to filter to. If the array is empty, it means don't filter and return
|
|
269
|
-
* all open containers.
|
|
270
|
-
*/
|
|
271
|
-
private getContainers;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
/* Excluded from this release type: LocalCodeLoader */
|
|
275
|
-
|
|
276
|
-
/* Excluded from this release type: retryWithEventualValue */
|
|
277
|
-
|
|
278
|
-
/* Excluded from this release type: summarizeNow */
|
|
279
|
-
|
|
280
|
-
/* Excluded from this release type: SummaryInfo */
|
|
281
|
-
|
|
282
|
-
/* Excluded from this release type: SupportedExportInterfaces */
|
|
283
|
-
|
|
284
|
-
/* Excluded from this release type: TestContainerRuntimeFactory */
|
|
285
|
-
|
|
286
|
-
/* Excluded from this release type: TestFluidObject */
|
|
287
|
-
|
|
288
|
-
/* Excluded from this release type: TestFluidObjectFactory */
|
|
289
|
-
|
|
290
|
-
/* Excluded from this release type: TestObjectProvider */
|
|
291
|
-
|
|
292
|
-
/* Excluded from this release type: TestObjectProviderWithVersionedLoad */
|
|
293
|
-
|
|
294
|
-
/* Excluded from this release type: timeoutAwait */
|
|
295
|
-
|
|
296
|
-
/* Excluded from this release type: timeoutPromise */
|
|
297
|
-
|
|
298
|
-
/* Excluded from this release type: TimeoutWithError */
|
|
299
|
-
|
|
300
|
-
/* Excluded from this release type: TimeoutWithValue */
|
|
301
|
-
|
|
302
|
-
/* Excluded from this release type: waitForContainerConnection */
|
|
303
|
-
|
|
304
|
-
/* Excluded from this release type: wrapDocumentService */
|
|
305
|
-
|
|
306
|
-
/* Excluded from this release type: wrapDocumentServiceFactory */
|
|
307
|
-
|
|
308
|
-
/* Excluded from this release type: wrapDocumentStorageService */
|
|
309
|
-
|
|
310
|
-
export { }
|