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:
17
types/demo.json5
Normal file
17
types/demo.json5
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
name: "demo",
|
||||
description: "Demo content type (kept in version control as example).",
|
||||
tags: ["content"],
|
||||
category: "content",
|
||||
fields: {
|
||||
title: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Title",
|
||||
},
|
||||
body: {
|
||||
type: "string",
|
||||
description: "Optional body text",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user