@localstack/appinspector-ui 1.0.0-dev-2512f67b → 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/routes.cjs +34 -0
- package/dist/routes.cjs.map +1 -0
- package/dist/routes.d.cts +6 -0
- package/package.json +3 -3
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/routes.cjs
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/routes.ts
|
|
21
|
+
var routes_exports = {};
|
|
22
|
+
__export(routes_exports, {
|
|
23
|
+
routes: () => routes
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(routes_exports);
|
|
26
|
+
var routes = {
|
|
27
|
+
APP_INSPECTOR_SPANS_LIST: "spans",
|
|
28
|
+
APP_INSPECTOR_TRACE_GRAPH: "traces/:traceId"
|
|
29
|
+
};
|
|
30
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
31
|
+
0 && (module.exports = {
|
|
32
|
+
routes
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=routes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/routes.ts"],"sourcesContent":["type RoutesMap = Record<string, string>\n\nexport const routes = {\n APP_INSPECTOR_SPANS_LIST: 'spans',\n APP_INSPECTOR_TRACE_GRAPH: 'traces/:traceId',\n} as const satisfies RoutesMap\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,SAAS;AAAA,EACpB,0BAA0B;AAAA,EAC1B,2BAA2B;AAC7B;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localstack/appinspector-ui",
|
|
3
|
-
"version": "1.0.0-dev-
|
|
3
|
+
"version": "1.0.0-dev-cd281369",
|
|
4
4
|
"description": "LocalStack AppInspector UI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"default": "./dist/index.js"
|
|
11
11
|
},
|
|
12
12
|
"require": {
|
|
13
|
-
"default": "./dist/index.
|
|
13
|
+
"default": "./dist/index.cjs"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"./routes": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"default": "./dist/routes.js"
|
|
20
20
|
},
|
|
21
21
|
"require": {
|
|
22
|
-
"default": "./dist/routes.
|
|
22
|
+
"default": "./dist/routes.cjs"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
},
|