@eventcatalog/core 2.23.1 → 2.23.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/README.md +5 -4
- package/dist/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-MUBFMCSR.js → chunk-OXD723LJ.js} +1 -1
- package/dist/{chunk-GGTLXJHB.js → chunk-RMESKTDM.js} +1 -1
- package/dist/{chunk-I76AB6JV.js → chunk-W3SPESBN.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/eventcatalog.cjs +1 -1
- package/dist/eventcatalog.js +3 -3
- package/eventcatalog/src/components/Tables/columns/ServiceTableColumns.tsx +30 -23
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
<h4>Features: Documentation generator for Event Driven Architectures, Integration with any broker, Docs and Code, Markdown driven, Document Domains/Services/Messages/Schemas and more, Content versioning, Assign Owners, Schemas, OpenAPI, MDX Components and more...</h4>
|
|
33
33
|
|
|
34
34
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
35
|
-
[](#contributors-)
|
|
36
36
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
37
37
|
|
|
38
|
-
[Read the Docs](https://eventcatalog.dev/
|
|
38
|
+
[Read the Docs](https://www.eventcatalog.dev/product/documentation) | [View Demo](https://demo.eventcatalog.dev/docs)
|
|
39
39
|
|
|
40
40
|
</div>
|
|
41
41
|
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
# Core Features
|
|
45
45
|
|
|
46
46
|
- 📃 Document domains, services and messages ([demo](https://demo.eventcatalog.dev/docs))
|
|
47
|
-
- 📊 Visualise your architecture ([demo](https://demo.eventcatalog.dev/visualiser))
|
|
47
|
+
- 📊 Visualise your architecture ([demo](https://demo.eventcatalog.dev/visualiser/domains/Orders))
|
|
48
48
|
- ⭐ Supports any Schema format (e.g Avro, JSON) ([demo](https://demo.eventcatalog.dev/docs/events/InventoryAdjusted/0.0.4))
|
|
49
49
|
- 🗂️ Document any code examples (Any code snippet)
|
|
50
50
|
- 💅 Custom MDX components ([read more](https://eventcatalog.dev/docs/development/components/using-components))
|
|
51
51
|
- 🗄️ Version domains, services and messages
|
|
52
52
|
- ⭐ Discoverability feature (search, filter and more) ([demo](https://demo.eventcatalog.dev/discover/events))
|
|
53
53
|
- ⭐ Document teams and users ([demo](https://demo.eventcatalog.dev/docs/teams/full-stack))
|
|
54
|
-
- 🤖 Automate your catalogs with [generators](https://www.eventcatalog.dev/docs/development/plugins/plugin-overview) (e.g generate your catalogs from your [AsyncAPI](https://www.eventcatalog.dev/docs/
|
|
54
|
+
- 🤖 Automate your catalogs with [generators](https://www.eventcatalog.dev/docs/development/plugins/plugin-overview) (e.g generate your catalogs from your [AsyncAPI](https://www.eventcatalog.dev/docs/asyncapi)/[OpenAPI](https://www.eventcatalog.dev/docs/openapi) documents)
|
|
55
55
|
- 👨🏼💻 Follows [Docs as code](https://www.writethedocs.org/guide/docs-as-code/) principles
|
|
56
56
|
- ⭐ And much more...
|
|
57
57
|
|
|
@@ -251,6 +251,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
251
251
|
<td align="center" valign="top" width="14.28%"><a href="https://pallares.io"><img src="https://avatars.githubusercontent.com/u/1077520?v=4?s=100" width="100px;" alt="Cristian Pallarés"/><br /><sub><b>Cristian Pallarés</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=skyrpex" title="Code">💻</a></td>
|
|
252
252
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/SebasRendon12"><img src="https://avatars.githubusercontent.com/u/69688183?v=4?s=100" width="100px;" alt="Sebastian Rendon"/><br /><sub><b>Sebastian Rendon</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=SebasRendon12" title="Code">💻</a></td>
|
|
253
253
|
<td align="center" valign="top" width="14.28%"><a href="http://craig0990.co.uk"><img src="https://avatars.githubusercontent.com/u/461897?v=4?s=100" width="100px;" alt="Craig Roberts"/><br /><sub><b>Craig Roberts</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=craig0990" title="Code">💻</a></td>
|
|
254
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Vertygo"><img src="https://avatars.githubusercontent.com/u/1658326?v=4?s=100" width="100px;" alt="Ivan Milosavljevic"/><br /><sub><b>Ivan Milosavljevic</b></sub></a><br /><a href="https://github.com/event-catalog/eventcatalog/commits?author=Vertygo" title="Documentation">📖</a></td>
|
|
254
255
|
</tr>
|
|
255
256
|
</tbody>
|
|
256
257
|
</table>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
log_build_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-W3SPESBN.js";
|
|
4
|
+
import "../chunk-RMESKTDM.js";
|
|
5
|
+
import "../chunk-OXD723LJ.js";
|
|
6
6
|
import "../chunk-E7TXTI7G.js";
|
|
7
7
|
export {
|
|
8
8
|
log_build_default as default
|
package/dist/constants.cjs
CHANGED
package/dist/constants.js
CHANGED
package/dist/eventcatalog.cjs
CHANGED
package/dist/eventcatalog.js
CHANGED
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-OW2FQPYP.js";
|
|
7
7
|
import {
|
|
8
8
|
log_build_default
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-W3SPESBN.js";
|
|
10
|
+
import "./chunk-RMESKTDM.js";
|
|
11
11
|
import {
|
|
12
12
|
catalogToAstro
|
|
13
13
|
} from "./chunk-CXKIF3EI.js";
|
|
14
14
|
import {
|
|
15
15
|
VERSION
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OXD723LJ.js";
|
|
17
17
|
import {
|
|
18
18
|
isBackstagePluginEnabled
|
|
19
19
|
} from "./chunk-XMDPVKIJ.js";
|
|
@@ -128,6 +128,18 @@ export const columns = () => [
|
|
|
128
128
|
if (sends?.length === 0 || !sends)
|
|
129
129
|
return <div className="text-sm text-gray-400/80 text-left italic">Service sends no messages.</div>;
|
|
130
130
|
|
|
131
|
+
const sendersWithIcons = useMemo(
|
|
132
|
+
() =>
|
|
133
|
+
sends?.map((sender) => {
|
|
134
|
+
const type = sender.collection.slice(0, -1);
|
|
135
|
+
return {
|
|
136
|
+
...sender,
|
|
137
|
+
...getColorAndIconForMessageType(type),
|
|
138
|
+
};
|
|
139
|
+
}) || [],
|
|
140
|
+
[sends]
|
|
141
|
+
);
|
|
142
|
+
|
|
131
143
|
return (
|
|
132
144
|
<div>
|
|
133
145
|
{isExpandable && (
|
|
@@ -137,30 +149,25 @@ export const columns = () => [
|
|
|
137
149
|
)}
|
|
138
150
|
{isExpanded && (
|
|
139
151
|
<ul>
|
|
140
|
-
{
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
<
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
<div className={`flex items-center border border-gray-300 shadow-sm rounded-md`}>
|
|
151
|
-
<span className="flex items-center">
|
|
152
|
-
<span className={`bg-${color}-500 h-full rounded-tl rounded-bl p-1`}>
|
|
153
|
-
<Icon className="h-4 w-4 text-white" />
|
|
154
|
-
</span>
|
|
155
|
-
<span className="leading-none px-2 group-hover:underline ">
|
|
156
|
-
{consumer.data.name} (v{consumer.data.version})
|
|
157
|
-
</span>
|
|
152
|
+
{sendersWithIcons.map((sender, index) => (
|
|
153
|
+
<li key={`${sender.data.id}-${index}`} className="py-1 group font-light">
|
|
154
|
+
<a
|
|
155
|
+
href={buildUrl(`/docs/${sender.collection}/${sender.data.id}/${sender.data.version}`)}
|
|
156
|
+
className="group-hover:text-primary flex space-x-1 items-center "
|
|
157
|
+
>
|
|
158
|
+
<div className={`flex items-center border border-gray-300 shadow-sm rounded-md`}>
|
|
159
|
+
<span className="flex items-center">
|
|
160
|
+
<span className={`bg-${sender.color}-500 h-full rounded-tl rounded-bl p-1`}>
|
|
161
|
+
<sender.Icon className="h-4 w-4 text-white" />
|
|
158
162
|
</span>
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
163
|
+
<span className="leading-none px-2 group-hover:underline ">
|
|
164
|
+
{sender.data.name} (v{sender.data.version})
|
|
165
|
+
</span>
|
|
166
|
+
</span>
|
|
167
|
+
</div>
|
|
168
|
+
</a>
|
|
169
|
+
</li>
|
|
170
|
+
))}
|
|
164
171
|
</ul>
|
|
165
172
|
)}
|
|
166
173
|
</div>
|