feat: add all missing collections (locations, forms, content_modules, offer_blocks_universal)
This commit is contained in:
@@ -1956,5 +1956,321 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "locations_states",
|
||||
"meta": {
|
||||
"icon": "map",
|
||||
"note": "US States"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "name",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "code",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input",
|
||||
"required": true,
|
||||
"note": "2-letter state code"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "population",
|
||||
"type": "integer",
|
||||
"meta": {
|
||||
"interface": "input"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "locations_counties",
|
||||
"meta": {
|
||||
"icon": "map",
|
||||
"note": "US Counties"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "name",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "state",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"interface": "select-dropdown-m2o",
|
||||
"special": [
|
||||
"m2o"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "fips_code",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "population",
|
||||
"type": "integer",
|
||||
"meta": {
|
||||
"interface": "input"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "locations_cities",
|
||||
"meta": {
|
||||
"icon": "location_city",
|
||||
"note": "US Cities"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "name",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "state",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"interface": "select-dropdown-m2o",
|
||||
"special": [
|
||||
"m2o"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "county",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"interface": "select-dropdown-m2o",
|
||||
"special": [
|
||||
"m2o"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "population",
|
||||
"type": "integer",
|
||||
"meta": {
|
||||
"interface": "input"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "zip_codes",
|
||||
"type": "json",
|
||||
"meta": {
|
||||
"interface": "list"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "forms",
|
||||
"meta": {
|
||||
"icon": "description",
|
||||
"note": "Contact forms"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "site",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"interface": "select-dropdown-m2o",
|
||||
"special": [
|
||||
"m2o"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "name",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "fields_config",
|
||||
"type": "json",
|
||||
"meta": {
|
||||
"interface": "input-code",
|
||||
"options": {
|
||||
"language": "json"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "success_message",
|
||||
"type": "text",
|
||||
"meta": {
|
||||
"interface": "input-multiline"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "redirect_url",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "form_submissions",
|
||||
"meta": {
|
||||
"icon": "send",
|
||||
"note": "Form submissions"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "form",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"interface": "select-dropdown-m2o",
|
||||
"special": [
|
||||
"m2o"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "data",
|
||||
"type": "json",
|
||||
"meta": {
|
||||
"interface": "input-code",
|
||||
"options": {
|
||||
"language": "json"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "ip_address",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "user_agent",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "content_modules",
|
||||
"meta": {
|
||||
"icon": "view_module",
|
||||
"note": "Reusable content modules"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "name",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "module_type",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "content",
|
||||
"type": "text",
|
||||
"meta": {
|
||||
"interface": "input-rich-text-html"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "variables",
|
||||
"type": "json",
|
||||
"meta": {
|
||||
"interface": "list"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"collection": "offer_blocks_universal",
|
||||
"meta": {
|
||||
"icon": "card_giftcard",
|
||||
"note": "Universal offer blocks"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"field": "block_id",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input",
|
||||
"required": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "title",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"interface": "input"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "hook_generator",
|
||||
"type": "text",
|
||||
"meta": {
|
||||
"interface": "input-multiline"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "universal_pains",
|
||||
"type": "json",
|
||||
"meta": {
|
||||
"interface": "list"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "universal_solutions",
|
||||
"type": "json",
|
||||
"meta": {
|
||||
"interface": "list"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "universal_value_points",
|
||||
"type": "json",
|
||||
"meta": {
|
||||
"interface": "list"
|
||||
}
|
||||
},
|
||||
{
|
||||
"field": "cta_spintax",
|
||||
"type": "text",
|
||||
"meta": {
|
||||
"interface": "input-multiline"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user