@fluidframework/devtools-core 2.70.0-361248 → 2.70.0-361788
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/README.md +2 -0
- package/api-extractor/api-extractor-lint-beta.cjs.json +5 -0
- package/api-extractor/api-extractor-lint-beta.esm.json +5 -0
- package/api-report/devtools-core.alpha.api.md +11 -11
- package/api-report/devtools-core.beta.api.md +31 -0
- package/beta.d.ts +11 -0
- package/dist/ContainerDevtools.d.ts +5 -3
- package/dist/ContainerDevtools.d.ts.map +1 -1
- package/dist/ContainerDevtools.js.map +1 -1
- package/dist/ContainerRuntimeDevtools.d.ts +3 -2
- package/dist/ContainerRuntimeDevtools.d.ts.map +1 -1
- package/dist/ContainerRuntimeDevtools.js.map +1 -1
- package/dist/FluidDevtools.d.ts +7 -5
- package/dist/FluidDevtools.d.ts.map +1 -1
- package/dist/FluidDevtools.js +2 -2
- package/dist/FluidDevtools.js.map +1 -1
- package/dist/IFluidDevtools.d.ts +1 -1
- package/dist/IFluidDevtools.js.map +1 -1
- package/dist/alpha.d.ts +4 -7
- package/dist/beta.d.ts +42 -0
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/ContainerDevtools.d.ts +5 -3
- package/lib/ContainerDevtools.d.ts.map +1 -1
- package/lib/ContainerDevtools.js.map +1 -1
- package/lib/ContainerRuntimeDevtools.d.ts +3 -2
- package/lib/ContainerRuntimeDevtools.d.ts.map +1 -1
- package/lib/ContainerRuntimeDevtools.js.map +1 -1
- package/lib/FluidDevtools.d.ts +7 -5
- package/lib/FluidDevtools.d.ts.map +1 -1
- package/lib/FluidDevtools.js +2 -2
- package/lib/FluidDevtools.js.map +1 -1
- package/lib/IFluidDevtools.d.ts +1 -1
- package/lib/IFluidDevtools.js.map +1 -1
- package/lib/alpha.d.ts +4 -7
- package/lib/beta.d.ts +42 -0
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +35 -23
- package/src/ContainerDevtools.ts +5 -3
- package/src/ContainerRuntimeDevtools.ts +3 -2
- package/src/FluidDevtools.ts +7 -5
- package/src/IFluidDevtools.ts +1 -1
- package/src/packageVersion.ts +1 -1
package/src/FluidDevtools.ts
CHANGED
|
@@ -77,7 +77,9 @@ export function getContainerAlreadyRegisteredErrorText(containerKey: ContainerKe
|
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Properties for configuring the Devtools.
|
|
80
|
-
* @
|
|
80
|
+
* @beta
|
|
81
|
+
* @input
|
|
82
|
+
* @sealed
|
|
81
83
|
*/
|
|
82
84
|
export interface FluidDevtoolsProps {
|
|
83
85
|
/**
|
|
@@ -90,14 +92,14 @@ export interface FluidDevtoolsProps {
|
|
|
90
92
|
* This is provided to the Devtools instance strictly to enable communicating supported / desired functionality with
|
|
91
93
|
* external listeners.
|
|
92
94
|
*/
|
|
93
|
-
logger?: IDevtoolsLogger;
|
|
95
|
+
readonly logger?: IDevtoolsLogger;
|
|
94
96
|
|
|
95
97
|
/**
|
|
96
98
|
* (optional) List of Containers to initialize the devtools with.
|
|
97
99
|
*
|
|
98
100
|
* @remarks Additional Containers can be registered with the Devtools via {@link IFluidDevtools.registerContainerDevtools}.
|
|
99
101
|
*/
|
|
100
|
-
initialContainers?: ContainerDevtoolsProps[];
|
|
102
|
+
readonly initialContainers?: ContainerDevtoolsProps[];
|
|
101
103
|
|
|
102
104
|
// TODO: Add ability for customers to specify custom data visualizer overrides
|
|
103
105
|
}
|
|
@@ -517,7 +519,7 @@ export class FluidDevtools implements IFluidDevtools {
|
|
|
517
519
|
*
|
|
518
520
|
* It is automatically disposed on webpage unload, but it can be closed earlier by calling `dispose`
|
|
519
521
|
* on the returned handle.
|
|
520
|
-
* @
|
|
522
|
+
* @beta
|
|
521
523
|
*/
|
|
522
524
|
export function initializeDevtools(props?: FluidDevtoolsProps): IFluidDevtools {
|
|
523
525
|
return FluidDevtools.initialize(props);
|
|
@@ -525,7 +527,7 @@ export function initializeDevtools(props?: FluidDevtoolsProps): IFluidDevtools {
|
|
|
525
527
|
|
|
526
528
|
/**
|
|
527
529
|
* Gets the Devtools singleton if it has been {@link initializeDevtools | initialized}, otherwise returns `undefined`.
|
|
528
|
-
* @
|
|
530
|
+
* @beta
|
|
529
531
|
*/
|
|
530
532
|
export function tryGetFluidDevtools(): IFluidDevtools | undefined {
|
|
531
533
|
return FluidDevtools.tryGet();
|
package/src/IFluidDevtools.ts
CHANGED
|
@@ -21,7 +21,7 @@ import type { ContainerRuntimeProps } from "./ContainerRuntimeDevtools.js";
|
|
|
21
21
|
* The lifetime of the associated singleton is bound by that of the Window (globalThis), and it will be automatically
|
|
22
22
|
* disposed of on Window unload.
|
|
23
23
|
* If you wish to dispose of it earlier, you may call its {@link @fluidframework/core-interfaces#IDisposable.dispose} method.
|
|
24
|
-
* @
|
|
24
|
+
* @beta
|
|
25
25
|
* @sealed
|
|
26
26
|
*/
|
|
27
27
|
export interface IFluidDevtools extends IDisposable {
|
package/src/packageVersion.ts
CHANGED