@localstack/appinspector-ui 1.0.0-dev-4d4ef4e9 → 1.0.0-dev-2512f67b
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.d.ts +4 -3
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/routes.d.ts +6 -0
- package/dist/routes.js +9 -0
- package/dist/routes.js.map +1 -0
- package/package.json +10 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren, FC, ReactNode } from 'react';
|
|
2
|
+
import { routes } from './routes.js';
|
|
2
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
|
|
4
5
|
interface AppInspectorContextProviderProps {
|
|
@@ -20,10 +21,10 @@ interface AppInspectorContextProviderProps {
|
|
|
20
21
|
}
|
|
21
22
|
declare const AppInspectorContextProvider: (props: PropsWithChildren<AppInspectorContextProviderProps>) => react_jsx_runtime.JSX.Element;
|
|
22
23
|
|
|
23
|
-
type
|
|
24
|
-
declare const
|
|
24
|
+
type PagesMap = Record<keyof typeof routes, readonly [string, FC]>;
|
|
25
|
+
declare const pages: {
|
|
25
26
|
readonly APP_INSPECTOR_SPANS_LIST: readonly ["spans", FC];
|
|
26
27
|
readonly APP_INSPECTOR_TRACE_GRAPH: readonly ["traces/:traceId", FC];
|
|
27
28
|
};
|
|
28
29
|
|
|
29
|
-
export { AppInspectorContextProvider, type
|
|
30
|
+
export { AppInspectorContextProvider, type PagesMap, pages };
|
package/dist/index.js
CHANGED
|
@@ -3734,13 +3734,19 @@ var TraceGraphPage = () => {
|
|
|
3734
3734
|
);
|
|
3735
3735
|
};
|
|
3736
3736
|
|
|
3737
|
-
// src/
|
|
3737
|
+
// src/routes.ts
|
|
3738
3738
|
var routes = {
|
|
3739
|
-
APP_INSPECTOR_SPANS_LIST:
|
|
3740
|
-
APP_INSPECTOR_TRACE_GRAPH:
|
|
3739
|
+
APP_INSPECTOR_SPANS_LIST: "spans",
|
|
3740
|
+
APP_INSPECTOR_TRACE_GRAPH: "traces/:traceId"
|
|
3741
|
+
};
|
|
3742
|
+
|
|
3743
|
+
// src/index.ts
|
|
3744
|
+
var pages = {
|
|
3745
|
+
APP_INSPECTOR_SPANS_LIST: [routes.APP_INSPECTOR_SPANS_LIST, SpansListPage],
|
|
3746
|
+
APP_INSPECTOR_TRACE_GRAPH: [routes.APP_INSPECTOR_TRACE_GRAPH, TraceGraphPage]
|
|
3741
3747
|
};
|
|
3742
3748
|
export {
|
|
3743
3749
|
AppInspectorContextProvider,
|
|
3744
|
-
|
|
3750
|
+
pages
|
|
3745
3751
|
};
|
|
3746
3752
|
//# sourceMappingURL=index.js.map
|