Commit 20dc66c1 by jay

contact us renamed to leads

1 parent 9080bc29
{
"kind": "collectionType",
"collectionName": "contact_uses",
"info": {
"singularName": "contact-us",
"pluralName": "contact-uses",
"displayName": "Contact us",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"fullName": {
"type": "string"
},
"emailAddress": {
"type": "email"
},
"mobileNumber": {
"type": "string"
},
"comments": {
"type": "text"
},
"projects": {
"type": "relation",
"relation": "oneToOne",
"target": "api::project.project"
}
}
}
'use strict';
/**
* contact-us controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::contact-us.contact-us');
'use strict';
/**
* contact-us router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::contact-us.contact-us');
'use strict';
/**
* contact-us service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::contact-us.contact-us');
......@@ -21,11 +21,13 @@
"email": {
"type": "email"
},
"project": {
"type": "string"
},
"Comments": {
"type": "text"
},
"project": {
"type": "relation",
"relation": "oneToOne",
"target": "api::project.project"
}
}
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!