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

View File

@@ -0,0 +1,44 @@
{
// Corresponds to CF_ComponentSearchableText / Contentful_SearchableText.ts
name: "searchable_text",
description: "Searchable text with optional tag whitelist",
tags: ["content", "component", "search"],
category: "components",
fields: {
id: {
type: "string",
required: true,
description: "Unique component ID",
},
tagWhitelist: {
type: "array",
items: {
type: "reference",
collection: "tag",
},
description: "Optional: only search content with these tags",
},
textFragments: {
type: "array",
required: true,
items: {
type: "reference",
collection: "text_fragment",
},
description: "Searchable text fragments (references to text_fragment)",
},
title: {
type: "string",
description: "Search component title",
},
description: {
type: "string",
description: "Description",
},
layout: {
type: "object",
useFields: "component_layout",
description: "Column width (grid) like CF_ComponentLayout",
},
},
}