@eventcatalog/visualiser 5.1.1 → 5.1.2
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.js
CHANGED
|
@@ -1457,7 +1457,8 @@ var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
|
1457
1457
|
var SPEC_LABELS = {
|
|
1458
1458
|
openapi: "OpenAPI",
|
|
1459
1459
|
asyncapi: "AsyncAPI",
|
|
1460
|
-
graphql: "GraphQL"
|
|
1460
|
+
graphql: "GraphQL",
|
|
1461
|
+
generic: "Spec"
|
|
1461
1462
|
};
|
|
1462
1463
|
var SPEC_COLORS = {
|
|
1463
1464
|
openapi: {
|
|
@@ -1477,6 +1478,12 @@ var SPEC_COLORS = {
|
|
|
1477
1478
|
text: "#be185d",
|
|
1478
1479
|
darkBg: "rgba(229,53,171,0.2)",
|
|
1479
1480
|
darkText: "#f9a8d4"
|
|
1481
|
+
},
|
|
1482
|
+
generic: {
|
|
1483
|
+
bg: "rgba(100,116,139,0.12)",
|
|
1484
|
+
text: "#475569",
|
|
1485
|
+
darkBg: "rgba(100,116,139,0.2)",
|
|
1486
|
+
darkText: "#cbd5e1"
|
|
1480
1487
|
}
|
|
1481
1488
|
};
|
|
1482
1489
|
function normalizeSpecTypes(specs) {
|