@eventcatalog/core 3.0.0-beta.26 → 3.0.0-beta.27

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.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  import DomainGrid from '@components/Grids/DomainGrid';
3
3
  import MessageGrid from '@components/Grids/MessageGrid';
4
+ import { getSpecificationsForService } from '@utils/collections/services';
4
5
 
5
6
  import VerticalSideBarLayout from '@layouts/VerticalSideBarLayout.astro';
6
7
  import { Page } from './_index.data';
@@ -15,15 +16,18 @@ let domain = props;
15
16
  const pageTitle = `${props.type} | ${props.data.name}`.replace(/^\w/, (c) => c.toUpperCase());
16
17
 
17
18
  const type = props.type;
19
+
20
+ // Get specifications for services
21
+ const specifications = type === 'services' ? getSpecificationsForService(props) : [];
18
22
  ---
19
23
 
20
24
  <VerticalSideBarLayout title={pageTitle}>
21
- <div class="bg-white min-h-screen">
22
- <div class="mx-auto h-full">
23
- <div class="px-6 py-6 h-full">
25
+ <main class="flex docs-layout h-full">
26
+ <div class="flex docs-layout w-full pl-16">
27
+ <div class="w-full lg:mr-2 pr-8 overflow-y-auto py-8">
24
28
  {type === 'domains' && <DomainGrid domain={domain} client:load />}
25
- {type === 'services' && <MessageGrid service={props} client:load />}
29
+ {type === 'services' && <MessageGrid service={props} specifications={specifications} client:load />}
26
30
  </div>
27
31
  </div>
28
- </div>
32
+ </main>
29
33
  </VerticalSideBarLayout>
@@ -52,7 +52,7 @@ export const buildDomainNode = (domain: CollectionEntry<'domains'>, owners: any[
52
52
  pages: [
53
53
  {
54
54
  type: 'item',
55
- title: 'Architecture Diagram',
55
+ title: 'Architecture Overview',
56
56
  href: buildUrl(`/architecture/domains/${domain.data.id}/${domain.data.version}`),
57
57
  },
58
58
  renderEntities &&
@@ -60,7 +60,7 @@ export const buildServiceNode = (service: CollectionEntry<'services'>, owners: a
60
60
  pages: [
61
61
  {
62
62
  type: 'item',
63
- title: 'Architecture Diagram',
63
+ title: 'Architecture Overview',
64
64
  href: buildUrl(`/architecture/services/${service.data.id}/${service.data.version}`),
65
65
  },
66
66
  renderVisualiser && {
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/event-catalog/eventcatalog.git"
7
7
  },
8
8
  "type": "module",
9
- "version": "3.0.0-beta.26",
9
+ "version": "3.0.0-beta.27",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },