@localstack/appinspector-ui 1.0.98 → 1.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2591 -641
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +2359 -409
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,25 @@ import { PropsWithChildren, FC, ReactNode } from 'react';
|
|
|
2
2
|
import { routes } from './routes.cjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Describes the host environment the UI is embedded in. Consumers of the
|
|
7
|
+
* library pass this via AppInspectorContextProvider so the UI can adapt its
|
|
8
|
+
* behavior (e.g. analytics reporting) to its deployment context.
|
|
9
|
+
*/
|
|
10
|
+
type DeploymentContainer = {
|
|
11
|
+
extensionVersion: string;
|
|
12
|
+
ideVersion: string;
|
|
13
|
+
source: 'vscode';
|
|
14
|
+
} | {
|
|
15
|
+
source: 'web';
|
|
16
|
+
};
|
|
17
|
+
|
|
5
18
|
interface AppInspectorContextProviderProps {
|
|
19
|
+
/**
|
|
20
|
+
* Describes the host container running AppInspector. Defaults to `{ source: 'web' }`
|
|
21
|
+
* when omitted. VS Code consumers pass `{ source: 'vscode', ideVersion, extensionVersion }`.
|
|
22
|
+
*/
|
|
23
|
+
deploymentContainer?: DeploymentContainer;
|
|
6
24
|
/**
|
|
7
25
|
* A component that renders a link.
|
|
8
26
|
*/
|
|
@@ -26,4 +44,4 @@ declare const pages: {
|
|
|
26
44
|
readonly APP_INSPECTOR_SPANS_LIST: readonly ["spans", FC];
|
|
27
45
|
};
|
|
28
46
|
|
|
29
|
-
export { AppInspectorContextProvider, type PagesMap, pages };
|
|
47
|
+
export { AppInspectorContextProvider, type DeploymentContainer, type PagesMap, pages };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,25 @@ import { PropsWithChildren, FC, ReactNode } from 'react';
|
|
|
2
2
|
import { routes } from './routes.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Describes the host environment the UI is embedded in. Consumers of the
|
|
7
|
+
* library pass this via AppInspectorContextProvider so the UI can adapt its
|
|
8
|
+
* behavior (e.g. analytics reporting) to its deployment context.
|
|
9
|
+
*/
|
|
10
|
+
type DeploymentContainer = {
|
|
11
|
+
extensionVersion: string;
|
|
12
|
+
ideVersion: string;
|
|
13
|
+
source: 'vscode';
|
|
14
|
+
} | {
|
|
15
|
+
source: 'web';
|
|
16
|
+
};
|
|
17
|
+
|
|
5
18
|
interface AppInspectorContextProviderProps {
|
|
19
|
+
/**
|
|
20
|
+
* Describes the host container running AppInspector. Defaults to `{ source: 'web' }`
|
|
21
|
+
* when omitted. VS Code consumers pass `{ source: 'vscode', ideVersion, extensionVersion }`.
|
|
22
|
+
*/
|
|
23
|
+
deploymentContainer?: DeploymentContainer;
|
|
6
24
|
/**
|
|
7
25
|
* A component that renders a link.
|
|
8
26
|
*/
|
|
@@ -26,4 +44,4 @@ declare const pages: {
|
|
|
26
44
|
readonly APP_INSPECTOR_SPANS_LIST: readonly ["spans", FC];
|
|
27
45
|
};
|
|
28
46
|
|
|
29
|
-
export { AppInspectorContextProvider, type PagesMap, pages };
|
|
47
|
+
export { AppInspectorContextProvider, type DeploymentContainer, type PagesMap, pages };
|