@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.
@@ -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":[]}
@@ -0,0 +1,6 @@
1
+ declare const routes: {
2
+ readonly APP_INSPECTOR_SPANS_LIST: "spans";
3
+ readonly APP_INSPECTOR_TRACE_GRAPH: "traces/:traceId";
4
+ };
5
+
6
+ export { routes };
@@ -0,0 +1,6 @@
1
+ declare const routes: {
2
+ readonly APP_INSPECTOR_SPANS_LIST: "spans";
3
+ readonly APP_INSPECTOR_TRACE_GRAPH: "traces/:traceId";
4
+ };
5
+
6
+ export { routes };
package/dist/routes.js ADDED
@@ -0,0 +1,9 @@
1
+ // src/routes.ts
2
+ var routes = {
3
+ APP_INSPECTOR_SPANS_LIST: "spans",
4
+ APP_INSPECTOR_TRACE_GRAPH: "traces/:traceId"
5
+ };
6
+ export {
7
+ routes
8
+ };
9
+ //# sourceMappingURL=routes.js.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":";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-cc51d045",
3
+ "version": "1.0.0-dev-cd281369",
4
4
  "description": "LocalStack AppInspector UI",
5
5
  "type": "module",
6
6
  "exports": {
@@ -10,7 +10,16 @@
10
10
  "default": "./dist/index.js"
11
11
  },
12
12
  "require": {
13
- "default": "./dist/index.js"
13
+ "default": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "./routes": {
17
+ "types": "./dist/routes.d.ts",
18
+ "import": {
19
+ "default": "./dist/routes.js"
20
+ },
21
+ "require": {
22
+ "default": "./dist/routes.cjs"
14
23
  }
15
24
  }
16
25
  },