@localstack/appinspector-ui 1.0.99 → 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 +11 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2472,6 +2472,7 @@ var EVENT_DETAILS_CLOSE_BUTTON_TEST_ID = "event-details-close-button";
|
|
|
2472
2472
|
var EVENT_DETAILS_STATUS_TEST_ID = "event-details-status";
|
|
2473
2473
|
var EVENT_DETAILS_RESOURCE_NAME_TEST_ID = "event-details-resource-name";
|
|
2474
2474
|
var EVENT_DETAILS_RESOURCE_ARN_TEST_ID = "event-details-resource-arn";
|
|
2475
|
+
var EVENT_DETAILS_CFN_RESOURCE_TYPE_TEST_ID = "event-details-cfn-resource-type";
|
|
2475
2476
|
var EVENT_DETAILS_ACCOUNT_TEST_ID = "event-details-account";
|
|
2476
2477
|
var EVENT_DETAILS_REGION_TEST_ID = "event-details-region";
|
|
2477
2478
|
var EVENT_DETAILS_START_TIME_TEST_ID = "event-details-start-time";
|
|
@@ -30421,6 +30422,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
|
|
|
30421
30422
|
const isSqsSendMessage = checkIsSqsSendMessage(selectedEvent);
|
|
30422
30423
|
const requestId = typeof selectedEvent.attributes?.["localstack.request_id"] === "string" ? selectedEvent.attributes["localstack.request_id"] : void 0;
|
|
30423
30424
|
const resourceArn = typeof selectedEvent.attributes?.["localstack.aws.resource_arn"] === "string" ? selectedEvent.attributes["localstack.aws.resource_arn"] : void 0;
|
|
30425
|
+
const cfnResourceType = typeof selectedEvent.attributes?.["localstack.cfn.resource_type"] === "string" ? selectedEvent.attributes["localstack.cfn.resource_type"] : void 0;
|
|
30424
30426
|
const requestPayload = tryParseJson(selectedEvent.attributes?.["localstack.aws.service.request"]);
|
|
30425
30427
|
if (parseNestedJson) {
|
|
30426
30428
|
if (isLambdaInvoke && requestPayload && typeof requestPayload === "object" && "Payload" in requestPayload) {
|
|
@@ -30468,9 +30470,15 @@ var EventDetails = ({ onClose, selectedEvent }) => {
|
|
|
30468
30470
|
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { "data-testid": EVENT_DETAILS_OPERATION_NAME_TEST_ID, variant: "body2", children: selectedEvent.operation_name })
|
|
30469
30471
|
] })
|
|
30470
30472
|
] }),
|
|
30471
|
-
/* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_material17.Box, { children: [
|
|
30472
|
-
/* @__PURE__ */ (0, import_jsx_runtime140.
|
|
30473
|
-
|
|
30473
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_material17.Box, { sx: cfnResourceType ? { display: "grid", gap: 2, gridTemplateColumns: "1.3fr 1fr" } : void 0, children: [
|
|
30474
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_material17.Box, { children: [
|
|
30475
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Resource" }),
|
|
30476
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { "data-testid": EVENT_DETAILS_RESOURCE_NAME_TEST_ID, variant: "body2", children: selectedEvent.resource_name })
|
|
30477
|
+
] }),
|
|
30478
|
+
Boolean(cfnResourceType) && /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_material17.Box, { children: [
|
|
30479
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Resource Type" }),
|
|
30480
|
+
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { "data-testid": EVENT_DETAILS_CFN_RESOURCE_TYPE_TEST_ID, variant: "body2", children: cfnResourceType })
|
|
30481
|
+
] })
|
|
30474
30482
|
] }),
|
|
30475
30483
|
Boolean(resourceArn) && /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_material17.Box, { children: [
|
|
30476
30484
|
/* @__PURE__ */ (0, import_jsx_runtime140.jsx)(import_material17.Typography, { sx: { fontWeight: 600 }, variant: "caption", children: "Resource ARN" }),
|