RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Peter Meier
2026-02-16 09:30:30 +01:00
commit aad93d145f
224 changed files with 19225 additions and 0 deletions

28
types/navigation.json5 Normal file
View File

@@ -0,0 +1,28 @@
{
// Corresponds to CF_Navigation / Contentful_Navigation.ts
name: "navigation",
description: "Navigation block with links (header/footer)",
tags: ["navigation", "layout"],
category: "config",
fields: {
name: {
type: "string",
required: true,
description: "Display name of navigation",
},
internal: {
type: "string",
required: true,
description: "Internal key (e.g. navigation-header, navigation-footer)",
},
links: {
type: "array",
required: true,
items: {
type: "reference",
collections: ["link", "page", "post"],
},
description: "Navigation entries (references to link, page or post)",
},
},
}