Track all types in git, sync to server on deploy
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
Some checks failed
Deploy to Server / deploy (push) Failing after 7s
This commit is contained in:
29
types/markdown.json5
Normal file
29
types/markdown.json5
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
// Corresponds to CF_Markdown / Contentful_Markdown.ts
|
||||
name: "markdown",
|
||||
description: "Markdown content block with optional layout",
|
||||
tags: ["content", "component"],
|
||||
category: "components",
|
||||
fields: {
|
||||
name: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Internal component name",
|
||||
},
|
||||
content: {
|
||||
type: "textOrRef",
|
||||
description: "Markdown/body text: either inline or file reference (file:path, e.g. file:slug.content.md)",
|
||||
},
|
||||
layout: {
|
||||
type: "object",
|
||||
useFields: "component_layout",
|
||||
description: "Column width (grid) like CF_ComponentLayout",
|
||||
},
|
||||
alignment: {
|
||||
type: "string",
|
||||
enum: ["left", "center", "right"],
|
||||
default: "left",
|
||||
description: "Text alignment",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user