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:
35
types/image_gallery.json5
Normal file
35
types/image_gallery.json5
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
// Corresponds to CF_ImageGallery / Contentful_ImageGallery.ts
|
||||
name: "image_gallery",
|
||||
description: "Gallery of image references",
|
||||
tags: [
|
||||
"media",
|
||||
"component"
|
||||
],
|
||||
category: "components",
|
||||
fields: {
|
||||
name: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Internal gallery name",
|
||||
},
|
||||
images: {
|
||||
type: "array",
|
||||
required: true,
|
||||
items: {
|
||||
type: "referenceOrInline",
|
||||
collection: "img",
|
||||
},
|
||||
description: "Images (references to img)",
|
||||
},
|
||||
layout: {
|
||||
type: "object",
|
||||
useFields: "component_layout",
|
||||
description: "Column width (grid) like CF_ComponentLayout",
|
||||
},
|
||||
description: {
|
||||
type: "string",
|
||||
description: "Optional gallery description",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user