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:
28
types/navigation.json5
Normal file
28
types/navigation.json5
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
// Corresponds to CF_Navigation / Contentful_Navigation.ts
|
||||
name: "navigation",
|
||||
description: "Navigation block with links (header/footer)",
|
||||
tags: ["navigation", "layout"],
|
||||
category: "config",
|
||||
fields: {
|
||||
name: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Display name of navigation",
|
||||
},
|
||||
internal: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Internal key (e.g. navigation-header, navigation-footer)",
|
||||
},
|
||||
links: {
|
||||
type: "array",
|
||||
required: true,
|
||||
items: {
|
||||
type: "reference",
|
||||
collections: ["link", "page", "post"],
|
||||
},
|
||||
description: "Navigation entries (references to link, page or post)",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user