Commit cd5caa02 by Gaurav Dev

car-listing collection

1 parent 2c6b453c
{
"kind": "collectionType",
"collectionName": "car_listings",
"info": {
"singularName": "car-listing",
"pluralName": "car-listings",
"displayName": "carListing",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"carList": {
"type": "component",
"repeatable": true,
"component": "layout.car-model-list"
}
}
}
'use strict';
/**
* car-listing controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::car-listing.car-listing');
'use strict';
/**
* car-listing router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::car-listing.car-listing');
'use strict';
/**
* car-listing service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::car-listing.car-listing');
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
"Showroom": { "Showroom": {
"displayName": "Showroom", "displayName": "Showroom",
"type": "component", "type": "component",
"repeatable": false, "repeatable": true,
"component": "layout.showroom" "component": "layout.showroom"
}, },
"HomeBanner": { "HomeBanner": {
......
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
"type": "richtext" "type": "richtext"
} }
} }
} }
\ No newline at end of file \ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!