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:
44
types/searchable_text.json5
Normal file
44
types/searchable_text.json5
Normal 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",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user