@fluidframework/core-interfaces 2.0.0-internal.2.3.1 → 2.0.0-internal.3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +4 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +21 -9
- package/src/index.ts +0 -4
- package/tsconfig.json +3 -4
- package/dist/fluidObject.d.ts +0 -10
- package/dist/fluidObject.d.ts.map +0 -1
- package/dist/fluidObject.js +0 -7
- package/dist/fluidObject.js.map +0 -1
- package/lib/fluidObject.d.ts +0 -10
- package/lib/fluidObject.d.ts.map +0 -1
- package/lib/fluidObject.js +0 -6
- package/lib/fluidObject.js.map +0 -1
- package/lib/test/types/fluidObjectTypes.d.ts +0 -2
- package/lib/test/types/fluidObjectTypes.d.ts.map +0 -1
- package/lib/test/types/fluidObjectTypes.js +0 -108
- package/lib/test/types/fluidObjectTypes.js.map +0 -1
- package/lib/test/types/validateCoreInterfacesPrevious.generated.d.ts +0 -2
- package/lib/test/types/validateCoreInterfacesPrevious.generated.d.ts.map +0 -1
- package/lib/test/types/validateCoreInterfacesPrevious.generated.js +0 -64
- package/lib/test/types/validateCoreInterfacesPrevious.generated.js.map +0 -1
- package/src/fluidObject.ts +0 -12
package/.eslintrc.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
export { IFluidObject } from "./fluidObject";
|
|
6
5
|
export { IFluidLoadable, IProvideFluidLoadable, IFluidRunnable, IProvideFluidRunnable, } from "./fluidLoadable";
|
|
7
6
|
export { IRequest, IRequestHeader, IResponse, IProvideFluidRouter, IFluidRouter, } from "./fluidRouter";
|
|
8
7
|
export { IFluidHandleContext, IProvideFluidHandleContext, IFluidHandle, IProvideFluidHandle, } from "./handles";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,qBAAqB,GACxB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EACH,QAAQ,EACR,cAAc,EACd,SAAS,EACT,mBAAmB,EACnB,YAAY,GACf,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,mBAAmB,EACnB,0BAA0B,EAC1B,YAAY,EACZ,mBAAmB,GACtB,MAAM,WAAW,CAAC;AAEnB,OAAO,EACH,wBAAwB,EACxB,aAAa,EACb,cAAc,EACd,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,GACnC,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACH,uBAAuB,EACvB,WAAW,EACX,eAAe,GAClB,MAAM,YAAY,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,iDAKyB;AAJrB,+GAAA,cAAc,OAAA;AAEd,+GAAA,cAAc,OAAA;AAIlB,+FAA+F;AAC/F,qDAAqD;AACrD,8EAA8E;AAC9E,6CAMuB;AADnB,2GAAA,YAAY,OAAA;AAGhB,qCAKmB;AAJf,8GAAA,mBAAmB,OAAA;AAEnB,uGAAA,YAAY,OAAA;AAIhB,+CASwB;AANpB,8GAAA,cAAc,OAAA;AAGd,kHAAA,kBAAkB,OAAA;AAClB,yHAAA,yBAAyB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n IFluidLoadable,\n IProvideFluidLoadable,\n IFluidRunnable,\n IProvideFluidRunnable,\n} from \"./fluidLoadable\";\n\n// Typescript forgets the index signature when customers augment IRequestHeader if we export *.\n// So we export the explicit members as a workaround:\n// https://github.com/microsoft/TypeScript/issues/18877#issuecomment-476921038\nexport {\n IRequest,\n IRequestHeader,\n IResponse,\n IProvideFluidRouter,\n IFluidRouter,\n} from \"./fluidRouter\";\n\nexport {\n IFluidHandleContext,\n IProvideFluidHandleContext,\n IFluidHandle,\n IProvideFluidHandle,\n} from \"./handles\";\n\nexport {\n IFluidPackageEnvironment,\n IFluidPackage,\n isFluidPackage,\n IFluidCodeDetailsConfig,\n IFluidCodeDetails,\n isFluidCodeDetails,\n IFluidCodeDetailsComparer,\n IProvideFluidCodeDetailsComparer,\n} from \"./fluidPackage\";\n\nexport {\n FluidObjectProviderKeys,\n FluidObject,\n FluidObjectKeys,\n} from \"./provider\";\n"]}
|
package/lib/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
export { IFluidObject } from "./fluidObject";
|
|
6
5
|
export { IFluidLoadable, IProvideFluidLoadable, IFluidRunnable, IProvideFluidRunnable, } from "./fluidLoadable";
|
|
7
6
|
export { IRequest, IRequestHeader, IResponse, IProvideFluidRouter, IFluidRouter, } from "./fluidRouter";
|
|
8
7
|
export { IFluidHandleContext, IProvideFluidHandleContext, IFluidHandle, IProvideFluidHandle, } from "./handles";
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,qBAAqB,GACxB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EACH,QAAQ,EACR,cAAc,EACd,SAAS,EACT,mBAAmB,EACnB,YAAY,GACf,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,mBAAmB,EACnB,0BAA0B,EAC1B,YAAY,EACZ,mBAAmB,GACtB,MAAM,WAAW,CAAC;AAEnB,OAAO,EACH,wBAAwB,EACxB,aAAa,EACb,cAAc,EACd,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,GACnC,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACH,uBAAuB,EACvB,WAAW,EACX,eAAe,GAClB,MAAM,YAAY,CAAC"}
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,cAAc,EAEd,cAAc,GAEjB,MAAM,iBAAiB,CAAC;AAEzB,+FAA+F;AAC/F,qDAAqD;AACrD,8EAA8E;AAC9E,OAAO,EAKH,YAAY,GACf,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,mBAAmB,EAEnB,YAAY,GAEf,MAAM,WAAW,CAAC;AAEnB,OAAO,EAGH,cAAc,EAGd,kBAAkB,EAClB,yBAAyB,GAE5B,MAAM,gBAAgB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n IFluidLoadable,\n IProvideFluidLoadable,\n IFluidRunnable,\n IProvideFluidRunnable,\n} from \"./fluidLoadable\";\n\n// Typescript forgets the index signature when customers augment IRequestHeader if we export *.\n// So we export the explicit members as a workaround:\n// https://github.com/microsoft/TypeScript/issues/18877#issuecomment-476921038\nexport {\n IRequest,\n IRequestHeader,\n IResponse,\n IProvideFluidRouter,\n IFluidRouter,\n} from \"./fluidRouter\";\n\nexport {\n IFluidHandleContext,\n IProvideFluidHandleContext,\n IFluidHandle,\n IProvideFluidHandle,\n} from \"./handles\";\n\nexport {\n IFluidPackageEnvironment,\n IFluidPackage,\n isFluidPackage,\n IFluidCodeDetailsConfig,\n IFluidCodeDetails,\n isFluidCodeDetails,\n IFluidCodeDetailsComparer,\n IProvideFluidCodeDetailsComparer,\n} from \"./fluidPackage\";\n\nexport {\n FluidObjectProviderKeys,\n FluidObject,\n FluidObjectKeys,\n} from \"./provider\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/core-interfaces",
|
|
3
|
-
"version": "2.0.0-internal.
|
|
3
|
+
"version": "2.0.0-internal.3.0.0",
|
|
4
4
|
"description": "Fluid object interfaces",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -16,11 +16,13 @@
|
|
|
16
16
|
"types": "dist/index.d.ts",
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "concurrently npm:build:compile npm:lint && npm run build:docs",
|
|
19
|
-
"build:
|
|
19
|
+
"build:commonjs": "npm run tsc && npm run typetests:gen && npm run build:test",
|
|
20
|
+
"build:compile": "concurrently npm:build:commonjs npm:build:esnext",
|
|
20
21
|
"build:docs": "api-extractor run --local --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/",
|
|
21
22
|
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
22
23
|
"build:full": "npm run build",
|
|
23
24
|
"build:full:compile": "npm run build:compile",
|
|
25
|
+
"build:test": "tsc --project ./src/test/tsconfig.json",
|
|
24
26
|
"ci:build": "npm run build:compile",
|
|
25
27
|
"ci:build:docs": "api-extractor run --typescript-compiler-folder ../../../node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/",
|
|
26
28
|
"ci:test": "echo No test for this package",
|
|
@@ -39,14 +41,14 @@
|
|
|
39
41
|
"typetests:prepare": "flub generate typetests --prepare --dir . --pin"
|
|
40
42
|
},
|
|
41
43
|
"devDependencies": {
|
|
42
|
-
"@fluid-tools/build-cli": "^0.
|
|
44
|
+
"@fluid-tools/build-cli": "^0.8.0",
|
|
43
45
|
"@fluidframework/build-common": "^1.1.0",
|
|
44
|
-
"@fluidframework/build-tools": "^0.
|
|
45
|
-
"@fluidframework/core-interfaces-previous": "npm:@fluidframework/core-interfaces@2.0.0-internal.2.
|
|
46
|
+
"@fluidframework/build-tools": "^0.8.0",
|
|
47
|
+
"@fluidframework/core-interfaces-previous": "npm:@fluidframework/core-interfaces@2.0.0-internal.2.2.0",
|
|
46
48
|
"@fluidframework/eslint-config-fluid": "^2.0.0",
|
|
47
49
|
"@microsoft/api-extractor": "^7.22.2",
|
|
48
50
|
"@rushstack/eslint-config": "^2.5.1",
|
|
49
|
-
"@types/node": "^14.18.
|
|
51
|
+
"@types/node": "^14.18.36",
|
|
50
52
|
"concurrently": "^6.2.0",
|
|
51
53
|
"copyfiles": "^2.4.1",
|
|
52
54
|
"eslint": "~8.6.0",
|
|
@@ -55,8 +57,18 @@
|
|
|
55
57
|
"typescript": "~4.5.5"
|
|
56
58
|
},
|
|
57
59
|
"typeValidation": {
|
|
58
|
-
"version": "2.0.0-internal.
|
|
59
|
-
"baselineRange": "2.0.0-internal.2.3.0",
|
|
60
|
-
"
|
|
60
|
+
"version": "2.0.0-internal.3.0.0",
|
|
61
|
+
"baselineRange": ">=2.0.0-internal.2.0.0 <2.0.0-internal.3.0.0",
|
|
62
|
+
"baselineVersion": "2.0.0-internal.2.1.1",
|
|
63
|
+
"broken": {
|
|
64
|
+
"InterfaceDeclaration_IFluidObject": {
|
|
65
|
+
"forwardCompat": false,
|
|
66
|
+
"backCompat": false
|
|
67
|
+
},
|
|
68
|
+
"RemovedInterfaceDeclaration_IFluidObject": {
|
|
69
|
+
"forwardCompat": false,
|
|
70
|
+
"backCompat": false
|
|
71
|
+
}
|
|
72
|
+
}
|
|
61
73
|
}
|
|
62
74
|
}
|
package/src/index.ts
CHANGED
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
// when merging declarations the module path must match exactly. Because of this we need to explicitly export
|
|
7
|
-
// IFluidObject as opposed to an export *
|
|
8
|
-
export { IFluidObject } from "./fluidObject";
|
|
9
|
-
|
|
10
6
|
export {
|
|
11
7
|
IFluidLoadable,
|
|
12
8
|
IProvideFluidLoadable,
|
package/tsconfig.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": "@fluidframework/build-common/ts-common-config.json",
|
|
3
3
|
"exclude": [
|
|
4
|
-
"
|
|
5
|
-
"node_modules",
|
|
6
|
-
"test-d"
|
|
4
|
+
"src/test/**/*"
|
|
7
5
|
],
|
|
8
6
|
"compilerOptions": {
|
|
9
7
|
"rootDir": "./src",
|
|
10
|
-
"outDir": "./dist"
|
|
8
|
+
"outDir": "./dist",
|
|
9
|
+
"composite": true,
|
|
11
10
|
},
|
|
12
11
|
"include": [
|
|
13
12
|
"src/**/*"
|
package/dist/fluidObject.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Use `FluidObject` or the interface directly instead
|
|
7
|
-
*/
|
|
8
|
-
export interface IFluidObject {
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=fluidObject.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fluidObject.d.ts","sourceRoot":"","sources":["../src/fluidObject.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH,MAAM,WAAW,YAAY;CAE5B"}
|
package/dist/fluidObject.js
DELETED
package/dist/fluidObject.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fluidObject.js","sourceRoot":"","sources":["../src/fluidObject.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @deprecated Use `FluidObject` or the interface directly instead\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface IFluidObject {\n\n}\n"]}
|
package/lib/fluidObject.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Use `FluidObject` or the interface directly instead
|
|
7
|
-
*/
|
|
8
|
-
export interface IFluidObject {
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=fluidObject.d.ts.map
|
package/lib/fluidObject.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fluidObject.d.ts","sourceRoot":"","sources":["../src/fluidObject.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH,MAAM,WAAW,YAAY;CAE5B"}
|
package/lib/fluidObject.js
DELETED
package/lib/fluidObject.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fluidObject.js","sourceRoot":"","sources":["../src/fluidObject.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @deprecated Use `FluidObject` or the interface directly instead\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface IFluidObject {\n\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fluidObjectTypes.d.ts","sourceRoot":"","sources":["../../../src/test/types/fluidObjectTypes.ts"],"names":[],"mappings":""}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2
|
-
/*!
|
|
3
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*/
|
|
6
|
-
import { IFluidLoadable } from "../../";
|
|
7
|
-
// test implicit conversions between FluidObject and a FluidObject with a provides interface
|
|
8
|
-
{
|
|
9
|
-
const provider = getFluidObject();
|
|
10
|
-
useFluidObject(provider);
|
|
11
|
-
useFluidObject(provider.IFluidLoadable);
|
|
12
|
-
useProvider(provider);
|
|
13
|
-
useProvider(provider.IFluidLoadable);
|
|
14
|
-
useLoadable(provider);
|
|
15
|
-
useLoadable(provider.IFluidLoadable);
|
|
16
|
-
// @ts-expect-error provider shouldn't have any non-provider properties
|
|
17
|
-
use(provider.handle);
|
|
18
|
-
use((_a = provider.IFluidLoadable) === null || _a === void 0 ? void 0 : _a.handle);
|
|
19
|
-
const unknown = provider.IFluidLoadable;
|
|
20
|
-
useFluidObject(unknown);
|
|
21
|
-
useProvider(unknown);
|
|
22
|
-
useProvider(unknown);
|
|
23
|
-
useLoadable(unknown);
|
|
24
|
-
}
|
|
25
|
-
// test implicit conversions between FluidObject and a FluidObject with a implementation interface
|
|
26
|
-
{
|
|
27
|
-
const foo = getFluidObject();
|
|
28
|
-
useFluidObject(foo);
|
|
29
|
-
useFluidObject(foo.IFluidLoadable);
|
|
30
|
-
useProvider(foo);
|
|
31
|
-
useProvider(foo.IFluidLoadable);
|
|
32
|
-
useLoadable(foo);
|
|
33
|
-
useLoadable(foo.IFluidLoadable);
|
|
34
|
-
// @ts-expect-error provider shouldn't have any non-provider properties
|
|
35
|
-
use(foo.handle);
|
|
36
|
-
use((_b = foo.IFluidLoadable) === null || _b === void 0 ? void 0 : _b.handle);
|
|
37
|
-
const unknown = foo.IFluidLoadable;
|
|
38
|
-
useFluidObject(unknown);
|
|
39
|
-
useProvider(unknown);
|
|
40
|
-
useProvider(unknown);
|
|
41
|
-
useLoadable(unknown);
|
|
42
|
-
}
|
|
43
|
-
// test getting keys
|
|
44
|
-
{
|
|
45
|
-
useProviderKey(IFluidLoadable);
|
|
46
|
-
useProviderKey(IFluidLoadable);
|
|
47
|
-
const loadableKey = "handle";
|
|
48
|
-
// @ts-expect-error provider shouldn't have any non-provider properties
|
|
49
|
-
useProviderKey(loadableKey);
|
|
50
|
-
}
|
|
51
|
-
// test implicit conversions between FluidObject and a FluidObject with a partial provider interface
|
|
52
|
-
{
|
|
53
|
-
const foo = getFluidObject();
|
|
54
|
-
useFluidObject(foo);
|
|
55
|
-
useFluidObject(foo.IFoo);
|
|
56
|
-
useProvider(foo);
|
|
57
|
-
useProvider(foo.IFoo);
|
|
58
|
-
(_c = foo.IFoo) === null || _c === void 0 ? void 0 : _c.doFoo();
|
|
59
|
-
const fooKey = "doFoo";
|
|
60
|
-
// @ts-expect-error provider shouldn't have any non-provider properties
|
|
61
|
-
useProviderKey(fooKey);
|
|
62
|
-
const unknown = foo.IFoo;
|
|
63
|
-
useFluidObject(unknown);
|
|
64
|
-
useProvider(unknown);
|
|
65
|
-
useProvider(unknown);
|
|
66
|
-
useLoadable(unknown);
|
|
67
|
-
}
|
|
68
|
-
{
|
|
69
|
-
const fluidObject = getIFluidObject();
|
|
70
|
-
const legacy = getFluidObject();
|
|
71
|
-
useLoadable(fluidObject);
|
|
72
|
-
useLoadable(legacy);
|
|
73
|
-
useFluidObject(fluidObject);
|
|
74
|
-
useFluidObject(legacy);
|
|
75
|
-
useProvider(legacy);
|
|
76
|
-
useProvider(fluidObject);
|
|
77
|
-
useProvider(legacy);
|
|
78
|
-
useProvider(fluidObject);
|
|
79
|
-
}
|
|
80
|
-
// validate nested property is FluidObject too
|
|
81
|
-
{
|
|
82
|
-
const foo = getFluidObject();
|
|
83
|
-
// @ts-expect-error "Property 'z' does not exist on type 'FluidObject<IFoo>'."
|
|
84
|
-
useProvider(foo.z);
|
|
85
|
-
}
|
|
86
|
-
// validate provider inheritance
|
|
87
|
-
{
|
|
88
|
-
const p = getFluidObject();
|
|
89
|
-
useProvider((_d = p.IFooParent) === null || _d === void 0 ? void 0 : _d.parent());
|
|
90
|
-
const c = getFluidObject();
|
|
91
|
-
// @ts-expect-error Property 'IFooParent' does not exist on type 'FluidObject<IFooProvideChild>'.
|
|
92
|
-
useProvider((_e = c.IFooParent) === null || _e === void 0 ? void 0 : _e.parent());
|
|
93
|
-
useProvider((_f = c.IFooChild) === null || _f === void 0 ? void 0 : _f.child());
|
|
94
|
-
useProvider((_g = c.IFooChild) === null || _g === void 0 ? void 0 : _g.parent());
|
|
95
|
-
useProvider((_j = (_h = c.IFooChild) === null || _h === void 0 ? void 0 : _h.IFooParent) === null || _j === void 0 ? void 0 : _j.parent());
|
|
96
|
-
}
|
|
97
|
-
// validate usage as builder
|
|
98
|
-
{
|
|
99
|
-
const builder = {};
|
|
100
|
-
builder.IFluidLoadable = getLoadable();
|
|
101
|
-
}
|
|
102
|
-
// validate readonly prevents modification
|
|
103
|
-
{
|
|
104
|
-
const builder = {};
|
|
105
|
-
// @ts-expect-error Cannot assign to 'IFluidLoadable' because it is a read-only property.
|
|
106
|
-
builder.IFluidLoadable = getLoadable();
|
|
107
|
-
}
|
|
108
|
-
//# sourceMappingURL=fluidObjectTypes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fluidObjectTypes.js","sourceRoot":"","sources":["../../../src/test/types/fluidObjectTypes.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\nimport { IFluidLoadable, IProvideFluidLoadable, FluidObject, FluidObjectKeys, IFluidObject } from \"../../\";\n\ndeclare function getFluidObject(): FluidObject;\n\ndeclare function useFluidObject(params: FluidObject | undefined): void;\n\ndeclare function useProvider<T extends FluidObject>(params: FluidObject<T> | undefined): void;\n\ndeclare function useProviderKey<T, TKey extends FluidObjectKeys<T> = FluidObjectKeys<T>>(key: TKey): void;\n\ndeclare function useLoadable(params: FluidObject<IFluidLoadable> | undefined): void;\ndeclare function getLoadable(): IFluidLoadable;\n\ndeclare function use(obj: any);\n// test implicit conversions between FluidObject and a FluidObject with a provides interface\n{\n const provider: FluidObject<IProvideFluidLoadable> = getFluidObject();\n useFluidObject(provider);\n useFluidObject(provider.IFluidLoadable);\n useProvider(provider);\n useProvider(provider.IFluidLoadable);\n useLoadable(provider);\n useLoadable(provider.IFluidLoadable);\n // @ts-expect-error provider shouldn't have any non-provider properties\n use(provider.handle);\n use(provider.IFluidLoadable?.handle);\n const unknown: FluidObject | undefined = provider.IFluidLoadable;\n useFluidObject(unknown);\n useProvider(unknown);\n useProvider<IFluidLoadable>(unknown);\n useLoadable(unknown);\n}\n\n// test implicit conversions between FluidObject and a FluidObject with a implementation interface\n{\n const foo: FluidObject<IFluidLoadable> = getFluidObject();\n useFluidObject(foo);\n useFluidObject(foo.IFluidLoadable);\n useProvider(foo);\n useProvider(foo.IFluidLoadable);\n useLoadable(foo);\n useLoadable(foo.IFluidLoadable);\n // @ts-expect-error provider shouldn't have any non-provider properties\n use(foo.handle);\n use(foo.IFluidLoadable?.handle);\n const unknown: FluidObject | undefined = foo.IFluidLoadable;\n useFluidObject(unknown);\n useProvider(unknown);\n useProvider<IFluidLoadable>(unknown);\n useLoadable(unknown);\n}\n\n// test getting keys\n{\n useProviderKey<IProvideFluidLoadable>(IFluidLoadable);\n useProviderKey<IFluidLoadable>(IFluidLoadable);\n const loadableKey: keyof IFluidLoadable = \"handle\";\n // @ts-expect-error provider shouldn't have any non-provider properties\n useProviderKey<IFluidLoadable>(loadableKey);\n}\n\n// test implicit conversions between FluidObject and a FluidObject with a partial provider interface\n{\n interface IProvideFoo{\n IFoo: IFoo;\n }\n interface IFoo extends Partial<IProvideFoo>{\n doFoo();\n }\n\n const foo: FluidObject<IFoo> = getFluidObject();\n useFluidObject(foo);\n useFluidObject(foo.IFoo);\n useProvider(foo);\n useProvider(foo.IFoo);\n foo.IFoo?.doFoo();\n const fooKey: keyof IFoo = \"doFoo\";\n // @ts-expect-error provider shouldn't have any non-provider properties\n useProviderKey<IFoo>(fooKey);\n const unknown: FluidObject | undefined = foo.IFoo;\n useFluidObject(unknown);\n useProvider(unknown);\n useProvider<IFoo>(unknown);\n useLoadable(unknown);\n}\n\n// test implicit conversions between FluidObject and IFluidObject for backcompat\ndeclare function getIFluidObject(): IFluidObject;\n{\n const fluidObject: FluidObject = getIFluidObject();\n const legacy: IFluidObject = getFluidObject();\n useLoadable(fluidObject);\n useLoadable(legacy);\n useFluidObject(fluidObject);\n useFluidObject(legacy);\n useProvider(legacy);\n useProvider(fluidObject);\n useProvider<IFluidLoadable>(legacy);\n useProvider<IFluidLoadable>(fluidObject);\n}\n\n// validate nested property is FluidObject too\n{\n interface IFoo {\n z: { z: { z: boolean; }; };\n }\n\n const foo: FluidObject<IFoo> = getFluidObject();\n // @ts-expect-error \"Property 'z' does not exist on type 'FluidObject<IFoo>'.\"\n useProvider(foo.z);\n}\n\n// validate provider inheritance\n{\n interface IProvideFooParent{\n IFooParent: IFooParent;\n }\n\n interface IFooParent extends Partial<IProvideFooParent>{\n parent();\n }\n\n interface IFooProvideChild {\n IFooChild: IFooChild;\n }\n\n interface IFooChild extends IFooParent, Partial<IFooProvideChild>{\n child();\n }\n\n const p: FluidObject<IProvideFooParent> = getFluidObject();\n useProvider(p.IFooParent?.parent());\n\n const c: FluidObject<IFooProvideChild> = getFluidObject();\n // @ts-expect-error Property 'IFooParent' does not exist on type 'FluidObject<IFooProvideChild>'.\n useProvider(c.IFooParent?.parent());\n useProvider(c.IFooChild?.child());\n useProvider(c.IFooChild?.parent());\n useProvider(c.IFooChild?.IFooParent?.parent());\n}\n\n// validate usage as builder\n{\n const builder: FluidObject<IFluidLoadable> = {};\n builder.IFluidLoadable = getLoadable();\n}\n\n// validate readonly prevents modification\n{\n const builder: Readonly<FluidObject<IFluidLoadable>> = {};\n // @ts-expect-error Cannot assign to 'IFluidLoadable' because it is a read-only property.\n builder.IFluidLoadable = getLoadable();\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validateCoreInterfacesPrevious.generated.d.ts","sourceRoot":"","sources":["../../../src/test/types/validateCoreInterfacesPrevious.generated.ts"],"names":[],"mappings":""}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
use_current_TypeAliasDeclaration_FluidObject(get_old_TypeAliasDeclaration_FluidObject());
|
|
2
|
-
use_old_TypeAliasDeclaration_FluidObject(get_current_TypeAliasDeclaration_FluidObject());
|
|
3
|
-
use_current_TypeAliasDeclaration_FluidObjectKeys(get_old_TypeAliasDeclaration_FluidObjectKeys());
|
|
4
|
-
use_old_TypeAliasDeclaration_FluidObjectKeys(get_current_TypeAliasDeclaration_FluidObjectKeys());
|
|
5
|
-
use_current_TypeAliasDeclaration_FluidObjectProviderKeys(get_old_TypeAliasDeclaration_FluidObjectProviderKeys());
|
|
6
|
-
use_old_TypeAliasDeclaration_FluidObjectProviderKeys(get_current_TypeAliasDeclaration_FluidObjectProviderKeys());
|
|
7
|
-
use_current_InterfaceDeclaration_IFluidCodeDetails(get_old_InterfaceDeclaration_IFluidCodeDetails());
|
|
8
|
-
use_old_InterfaceDeclaration_IFluidCodeDetails(get_current_InterfaceDeclaration_IFluidCodeDetails());
|
|
9
|
-
use_current_VariableDeclaration_IFluidCodeDetailsComparer(get_old_VariableDeclaration_IFluidCodeDetailsComparer());
|
|
10
|
-
use_old_VariableDeclaration_IFluidCodeDetailsComparer(get_current_VariableDeclaration_IFluidCodeDetailsComparer());
|
|
11
|
-
use_current_InterfaceDeclaration_IFluidCodeDetailsComparer(get_old_InterfaceDeclaration_IFluidCodeDetailsComparer());
|
|
12
|
-
use_old_InterfaceDeclaration_IFluidCodeDetailsComparer(get_current_InterfaceDeclaration_IFluidCodeDetailsComparer());
|
|
13
|
-
use_current_InterfaceDeclaration_IFluidCodeDetailsConfig(get_old_InterfaceDeclaration_IFluidCodeDetailsConfig());
|
|
14
|
-
use_old_InterfaceDeclaration_IFluidCodeDetailsConfig(get_current_InterfaceDeclaration_IFluidCodeDetailsConfig());
|
|
15
|
-
use_current_VariableDeclaration_IFluidHandle(get_old_VariableDeclaration_IFluidHandle());
|
|
16
|
-
use_old_VariableDeclaration_IFluidHandle(get_current_VariableDeclaration_IFluidHandle());
|
|
17
|
-
use_current_InterfaceDeclaration_IFluidHandle(get_old_InterfaceDeclaration_IFluidHandle());
|
|
18
|
-
use_old_InterfaceDeclaration_IFluidHandle(get_current_InterfaceDeclaration_IFluidHandle());
|
|
19
|
-
use_current_VariableDeclaration_IFluidHandleContext(get_old_VariableDeclaration_IFluidHandleContext());
|
|
20
|
-
use_old_VariableDeclaration_IFluidHandleContext(get_current_VariableDeclaration_IFluidHandleContext());
|
|
21
|
-
use_current_InterfaceDeclaration_IFluidHandleContext(get_old_InterfaceDeclaration_IFluidHandleContext());
|
|
22
|
-
use_old_InterfaceDeclaration_IFluidHandleContext(get_current_InterfaceDeclaration_IFluidHandleContext());
|
|
23
|
-
use_current_VariableDeclaration_IFluidLoadable(get_old_VariableDeclaration_IFluidLoadable());
|
|
24
|
-
use_old_VariableDeclaration_IFluidLoadable(get_current_VariableDeclaration_IFluidLoadable());
|
|
25
|
-
use_current_InterfaceDeclaration_IFluidLoadable(get_old_InterfaceDeclaration_IFluidLoadable());
|
|
26
|
-
use_old_InterfaceDeclaration_IFluidLoadable(get_current_InterfaceDeclaration_IFluidLoadable());
|
|
27
|
-
use_current_InterfaceDeclaration_IFluidObject(get_old_InterfaceDeclaration_IFluidObject());
|
|
28
|
-
use_old_InterfaceDeclaration_IFluidObject(get_current_InterfaceDeclaration_IFluidObject());
|
|
29
|
-
use_current_InterfaceDeclaration_IFluidPackage(get_old_InterfaceDeclaration_IFluidPackage());
|
|
30
|
-
use_old_InterfaceDeclaration_IFluidPackage(get_current_InterfaceDeclaration_IFluidPackage());
|
|
31
|
-
use_current_InterfaceDeclaration_IFluidPackageEnvironment(get_old_InterfaceDeclaration_IFluidPackageEnvironment());
|
|
32
|
-
use_old_InterfaceDeclaration_IFluidPackageEnvironment(get_current_InterfaceDeclaration_IFluidPackageEnvironment());
|
|
33
|
-
use_current_VariableDeclaration_IFluidRouter(get_old_VariableDeclaration_IFluidRouter());
|
|
34
|
-
use_old_VariableDeclaration_IFluidRouter(get_current_VariableDeclaration_IFluidRouter());
|
|
35
|
-
use_current_InterfaceDeclaration_IFluidRouter(get_old_InterfaceDeclaration_IFluidRouter());
|
|
36
|
-
use_old_InterfaceDeclaration_IFluidRouter(get_current_InterfaceDeclaration_IFluidRouter());
|
|
37
|
-
use_current_VariableDeclaration_IFluidRunnable(get_old_VariableDeclaration_IFluidRunnable());
|
|
38
|
-
use_old_VariableDeclaration_IFluidRunnable(get_current_VariableDeclaration_IFluidRunnable());
|
|
39
|
-
use_current_InterfaceDeclaration_IFluidRunnable(get_old_InterfaceDeclaration_IFluidRunnable());
|
|
40
|
-
use_old_InterfaceDeclaration_IFluidRunnable(get_current_InterfaceDeclaration_IFluidRunnable());
|
|
41
|
-
use_current_InterfaceDeclaration_IProvideFluidCodeDetailsComparer(get_old_InterfaceDeclaration_IProvideFluidCodeDetailsComparer());
|
|
42
|
-
use_old_InterfaceDeclaration_IProvideFluidCodeDetailsComparer(get_current_InterfaceDeclaration_IProvideFluidCodeDetailsComparer());
|
|
43
|
-
use_current_InterfaceDeclaration_IProvideFluidHandle(get_old_InterfaceDeclaration_IProvideFluidHandle());
|
|
44
|
-
use_old_InterfaceDeclaration_IProvideFluidHandle(get_current_InterfaceDeclaration_IProvideFluidHandle());
|
|
45
|
-
use_current_InterfaceDeclaration_IProvideFluidHandleContext(get_old_InterfaceDeclaration_IProvideFluidHandleContext());
|
|
46
|
-
use_old_InterfaceDeclaration_IProvideFluidHandleContext(get_current_InterfaceDeclaration_IProvideFluidHandleContext());
|
|
47
|
-
use_current_InterfaceDeclaration_IProvideFluidLoadable(get_old_InterfaceDeclaration_IProvideFluidLoadable());
|
|
48
|
-
use_old_InterfaceDeclaration_IProvideFluidLoadable(get_current_InterfaceDeclaration_IProvideFluidLoadable());
|
|
49
|
-
use_current_InterfaceDeclaration_IProvideFluidRouter(get_old_InterfaceDeclaration_IProvideFluidRouter());
|
|
50
|
-
use_old_InterfaceDeclaration_IProvideFluidRouter(get_current_InterfaceDeclaration_IProvideFluidRouter());
|
|
51
|
-
use_current_InterfaceDeclaration_IProvideFluidRunnable(get_old_InterfaceDeclaration_IProvideFluidRunnable());
|
|
52
|
-
use_old_InterfaceDeclaration_IProvideFluidRunnable(get_current_InterfaceDeclaration_IProvideFluidRunnable());
|
|
53
|
-
use_current_InterfaceDeclaration_IRequest(get_old_InterfaceDeclaration_IRequest());
|
|
54
|
-
use_old_InterfaceDeclaration_IRequest(get_current_InterfaceDeclaration_IRequest());
|
|
55
|
-
use_current_InterfaceDeclaration_IRequestHeader(get_old_InterfaceDeclaration_IRequestHeader());
|
|
56
|
-
use_old_InterfaceDeclaration_IRequestHeader(get_current_InterfaceDeclaration_IRequestHeader());
|
|
57
|
-
use_current_InterfaceDeclaration_IResponse(get_old_InterfaceDeclaration_IResponse());
|
|
58
|
-
use_old_InterfaceDeclaration_IResponse(get_current_InterfaceDeclaration_IResponse());
|
|
59
|
-
use_current_VariableDeclaration_isFluidCodeDetails(get_old_VariableDeclaration_isFluidCodeDetails());
|
|
60
|
-
use_old_VariableDeclaration_isFluidCodeDetails(get_current_VariableDeclaration_isFluidCodeDetails());
|
|
61
|
-
use_current_VariableDeclaration_isFluidPackage(get_old_VariableDeclaration_isFluidPackage());
|
|
62
|
-
use_old_VariableDeclaration_isFluidPackage(get_current_VariableDeclaration_isFluidPackage());
|
|
63
|
-
export {};
|
|
64
|
-
//# sourceMappingURL=validateCoreInterfacesPrevious.generated.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validateCoreInterfacesPrevious.generated.js","sourceRoot":"","sources":["../../../src/test/types/validateCoreInterfacesPrevious.generated.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/*\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n * Generated by fluid-type-validator in @fluidframework/build-tools.\n */\nimport * as old from \"@fluidframework/core-interfaces-previous\";\nimport * as current from \"../../index\";\n\ntype TypeOnly<T> = {\n [P in keyof T]: TypeOnly<T[P]>;\n};\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObject\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_FluidObject():\n TypeOnly<old.FluidObject>;\ndeclare function use_current_TypeAliasDeclaration_FluidObject(\n use: TypeOnly<current.FluidObject>);\nuse_current_TypeAliasDeclaration_FluidObject(\n get_old_TypeAliasDeclaration_FluidObject());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObject\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_FluidObject():\n TypeOnly<current.FluidObject>;\ndeclare function use_old_TypeAliasDeclaration_FluidObject(\n use: TypeOnly<old.FluidObject>);\nuse_old_TypeAliasDeclaration_FluidObject(\n get_current_TypeAliasDeclaration_FluidObject());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectKeys\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_FluidObjectKeys():\n TypeOnly<old.FluidObjectKeys<any>>;\ndeclare function use_current_TypeAliasDeclaration_FluidObjectKeys(\n use: TypeOnly<current.FluidObjectKeys<any>>);\nuse_current_TypeAliasDeclaration_FluidObjectKeys(\n get_old_TypeAliasDeclaration_FluidObjectKeys());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectKeys\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_FluidObjectKeys():\n TypeOnly<current.FluidObjectKeys<any>>;\ndeclare function use_old_TypeAliasDeclaration_FluidObjectKeys(\n use: TypeOnly<old.FluidObjectKeys<any>>);\nuse_old_TypeAliasDeclaration_FluidObjectKeys(\n get_current_TypeAliasDeclaration_FluidObjectKeys());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectProviderKeys\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_FluidObjectProviderKeys():\n TypeOnly<old.FluidObjectProviderKeys<any,any>>;\ndeclare function use_current_TypeAliasDeclaration_FluidObjectProviderKeys(\n use: TypeOnly<current.FluidObjectProviderKeys<any,any>>);\nuse_current_TypeAliasDeclaration_FluidObjectProviderKeys(\n get_old_TypeAliasDeclaration_FluidObjectProviderKeys());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectProviderKeys\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_FluidObjectProviderKeys():\n TypeOnly<current.FluidObjectProviderKeys<any,any>>;\ndeclare function use_old_TypeAliasDeclaration_FluidObjectProviderKeys(\n use: TypeOnly<old.FluidObjectProviderKeys<any,any>>);\nuse_old_TypeAliasDeclaration_FluidObjectProviderKeys(\n get_current_TypeAliasDeclaration_FluidObjectProviderKeys());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidCodeDetails\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidCodeDetails():\n TypeOnly<old.IFluidCodeDetails>;\ndeclare function use_current_InterfaceDeclaration_IFluidCodeDetails(\n use: TypeOnly<current.IFluidCodeDetails>);\nuse_current_InterfaceDeclaration_IFluidCodeDetails(\n get_old_InterfaceDeclaration_IFluidCodeDetails());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidCodeDetails\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidCodeDetails():\n TypeOnly<current.IFluidCodeDetails>;\ndeclare function use_old_InterfaceDeclaration_IFluidCodeDetails(\n use: TypeOnly<old.IFluidCodeDetails>);\nuse_old_InterfaceDeclaration_IFluidCodeDetails(\n get_current_InterfaceDeclaration_IFluidCodeDetails());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidCodeDetailsComparer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidCodeDetailsComparer():\n TypeOnly<typeof old.IFluidCodeDetailsComparer>;\ndeclare function use_current_VariableDeclaration_IFluidCodeDetailsComparer(\n use: TypeOnly<typeof current.IFluidCodeDetailsComparer>);\nuse_current_VariableDeclaration_IFluidCodeDetailsComparer(\n get_old_VariableDeclaration_IFluidCodeDetailsComparer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidCodeDetailsComparer\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidCodeDetailsComparer():\n TypeOnly<typeof current.IFluidCodeDetailsComparer>;\ndeclare function use_old_VariableDeclaration_IFluidCodeDetailsComparer(\n use: TypeOnly<typeof old.IFluidCodeDetailsComparer>);\nuse_old_VariableDeclaration_IFluidCodeDetailsComparer(\n get_current_VariableDeclaration_IFluidCodeDetailsComparer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidCodeDetailsComparer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidCodeDetailsComparer():\n TypeOnly<old.IFluidCodeDetailsComparer>;\ndeclare function use_current_InterfaceDeclaration_IFluidCodeDetailsComparer(\n use: TypeOnly<current.IFluidCodeDetailsComparer>);\nuse_current_InterfaceDeclaration_IFluidCodeDetailsComparer(\n get_old_InterfaceDeclaration_IFluidCodeDetailsComparer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidCodeDetailsComparer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidCodeDetailsComparer():\n TypeOnly<current.IFluidCodeDetailsComparer>;\ndeclare function use_old_InterfaceDeclaration_IFluidCodeDetailsComparer(\n use: TypeOnly<old.IFluidCodeDetailsComparer>);\nuse_old_InterfaceDeclaration_IFluidCodeDetailsComparer(\n get_current_InterfaceDeclaration_IFluidCodeDetailsComparer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidCodeDetailsConfig\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidCodeDetailsConfig():\n TypeOnly<old.IFluidCodeDetailsConfig>;\ndeclare function use_current_InterfaceDeclaration_IFluidCodeDetailsConfig(\n use: TypeOnly<current.IFluidCodeDetailsConfig>);\nuse_current_InterfaceDeclaration_IFluidCodeDetailsConfig(\n get_old_InterfaceDeclaration_IFluidCodeDetailsConfig());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidCodeDetailsConfig\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidCodeDetailsConfig():\n TypeOnly<current.IFluidCodeDetailsConfig>;\ndeclare function use_old_InterfaceDeclaration_IFluidCodeDetailsConfig(\n use: TypeOnly<old.IFluidCodeDetailsConfig>);\nuse_old_InterfaceDeclaration_IFluidCodeDetailsConfig(\n get_current_InterfaceDeclaration_IFluidCodeDetailsConfig());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidHandle\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidHandle():\n TypeOnly<typeof old.IFluidHandle>;\ndeclare function use_current_VariableDeclaration_IFluidHandle(\n use: TypeOnly<typeof current.IFluidHandle>);\nuse_current_VariableDeclaration_IFluidHandle(\n get_old_VariableDeclaration_IFluidHandle());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidHandle\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidHandle():\n TypeOnly<typeof current.IFluidHandle>;\ndeclare function use_old_VariableDeclaration_IFluidHandle(\n use: TypeOnly<typeof old.IFluidHandle>);\nuse_old_VariableDeclaration_IFluidHandle(\n get_current_VariableDeclaration_IFluidHandle());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidHandle\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidHandle():\n TypeOnly<old.IFluidHandle>;\ndeclare function use_current_InterfaceDeclaration_IFluidHandle(\n use: TypeOnly<current.IFluidHandle>);\nuse_current_InterfaceDeclaration_IFluidHandle(\n get_old_InterfaceDeclaration_IFluidHandle());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidHandle\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidHandle():\n TypeOnly<current.IFluidHandle>;\ndeclare function use_old_InterfaceDeclaration_IFluidHandle(\n use: TypeOnly<old.IFluidHandle>);\nuse_old_InterfaceDeclaration_IFluidHandle(\n get_current_InterfaceDeclaration_IFluidHandle());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidHandleContext\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidHandleContext():\n TypeOnly<typeof old.IFluidHandleContext>;\ndeclare function use_current_VariableDeclaration_IFluidHandleContext(\n use: TypeOnly<typeof current.IFluidHandleContext>);\nuse_current_VariableDeclaration_IFluidHandleContext(\n get_old_VariableDeclaration_IFluidHandleContext());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidHandleContext\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidHandleContext():\n TypeOnly<typeof current.IFluidHandleContext>;\ndeclare function use_old_VariableDeclaration_IFluidHandleContext(\n use: TypeOnly<typeof old.IFluidHandleContext>);\nuse_old_VariableDeclaration_IFluidHandleContext(\n get_current_VariableDeclaration_IFluidHandleContext());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidHandleContext\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidHandleContext():\n TypeOnly<old.IFluidHandleContext>;\ndeclare function use_current_InterfaceDeclaration_IFluidHandleContext(\n use: TypeOnly<current.IFluidHandleContext>);\nuse_current_InterfaceDeclaration_IFluidHandleContext(\n get_old_InterfaceDeclaration_IFluidHandleContext());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidHandleContext\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidHandleContext():\n TypeOnly<current.IFluidHandleContext>;\ndeclare function use_old_InterfaceDeclaration_IFluidHandleContext(\n use: TypeOnly<old.IFluidHandleContext>);\nuse_old_InterfaceDeclaration_IFluidHandleContext(\n get_current_InterfaceDeclaration_IFluidHandleContext());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidLoadable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidLoadable():\n TypeOnly<typeof old.IFluidLoadable>;\ndeclare function use_current_VariableDeclaration_IFluidLoadable(\n use: TypeOnly<typeof current.IFluidLoadable>);\nuse_current_VariableDeclaration_IFluidLoadable(\n get_old_VariableDeclaration_IFluidLoadable());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidLoadable\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidLoadable():\n TypeOnly<typeof current.IFluidLoadable>;\ndeclare function use_old_VariableDeclaration_IFluidLoadable(\n use: TypeOnly<typeof old.IFluidLoadable>);\nuse_old_VariableDeclaration_IFluidLoadable(\n get_current_VariableDeclaration_IFluidLoadable());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidLoadable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidLoadable():\n TypeOnly<old.IFluidLoadable>;\ndeclare function use_current_InterfaceDeclaration_IFluidLoadable(\n use: TypeOnly<current.IFluidLoadable>);\nuse_current_InterfaceDeclaration_IFluidLoadable(\n get_old_InterfaceDeclaration_IFluidLoadable());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidLoadable\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidLoadable():\n TypeOnly<current.IFluidLoadable>;\ndeclare function use_old_InterfaceDeclaration_IFluidLoadable(\n use: TypeOnly<old.IFluidLoadable>);\nuse_old_InterfaceDeclaration_IFluidLoadable(\n get_current_InterfaceDeclaration_IFluidLoadable());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidObject\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidObject():\n TypeOnly<old.IFluidObject>;\ndeclare function use_current_InterfaceDeclaration_IFluidObject(\n use: TypeOnly<current.IFluidObject>);\nuse_current_InterfaceDeclaration_IFluidObject(\n get_old_InterfaceDeclaration_IFluidObject());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidObject\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidObject():\n TypeOnly<current.IFluidObject>;\ndeclare function use_old_InterfaceDeclaration_IFluidObject(\n use: TypeOnly<old.IFluidObject>);\nuse_old_InterfaceDeclaration_IFluidObject(\n get_current_InterfaceDeclaration_IFluidObject());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidPackage\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidPackage():\n TypeOnly<old.IFluidPackage>;\ndeclare function use_current_InterfaceDeclaration_IFluidPackage(\n use: TypeOnly<current.IFluidPackage>);\nuse_current_InterfaceDeclaration_IFluidPackage(\n get_old_InterfaceDeclaration_IFluidPackage());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidPackage\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidPackage():\n TypeOnly<current.IFluidPackage>;\ndeclare function use_old_InterfaceDeclaration_IFluidPackage(\n use: TypeOnly<old.IFluidPackage>);\nuse_old_InterfaceDeclaration_IFluidPackage(\n get_current_InterfaceDeclaration_IFluidPackage());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidPackageEnvironment\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidPackageEnvironment():\n TypeOnly<old.IFluidPackageEnvironment>;\ndeclare function use_current_InterfaceDeclaration_IFluidPackageEnvironment(\n use: TypeOnly<current.IFluidPackageEnvironment>);\nuse_current_InterfaceDeclaration_IFluidPackageEnvironment(\n get_old_InterfaceDeclaration_IFluidPackageEnvironment());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidPackageEnvironment\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidPackageEnvironment():\n TypeOnly<current.IFluidPackageEnvironment>;\ndeclare function use_old_InterfaceDeclaration_IFluidPackageEnvironment(\n use: TypeOnly<old.IFluidPackageEnvironment>);\nuse_old_InterfaceDeclaration_IFluidPackageEnvironment(\n get_current_InterfaceDeclaration_IFluidPackageEnvironment());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidRouter\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidRouter():\n TypeOnly<typeof old.IFluidRouter>;\ndeclare function use_current_VariableDeclaration_IFluidRouter(\n use: TypeOnly<typeof current.IFluidRouter>);\nuse_current_VariableDeclaration_IFluidRouter(\n get_old_VariableDeclaration_IFluidRouter());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidRouter\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidRouter():\n TypeOnly<typeof current.IFluidRouter>;\ndeclare function use_old_VariableDeclaration_IFluidRouter(\n use: TypeOnly<typeof old.IFluidRouter>);\nuse_old_VariableDeclaration_IFluidRouter(\n get_current_VariableDeclaration_IFluidRouter());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidRouter\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidRouter():\n TypeOnly<old.IFluidRouter>;\ndeclare function use_current_InterfaceDeclaration_IFluidRouter(\n use: TypeOnly<current.IFluidRouter>);\nuse_current_InterfaceDeclaration_IFluidRouter(\n get_old_InterfaceDeclaration_IFluidRouter());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidRouter\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidRouter():\n TypeOnly<current.IFluidRouter>;\ndeclare function use_old_InterfaceDeclaration_IFluidRouter(\n use: TypeOnly<old.IFluidRouter>);\nuse_old_InterfaceDeclaration_IFluidRouter(\n get_current_InterfaceDeclaration_IFluidRouter());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidRunnable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidRunnable():\n TypeOnly<typeof old.IFluidRunnable>;\ndeclare function use_current_VariableDeclaration_IFluidRunnable(\n use: TypeOnly<typeof current.IFluidRunnable>);\nuse_current_VariableDeclaration_IFluidRunnable(\n get_old_VariableDeclaration_IFluidRunnable());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidRunnable\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidRunnable():\n TypeOnly<typeof current.IFluidRunnable>;\ndeclare function use_old_VariableDeclaration_IFluidRunnable(\n use: TypeOnly<typeof old.IFluidRunnable>);\nuse_old_VariableDeclaration_IFluidRunnable(\n get_current_VariableDeclaration_IFluidRunnable());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidRunnable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidRunnable():\n TypeOnly<old.IFluidRunnable>;\ndeclare function use_current_InterfaceDeclaration_IFluidRunnable(\n use: TypeOnly<current.IFluidRunnable>);\nuse_current_InterfaceDeclaration_IFluidRunnable(\n get_old_InterfaceDeclaration_IFluidRunnable());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidRunnable\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidRunnable():\n TypeOnly<current.IFluidRunnable>;\ndeclare function use_old_InterfaceDeclaration_IFluidRunnable(\n use: TypeOnly<old.IFluidRunnable>);\nuse_old_InterfaceDeclaration_IFluidRunnable(\n get_current_InterfaceDeclaration_IFluidRunnable());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidCodeDetailsComparer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidCodeDetailsComparer():\n TypeOnly<old.IProvideFluidCodeDetailsComparer>;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidCodeDetailsComparer(\n use: TypeOnly<current.IProvideFluidCodeDetailsComparer>);\nuse_current_InterfaceDeclaration_IProvideFluidCodeDetailsComparer(\n get_old_InterfaceDeclaration_IProvideFluidCodeDetailsComparer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidCodeDetailsComparer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidCodeDetailsComparer():\n TypeOnly<current.IProvideFluidCodeDetailsComparer>;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidCodeDetailsComparer(\n use: TypeOnly<old.IProvideFluidCodeDetailsComparer>);\nuse_old_InterfaceDeclaration_IProvideFluidCodeDetailsComparer(\n get_current_InterfaceDeclaration_IProvideFluidCodeDetailsComparer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidHandle\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidHandle():\n TypeOnly<old.IProvideFluidHandle>;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidHandle(\n use: TypeOnly<current.IProvideFluidHandle>);\nuse_current_InterfaceDeclaration_IProvideFluidHandle(\n get_old_InterfaceDeclaration_IProvideFluidHandle());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidHandle\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidHandle():\n TypeOnly<current.IProvideFluidHandle>;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidHandle(\n use: TypeOnly<old.IProvideFluidHandle>);\nuse_old_InterfaceDeclaration_IProvideFluidHandle(\n get_current_InterfaceDeclaration_IProvideFluidHandle());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidHandleContext\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidHandleContext():\n TypeOnly<old.IProvideFluidHandleContext>;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidHandleContext(\n use: TypeOnly<current.IProvideFluidHandleContext>);\nuse_current_InterfaceDeclaration_IProvideFluidHandleContext(\n get_old_InterfaceDeclaration_IProvideFluidHandleContext());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidHandleContext\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidHandleContext():\n TypeOnly<current.IProvideFluidHandleContext>;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidHandleContext(\n use: TypeOnly<old.IProvideFluidHandleContext>);\nuse_old_InterfaceDeclaration_IProvideFluidHandleContext(\n get_current_InterfaceDeclaration_IProvideFluidHandleContext());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidLoadable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidLoadable():\n TypeOnly<old.IProvideFluidLoadable>;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidLoadable(\n use: TypeOnly<current.IProvideFluidLoadable>);\nuse_current_InterfaceDeclaration_IProvideFluidLoadable(\n get_old_InterfaceDeclaration_IProvideFluidLoadable());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidLoadable\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidLoadable():\n TypeOnly<current.IProvideFluidLoadable>;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidLoadable(\n use: TypeOnly<old.IProvideFluidLoadable>);\nuse_old_InterfaceDeclaration_IProvideFluidLoadable(\n get_current_InterfaceDeclaration_IProvideFluidLoadable());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidRouter\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidRouter():\n TypeOnly<old.IProvideFluidRouter>;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidRouter(\n use: TypeOnly<current.IProvideFluidRouter>);\nuse_current_InterfaceDeclaration_IProvideFluidRouter(\n get_old_InterfaceDeclaration_IProvideFluidRouter());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidRouter\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidRouter():\n TypeOnly<current.IProvideFluidRouter>;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidRouter(\n use: TypeOnly<old.IProvideFluidRouter>);\nuse_old_InterfaceDeclaration_IProvideFluidRouter(\n get_current_InterfaceDeclaration_IProvideFluidRouter());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidRunnable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidRunnable():\n TypeOnly<old.IProvideFluidRunnable>;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidRunnable(\n use: TypeOnly<current.IProvideFluidRunnable>);\nuse_current_InterfaceDeclaration_IProvideFluidRunnable(\n get_old_InterfaceDeclaration_IProvideFluidRunnable());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidRunnable\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidRunnable():\n TypeOnly<current.IProvideFluidRunnable>;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidRunnable(\n use: TypeOnly<old.IProvideFluidRunnable>);\nuse_old_InterfaceDeclaration_IProvideFluidRunnable(\n get_current_InterfaceDeclaration_IProvideFluidRunnable());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IRequest\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IRequest():\n TypeOnly<old.IRequest>;\ndeclare function use_current_InterfaceDeclaration_IRequest(\n use: TypeOnly<current.IRequest>);\nuse_current_InterfaceDeclaration_IRequest(\n get_old_InterfaceDeclaration_IRequest());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IRequest\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IRequest():\n TypeOnly<current.IRequest>;\ndeclare function use_old_InterfaceDeclaration_IRequest(\n use: TypeOnly<old.IRequest>);\nuse_old_InterfaceDeclaration_IRequest(\n get_current_InterfaceDeclaration_IRequest());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IRequestHeader\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IRequestHeader():\n TypeOnly<old.IRequestHeader>;\ndeclare function use_current_InterfaceDeclaration_IRequestHeader(\n use: TypeOnly<current.IRequestHeader>);\nuse_current_InterfaceDeclaration_IRequestHeader(\n get_old_InterfaceDeclaration_IRequestHeader());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IRequestHeader\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IRequestHeader():\n TypeOnly<current.IRequestHeader>;\ndeclare function use_old_InterfaceDeclaration_IRequestHeader(\n use: TypeOnly<old.IRequestHeader>);\nuse_old_InterfaceDeclaration_IRequestHeader(\n get_current_InterfaceDeclaration_IRequestHeader());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IResponse\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IResponse():\n TypeOnly<old.IResponse>;\ndeclare function use_current_InterfaceDeclaration_IResponse(\n use: TypeOnly<current.IResponse>);\nuse_current_InterfaceDeclaration_IResponse(\n get_old_InterfaceDeclaration_IResponse());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IResponse\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IResponse():\n TypeOnly<current.IResponse>;\ndeclare function use_old_InterfaceDeclaration_IResponse(\n use: TypeOnly<old.IResponse>);\nuse_old_InterfaceDeclaration_IResponse(\n get_current_InterfaceDeclaration_IResponse());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_isFluidCodeDetails\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_isFluidCodeDetails():\n TypeOnly<typeof old.isFluidCodeDetails>;\ndeclare function use_current_VariableDeclaration_isFluidCodeDetails(\n use: TypeOnly<typeof current.isFluidCodeDetails>);\nuse_current_VariableDeclaration_isFluidCodeDetails(\n get_old_VariableDeclaration_isFluidCodeDetails());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_isFluidCodeDetails\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_isFluidCodeDetails():\n TypeOnly<typeof current.isFluidCodeDetails>;\ndeclare function use_old_VariableDeclaration_isFluidCodeDetails(\n use: TypeOnly<typeof old.isFluidCodeDetails>);\nuse_old_VariableDeclaration_isFluidCodeDetails(\n get_current_VariableDeclaration_isFluidCodeDetails());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_isFluidPackage\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_isFluidPackage():\n TypeOnly<typeof old.isFluidPackage>;\ndeclare function use_current_VariableDeclaration_isFluidPackage(\n use: TypeOnly<typeof current.isFluidPackage>);\nuse_current_VariableDeclaration_isFluidPackage(\n get_old_VariableDeclaration_isFluidPackage());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_isFluidPackage\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_isFluidPackage():\n TypeOnly<typeof current.isFluidPackage>;\ndeclare function use_old_VariableDeclaration_isFluidPackage(\n use: TypeOnly<typeof old.isFluidPackage>);\nuse_old_VariableDeclaration_isFluidPackage(\n get_current_VariableDeclaration_isFluidPackage());\n"]}
|
package/src/fluidObject.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Use `FluidObject` or the interface directly instead
|
|
8
|
-
*/
|
|
9
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
10
|
-
export interface IFluidObject {
|
|
11
|
-
|
|
12
|
-
}
|