Commit f700dfc6 by jaymehta

cars content type

1 parent f40d0ed6
{
"kind": "collectionType",
"collectionName": "cars",
"info": {
"singularName": "car",
"pluralName": "cars",
"displayName": "Car",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"bannerText": {
"type": "string"
},
"bannerImageDesktop": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
},
"bannerImageMobile": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
},
"featuresTitle": {
"type": "string"
},
"featuresText1": {
"type": "text"
},
"featuresText2": {
"type": "text"
},
"exteriorDesignText1": {
"type": "text"
},
"exteriorDesignText2": {
"type": "text"
},
"exteriorDesignImages": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": true
},
"interiorDesignText1": {
"type": "text"
},
"interiorDesignImages": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": true
}
}
}
'use strict';
/**
* car controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::car.car');
'use strict';
/**
* car router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::car.car');
'use strict';
/**
* car service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::car.car');
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!