| @@ -29,6 +29,22 @@ | |||||
| ], | ], | ||||
| "plugin": "upload", | "plugin": "upload", | ||||
| "required": false | "required": false | ||||
| }, | |||||
| "carousels": { | |||||
| "via": "business_partner", | |||||
| "collection": "carousel" | |||||
| }, | |||||
| "latest_news": { | |||||
| "via": "business_partner", | |||||
| "collection": "latest-news" | |||||
| }, | |||||
| "products": { | |||||
| "via": "business_partner", | |||||
| "collection": "product" | |||||
| }, | |||||
| "carrers": { | |||||
| "via": "business_partner", | |||||
| "collection": "carrer" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -2,7 +2,8 @@ | |||||
| "kind": "collectionType", | "kind": "collectionType", | ||||
| "collectionName": "carousels", | "collectionName": "carousels", | ||||
| "info": { | "info": { | ||||
| "name": "Carousel" | |||||
| "name": "Carousel", | |||||
| "description": "" | |||||
| }, | }, | ||||
| "options": { | "options": { | ||||
| "increments": true, | "increments": true, | ||||
| @@ -20,6 +21,10 @@ | |||||
| ], | ], | ||||
| "plugin": "upload", | "plugin": "upload", | ||||
| "required": false | "required": false | ||||
| }, | |||||
| "business_partner": { | |||||
| "model": "business-partner", | |||||
| "via": "carousels" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -48,6 +48,10 @@ | |||||
| }, | }, | ||||
| "name_description": { | "name_description": { | ||||
| "type": "string" | "type": "string" | ||||
| }, | |||||
| "business_partner": { | |||||
| "model": "business-partner", | |||||
| "via": "carrers" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -2,7 +2,8 @@ | |||||
| "kind": "collectionType", | "kind": "collectionType", | ||||
| "collectionName": "latest_news", | "collectionName": "latest_news", | ||||
| "info": { | "info": { | ||||
| "name": "Latest News" | |||||
| "name": "Latest News", | |||||
| "description": "" | |||||
| }, | }, | ||||
| "options": { | "options": { | ||||
| "increments": true, | "increments": true, | ||||
| @@ -29,6 +30,10 @@ | |||||
| ], | ], | ||||
| "plugin": "upload", | "plugin": "upload", | ||||
| "required": true | "required": true | ||||
| }, | |||||
| "business_partner": { | |||||
| "model": "business-partner", | |||||
| "via": "latest_news" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -62,6 +62,10 @@ | |||||
| "atv", | "atv", | ||||
| "powerproduct" | "powerproduct" | ||||
| ] | ] | ||||
| }, | |||||
| "business_partner": { | |||||
| "model": "business-partner", | |||||
| "via": "products" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||