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:
27
types/campaigns.json5
Normal file
27
types/campaigns.json5
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
// Corresponds to CF_Campaigns / Contentful_Campaigns.ts
|
||||
name: "campaigns",
|
||||
description: "Global campaign list and enable flag",
|
||||
tags: ["marketing", "config"],
|
||||
category: "config",
|
||||
fields: {
|
||||
id: {
|
||||
type: "string",
|
||||
required: true,
|
||||
description: "Unique ID (e.g. campaigns-global)",
|
||||
},
|
||||
campaigns: {
|
||||
type: "array",
|
||||
items: {
|
||||
type: "reference",
|
||||
collection: "campaign",
|
||||
},
|
||||
description: "Campaign list",
|
||||
},
|
||||
enable: {
|
||||
type: "boolean",
|
||||
default: true,
|
||||
description: "Campaigns enabled",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user