@fluidframework/core-interfaces 0.40.0-40653 → 0.42.0-49742
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 +1 -1
- package/api-report/core-interfaces.api.md +47 -20
- package/dist/fluidLoadable.d.ts +15 -0
- package/dist/fluidLoadable.d.ts.map +1 -1
- package/dist/fluidLoadable.js +3 -0
- package/dist/fluidLoadable.js.map +1 -1
- package/dist/fluidObject.d.ts +36 -5
- package/dist/fluidObject.d.ts.map +1 -1
- package/dist/fluidObject.js +0 -1
- package/dist/fluidObject.js.map +1 -1
- package/dist/fluidPackage.d.ts +25 -0
- package/dist/fluidPackage.d.ts.map +1 -1
- package/dist/fluidPackage.js +10 -0
- package/dist/fluidPackage.js.map +1 -1
- package/dist/handles.d.ts +2 -1
- package/dist/handles.d.ts.map +1 -1
- package/dist/handles.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/provider.d.ts +64 -0
- package/dist/provider.d.ts.map +1 -0
- package/dist/provider.js +7 -0
- package/dist/provider.js.map +1 -0
- package/dist/serializer.d.ts +10 -0
- package/dist/serializer.d.ts.map +1 -1
- package/dist/serializer.js +3 -0
- package/dist/serializer.js.map +1 -1
- package/lib/fluidLoadable.d.ts +15 -0
- package/lib/fluidLoadable.d.ts.map +1 -1
- package/lib/fluidLoadable.js +3 -0
- package/lib/fluidLoadable.js.map +1 -1
- package/lib/fluidObject.d.ts +36 -5
- package/lib/fluidObject.d.ts.map +1 -1
- package/lib/fluidObject.js +0 -1
- package/lib/fluidObject.js.map +1 -1
- package/lib/fluidPackage.d.ts +25 -0
- package/lib/fluidPackage.d.ts.map +1 -1
- package/lib/fluidPackage.js +10 -0
- package/lib/fluidPackage.js.map +1 -1
- package/lib/handles.d.ts +2 -1
- package/lib/handles.d.ts.map +1 -1
- package/lib/handles.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/provider.d.ts +64 -0
- package/lib/provider.d.ts.map +1 -0
- package/lib/provider.js +6 -0
- package/lib/provider.js.map +1 -0
- package/lib/serializer.d.ts +10 -0
- package/lib/serializer.d.ts.map +1 -1
- package/lib/serializer.js +3 -0
- package/lib/serializer.js.map +1 -1
- package/lib/test/types/fluidObjectTypes.d.ts +2 -0
- package/lib/test/types/fluidObjectTypes.d.ts.map +1 -0
- package/lib/test/types/fluidObjectTypes.js +80 -0
- package/lib/test/types/fluidObjectTypes.js.map +1 -0
- package/lib/test/{validate0.39.8.d.ts → types/validate0.39.8.d.ts} +0 -0
- package/lib/test/types/validate0.39.8.d.ts.map +1 -0
- package/lib/test/{validate0.39.8.js → types/validate0.39.8.js} +0 -0
- package/lib/test/types/validate0.39.8.js.map +1 -0
- package/lib/test/types/validate0.40.0.d.ts +2 -0
- package/lib/test/types/validate0.40.0.d.ts.map +1 -0
- package/lib/test/types/validate0.40.0.js +72 -0
- package/lib/test/types/validate0.40.0.js.map +1 -0
- package/lib/test/types/validate0.41.0.d.ts +2 -0
- package/lib/test/types/validate0.41.0.d.ts.map +1 -0
- package/lib/test/types/validate0.41.0.js +78 -0
- package/lib/test/types/validate0.41.0.js.map +1 -0
- package/package.json +23 -18
- package/src/fluidLoadable.ts +15 -0
- package/src/fluidObject.ts +39 -17
- package/src/fluidPackage.ts +25 -0
- package/src/handles.ts +3 -2
- package/src/index.ts +1 -0
- package/src/provider.ts +70 -0
- package/src/serializer.ts +10 -0
- package/tsconfig.json +3 -2
- package/lib/test/validate0.39.8.d.ts.map +0 -1
- package/lib/test/validate0.39.8.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/core-interfaces",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.0-49742",
|
|
4
4
|
"description": "Fluid object interfaces",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": "https://github.com/microsoft/FluidFramework",
|
|
@@ -11,21 +11,24 @@
|
|
|
11
11
|
"module": "lib/index.js",
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "concurrently npm:build:compile npm:lint && npm run build:docs",
|
|
14
|
+
"build": "npm run build:gen && concurrently npm:build:compile npm:lint && npm run build:docs",
|
|
15
15
|
"build:compile": "concurrently npm:tsc npm:build:esnext",
|
|
16
16
|
"build:docs": "api-extractor run --local --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/",
|
|
17
17
|
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
18
18
|
"build:full": "npm run build",
|
|
19
19
|
"build:full:compile": "npm run build:compile",
|
|
20
|
-
"
|
|
20
|
+
"build:gen": "npm run build:gen:typetests",
|
|
21
|
+
"build:gen:typetests": "fluid-type-validator -d .",
|
|
22
|
+
"ci:build": "npm run build:gen && npm run build:compile",
|
|
21
23
|
"ci:build:docs": "api-extractor run --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/",
|
|
22
24
|
"ci:test": "echo No test for this package",
|
|
23
25
|
"ci:test:coverage": "echo No test for this package",
|
|
24
26
|
"clean": "rimraf dist lib *.tsbuildinfo *.build.log",
|
|
25
27
|
"eslint": "eslint --format stylish src",
|
|
26
|
-
"eslint:fix": "eslint --format stylish src --fix",
|
|
28
|
+
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
27
29
|
"lint": "npm run eslint",
|
|
28
30
|
"lint:fix": "npm run eslint:fix",
|
|
31
|
+
"test": "npm run test:types",
|
|
29
32
|
"tsc": "tsc",
|
|
30
33
|
"tsc:watch": "tsc --watch",
|
|
31
34
|
"tsfmt": "tsfmt --verify",
|
|
@@ -33,29 +36,31 @@
|
|
|
33
36
|
},
|
|
34
37
|
"devDependencies": {
|
|
35
38
|
"@fluidframework/build-common": "^0.23.0",
|
|
39
|
+
"@fluidframework/build-tools": "^0.2.49276",
|
|
36
40
|
"@fluidframework/core-interfaces-0.39.8": "npm:@fluidframework/core-interfaces@0.39.8",
|
|
37
|
-
"@fluidframework/
|
|
41
|
+
"@fluidframework/core-interfaces-0.40.0": "npm:@fluidframework/core-interfaces@0.40.0",
|
|
42
|
+
"@fluidframework/core-interfaces-0.41.0": "npm:@fluidframework/core-interfaces@0.41.0",
|
|
43
|
+
"@fluidframework/eslint-config-fluid": "^0.25.0",
|
|
38
44
|
"@microsoft/api-extractor": "^7.16.1",
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@typescript-eslint/
|
|
42
|
-
"
|
|
45
|
+
"@rushstack/eslint-config": "^2.5.1",
|
|
46
|
+
"@types/node": "^14.18.0",
|
|
47
|
+
"@typescript-eslint/eslint-plugin": "~5.9.0",
|
|
48
|
+
"@typescript-eslint/parser": "~5.9.0",
|
|
49
|
+
"concurrently": "^6.2.0",
|
|
43
50
|
"copyfiles": "^2.1.0",
|
|
44
|
-
"eslint": "~
|
|
51
|
+
"eslint": "~8.6.0",
|
|
52
|
+
"eslint-plugin-editorconfig": "~3.2.0",
|
|
45
53
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
46
|
-
"eslint-plugin-import": "~2.
|
|
54
|
+
"eslint-plugin-import": "~2.25.4",
|
|
47
55
|
"eslint-plugin-no-null": "~1.0.2",
|
|
48
|
-
"eslint-plugin-
|
|
49
|
-
"eslint-plugin-
|
|
50
|
-
"eslint-plugin-unicorn": "~26.0.1",
|
|
56
|
+
"eslint-plugin-react": "~7.28.0",
|
|
57
|
+
"eslint-plugin-unicorn": "~40.0.0",
|
|
51
58
|
"rimraf": "^2.6.2",
|
|
52
59
|
"typescript": "~4.1.3",
|
|
53
60
|
"typescript-formatter": "7.1.0"
|
|
54
61
|
},
|
|
55
62
|
"typeValidation": {
|
|
56
|
-
"version": "0.
|
|
57
|
-
"broken": {
|
|
58
|
-
"0.39.8": {}
|
|
59
|
-
}
|
|
63
|
+
"version": "0.42.0",
|
|
64
|
+
"broken": {}
|
|
60
65
|
}
|
|
61
66
|
}
|
package/src/fluidLoadable.ts
CHANGED
|
@@ -28,12 +28,27 @@ export interface IFluidRunnable {
|
|
|
28
28
|
stop(reason?: string): void;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated 0.42 - Not recommended for use and will be removed in an upcoming release.
|
|
33
|
+
*/
|
|
31
34
|
export const IFluidConfiguration: keyof IProvideFluidConfiguration = "IFluidConfiguration";
|
|
32
35
|
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated 0.42 - Not recommended for use and will be removed in an upcoming release.
|
|
38
|
+
*/
|
|
33
39
|
export interface IProvideFluidConfiguration {
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated 0.42 - Not recommended for use and will be removed in an upcoming release.
|
|
42
|
+
*/
|
|
34
43
|
readonly IFluidConfiguration: IFluidConfiguration;
|
|
35
44
|
}
|
|
36
45
|
|
|
46
|
+
/**
|
|
47
|
+
* @deprecated 0.42 - Not recommended for use and will be removed in an upcoming release.
|
|
48
|
+
*/
|
|
37
49
|
export interface IFluidConfiguration extends IProvideFluidConfiguration {
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated 0.42 - Not recommended for use and will be removed in an upcoming release.
|
|
52
|
+
*/
|
|
38
53
|
scopes: string[];
|
|
39
54
|
}
|
package/src/fluidObject.ts
CHANGED
|
@@ -4,23 +4,45 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
IFluidConfiguration,
|
|
8
|
+
IFluidLoadable,
|
|
9
|
+
IFluidRunnable,
|
|
10
10
|
} from "./fluidLoadable";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import { IFluidRouter } from "./fluidRouter";
|
|
12
|
+
import { IFluidHandle, IFluidHandleContext } from "./handles";
|
|
13
|
+
import { IFluidSerializer } from "./serializer";
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Use `FluidObject` or the interface directly instead
|
|
17
|
+
*/
|
|
18
|
+
export interface IFluidObject {
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated - use `FluidObject<IFluidLoadable>` instead
|
|
22
|
+
*/
|
|
23
|
+
readonly IFluidLoadable?: IFluidLoadable;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated - use `FluidObject<IFluidRunnable>` instead
|
|
26
|
+
*/
|
|
27
|
+
readonly IFluidRunnable?: IFluidRunnable
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated - use `FluidObject<IFluidRouter>` instead
|
|
30
|
+
*/
|
|
31
|
+
readonly IFluidRouter?: IFluidRouter;
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated - use `FluidObject<IFluidHandleContext>` instead
|
|
34
|
+
*/
|
|
35
|
+
readonly IFluidHandleContext?: IFluidHandleContext;
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated - use `FluidObject<IFluidConfiguration>` instead
|
|
38
|
+
*/
|
|
39
|
+
readonly IFluidConfiguration?: IFluidConfiguration;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated - use `FluidObject<IFluidHandle>` instead
|
|
42
|
+
*/
|
|
43
|
+
readonly IFluidHandle?: IFluidHandle;
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated - use `FluidObject<IFluidSerializer>` instead
|
|
46
|
+
*/
|
|
47
|
+
readonly IFluidSerializer?: IFluidSerializer;
|
|
25
48
|
}
|
|
26
|
-
/* eslint-enable @typescript-eslint/no-empty-interface */
|
package/src/fluidPackage.ts
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
+
* @deprecated in favor of {@link @fluidframework/container-definitions/fluidPackage.ts#IFluidPackageEnvironment}
|
|
8
|
+
* to have code loading modules in same package.
|
|
7
9
|
* Specifies an environment on Fluid property of a IFluidPackage
|
|
8
10
|
*/
|
|
9
11
|
export interface IFluidPackageEnvironment {
|
|
@@ -30,6 +32,8 @@ export interface IFluidPackageEnvironment {
|
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
/**
|
|
35
|
+
* @deprecated in favor of {@link @fluidframework/container-definitions/fluidPackage.ts#IFluidPackage}
|
|
36
|
+
* to have code loading modules in same package.
|
|
33
37
|
* Fluid-specific properties expected on a package to be loaded by the code loader.
|
|
34
38
|
* While compatible with the npm package format it is not necessary that that package is an
|
|
35
39
|
* npm package:
|
|
@@ -59,6 +63,8 @@ export interface IFluidPackage {
|
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
/**
|
|
66
|
+
* @deprecated in favor of {@link @fluidframework/container-definitions/fluidPackage.ts#isFluidPackage}
|
|
67
|
+
* to have code loading modules in same package.
|
|
62
68
|
* Check if the package.json defines a Fluid package
|
|
63
69
|
* @param pkg - the package json data to check if it is a Fluid package.
|
|
64
70
|
*/
|
|
@@ -68,6 +74,8 @@ export const isFluidPackage = (pkg: any): pkg is Readonly<IFluidPackage> =>
|
|
|
68
74
|
&& typeof pkg?.fluid === "object";
|
|
69
75
|
|
|
70
76
|
/**
|
|
77
|
+
* @deprecated in favor of {@link @fluidframework/container-definitions/fluidPackage.ts#IFluidCodeDetailsConfig}
|
|
78
|
+
* to have code loading modules in same package.
|
|
71
79
|
* Package manager configuration. Provides a key value mapping of config values
|
|
72
80
|
*/
|
|
73
81
|
export interface IFluidCodeDetailsConfig {
|
|
@@ -75,6 +83,8 @@ export interface IFluidCodeDetailsConfig {
|
|
|
75
83
|
}
|
|
76
84
|
|
|
77
85
|
/**
|
|
86
|
+
* @deprecated in favor of {@link @fluidframework/container-definitions/fluidPackage.ts#IFluidCodeDetails}
|
|
87
|
+
* to have code loading modules in same package.
|
|
78
88
|
* Data structure used to describe the code to load on the Fluid document
|
|
79
89
|
*/
|
|
80
90
|
export interface IFluidCodeDetails {
|
|
@@ -90,6 +100,10 @@ export interface IFluidCodeDetails {
|
|
|
90
100
|
readonly config?: IFluidCodeDetailsConfig;
|
|
91
101
|
}
|
|
92
102
|
|
|
103
|
+
/**
|
|
104
|
+
* @deprecated in favor of {@link @fluidframework/container-definitions/fluidPackage.ts#isFluidCodeDetails}
|
|
105
|
+
* to have code loading modules in same package
|
|
106
|
+
*/
|
|
93
107
|
export const isFluidCodeDetails = (details: unknown): details is Readonly<IFluidCodeDetails> =>{
|
|
94
108
|
const maybeCodeDetails = details as Partial<IFluidCodeDetails> | undefined;
|
|
95
109
|
return typeof maybeCodeDetails === "object"
|
|
@@ -97,13 +111,24 @@ export const isFluidCodeDetails = (details: unknown): details is Readonly<IFluid
|
|
|
97
111
|
&& (maybeCodeDetails?.config === undefined || typeof maybeCodeDetails?.config === "object");
|
|
98
112
|
};
|
|
99
113
|
|
|
114
|
+
/**
|
|
115
|
+
* @deprecated in favor of {@link @fluidframework/container-definitions/fluidPackage.ts#IFluidCodeDetailsComparer}
|
|
116
|
+
* to have code loading modules in same package.
|
|
117
|
+
*/
|
|
100
118
|
export const IFluidCodeDetailsComparer: keyof IProvideFluidCodeDetailsComparer = "IFluidCodeDetailsComparer";
|
|
101
119
|
|
|
120
|
+
/**
|
|
121
|
+
* @deprecated in favor of
|
|
122
|
+
* {@link @fluidframework/container-definitions/fluidPackage.ts#IProvideFluidCodeDetailsComparer}
|
|
123
|
+
* to have code loading modules in same package.
|
|
124
|
+
*/
|
|
102
125
|
export interface IProvideFluidCodeDetailsComparer {
|
|
103
126
|
readonly IFluidCodeDetailsComparer: IFluidCodeDetailsComparer ;
|
|
104
127
|
}
|
|
105
128
|
|
|
106
129
|
/**
|
|
130
|
+
* @deprecated in favor of {@link @fluidframework/container-definitions/fluidPackage.ts#IFluidCodeDetailsComparer}
|
|
131
|
+
* to have code loading modules in same package.
|
|
107
132
|
* Provides capability to compare Fluid code details.
|
|
108
133
|
*/
|
|
109
134
|
export interface IFluidCodeDetailsComparer extends IProvideFluidCodeDetailsComparer {
|
package/src/handles.ts
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import { IRequest, IResponse } from "./fluidRouter";
|
|
7
7
|
import { IFluidObject } from "./fluidObject";
|
|
8
8
|
import { IFluidLoadable } from "./fluidLoadable";
|
|
9
|
+
import { FluidObject } from "./provider";
|
|
9
10
|
|
|
10
11
|
export const IFluidHandleContext: keyof IProvideFluidHandleContext = "IFluidHandleContext";
|
|
11
12
|
|
|
@@ -51,8 +52,8 @@ export interface IProvideFluidHandle {
|
|
|
51
52
|
* Handle to a shared FluidObject
|
|
52
53
|
*/
|
|
53
54
|
export interface IFluidHandle<
|
|
54
|
-
// REVIEW: Constrain `T` to
|
|
55
|
-
T = IFluidObject & IFluidLoadable
|
|
55
|
+
// REVIEW: Constrain `T` to something? How do we support dds and datastores safely?
|
|
56
|
+
T = IFluidObject & FluidObject & IFluidLoadable
|
|
56
57
|
> extends IProvideFluidHandle {
|
|
57
58
|
|
|
58
59
|
/**
|
package/src/index.ts
CHANGED
package/src/provider.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
* This utility type is meant for internal use by @see FluidObject
|
|
9
|
+
* Produces a valid FluidObject key given a type and a property.
|
|
10
|
+
* A valid FluidObject key is a property that exists on the incoming type
|
|
11
|
+
* as well as on the type of the property itself. For example, IProvideFoo.IFoo.IFoo
|
|
12
|
+
* This aligns with the FluidObject pattern expected to be used with all FluidObjects.
|
|
13
|
+
* For example:
|
|
14
|
+
* ```
|
|
15
|
+
* interface IProvideFoo{
|
|
16
|
+
* IFoo: IFoo
|
|
17
|
+
* }
|
|
18
|
+
* interface IFoo extends IProvideFoo{
|
|
19
|
+
* foobar();
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
* This pattern enables discovery, and delegation in a standard way which is central
|
|
23
|
+
* to FluidObject pattern
|
|
24
|
+
*/
|
|
25
|
+
export type FluidObjectProviderKeys<T, TProp extends keyof T = keyof T> =
|
|
26
|
+
string extends TProp ? never : number extends TProp? never : // exclude indexers [key:string |number]: any
|
|
27
|
+
TProp extends keyof Exclude<T[TProp], undefined> // TProp is a property of T, and T[TProp]
|
|
28
|
+
? TProp
|
|
29
|
+
:never;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* This utility type take interface(s) that follow the FluidObject pattern, and produces
|
|
33
|
+
* a new type that can be used for inspection and discovery of those interfaces.
|
|
34
|
+
*
|
|
35
|
+
* It is meant to be used with types that are known to implement the FluidObject pattern.
|
|
36
|
+
* A common way to specify a type implements the FluidObject pattern is to expose it as a
|
|
37
|
+
* FluidObject without a generic argument.
|
|
38
|
+
*
|
|
39
|
+
* For example, if we have an interface like below
|
|
40
|
+
* ```
|
|
41
|
+
* interface IProvideFoo{
|
|
42
|
+
* IFoo: IFoo
|
|
43
|
+
* }
|
|
44
|
+
* interface IFoo extends IProvideFoo{
|
|
45
|
+
* foobar();
|
|
46
|
+
* }
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* and a function that returns a FluidObject. You would do the following
|
|
50
|
+
*
|
|
51
|
+
* `const maybeFoo: FluidObject<IFoo> = getFluidObject()`;
|
|
52
|
+
*
|
|
53
|
+
* Either IFoo or IProvideFoo are valid generic arguments. In both case
|
|
54
|
+
* maybeFoo will be of type `{IFoo?: IFoo}`. If IFoo is not undefined,
|
|
55
|
+
* then the FluidObject provides IFoo, and it can be used.
|
|
56
|
+
*
|
|
57
|
+
* You can inspect multiple types via a intersection. For example:
|
|
58
|
+
* `FluidObject<IFoo & IBar>`
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export type FluidObject<T = unknown> = Partial<Pick<T, FluidObjectProviderKeys<T>>>;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* This utility type creates a type that is the union of all keys on the generic type
|
|
65
|
+
* which implement the FluidObject pattern. @see FluidObject
|
|
66
|
+
*
|
|
67
|
+
* For example `FluidObjectKeys<IFoo & IBar>` would result in `"IFoo" | "IBar"`
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export type FluidObjectKeys<T> = keyof FluidObject<T>;
|
package/src/serializer.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { IFluidHandle } from "./handles";
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* JSON serialized form of an IFluidHandle
|
|
9
|
+
* @deprecated - Moved to fluidframework/shared-object-base package
|
|
9
10
|
*/
|
|
10
11
|
export interface ISerializedHandle {
|
|
11
12
|
// Marker to indicate to JSON.parse that the object is a Fluid handle
|
|
@@ -15,12 +16,21 @@ export interface ISerializedHandle {
|
|
|
15
16
|
url: string;
|
|
16
17
|
}
|
|
17
18
|
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated - Moved to fluidframework/shared-object-base package
|
|
21
|
+
*/
|
|
18
22
|
export const IFluidSerializer: keyof IProvideFluidSerializer = "IFluidSerializer";
|
|
19
23
|
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated - Moved to fluidframework/shared-object-base package
|
|
26
|
+
*/
|
|
20
27
|
export interface IProvideFluidSerializer {
|
|
21
28
|
readonly IFluidSerializer: IFluidSerializer;
|
|
22
29
|
}
|
|
23
30
|
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated - Moved to fluidframework/shared-object-base package
|
|
33
|
+
*/
|
|
24
34
|
export interface IFluidSerializer extends IProvideFluidSerializer {
|
|
25
35
|
/**
|
|
26
36
|
* Given a mostly-plain object that may have handle objects embedded within, will return a fully-plain object
|
package/tsconfig.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate0.39.8.d.ts","sourceRoot":"","sources":["../../src/test/validate0.39.8.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate0.39.8.js","sourceRoot":"","sources":["../../src/test/validate0.39.8.ts"],"names":[],"mappings":"AAoBA,kDAAkD,CAC9C,8CAA8C,EAAE,CAAC,CAAC;AAWtD,8CAA8C,CAC1C,kDAAkD,EAAE,CAAC,CAAC;AAW1D,yDAAyD,CACrD,qDAAqD,EAAE,CAAC,CAAC;AAW7D,qDAAqD,CACjD,yDAAyD,EAAE,CAAC,CAAC;AAWjE,0DAA0D,CACtD,sDAAsD,EAAE,CAAC,CAAC;AAW9D,sDAAsD,CAClD,0DAA0D,EAAE,CAAC,CAAC;AAWlE,wDAAwD,CACpD,oDAAoD,EAAE,CAAC,CAAC;AAW5D,oDAAoD,CAChD,wDAAwD,EAAE,CAAC,CAAC;AAWhE,mDAAmD,CAC/C,+CAA+C,EAAE,CAAC,CAAC;AAWvD,+CAA+C,CAC3C,mDAAmD,EAAE,CAAC,CAAC;AAW3D,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,4CAA4C,CACxC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,wCAAwC,CACpC,4CAA4C,EAAE,CAAC,CAAC;AAWpD,6CAA6C,CACzC,yCAAyC,EAAE,CAAC,CAAC;AAWjD,yCAAyC,CACrC,6CAA6C,EAAE,CAAC,CAAC;AAWrD,mDAAmD,CAC/C,+CAA+C,EAAE,CAAC,CAAC;AAWvD,+CAA+C,CAC3C,mDAAmD,EAAE,CAAC,CAAC;AAW3D,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,8CAA8C,CAC1C,0CAA0C,EAAE,CAAC,CAAC;AAWlD,0CAA0C,CACtC,8CAA8C,EAAE,CAAC,CAAC;AAWtD,+CAA+C,CAC3C,2CAA2C,EAAE,CAAC,CAAC;AAWnD,2CAA2C,CACvC,+CAA+C,EAAE,CAAC,CAAC;AAWvD,6CAA6C,CACzC,yCAAyC,EAAE,CAAC,CAAC;AAWjD,yCAAyC,CACrC,6CAA6C,EAAE,CAAC,CAAC;AAWrD,8CAA8C,CAC1C,0CAA0C,EAAE,CAAC,CAAC;AAWlD,0CAA0C,CACtC,8CAA8C,EAAE,CAAC,CAAC;AAWtD,yDAAyD,CACrD,qDAAqD,EAAE,CAAC,CAAC;AAW7D,qDAAqD,CACjD,yDAAyD,EAAE,CAAC,CAAC;AAWjE,4CAA4C,CACxC,wCAAwC,EAAE,CAAC,CAAC;AAWhD,wCAAwC,CACpC,4CAA4C,EAAE,CAAC,CAAC;AAWpD,6CAA6C,CACzC,yCAAyC,EAAE,CAAC,CAAC;AAWjD,yCAAyC,CACrC,6CAA6C,EAAE,CAAC,CAAC;AAWrD,8CAA8C,CAC1C,0CAA0C,EAAE,CAAC,CAAC;AAWlD,0CAA0C,CACtC,8CAA8C,EAAE,CAAC,CAAC;AAWtD,+CAA+C,CAC3C,2CAA2C,EAAE,CAAC,CAAC;AAWnD,2CAA2C,CACvC,+CAA+C,EAAE,CAAC,CAAC;AAWvD,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,iDAAiD,CAC7C,6CAA6C,EAAE,CAAC,CAAC;AAWrD,6CAA6C,CACzC,iDAAiD,EAAE,CAAC,CAAC;AAWzD,iEAAiE,CAC7D,6DAA6D,EAAE,CAAC,CAAC;AAWrE,6DAA6D,CACzD,iEAAiE,EAAE,CAAC,CAAC;AAWzE,2DAA2D,CACvD,uDAAuD,EAAE,CAAC,CAAC;AAW/D,uDAAuD,CACnD,2DAA2D,EAAE,CAAC,CAAC;AAWnE,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,2DAA2D,CACvD,uDAAuD,EAAE,CAAC,CAAC;AAW/D,uDAAuD,CACnD,2DAA2D,EAAE,CAAC,CAAC;AAWnE,sDAAsD,CAClD,kDAAkD,EAAE,CAAC,CAAC;AAW1D,kDAAkD,CAC9C,sDAAsD,EAAE,CAAC,CAAC;AAW9D,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,sDAAsD,CAClD,kDAAkD,EAAE,CAAC,CAAC;AAW1D,kDAAkD,CAC9C,sDAAsD,EAAE,CAAC,CAAC;AAW9D,wDAAwD,CACpD,oDAAoD,EAAE,CAAC,CAAC;AAW5D,oDAAoD,CAChD,wDAAwD,EAAE,CAAC,CAAC;AAWhE,yCAAyC,CACrC,qCAAqC,EAAE,CAAC,CAAC;AAW7C,qCAAqC,CACjC,yCAAyC,EAAE,CAAC,CAAC;AAWjD,+CAA+C,CAC3C,2CAA2C,EAAE,CAAC,CAAC;AAWnD,2CAA2C,CACvC,+CAA+C,EAAE,CAAC,CAAC;AAWvD,0CAA0C,CACtC,sCAAsC,EAAE,CAAC,CAAC;AAW9C,sCAAsC,CAClC,0CAA0C,EAAE,CAAC,CAAC;AAWlD,kDAAkD,CAC9C,8CAA8C,EAAE,CAAC,CAAC;AAWtD,8CAA8C,CAC1C,kDAAkD,EAAE,CAAC,CAAC;AAW1D,kDAAkD,CAC9C,8CAA8C,EAAE,CAAC,CAAC;AAWtD,8CAA8C,CAC1C,kDAAkD,EAAE,CAAC,CAAC;AAW1D,8CAA8C,CAC1C,0CAA0C,EAAE,CAAC,CAAC;AAWlD,0CAA0C,CACtC,8CAA8C,EAAE,CAAC,CAAC","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-0.39.8\";\nimport * as current from \"../index\";\n\n/*\n* validate forward compat by using old type in place of current type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidCodeDetails\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidCodeDetails():\n old.IFluidCodeDetails;\ndeclare function use_current_InterfaceDeclaration_IFluidCodeDetails(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidCodeDetails\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidCodeDetails():\n current.IFluidCodeDetails;\ndeclare function use_old_InterfaceDeclaration_IFluidCodeDetails(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidCodeDetailsComparer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidCodeDetailsComparer():\n typeof old.IFluidCodeDetailsComparer;\ndeclare function use_current_VariableDeclaration_IFluidCodeDetailsComparer(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidCodeDetailsComparer\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidCodeDetailsComparer():\n typeof current.IFluidCodeDetailsComparer;\ndeclare function use_old_VariableDeclaration_IFluidCodeDetailsComparer(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidCodeDetailsComparer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidCodeDetailsComparer():\n old.IFluidCodeDetailsComparer;\ndeclare function use_current_InterfaceDeclaration_IFluidCodeDetailsComparer(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidCodeDetailsComparer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidCodeDetailsComparer():\n current.IFluidCodeDetailsComparer;\ndeclare function use_old_InterfaceDeclaration_IFluidCodeDetailsComparer(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidCodeDetailsConfig\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidCodeDetailsConfig():\n old.IFluidCodeDetailsConfig;\ndeclare function use_current_InterfaceDeclaration_IFluidCodeDetailsConfig(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidCodeDetailsConfig\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidCodeDetailsConfig():\n current.IFluidCodeDetailsConfig;\ndeclare function use_old_InterfaceDeclaration_IFluidCodeDetailsConfig(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidConfiguration\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidConfiguration():\n typeof old.IFluidConfiguration;\ndeclare function use_current_VariableDeclaration_IFluidConfiguration(\n use: typeof current.IFluidConfiguration);\nuse_current_VariableDeclaration_IFluidConfiguration(\n get_old_VariableDeclaration_IFluidConfiguration());\n\n/*\n* validate back compat by using current type in place of old type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidConfiguration\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidConfiguration():\n typeof current.IFluidConfiguration;\ndeclare function use_old_VariableDeclaration_IFluidConfiguration(\n use: typeof old.IFluidConfiguration);\nuse_old_VariableDeclaration_IFluidConfiguration(\n get_current_VariableDeclaration_IFluidConfiguration());\n\n/*\n* validate forward compat by using old type in place of current type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidConfiguration\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidConfiguration():\n old.IFluidConfiguration;\ndeclare function use_current_InterfaceDeclaration_IFluidConfiguration(\n use: current.IFluidConfiguration);\nuse_current_InterfaceDeclaration_IFluidConfiguration(\n get_old_InterfaceDeclaration_IFluidConfiguration());\n\n/*\n* validate back compat by using current type in place of old type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidConfiguration\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidConfiguration():\n current.IFluidConfiguration;\ndeclare function use_old_InterfaceDeclaration_IFluidConfiguration(\n use: old.IFluidConfiguration);\nuse_old_InterfaceDeclaration_IFluidConfiguration(\n get_current_InterfaceDeclaration_IFluidConfiguration());\n\n/*\n* validate forward compat by using old type in place of current type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidHandle\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidHandle():\n typeof old.IFluidHandle;\ndeclare function use_current_VariableDeclaration_IFluidHandle(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidHandle\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidHandle():\n typeof current.IFluidHandle;\ndeclare function use_old_VariableDeclaration_IFluidHandle(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidHandle\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidHandle():\n old.IFluidHandle;\ndeclare function use_current_InterfaceDeclaration_IFluidHandle(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidHandle\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidHandle():\n current.IFluidHandle;\ndeclare function use_old_InterfaceDeclaration_IFluidHandle(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidHandleContext\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidHandleContext():\n typeof old.IFluidHandleContext;\ndeclare function use_current_VariableDeclaration_IFluidHandleContext(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidHandleContext\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidHandleContext():\n typeof current.IFluidHandleContext;\ndeclare function use_old_VariableDeclaration_IFluidHandleContext(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidHandleContext\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidHandleContext():\n old.IFluidHandleContext;\ndeclare function use_current_InterfaceDeclaration_IFluidHandleContext(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidHandleContext\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidHandleContext():\n current.IFluidHandleContext;\ndeclare function use_old_InterfaceDeclaration_IFluidHandleContext(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidLoadable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidLoadable():\n typeof old.IFluidLoadable;\ndeclare function use_current_VariableDeclaration_IFluidLoadable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidLoadable\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidLoadable():\n typeof current.IFluidLoadable;\ndeclare function use_old_VariableDeclaration_IFluidLoadable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidLoadable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidLoadable():\n old.IFluidLoadable;\ndeclare function use_current_InterfaceDeclaration_IFluidLoadable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidLoadable\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidLoadable():\n current.IFluidLoadable;\ndeclare function use_old_InterfaceDeclaration_IFluidLoadable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidObject\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidObject():\n old.IFluidObject;\ndeclare function use_current_InterfaceDeclaration_IFluidObject(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidObject\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidObject():\n current.IFluidObject;\ndeclare function use_old_InterfaceDeclaration_IFluidObject(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidPackage\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidPackage():\n old.IFluidPackage;\ndeclare function use_current_InterfaceDeclaration_IFluidPackage(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidPackage\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidPackage():\n current.IFluidPackage;\ndeclare function use_old_InterfaceDeclaration_IFluidPackage(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidPackageEnvironment\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidPackageEnvironment():\n old.IFluidPackageEnvironment;\ndeclare function use_current_InterfaceDeclaration_IFluidPackageEnvironment(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidPackageEnvironment\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidPackageEnvironment():\n current.IFluidPackageEnvironment;\ndeclare function use_old_InterfaceDeclaration_IFluidPackageEnvironment(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidRouter\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidRouter():\n typeof old.IFluidRouter;\ndeclare function use_current_VariableDeclaration_IFluidRouter(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidRouter\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidRouter():\n typeof current.IFluidRouter;\ndeclare function use_old_VariableDeclaration_IFluidRouter(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidRouter\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidRouter():\n old.IFluidRouter;\ndeclare function use_current_InterfaceDeclaration_IFluidRouter(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidRouter\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidRouter():\n current.IFluidRouter;\ndeclare function use_old_InterfaceDeclaration_IFluidRouter(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidRunnable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidRunnable():\n typeof old.IFluidRunnable;\ndeclare function use_current_VariableDeclaration_IFluidRunnable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidRunnable\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidRunnable():\n typeof current.IFluidRunnable;\ndeclare function use_old_VariableDeclaration_IFluidRunnable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidRunnable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidRunnable():\n old.IFluidRunnable;\ndeclare function use_current_InterfaceDeclaration_IFluidRunnable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidRunnable\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidRunnable():\n current.IFluidRunnable;\ndeclare function use_old_InterfaceDeclaration_IFluidRunnable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidSerializer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidSerializer():\n typeof old.IFluidSerializer;\ndeclare function use_current_VariableDeclaration_IFluidSerializer(\n use: typeof current.IFluidSerializer);\nuse_current_VariableDeclaration_IFluidSerializer(\n get_old_VariableDeclaration_IFluidSerializer());\n\n/*\n* validate back compat by using current type in place of old type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_IFluidSerializer\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidSerializer():\n typeof current.IFluidSerializer;\ndeclare function use_old_VariableDeclaration_IFluidSerializer(\n use: typeof old.IFluidSerializer);\nuse_old_VariableDeclaration_IFluidSerializer(\n get_current_VariableDeclaration_IFluidSerializer());\n\n/*\n* validate forward compat by using old type in place of current type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidSerializer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidSerializer():\n old.IFluidSerializer;\ndeclare function use_current_InterfaceDeclaration_IFluidSerializer(\n use: current.IFluidSerializer);\nuse_current_InterfaceDeclaration_IFluidSerializer(\n get_old_InterfaceDeclaration_IFluidSerializer());\n\n/*\n* validate back compat by using current type in place of old type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IFluidSerializer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidSerializer():\n current.IFluidSerializer;\ndeclare function use_old_InterfaceDeclaration_IFluidSerializer(\n use: old.IFluidSerializer);\nuse_old_InterfaceDeclaration_IFluidSerializer(\n get_current_InterfaceDeclaration_IFluidSerializer());\n\n/*\n* validate forward compat by using old type in place of current type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidCodeDetailsComparer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidCodeDetailsComparer():\n old.IProvideFluidCodeDetailsComparer;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidCodeDetailsComparer(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidCodeDetailsComparer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidCodeDetailsComparer():\n current.IProvideFluidCodeDetailsComparer;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidCodeDetailsComparer(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidConfiguration\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidConfiguration():\n old.IProvideFluidConfiguration;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidConfiguration(\n use: current.IProvideFluidConfiguration);\nuse_current_InterfaceDeclaration_IProvideFluidConfiguration(\n get_old_InterfaceDeclaration_IProvideFluidConfiguration());\n\n/*\n* validate back compat by using current type in place of old type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidConfiguration\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidConfiguration():\n current.IProvideFluidConfiguration;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidConfiguration(\n use: old.IProvideFluidConfiguration);\nuse_old_InterfaceDeclaration_IProvideFluidConfiguration(\n get_current_InterfaceDeclaration_IProvideFluidConfiguration());\n\n/*\n* validate forward compat by using old type in place of current type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidHandle\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidHandle():\n old.IProvideFluidHandle;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidHandle(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidHandle\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidHandle():\n current.IProvideFluidHandle;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidHandle(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidHandleContext\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidHandleContext():\n old.IProvideFluidHandleContext;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidHandleContext(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidHandleContext\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidHandleContext():\n current.IProvideFluidHandleContext;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidHandleContext(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidLoadable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidLoadable():\n old.IProvideFluidLoadable;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidLoadable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidLoadable\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidLoadable():\n current.IProvideFluidLoadable;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidLoadable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidRouter\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidRouter():\n old.IProvideFluidRouter;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidRouter(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidRouter\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidRouter():\n current.IProvideFluidRouter;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidRouter(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidRunnable\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidRunnable():\n old.IProvideFluidRunnable;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidRunnable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidRunnable\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidRunnable():\n current.IProvideFluidRunnable;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidRunnable(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidSerializer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidSerializer():\n old.IProvideFluidSerializer;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidSerializer(\n use: current.IProvideFluidSerializer);\nuse_current_InterfaceDeclaration_IProvideFluidSerializer(\n get_old_InterfaceDeclaration_IProvideFluidSerializer());\n\n/*\n* validate back compat by using current type in place of old type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IProvideFluidSerializer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidSerializer():\n current.IProvideFluidSerializer;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidSerializer(\n use: old.IProvideFluidSerializer);\nuse_old_InterfaceDeclaration_IProvideFluidSerializer(\n get_current_InterfaceDeclaration_IProvideFluidSerializer());\n\n/*\n* validate forward compat by using old type in place of current type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IRequest\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IRequest():\n old.IRequest;\ndeclare function use_current_InterfaceDeclaration_IRequest(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IRequest\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IRequest():\n current.IRequest;\ndeclare function use_old_InterfaceDeclaration_IRequest(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IRequestHeader\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IRequestHeader():\n old.IRequestHeader;\ndeclare function use_current_InterfaceDeclaration_IRequestHeader(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IRequestHeader\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IRequestHeader():\n current.IRequestHeader;\ndeclare function use_old_InterfaceDeclaration_IRequestHeader(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IResponse\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IResponse():\n old.IResponse;\ndeclare function use_current_InterfaceDeclaration_IResponse(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_IResponse\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IResponse():\n current.IResponse;\ndeclare function use_old_InterfaceDeclaration_IResponse(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_ISerializedHandle\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_ISerializedHandle():\n old.ISerializedHandle;\ndeclare function use_current_InterfaceDeclaration_ISerializedHandle(\n use: current.ISerializedHandle);\nuse_current_InterfaceDeclaration_ISerializedHandle(\n get_old_InterfaceDeclaration_ISerializedHandle());\n\n/*\n* validate back compat by using current type in place of old type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"InterfaceDeclaration_ISerializedHandle\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_ISerializedHandle():\n current.ISerializedHandle;\ndeclare function use_old_InterfaceDeclaration_ISerializedHandle(\n use: old.ISerializedHandle);\nuse_old_InterfaceDeclaration_ISerializedHandle(\n get_current_InterfaceDeclaration_ISerializedHandle());\n\n/*\n* validate forward compat by using old type in place of current type\n* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_isFluidCodeDetails\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_isFluidCodeDetails():\n typeof old.isFluidCodeDetails;\ndeclare function use_current_VariableDeclaration_isFluidCodeDetails(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_isFluidCodeDetails\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_isFluidCodeDetails():\n typeof current.isFluidCodeDetails;\ndeclare function use_old_VariableDeclaration_isFluidCodeDetails(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_isFluidPackage\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_isFluidPackage():\n typeof old.isFluidPackage;\ndeclare function use_current_VariableDeclaration_isFluidPackage(\n use: 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* to disable, add in package.json under typeValidation.broken.0.39.8:\n* \"VariableDeclaration_isFluidPackage\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_isFluidPackage():\n typeof current.isFluidPackage;\ndeclare function use_old_VariableDeclaration_isFluidPackage(\n use: typeof old.isFluidPackage);\nuse_old_VariableDeclaration_isFluidPackage(\n get_current_VariableDeclaration_isFluidPackage());\n"]}
|