Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
web
Manage
Activity
Members
Labels
Plan
Issues
62
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ecobytes
web
Wiki
Astro and MDX files from Directus
Changes
Page history
New page
Templates
Clone repository
Update Astro and MDX files from Directus
authored
2 years ago
by
Flupsi
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Astro-and-MDX-files-from-Directus.md
+1
-1
1 addition, 1 deletion
Astro-and-MDX-files-from-Directus.md
with
1 addition
and
1 deletion
Astro-and-MDX-files-from-Directus.md
View page @
3e1e1272
...
@@ -6,6 +6,7 @@ I am currently experimenting with Astro: https://github.com/upsiflu/astro-blog
...
@@ -6,6 +6,7 @@ I am currently experimenting with Astro: https://github.com/upsiflu/astro-blog
graph TD
graph TD
A[CMS] --- B{Data Model - Directus}
A[CMS] --- B{Data Model - Directus}
B -->|Client Sdk| C(Content with frontmatter mirroring all Data Model fields)
B -->|Client Sdk| C(Content with frontmatter mirroring all Data Model fields)
B -->|automatic unique Slugs| E
B -->|OpenAPI3| D(Type definitions for all fields)
B -->|OpenAPI3| D(Type definitions for all fields)
C --> E(mdx content files)
C --> E(mdx content files)
D --> F(zod schema file)
D --> F(zod schema file)
...
@@ -15,7 +16,6 @@ graph TD
...
@@ -15,7 +16,6 @@ graph TD
I[Ecobytes Components] --- H
I[Ecobytes Components] --- H
K[Ecobytes Stylesheet] --- H
K[Ecobytes Stylesheet] --- H
F -->|ts Types| H
F -->|ts Types| H
B -->|automatic unique Slugs| E
```
```
# Integration with Directus
# Integration with Directus
...
...
This diff is collapsed.
Click to expand it.