RustyCMS: file-based headless CMS — API, Admin UI (content, types, assets), Docker/Caddy, image transform; only demo type and demo content in version control
Made-with: Cursor
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
{
|
||||
name: "blog_post",
|
||||
description: "Simple blog post with title, body, tags and publish status",
|
||||
tags: ["content", "blog"],
|
||||
category: "content",
|
||||
fields: {
|
||||
title: {
|
||||
type: "string",
|
||||
required: true,
|
||||
minLength: 1,
|
||||
maxLength: 200,
|
||||
description: "Title of the blog post",
|
||||
},
|
||||
body: {
|
||||
type: "markdown",
|
||||
required: true,
|
||||
minLength: 1,
|
||||
description: "Main content (Markdown)",
|
||||
},
|
||||
excerpt: {
|
||||
type: "string",
|
||||
maxLength: 500,
|
||||
description: "Short summary for previews",
|
||||
},
|
||||
author: {
|
||||
type: "string",
|
||||
description: "Author name"
|
||||
},
|
||||
tags: {
|
||||
type: "array",
|
||||
items: {
|
||||
type: "string"
|
||||
},
|
||||
description: "Categorisation tags"
|
||||
},
|
||||
published: {
|
||||
type: "boolean",
|
||||
default: false,
|
||||
description: "Whether the post is publicly visible"
|
||||
},
|
||||
created_at: {
|
||||
type: "datetime",
|
||||
auto: true,
|
||||
readonly: true,
|
||||
description: "Creation timestamp (auto-generated)"
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user