Commit de919261 by jay

leads

1 parent 15e23eb3
{
"kind": "collectionType",
"collectionName": "leads",
"info": {
"singularName": "lead",
"pluralName": "leads",
"displayName": "Leads"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"fullName": {
"type": "string"
},
"mobileNumber": {
"type": "string"
},
"email": {
"type": "email"
}
}
}
'use strict';
/**
* lead controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::lead.lead');
'use strict';
/**
* lead router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::lead.lead');
'use strict';
/**
* lead service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::lead.lead');
...@@ -36,14 +36,6 @@ ...@@ -36,14 +36,6 @@
"type": "richtext", "type": "richtext",
"required": true "required": true
}, },
"digitalSalesPresentation": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": [
"videos"
]
},
"featuredOnHome": { "featuredOnHome": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,
...@@ -145,6 +137,9 @@ ...@@ -145,6 +137,9 @@
}, },
"posession": { "posession": {
"type": "string" "type": "string"
},
"digitalSalesPresentationURL": {
"type": "string"
} }
} }
} }
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!