Commit 55a70246 by Gaurav Dev

classmodel page added

1 parent 4ca2e65a
{
"kind": "collectionType",
"collectionName": "class_models",
"info": {
"singularName": "class-model",
"pluralName": "class-models",
"displayName": "ClassModel",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Banner": {
"type": "component",
"repeatable": false,
"component": "layout.home-banner"
},
"ModelDetails": {
"displayName": "ModelDetails",
"type": "component",
"repeatable": false,
"component": "layout.model-details"
},
"TechnicalSpecifications": {
"displayName": "TechnicalSpecifications",
"type": "component",
"repeatable": false,
"component": "layout.technical-specifications"
},
"Exterior": {
"displayName": "Exterior",
"type": "component",
"repeatable": false,
"component": "layout.exterior"
},
"Interior": {
"type": "component",
"repeatable": false,
"component": "layout.exterior"
},
"Safety": {
"displayName": "Safety",
"type": "component",
"repeatable": false,
"component": "layout.safety"
},
"Faqs": {
"type": "component",
"repeatable": true,
"component": "layout.faqs"
},
"modelslug": {
"type": "uid",
"required": true
}
}
}
'use strict';
/**
* class-model controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::class-model.class-model');
'use strict';
/**
* class-model router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::class-model.class-model');
'use strict';
/**
* class-model service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::class-model.class-model');
{
"collectionName": "components_layout_car_images",
"info": {
"displayName": "carImage"
"displayName": "carImage",
"description": ""
},
"options": {},
"attributes": {
"Image": {
"type": "media",
"multiple": true,
"required": false,
"allowedTypes": [
"images"
],
"type": "media",
"multiple": false
]
}
}
}
{
"collectionName": "components_layout_exterior_details",
"info": {
"displayName": "ExteriorDetail"
},
"options": {},
"attributes": {
"title": {
"type": "text"
}
}
}
{
"collectionName": "components_layout_exteriors",
"info": {
"displayName": "Exterior",
"description": ""
},
"options": {},
"attributes": {
"heading": {
"type": "string"
},
"Details": {
"displayName": "ExteriorDetail",
"type": "component",
"repeatable": true,
"component": "layout.exterior-detail"
}
}
}
{
"collectionName": "components_layout_model_details",
"info": {
"displayName": "ModelDetails",
"description": ""
},
"options": {},
"attributes": {
"modelHeading": {
"type": "text"
},
"modelDescription": {
"type": "richtext"
},
"priceHeading": {
"type": "string"
},
"price": {
"type": "string"
},
"bookATestDrive": {
"type": "string"
},
"bookATestDriveUrl": {
"type": "string"
},
"downloadHeading": {
"type": "string"
},
"downloadFile": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"files"
]
},
"modelImages": {
"displayName": "modelImages",
"type": "component",
"repeatable": true,
"component": "layout.model-images"
}
}
}
{
"collectionName": "components_layout_model_images",
"info": {
"displayName": "modelImages"
},
"options": {},
"attributes": {
"Image": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": true
}
}
}
{
"collectionName": "components_layout_safety_details",
"info": {
"displayName": "SafetyDetails"
},
"options": {},
"attributes": {
"safetyTitleOne": {
"type": "text"
},
"safetyTitleTwo": {
"type": "text"
}
}
}
{
"collectionName": "components_layout_safeties",
"info": {
"displayName": "Safety"
},
"options": {},
"attributes": {
"safetyHeading": {
"type": "string"
},
"SafetyDetail": {
"displayName": "SafetyDetails",
"type": "component",
"repeatable": true,
"component": "layout.safety-details"
}
}
}
{
"collectionName": "components_layout_technical_specifications_details",
"info": {
"displayName": "TechnicalSpecificationsDetails",
"description": ""
},
"options": {},
"attributes": {
"specificationDetailOne": {
"type": "string"
},
"specificationDetailTwo": {
"type": "string"
}
}
}
{
"collectionName": "components_layout_technical_specifications",
"info": {
"displayName": "TechnicalSpecifications"
},
"options": {},
"attributes": {
"TechnicalSpecificationsHeading": {
"type": "string"
},
"TechnicalSpecificationsDetails": {
"displayName": "TechnicalSpecificationsDetails",
"type": "component",
"repeatable": true,
"component": "layout.technical-specifications-details"
}
}
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!