@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.js
CHANGED
|
@@ -2468,6 +2468,7 @@ var EVENT_DETAILS_CLOSE_BUTTON_TEST_ID = "event-details-close-button";
|
|
|
2468
2468
|
var EVENT_DETAILS_STATUS_TEST_ID = "event-details-status";
|
|
2469
2469
|
var EVENT_DETAILS_RESOURCE_NAME_TEST_ID = "event-details-resource-name";
|
|
2470
2470
|
var EVENT_DETAILS_RESOURCE_ARN_TEST_ID = "event-details-resource-arn";
|
|
2471
|
+
var EVENT_DETAILS_CFN_RESOURCE_TYPE_TEST_ID = "event-details-cfn-resource-type";
|
|
2471
2472
|
var EVENT_DETAILS_ACCOUNT_TEST_ID = "event-details-account";
|
|
2472
2473
|
var EVENT_DETAILS_REGION_TEST_ID = "event-details-region";
|
|
2473
2474
|
var EVENT_DETAILS_START_TIME_TEST_ID = "event-details-start-time";
|
|
@@ -30434,6 +30435,7 @@ var EventDetails = ({ onClose, selectedEvent }) => {
|
|
|
30434
30435
|
const isSqsSendMessage = checkIsSqsSendMessage(selectedEvent);
|
|
30435
30436
|
const requestId = typeof selectedEvent.attributes?.["localstack.request_id"] === "string" ? selectedEvent.attributes["localstack.request_id"] : void 0;
|
|
30436
30437
|
const resourceArn = typeof selectedEvent.attributes?.["localstack.aws.resource_arn"] === "string" ? selectedEvent.attributes["localstack.aws.resource_arn"] : void 0;
|
|
30438
|
+
const cfnResourceType = typeof selectedEvent.attributes?.["localstack.cfn.resource_type"] === "string" ? selectedEvent.attributes["localstack.cfn.resource_type"] : void 0;
|
|
30437
30439
|
const requestPayload = tryParseJson(selectedEvent.attributes?.["localstack.aws.service.request"]);
|
|
30438
30440
|
if (parseNestedJson) {
|
|
30439
30441
|
if (isLambdaInvoke && requestPayload && typeof requestPayload === "object" && "Payload" in requestPayload) {
|
|
@@ -30481,9 +30483,15 @@ var EventDetails = ({ onClose, selectedEvent }) => {
|
|
|
30481
30483
|
/* @__PURE__ */ jsx140(Typography10, { "data-testid": EVENT_DETAILS_OPERATION_NAME_TEST_ID, variant: "body2", children: selectedEvent.operation_name })
|
|
30482
30484
|
] })
|
|
30483
30485
|
] }),
|
|
30484
|
-
/* @__PURE__ */ jsxs130(Box15, { children: [
|
|
30485
|
-
/* @__PURE__ */
|
|
30486
|
-
|
|
30486
|
+
/* @__PURE__ */ jsxs130(Box15, { sx: cfnResourceType ? { display: "grid", gap: 2, gridTemplateColumns: "1.3fr 1fr" } : void 0, children: [
|
|
30487
|
+
/* @__PURE__ */ jsxs130(Box15, { children: [
|
|
30488
|
+
/* @__PURE__ */ jsx140(Typography10, { sx: { fontWeight: 600 }, variant: "caption", children: "Resource" }),
|
|
30489
|
+
/* @__PURE__ */ jsx140(Typography10, { "data-testid": EVENT_DETAILS_RESOURCE_NAME_TEST_ID, variant: "body2", children: selectedEvent.resource_name })
|
|
30490
|
+
] }),
|
|
30491
|
+
Boolean(cfnResourceType) && /* @__PURE__ */ jsxs130(Box15, { children: [
|
|
30492
|
+
/* @__PURE__ */ jsx140(Typography10, { sx: { fontWeight: 600 }, variant: "caption", children: "Resource Type" }),
|
|
30493
|
+
/* @__PURE__ */ jsx140(Typography10, { "data-testid": EVENT_DETAILS_CFN_RESOURCE_TYPE_TEST_ID, variant: "body2", children: cfnResourceType })
|
|
30494
|
+
] })
|
|
30487
30495
|
] }),
|
|
30488
30496
|
Boolean(resourceArn) && /* @__PURE__ */ jsxs130(Box15, { children: [
|
|
30489
30497
|
/* @__PURE__ */ jsx140(Typography10, { sx: { fontWeight: 600 }, variant: "caption", children: "Resource ARN" }),
|