@fluidframework/core-interfaces 2.0.0-internal.7.4.0 → 2.0.0-internal.8.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/CHANGELOG.md +16 -0
- package/Removing-IFluidRouter.md +22 -17
- package/api-report/core-interfaces.api.md +0 -15
- package/dist/core-interfaces-alpha.d.ts +0 -23
- package/dist/core-interfaces-beta.d.ts +0 -4
- package/dist/core-interfaces-public.d.ts +0 -4
- package/dist/core-interfaces-untrimmed.d.ts +0 -23
- package/dist/fluidRouter.d.ts +0 -20
- package/dist/fluidRouter.d.ts.map +1 -1
- package/dist/fluidRouter.js +0 -6
- package/dist/fluidRouter.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/lib/core-interfaces-alpha.d.ts +0 -23
- package/lib/core-interfaces-beta.d.ts +0 -4
- package/lib/core-interfaces-public.d.ts +0 -4
- package/lib/core-interfaces-untrimmed.d.ts +0 -23
- package/lib/fluidRouter.d.ts +0 -20
- package/lib/fluidRouter.d.ts.map +1 -1
- package/lib/fluidRouter.js +0 -6
- package/lib/fluidRouter.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -6
- package/lib/index.js.map +1 -1
- package/package.json +15 -2
- package/src/fluidRouter.ts +0 -23
- package/src/index.ts +1 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @fluidframework/core-interfaces
|
|
2
2
|
|
|
3
|
+
## 2.0.0-internal.8.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- container-runtime-definitions: Removed getRootDataStore [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
|
|
8
|
+
|
|
9
|
+
The `getRootDataStore` method has been removed from `IContainerRuntime` and `ContainerRuntime`. Please migrate all usage to the new `getAliasedDataStoreEntryPoint` method. This method returns the data store's entry point which is its `IFluidHandle`.
|
|
10
|
+
|
|
11
|
+
See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
|
|
12
|
+
|
|
13
|
+
- core-interfaces: Removed IFluidRouter and IProvideFluidRouter [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
|
|
14
|
+
|
|
15
|
+
The `IFluidRouter` and `IProvideFluidRouter` interfaces have been removed. Please migrate all usage to the new `entryPoint` pattern.
|
|
16
|
+
|
|
17
|
+
See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
|
|
18
|
+
|
|
3
19
|
## 2.0.0-internal.7.4.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/Removing-IFluidRouter.md
CHANGED
|
@@ -97,23 +97,28 @@ const entryPoint = await container.getEntryPoint();
|
|
|
97
97
|
<!-- prettier-ignore-start -->
|
|
98
98
|
| API | Deprecated in | Removed in |
|
|
99
99
|
| -------------------------------------------------------------------------------------------- | -------------------- | -------------------- |
|
|
100
|
-
| `IContainer.request` (except calling with "/") | 2.0.0-internal.6.0.0 |
|
|
101
|
-
| `IDataStore.request` (except calling with "/") | 2.0.0-internal.6.0.0 |
|
|
102
|
-
| `IContainer.IFluidRouter` | 2.0.0-internal.6.0.0 |
|
|
103
|
-
| `IDataStore.IFluidRouter` | 2.0.0-internal.6.0.0 |
|
|
104
|
-
| `request` and `IFluidRouter` on `ILoader` and `Loader` | 2.0.0-internal.6.0.0 |
|
|
105
|
-
| `request` and `IFluidRouter` on `IRuntime` and `ContainerRuntime` | 2.0.0-internal.6.0.0 |
|
|
106
|
-
| `request` and `IFluidRouter` on `IFluidDataStoreRuntime`
|
|
107
|
-
| `
|
|
108
|
-
| `getRootDataStore` on `IContainerRuntime` and `ContainerRuntime` | 2.0.0-internal.6.0.0 |
|
|
109
|
-
| `resolveHandle` on `IContainerRuntime` | 2.0.0-internal.7.0.0 |
|
|
110
|
-
| `IFluidHandleContext` on `IContainerRuntimeBase` | 2.0.0-internal.7.0.0 |
|
|
100
|
+
| `IContainer.request` (except calling with "/") | 2.0.0-internal.6.0.0 | 2.0.0-internal.8.0.0 |
|
|
101
|
+
| `IDataStore.request` (except calling with "/") | 2.0.0-internal.6.0.0 | 2.0.0-internal.8.0.0 |
|
|
102
|
+
| `IContainer.IFluidRouter` | 2.0.0-internal.6.0.0 | 2.0.0-internal.8.0.0 |
|
|
103
|
+
| `IDataStore.IFluidRouter` | 2.0.0-internal.6.0.0 | 2.0.0-internal.8.0.0 |
|
|
104
|
+
| `request` and `IFluidRouter` on `ILoader` and `Loader` | 2.0.0-internal.6.0.0 | 2.0.0-internal.8.0.0 |
|
|
105
|
+
| `request` and `IFluidRouter` on `IRuntime` and `ContainerRuntime` | 2.0.0-internal.6.0.0 | 2.0.0-internal.8.0.0 |
|
|
106
|
+
| `request` and `IFluidRouter` on `IFluidDataStoreRuntime` | 2.0.0-internal.6.0.0 | 2.0.0-internal.8.0.0 |
|
|
107
|
+
| `IFluidRouter` on `IFluidDataStoreChannel` and `FluidDataStoreRuntime` | 2.0.0-internal.6.0.0 | 2.0.0-internal.8.0.0 |
|
|
108
|
+
| `getRootDataStore` on `IContainerRuntime` and `ContainerRuntime` | 2.0.0-internal.6.0.0 | 2.0.0-internal.8.0.0 |
|
|
109
|
+
| `resolveHandle` on `IContainerRuntime` | 2.0.0-internal.7.0.0 | 2.0.0-internal.8.0.0 |
|
|
110
|
+
| `IFluidHandleContext` on `IContainerRuntimeBase` | 2.0.0-internal.7.0.0 | 2.0.0-internal.8.0.0 |
|
|
111
111
|
| `requestHandler` property in `ContainerRuntime.loadRuntime(...)` | 2.0.0-internal.7.0.0 | |
|
|
112
112
|
| `RuntimeRequestHandler` and `RuntimeRequestHandlerBuilder` | 2.0.0-internal.7.0.0 | |
|
|
113
|
-
| `request` and `IFluidRouter` on `IContainer` and `Container` | 2.0.0-internal.7.0.0 |
|
|
114
|
-
| `request`
|
|
115
|
-
| `IFluidRouter` and `IProvideFluidRouter` | 2.0.0-internal.7.0.0 |
|
|
116
|
-
| `requestFluidObject` | 2.0.0-internal.7.0.0 |
|
|
117
|
-
| `requestResolvedObjectFromContainer` | 2.0.0-internal.7.0.0 |
|
|
118
|
-
| `getDefaultObjectFromContainer`, `getObjectWithIdFromContainer` and `getObjectFromContainer` | 2.0.0-internal.7.0.0 |
|
|
113
|
+
| `request` and `IFluidRouter` on `IContainer` and `Container` | 2.0.0-internal.7.0.0 | 2.0.0-internal.8.0.0 |
|
|
114
|
+
| `request` on `IDataStore` | 2.0.0-internal.7.0.0 | 2.0.0-internal.8.0.0 |
|
|
115
|
+
| `IFluidRouter` and `IProvideFluidRouter` | 2.0.0-internal.7.0.0 | 2.0.0-internal.8.0.0 |
|
|
116
|
+
| `requestFluidObject` | 2.0.0-internal.7.0.0 | 2.0.0-internal.8.0.0 |
|
|
117
|
+
| `requestResolvedObjectFromContainer` | 2.0.0-internal.7.0.0 | 2.0.0-internal.8.0.0 |
|
|
118
|
+
| `getDefaultObjectFromContainer`, `getObjectWithIdFromContainer` and `getObjectFromContainer` | 2.0.0-internal.7.0.0 | 2.0.0-internal.8.0.0 |
|
|
119
119
|
<!-- prettier-ignore-end -->
|
|
120
|
+
|
|
121
|
+
The removal of some items will need to wait for the LTS version of the `Loader` to reach "2.0.0-internal.7.0.0". This is because old `Loader` or `Container` code doesn't know about the new `entryPoint` pattern and will still attempt to use the `request` pattern. The following items are affected:
|
|
122
|
+
|
|
123
|
+
- `requestHandler` property in `ContainerRuntime.loadRuntime(...)`, `BaseContainerRuntimeFactory`, `ContainerRuntimeFactoryWithDefaultDataStore`, `mixinAttributor`, `RuntimeFactory`, `TestContainerRuntimeFactory`
|
|
124
|
+
- `RuntimeRequestHandler` and `RuntimeRequestHandlerBuilder`
|
|
@@ -305,15 +305,6 @@ export interface IFluidPackageEnvironment {
|
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
|
|
308
|
-
// @alpha @deprecated (undocumented)
|
|
309
|
-
export const IFluidRouter: keyof IProvideFluidRouter;
|
|
310
|
-
|
|
311
|
-
// @alpha @deprecated (undocumented)
|
|
312
|
-
export interface IFluidRouter extends IProvideFluidRouter {
|
|
313
|
-
// (undocumented)
|
|
314
|
-
request(request: IRequest): Promise<IResponse>;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
308
|
// @internal (undocumented)
|
|
318
309
|
export const IFluidRunnable: keyof IProvideFluidRunnable;
|
|
319
310
|
|
|
@@ -361,12 +352,6 @@ export interface IProvideFluidLoadable {
|
|
|
361
352
|
readonly IFluidLoadable: IFluidLoadable;
|
|
362
353
|
}
|
|
363
354
|
|
|
364
|
-
// @alpha @deprecated
|
|
365
|
-
export interface IProvideFluidRouter {
|
|
366
|
-
// (undocumented)
|
|
367
|
-
readonly IFluidRouter: IFluidRouter;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
355
|
// @internal (undocumented)
|
|
371
356
|
export interface IProvideFluidRunnable {
|
|
372
357
|
// (undocumented)
|
|
@@ -511,20 +511,6 @@ export declare interface IFluidLoadable extends IProvideFluidLoadable {
|
|
|
511
511
|
|
|
512
512
|
/* Excluded from this release type: IFluidPackageEnvironment */
|
|
513
513
|
|
|
514
|
-
/**
|
|
515
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
516
|
-
* @alpha
|
|
517
|
-
*/
|
|
518
|
-
export declare const IFluidRouter: keyof IProvideFluidRouter;
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
522
|
-
* @alpha
|
|
523
|
-
*/
|
|
524
|
-
export declare interface IFluidRouter extends IProvideFluidRouter {
|
|
525
|
-
request(request: IRequest): Promise<IResponse>;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
514
|
/* Excluded from this release type: IFluidRunnable */
|
|
529
515
|
|
|
530
516
|
/* Excluded from this release type: IGenericError */
|
|
@@ -554,15 +540,6 @@ export declare interface IProvideFluidLoadable {
|
|
|
554
540
|
readonly IFluidLoadable: IFluidLoadable;
|
|
555
541
|
}
|
|
556
542
|
|
|
557
|
-
/**
|
|
558
|
-
* Request routing
|
|
559
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
560
|
-
* @alpha
|
|
561
|
-
*/
|
|
562
|
-
export declare interface IProvideFluidRouter {
|
|
563
|
-
readonly IFluidRouter: IFluidRouter;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
543
|
/* Excluded from this release type: IProvideFluidRunnable */
|
|
567
544
|
|
|
568
545
|
/**
|
|
@@ -42,8 +42,6 @@
|
|
|
42
42
|
|
|
43
43
|
/* Excluded from this release type: IFluidPackageEnvironment */
|
|
44
44
|
|
|
45
|
-
/* Excluded from this release type: IFluidRouter */
|
|
46
|
-
|
|
47
45
|
/* Excluded from this release type: IFluidRunnable */
|
|
48
46
|
|
|
49
47
|
/* Excluded from this release type: IGenericError */
|
|
@@ -58,8 +56,6 @@
|
|
|
58
56
|
|
|
59
57
|
/* Excluded from this release type: IProvideFluidLoadable */
|
|
60
58
|
|
|
61
|
-
/* Excluded from this release type: IProvideFluidRouter */
|
|
62
|
-
|
|
63
59
|
/* Excluded from this release type: IProvideFluidRunnable */
|
|
64
60
|
|
|
65
61
|
/* Excluded from this release type: IRequest */
|
|
@@ -42,8 +42,6 @@
|
|
|
42
42
|
|
|
43
43
|
/* Excluded from this release type: IFluidPackageEnvironment */
|
|
44
44
|
|
|
45
|
-
/* Excluded from this release type: IFluidRouter */
|
|
46
|
-
|
|
47
45
|
/* Excluded from this release type: IFluidRunnable */
|
|
48
46
|
|
|
49
47
|
/* Excluded from this release type: IGenericError */
|
|
@@ -58,8 +56,6 @@
|
|
|
58
56
|
|
|
59
57
|
/* Excluded from this release type: IProvideFluidLoadable */
|
|
60
58
|
|
|
61
|
-
/* Excluded from this release type: IProvideFluidRouter */
|
|
62
|
-
|
|
63
59
|
/* Excluded from this release type: IProvideFluidRunnable */
|
|
64
60
|
|
|
65
61
|
/* Excluded from this release type: IRequest */
|
|
@@ -661,20 +661,6 @@ export declare interface IFluidPackageEnvironment {
|
|
|
661
661
|
};
|
|
662
662
|
}
|
|
663
663
|
|
|
664
|
-
/**
|
|
665
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
666
|
-
* @alpha
|
|
667
|
-
*/
|
|
668
|
-
export declare const IFluidRouter: keyof IProvideFluidRouter;
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
672
|
-
* @alpha
|
|
673
|
-
*/
|
|
674
|
-
export declare interface IFluidRouter extends IProvideFluidRouter {
|
|
675
|
-
request(request: IRequest): Promise<IResponse>;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
664
|
/**
|
|
679
665
|
* @internal
|
|
680
666
|
*/
|
|
@@ -741,15 +727,6 @@ export declare interface IProvideFluidLoadable {
|
|
|
741
727
|
readonly IFluidLoadable: IFluidLoadable;
|
|
742
728
|
}
|
|
743
729
|
|
|
744
|
-
/**
|
|
745
|
-
* Request routing
|
|
746
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
747
|
-
* @alpha
|
|
748
|
-
*/
|
|
749
|
-
export declare interface IProvideFluidRouter {
|
|
750
|
-
readonly IFluidRouter: IFluidRouter;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
730
|
/**
|
|
754
731
|
* @internal
|
|
755
732
|
*/
|
package/dist/fluidRouter.d.ts
CHANGED
|
@@ -27,24 +27,4 @@ export interface IResponse {
|
|
|
27
27
|
};
|
|
28
28
|
stack?: string;
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
32
|
-
* @alpha
|
|
33
|
-
*/
|
|
34
|
-
export declare const IFluidRouter: keyof IProvideFluidRouter;
|
|
35
|
-
/**
|
|
36
|
-
* Request routing
|
|
37
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
38
|
-
* @alpha
|
|
39
|
-
*/
|
|
40
|
-
export interface IProvideFluidRouter {
|
|
41
|
-
readonly IFluidRouter: IFluidRouter;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
45
|
-
* @alpha
|
|
46
|
-
*/
|
|
47
|
-
export interface IFluidRouter extends IProvideFluidRouter {
|
|
48
|
-
request(request: IRequest): Promise<IResponse>;
|
|
49
|
-
}
|
|
50
30
|
//# sourceMappingURL=fluidRouter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluidRouter.d.ts","sourceRoot":"","sources":["../src/fluidRouter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,cAAc;IAG9B,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IAGf,KAAK,EAAE,GAAG,CAAC;IAGX,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CACf
|
|
1
|
+
{"version":3,"file":"fluidRouter.d.ts","sourceRoot":"","sources":["../src/fluidRouter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,cAAc;IAG9B,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IAGf,KAAK,EAAE,GAAG,CAAC;IAGX,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CACf"}
|
package/dist/fluidRouter.js
CHANGED
|
@@ -4,10 +4,4 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.IFluidRouter = void 0;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
10
|
-
* @alpha
|
|
11
|
-
*/
|
|
12
|
-
exports.IFluidRouter = "IFluidRouter";
|
|
13
7
|
//# sourceMappingURL=fluidRouter.js.map
|
package/dist/fluidRouter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluidRouter.js","sourceRoot":"","sources":["../src/fluidRouter.ts"],"names":[],"mappings":";AAAA;;;GAGG
|
|
1
|
+
{"version":3,"file":"fluidRouter.js","sourceRoot":"","sources":["../src/fluidRouter.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 * @alpha\n */\nexport interface IRequestHeader {\n\t// TODO: Use `unknown` instead (API-Breaking)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t[index: string]: any;\n}\n\n/**\n * @alpha\n */\nexport interface IRequest {\n\turl: string;\n\theaders?: IRequestHeader;\n}\n\n/**\n * @alpha\n */\nexport interface IResponse {\n\tmimeType: string;\n\tstatus: number;\n\t// TODO: Use `unknown` instead (API-Breaking)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tvalue: any;\n\t// TODO: Use `unknown` instead (API-Breaking)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\theaders?: { [key: string]: any };\n\tstack?: string;\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { FluidErrorTypes, IErrorBase, IGenericError, IUsageError, IThrottlingWar
|
|
|
7
7
|
export type { ExtendEventProvider, IErrorEvent, IEvent, IEventProvider, IEventThisPlaceHolder, IEventTransformer, ReplaceIEventThisPlaceHolder, TransformedEvent, } from "./events";
|
|
8
8
|
export { IFluidLoadable, IProvideFluidLoadable, IFluidRunnable, IProvideFluidRunnable, } from "./fluidLoadable";
|
|
9
9
|
export { IFluidPackageEnvironment, IFluidPackage, isFluidPackage, IFluidCodeDetailsConfig, IFluidCodeDetails, isFluidCodeDetails, IFluidCodeDetailsComparer, IProvideFluidCodeDetailsComparer, } from "./fluidPackage";
|
|
10
|
-
export { IRequest, IRequestHeader, IResponse
|
|
10
|
+
export { IRequest, IRequestHeader, IResponse } from "./fluidRouter";
|
|
11
11
|
export { IFluidHandleContext, IProvideFluidHandleContext, IFluidHandle, IProvideFluidHandle, } from "./handles";
|
|
12
12
|
export type { ILoggingError, ITaggedTelemetryPropertyType, // deprecated
|
|
13
13
|
ITelemetryBaseEvent, ITelemetryBaseLogger, ITelemetryBaseProperties, ITelemetryErrorEvent, // deprecated
|
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;AAEH,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EACN,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,kBAAkB,GAClB,MAAM,SAAS,CAAC;AAEjB,YAAY,EACX,mBAAmB,EACnB,WAAW,EACX,MAAM,EACN,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,GAChB,MAAM,UAAU,CAAC;AAElB,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,qBAAqB,GACrB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACN,wBAAwB,EACxB,aAAa,EACb,cAAc,EACd,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,GAChC,MAAM,gBAAgB,CAAC;AAKxB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EACN,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,kBAAkB,GAClB,MAAM,SAAS,CAAC;AAEjB,YAAY,EACX,mBAAmB,EACnB,WAAW,EACX,MAAM,EACN,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,GAChB,MAAM,UAAU,CAAC;AAElB,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,qBAAqB,GACrB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACN,wBAAwB,EACxB,aAAa,EACb,cAAc,EACd,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,GAChC,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEpE,OAAO,EACN,mBAAmB,EACnB,0BAA0B,EAC1B,YAAY,EACZ,mBAAmB,GACnB,MAAM,WAAW,CAAC;AAEnB,YAAY,EACX,aAAa,EACb,4BAA4B,EAAE,aAAa;AAC3C,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EAAE,aAAa;AACnC,sBAAsB,EAAE,aAAa;AACrC,gBAAgB,EAAE,aAAa;AAC/B,0BAA0B,EAAE,aAAa;AACzC,oBAAoB,EAAE,aAAa;AACnC,MAAM,EACN,sBAAsB,EAAE,aAAa;AACrC,8BAA8B,EAC9B,0BAA0B,GAC1B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.LogLevel = exports.IFluidHandle = exports.IFluidHandleContext = exports.
|
|
7
|
+
exports.LogLevel = exports.IFluidHandle = exports.IFluidHandleContext = exports.IFluidCodeDetailsComparer = exports.isFluidCodeDetails = exports.isFluidPackage = exports.IFluidRunnable = exports.IFluidLoadable = exports.FluidErrorTypes = void 0;
|
|
8
8
|
var error_1 = require("./error");
|
|
9
9
|
Object.defineProperty(exports, "FluidErrorTypes", { enumerable: true, get: function () { return error_1.FluidErrorTypes; } });
|
|
10
10
|
var fluidLoadable_1 = require("./fluidLoadable");
|
|
@@ -14,11 +14,6 @@ var fluidPackage_1 = require("./fluidPackage");
|
|
|
14
14
|
Object.defineProperty(exports, "isFluidPackage", { enumerable: true, get: function () { return fluidPackage_1.isFluidPackage; } });
|
|
15
15
|
Object.defineProperty(exports, "isFluidCodeDetails", { enumerable: true, get: function () { return fluidPackage_1.isFluidCodeDetails; } });
|
|
16
16
|
Object.defineProperty(exports, "IFluidCodeDetailsComparer", { enumerable: true, get: function () { return fluidPackage_1.IFluidCodeDetailsComparer; } });
|
|
17
|
-
// TypeScript forgets the index signature when customers augment IRequestHeader if we export *.
|
|
18
|
-
// So we export the explicit members as a workaround:
|
|
19
|
-
// https://github.com/microsoft/TypeScript/issues/18877#issuecomment-476921038
|
|
20
|
-
var fluidRouter_1 = require("./fluidRouter");
|
|
21
|
-
Object.defineProperty(exports, "IFluidRouter", { enumerable: true, get: function () { return fluidRouter_1.IFluidRouter; } });
|
|
22
17
|
var handles_1 = require("./handles");
|
|
23
18
|
Object.defineProperty(exports, "IFluidHandleContext", { enumerable: true, get: function () { return handles_1.IFluidHandleContext; } });
|
|
24
19
|
Object.defineProperty(exports, "IFluidHandle", { enumerable: true, get: function () { return handles_1.IFluidHandle; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH,iCAMiB;AALhB,wGAAA,eAAe,OAAA;AAkBhB,iDAKyB;AAJxB,+GAAA,cAAc,OAAA;AAEd,+GAAA,cAAc,OAAA;AAIf,+CASwB;AANvB,8GAAA,cAAc,OAAA;AAGd,kHAAA,kBAAkB,OAAA;AAClB,yHAAA,yBAAyB,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH,iCAMiB;AALhB,wGAAA,eAAe,OAAA;AAkBhB,iDAKyB;AAJxB,+GAAA,cAAc,OAAA;AAEd,+GAAA,cAAc,OAAA;AAIf,+CASwB;AANvB,8GAAA,cAAc,OAAA;AAGd,kHAAA,kBAAkB,OAAA;AAClB,yHAAA,yBAAyB,OAAA;AAS1B,qCAKmB;AAJlB,8GAAA,mBAAmB,OAAA;AAEnB,uGAAA,YAAY,OAAA;AAoBb,mCAAoC;AAA3B,kGAAA,QAAQ,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport type { IDisposable } from \"./disposable\";\n\nexport {\n\tFluidErrorTypes,\n\tIErrorBase,\n\tIGenericError,\n\tIUsageError,\n\tIThrottlingWarning,\n} from \"./error\";\n\nexport type {\n\tExtendEventProvider,\n\tIErrorEvent,\n\tIEvent,\n\tIEventProvider,\n\tIEventThisPlaceHolder,\n\tIEventTransformer,\n\tReplaceIEventThisPlaceHolder,\n\tTransformedEvent,\n} from \"./events\";\n\nexport {\n\tIFluidLoadable,\n\tIProvideFluidLoadable,\n\tIFluidRunnable,\n\tIProvideFluidRunnable,\n} from \"./fluidLoadable\";\n\nexport {\n\tIFluidPackageEnvironment,\n\tIFluidPackage,\n\tisFluidPackage,\n\tIFluidCodeDetailsConfig,\n\tIFluidCodeDetails,\n\tisFluidCodeDetails,\n\tIFluidCodeDetailsComparer,\n\tIProvideFluidCodeDetailsComparer,\n} from \"./fluidPackage\";\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 { IRequest, IRequestHeader, IResponse } from \"./fluidRouter\";\n\nexport {\n\tIFluidHandleContext,\n\tIProvideFluidHandleContext,\n\tIFluidHandle,\n\tIProvideFluidHandle,\n} from \"./handles\";\n\nexport type {\n\tILoggingError,\n\tITaggedTelemetryPropertyType, // deprecated\n\tITelemetryBaseEvent,\n\tITelemetryBaseLogger,\n\tITelemetryBaseProperties,\n\tITelemetryErrorEvent, // deprecated\n\tITelemetryGenericEvent, // deprecated\n\tITelemetryLogger, // deprecated\n\tITelemetryPerformanceEvent, // deprecated\n\tITelemetryProperties, // deprecated\n\tTagged,\n\tTelemetryEventCategory, // deprecated\n\tTelemetryBaseEventPropertyType,\n\tTelemetryEventPropertyType, // deprecated\n} from \"./logger\";\nexport { LogLevel } from \"./logger\";\nexport { FluidObjectProviderKeys, FluidObject, FluidObjectKeys } from \"./provider\";\nexport { ConfigTypes, IConfigProviderBase } from \"./config\";\n"]}
|
|
@@ -511,20 +511,6 @@ export declare interface IFluidLoadable extends IProvideFluidLoadable {
|
|
|
511
511
|
|
|
512
512
|
/* Excluded from this release type: IFluidPackageEnvironment */
|
|
513
513
|
|
|
514
|
-
/**
|
|
515
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
516
|
-
* @alpha
|
|
517
|
-
*/
|
|
518
|
-
export declare const IFluidRouter: keyof IProvideFluidRouter;
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
522
|
-
* @alpha
|
|
523
|
-
*/
|
|
524
|
-
export declare interface IFluidRouter extends IProvideFluidRouter {
|
|
525
|
-
request(request: IRequest): Promise<IResponse>;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
514
|
/* Excluded from this release type: IFluidRunnable */
|
|
529
515
|
|
|
530
516
|
/* Excluded from this release type: IGenericError */
|
|
@@ -554,15 +540,6 @@ export declare interface IProvideFluidLoadable {
|
|
|
554
540
|
readonly IFluidLoadable: IFluidLoadable;
|
|
555
541
|
}
|
|
556
542
|
|
|
557
|
-
/**
|
|
558
|
-
* Request routing
|
|
559
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
560
|
-
* @alpha
|
|
561
|
-
*/
|
|
562
|
-
export declare interface IProvideFluidRouter {
|
|
563
|
-
readonly IFluidRouter: IFluidRouter;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
543
|
/* Excluded from this release type: IProvideFluidRunnable */
|
|
567
544
|
|
|
568
545
|
/**
|
|
@@ -42,8 +42,6 @@
|
|
|
42
42
|
|
|
43
43
|
/* Excluded from this release type: IFluidPackageEnvironment */
|
|
44
44
|
|
|
45
|
-
/* Excluded from this release type: IFluidRouter */
|
|
46
|
-
|
|
47
45
|
/* Excluded from this release type: IFluidRunnable */
|
|
48
46
|
|
|
49
47
|
/* Excluded from this release type: IGenericError */
|
|
@@ -58,8 +56,6 @@
|
|
|
58
56
|
|
|
59
57
|
/* Excluded from this release type: IProvideFluidLoadable */
|
|
60
58
|
|
|
61
|
-
/* Excluded from this release type: IProvideFluidRouter */
|
|
62
|
-
|
|
63
59
|
/* Excluded from this release type: IProvideFluidRunnable */
|
|
64
60
|
|
|
65
61
|
/* Excluded from this release type: IRequest */
|
|
@@ -42,8 +42,6 @@
|
|
|
42
42
|
|
|
43
43
|
/* Excluded from this release type: IFluidPackageEnvironment */
|
|
44
44
|
|
|
45
|
-
/* Excluded from this release type: IFluidRouter */
|
|
46
|
-
|
|
47
45
|
/* Excluded from this release type: IFluidRunnable */
|
|
48
46
|
|
|
49
47
|
/* Excluded from this release type: IGenericError */
|
|
@@ -58,8 +56,6 @@
|
|
|
58
56
|
|
|
59
57
|
/* Excluded from this release type: IProvideFluidLoadable */
|
|
60
58
|
|
|
61
|
-
/* Excluded from this release type: IProvideFluidRouter */
|
|
62
|
-
|
|
63
59
|
/* Excluded from this release type: IProvideFluidRunnable */
|
|
64
60
|
|
|
65
61
|
/* Excluded from this release type: IRequest */
|
|
@@ -661,20 +661,6 @@ export declare interface IFluidPackageEnvironment {
|
|
|
661
661
|
};
|
|
662
662
|
}
|
|
663
663
|
|
|
664
|
-
/**
|
|
665
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
666
|
-
* @alpha
|
|
667
|
-
*/
|
|
668
|
-
export declare const IFluidRouter: keyof IProvideFluidRouter;
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
672
|
-
* @alpha
|
|
673
|
-
*/
|
|
674
|
-
export declare interface IFluidRouter extends IProvideFluidRouter {
|
|
675
|
-
request(request: IRequest): Promise<IResponse>;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
664
|
/**
|
|
679
665
|
* @internal
|
|
680
666
|
*/
|
|
@@ -741,15 +727,6 @@ export declare interface IProvideFluidLoadable {
|
|
|
741
727
|
readonly IFluidLoadable: IFluidLoadable;
|
|
742
728
|
}
|
|
743
729
|
|
|
744
|
-
/**
|
|
745
|
-
* Request routing
|
|
746
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
747
|
-
* @alpha
|
|
748
|
-
*/
|
|
749
|
-
export declare interface IProvideFluidRouter {
|
|
750
|
-
readonly IFluidRouter: IFluidRouter;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
730
|
/**
|
|
754
731
|
* @internal
|
|
755
732
|
*/
|
package/lib/fluidRouter.d.ts
CHANGED
|
@@ -27,24 +27,4 @@ export interface IResponse {
|
|
|
27
27
|
};
|
|
28
28
|
stack?: string;
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
32
|
-
* @alpha
|
|
33
|
-
*/
|
|
34
|
-
export declare const IFluidRouter: keyof IProvideFluidRouter;
|
|
35
|
-
/**
|
|
36
|
-
* Request routing
|
|
37
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
38
|
-
* @alpha
|
|
39
|
-
*/
|
|
40
|
-
export interface IProvideFluidRouter {
|
|
41
|
-
readonly IFluidRouter: IFluidRouter;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
45
|
-
* @alpha
|
|
46
|
-
*/
|
|
47
|
-
export interface IFluidRouter extends IProvideFluidRouter {
|
|
48
|
-
request(request: IRequest): Promise<IResponse>;
|
|
49
|
-
}
|
|
50
30
|
//# sourceMappingURL=fluidRouter.d.ts.map
|
package/lib/fluidRouter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluidRouter.d.ts","sourceRoot":"","sources":["../src/fluidRouter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,cAAc;IAG9B,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IAGf,KAAK,EAAE,GAAG,CAAC;IAGX,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CACf
|
|
1
|
+
{"version":3,"file":"fluidRouter.d.ts","sourceRoot":"","sources":["../src/fluidRouter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,cAAc;IAG9B,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,cAAc,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IAGf,KAAK,EAAE,GAAG,CAAC;IAGX,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;CACf"}
|
package/lib/fluidRouter.js
CHANGED
|
@@ -4,10 +4,4 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.IFluidRouter = void 0;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
10
|
-
* @alpha
|
|
11
|
-
*/
|
|
12
|
-
exports.IFluidRouter = "IFluidRouter";
|
|
13
7
|
//# sourceMappingURL=fluidRouter.js.map
|
package/lib/fluidRouter.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluidRouter.js","sourceRoot":"","sources":["../src/fluidRouter.ts"],"names":[],"mappings":";AAAA;;;GAGG
|
|
1
|
+
{"version":3,"file":"fluidRouter.js","sourceRoot":"","sources":["../src/fluidRouter.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 * @alpha\n */\nexport interface IRequestHeader {\n\t// TODO: Use `unknown` instead (API-Breaking)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t[index: string]: any;\n}\n\n/**\n * @alpha\n */\nexport interface IRequest {\n\turl: string;\n\theaders?: IRequestHeader;\n}\n\n/**\n * @alpha\n */\nexport interface IResponse {\n\tmimeType: string;\n\tstatus: number;\n\t// TODO: Use `unknown` instead (API-Breaking)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tvalue: any;\n\t// TODO: Use `unknown` instead (API-Breaking)\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\theaders?: { [key: string]: any };\n\tstack?: string;\n}\n"]}
|
package/lib/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { FluidErrorTypes, IErrorBase, IGenericError, IUsageError, IThrottlingWar
|
|
|
7
7
|
export type { ExtendEventProvider, IErrorEvent, IEvent, IEventProvider, IEventThisPlaceHolder, IEventTransformer, ReplaceIEventThisPlaceHolder, TransformedEvent, } from "./events";
|
|
8
8
|
export { IFluidLoadable, IProvideFluidLoadable, IFluidRunnable, IProvideFluidRunnable, } from "./fluidLoadable";
|
|
9
9
|
export { IFluidPackageEnvironment, IFluidPackage, isFluidPackage, IFluidCodeDetailsConfig, IFluidCodeDetails, isFluidCodeDetails, IFluidCodeDetailsComparer, IProvideFluidCodeDetailsComparer, } from "./fluidPackage";
|
|
10
|
-
export { IRequest, IRequestHeader, IResponse
|
|
10
|
+
export { IRequest, IRequestHeader, IResponse } from "./fluidRouter";
|
|
11
11
|
export { IFluidHandleContext, IProvideFluidHandleContext, IFluidHandle, IProvideFluidHandle, } from "./handles";
|
|
12
12
|
export type { ILoggingError, ITaggedTelemetryPropertyType, // deprecated
|
|
13
13
|
ITelemetryBaseEvent, ITelemetryBaseLogger, ITelemetryBaseProperties, ITelemetryErrorEvent, // deprecated
|
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;AAEH,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EACN,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,kBAAkB,GAClB,MAAM,SAAS,CAAC;AAEjB,YAAY,EACX,mBAAmB,EACnB,WAAW,EACX,MAAM,EACN,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,GAChB,MAAM,UAAU,CAAC;AAElB,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,qBAAqB,GACrB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACN,wBAAwB,EACxB,aAAa,EACb,cAAc,EACd,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,GAChC,MAAM,gBAAgB,CAAC;AAKxB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EACN,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,kBAAkB,GAClB,MAAM,SAAS,CAAC;AAEjB,YAAY,EACX,mBAAmB,EACnB,WAAW,EACX,MAAM,EACN,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,GAChB,MAAM,UAAU,CAAC;AAElB,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,qBAAqB,GACrB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACN,wBAAwB,EACxB,aAAa,EACb,cAAc,EACd,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,EACzB,gCAAgC,GAChC,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEpE,OAAO,EACN,mBAAmB,EACnB,0BAA0B,EAC1B,YAAY,EACZ,mBAAmB,GACnB,MAAM,WAAW,CAAC;AAEnB,YAAY,EACX,aAAa,EACb,4BAA4B,EAAE,aAAa;AAC3C,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EAAE,aAAa;AACnC,sBAAsB,EAAE,aAAa;AACrC,gBAAgB,EAAE,aAAa;AAC/B,0BAA0B,EAAE,aAAa;AACzC,oBAAoB,EAAE,aAAa;AACnC,MAAM,EACN,sBAAsB,EAAE,aAAa;AACrC,8BAA8B,EAC9B,0BAA0B,GAC1B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.LogLevel = exports.IFluidHandle = exports.IFluidHandleContext = exports.
|
|
7
|
+
exports.LogLevel = exports.IFluidHandle = exports.IFluidHandleContext = exports.IFluidCodeDetailsComparer = exports.isFluidCodeDetails = exports.isFluidPackage = exports.IFluidRunnable = exports.IFluidLoadable = exports.FluidErrorTypes = void 0;
|
|
8
8
|
var error_1 = require("./error");
|
|
9
9
|
Object.defineProperty(exports, "FluidErrorTypes", { enumerable: true, get: function () { return error_1.FluidErrorTypes; } });
|
|
10
10
|
var fluidLoadable_1 = require("./fluidLoadable");
|
|
@@ -14,11 +14,6 @@ var fluidPackage_1 = require("./fluidPackage");
|
|
|
14
14
|
Object.defineProperty(exports, "isFluidPackage", { enumerable: true, get: function () { return fluidPackage_1.isFluidPackage; } });
|
|
15
15
|
Object.defineProperty(exports, "isFluidCodeDetails", { enumerable: true, get: function () { return fluidPackage_1.isFluidCodeDetails; } });
|
|
16
16
|
Object.defineProperty(exports, "IFluidCodeDetailsComparer", { enumerable: true, get: function () { return fluidPackage_1.IFluidCodeDetailsComparer; } });
|
|
17
|
-
// TypeScript forgets the index signature when customers augment IRequestHeader if we export *.
|
|
18
|
-
// So we export the explicit members as a workaround:
|
|
19
|
-
// https://github.com/microsoft/TypeScript/issues/18877#issuecomment-476921038
|
|
20
|
-
var fluidRouter_1 = require("./fluidRouter");
|
|
21
|
-
Object.defineProperty(exports, "IFluidRouter", { enumerable: true, get: function () { return fluidRouter_1.IFluidRouter; } });
|
|
22
17
|
var handles_1 = require("./handles");
|
|
23
18
|
Object.defineProperty(exports, "IFluidHandleContext", { enumerable: true, get: function () { return handles_1.IFluidHandleContext; } });
|
|
24
19
|
Object.defineProperty(exports, "IFluidHandle", { enumerable: true, get: function () { return handles_1.IFluidHandle; } });
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH,iCAMiB;AALhB,wGAAA,eAAe,OAAA;AAkBhB,iDAKyB;AAJxB,+GAAA,cAAc,OAAA;AAEd,+GAAA,cAAc,OAAA;AAIf,+CASwB;AANvB,8GAAA,cAAc,OAAA;AAGd,kHAAA,kBAAkB,OAAA;AAClB,yHAAA,yBAAyB,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH,iCAMiB;AALhB,wGAAA,eAAe,OAAA;AAkBhB,iDAKyB;AAJxB,+GAAA,cAAc,OAAA;AAEd,+GAAA,cAAc,OAAA;AAIf,+CASwB;AANvB,8GAAA,cAAc,OAAA;AAGd,kHAAA,kBAAkB,OAAA;AAClB,yHAAA,yBAAyB,OAAA;AAS1B,qCAKmB;AAJlB,8GAAA,mBAAmB,OAAA;AAEnB,uGAAA,YAAY,OAAA;AAoBb,mCAAoC;AAA3B,kGAAA,QAAQ,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport type { IDisposable } from \"./disposable\";\n\nexport {\n\tFluidErrorTypes,\n\tIErrorBase,\n\tIGenericError,\n\tIUsageError,\n\tIThrottlingWarning,\n} from \"./error\";\n\nexport type {\n\tExtendEventProvider,\n\tIErrorEvent,\n\tIEvent,\n\tIEventProvider,\n\tIEventThisPlaceHolder,\n\tIEventTransformer,\n\tReplaceIEventThisPlaceHolder,\n\tTransformedEvent,\n} from \"./events\";\n\nexport {\n\tIFluidLoadable,\n\tIProvideFluidLoadable,\n\tIFluidRunnable,\n\tIProvideFluidRunnable,\n} from \"./fluidLoadable\";\n\nexport {\n\tIFluidPackageEnvironment,\n\tIFluidPackage,\n\tisFluidPackage,\n\tIFluidCodeDetailsConfig,\n\tIFluidCodeDetails,\n\tisFluidCodeDetails,\n\tIFluidCodeDetailsComparer,\n\tIProvideFluidCodeDetailsComparer,\n} from \"./fluidPackage\";\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 { IRequest, IRequestHeader, IResponse } from \"./fluidRouter\";\n\nexport {\n\tIFluidHandleContext,\n\tIProvideFluidHandleContext,\n\tIFluidHandle,\n\tIProvideFluidHandle,\n} from \"./handles\";\n\nexport type {\n\tILoggingError,\n\tITaggedTelemetryPropertyType, // deprecated\n\tITelemetryBaseEvent,\n\tITelemetryBaseLogger,\n\tITelemetryBaseProperties,\n\tITelemetryErrorEvent, // deprecated\n\tITelemetryGenericEvent, // deprecated\n\tITelemetryLogger, // deprecated\n\tITelemetryPerformanceEvent, // deprecated\n\tITelemetryProperties, // deprecated\n\tTagged,\n\tTelemetryEventCategory, // deprecated\n\tTelemetryBaseEventPropertyType,\n\tTelemetryEventPropertyType, // deprecated\n} from \"./logger\";\nexport { LogLevel } from \"./logger\";\nexport { FluidObjectProviderKeys, FluidObject, FluidObjectKeys } from \"./provider\";\nexport { ConfigTypes, IConfigProviderBase } from \"./config\";\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.8.0.0",
|
|
4
4
|
"description": "Fluid object interfaces",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -42,7 +42,20 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"typeValidation": {
|
|
45
|
-
"broken": {
|
|
45
|
+
"broken": {
|
|
46
|
+
"RemovedVariableDeclaration_IFluidRouter": {
|
|
47
|
+
"forwardCompat": false,
|
|
48
|
+
"backCompat": false
|
|
49
|
+
},
|
|
50
|
+
"RemovedInterfaceDeclaration_IFluidRouter": {
|
|
51
|
+
"forwardCompat": false,
|
|
52
|
+
"backCompat": false
|
|
53
|
+
},
|
|
54
|
+
"RemovedInterfaceDeclaration_IProvideFluidRouter": {
|
|
55
|
+
"forwardCompat": false,
|
|
56
|
+
"backCompat": false
|
|
57
|
+
}
|
|
58
|
+
}
|
|
46
59
|
},
|
|
47
60
|
"scripts": {
|
|
48
61
|
"api": "fluid-build . --task api",
|
package/src/fluidRouter.ts
CHANGED
|
@@ -34,26 +34,3 @@ export interface IResponse {
|
|
|
34
34
|
headers?: { [key: string]: any };
|
|
35
35
|
stack?: string;
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
40
|
-
* @alpha
|
|
41
|
-
*/
|
|
42
|
-
export const IFluidRouter: keyof IProvideFluidRouter = "IFluidRouter";
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Request routing
|
|
46
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
47
|
-
* @alpha
|
|
48
|
-
*/
|
|
49
|
-
export interface IProvideFluidRouter {
|
|
50
|
-
readonly IFluidRouter: IFluidRouter;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
55
|
-
* @alpha
|
|
56
|
-
*/
|
|
57
|
-
export interface IFluidRouter extends IProvideFluidRouter {
|
|
58
|
-
request(request: IRequest): Promise<IResponse>;
|
|
59
|
-
}
|
package/src/index.ts
CHANGED
|
@@ -45,13 +45,7 @@ export {
|
|
|
45
45
|
// TypeScript forgets the index signature when customers augment IRequestHeader if we export *.
|
|
46
46
|
// So we export the explicit members as a workaround:
|
|
47
47
|
// https://github.com/microsoft/TypeScript/issues/18877#issuecomment-476921038
|
|
48
|
-
export {
|
|
49
|
-
IRequest,
|
|
50
|
-
IRequestHeader,
|
|
51
|
-
IResponse,
|
|
52
|
-
IProvideFluidRouter,
|
|
53
|
-
IFluidRouter,
|
|
54
|
-
} from "./fluidRouter";
|
|
48
|
+
export { IRequest, IRequestHeader, IResponse } from "./fluidRouter";
|
|
55
49
|
|
|
56
50
|
export {
|
|
57
51
|
IFluidHandleContext,
|