Commit 882d2236 by jaymehta
2 parents e848a99f a946cc1d
{
"kind": "collectionType",
"collectionName": "home_banners",
"info": {
"singularName": "home-banner",
"pluralName": "home-banners",
"displayName": "Home-banner",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string"
},
"subTitle": {
"type": "text"
},
"discription": {
"type": "text"
},
"desktopBanner": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
]
},
"mobileBanner": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"images"
]
},
"altText": {
"type": "string"
},
"exploreNowButton": {
"type": "string"
}
}
}
'use strict';
/**
* home-banner controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::home-banner.home-banner');
'use strict';
/**
* home-banner router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::home-banner.home-banner');
'use strict';
/**
* home-banner service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::home-banner.home-banner');
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!