@localstack/appinspector-ui 1.0.0-dev-cc51d045 → 1.0.0-dev-cd281369
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 +3790 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +30 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/routes.cjs +34 -0
- package/dist/routes.cjs.map +1 -0
- package/dist/routes.d.cts +6 -0
- package/dist/routes.d.ts +6 -0
- package/dist/routes.js +9 -0
- package/dist/routes.js.map +1 -0
- package/package.json +11 -2
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PropsWithChildren, FC, ReactNode } from 'react';
|
|
2
|
+
import { routes } from './routes.cjs';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
|
|
5
|
+
interface AppInspectorContextProviderProps {
|
|
6
|
+
/**
|
|
7
|
+
* A component that renders a link.
|
|
8
|
+
*/
|
|
9
|
+
linkComponent: FC<{
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
to: string;
|
|
12
|
+
}>;
|
|
13
|
+
/**
|
|
14
|
+
* The endpoint to LocalStack.
|
|
15
|
+
*/
|
|
16
|
+
localstackEndpoint: string;
|
|
17
|
+
/**
|
|
18
|
+
* The prefix for the event studio routes.
|
|
19
|
+
*/
|
|
20
|
+
routePrefix: string;
|
|
21
|
+
}
|
|
22
|
+
declare const AppInspectorContextProvider: (props: PropsWithChildren<AppInspectorContextProviderProps>) => react_jsx_runtime.JSX.Element;
|
|
23
|
+
|
|
24
|
+
type PagesMap = Record<keyof typeof routes, readonly [string, FC]>;
|
|
25
|
+
declare const pages: {
|
|
26
|
+
readonly APP_INSPECTOR_SPANS_LIST: readonly ["spans", FC];
|
|
27
|
+
readonly APP_INSPECTOR_TRACE_GRAPH: readonly ["traces/:traceId", FC];
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { AppInspectorContextProvider, type PagesMap, pages };
|
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
|