Commit 10c6d8ae by jay

end-user table

1 parent 3d0c8f8a
{
"kind": "collectionType",
"collectionName": "end_users",
"info": {
"singularName": "end-user",
"pluralName": "end-users",
"displayName": "End User"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"fullName": {
"type": "string"
},
"emailAddress": {
"type": "email"
},
"mobileNo": {
"type": "string"
},
"oneTimePassword": {
"type": "string"
}
}
}
'use strict';
/**
* end-user controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::end-user.end-user');
'use strict';
/**
* end-user router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::end-user.end-user');
'use strict';
/**
* end-user service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::end-user.end-user');
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!