Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
strapi-setup-file
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 20dc66c1
authored
2022-10-11 11:42:00 +0530
by
jay
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
contact us renamed to leads
1 parent
9080bc29
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
63 deletions
src/api/contact-us/content-types/contact-us/schema.json
src/api/contact-us/controllers/contact-us.js
src/api/contact-us/routes/contact-us.js
src/api/contact-us/services/contact-us.js
src/api/lead/content-types/lead/schema.json
src/api/contact-us/content-types/contact-us/schema.json
deleted
100644 → 0
View file @
9080bc2
{
"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"
}
}
}
src/api/contact-us/controllers/contact-us.js
deleted
100644 → 0
View file @
9080bc2
'use strict'
;
/**
* contact-us controller
*/
const
{
createCoreController
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreController
(
'api::contact-us.contact-us'
);
src/api/contact-us/routes/contact-us.js
deleted
100644 → 0
View file @
9080bc2
'use strict'
;
/**
* contact-us router
*/
const
{
createCoreRouter
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreRouter
(
'api::contact-us.contact-us'
);
src/api/contact-us/services/contact-us.js
deleted
100644 → 0
View file @
9080bc2
'use strict'
;
/**
* contact-us service
*/
const
{
createCoreService
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreService
(
'api::contact-us.contact-us'
);
src/api/lead/content-types/lead/schema.json
View file @
20dc66c
...
@@ -21,11 +21,13 @@
...
@@ -21,11 +21,13 @@
"email"
:
{
"email"
:
{
"type"
:
"email"
"type"
:
"email"
},
},
"project"
:
{
"type"
:
"string"
},
"Comments"
:
{
"Comments"
:
{
"type"
:
"text"
"type"
:
"text"
},
"project"
:
{
"type"
:
"relation"
,
"relation"
:
"oneToOne"
,
"target"
:
"api::project.project"
}
}
}
}
}
}
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment