Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-strapi
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 e2a91997
authored
2024-05-23 14:14:38 +0530
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
created faqs
1 parent
8115192b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
src/api/fa-q/content-types/fa-q/schema.json → src/api/faq/content-types/faq/schema.json
src/api/fa-q/controllers/fa-q.js → src/api/faq/controllers/faq.js
src/api/fa-q/routes/fa-q.js → src/api/faq/routes/faq.js
src/api/fa-q/services/fa-q.js → src/api/faq/services/faq.js
src/api/fa
-q/content-types/fa-
q/schema.json
→
src/api/fa
q/content-types/fa
q/schema.json
View file @
e2a9199
{
{
"kind"
:
"collectionType"
,
"kind"
:
"collectionType"
,
"collectionName"
:
"fa
_
qs"
,
"collectionName"
:
"faqs"
,
"info"
:
{
"info"
:
{
"singularName"
:
"fa
-
q"
,
"singularName"
:
"faq"
,
"pluralName"
:
"fa
-
qs"
,
"pluralName"
:
"faqs"
,
"displayName"
:
"FAQs"
"displayName"
:
"FAQs"
},
},
"options"
:
{
"options"
:
{
...
...
src/api/fa
-q/controllers/fa-
q.js
→
src/api/fa
q/controllers/fa
q.js
View file @
e2a9199
'use strict'
;
'use strict'
;
/**
/**
* fa
-
q controller
* faq controller
*/
*/
const
{
createCoreController
}
=
require
(
'@strapi/strapi'
).
factories
;
const
{
createCoreController
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreController
(
'api::fa
-q.fa-
q'
);
module
.
exports
=
createCoreController
(
'api::fa
q.fa
q'
);
src/api/fa
-q/routes/fa-
q.js
→
src/api/fa
q/routes/fa
q.js
View file @
e2a9199
'use strict'
;
'use strict'
;
/**
/**
* fa
-
q router
* faq router
*/
*/
const
{
createCoreRouter
}
=
require
(
'@strapi/strapi'
).
factories
;
const
{
createCoreRouter
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreRouter
(
'api::fa
-q.fa-
q'
);
module
.
exports
=
createCoreRouter
(
'api::fa
q.fa
q'
);
src/api/fa
-q/services/fa-
q.js
→
src/api/fa
q/services/fa
q.js
View file @
e2a9199
'use strict'
;
'use strict'
;
/**
/**
* fa
-
q service
* faq service
*/
*/
const
{
createCoreService
}
=
require
(
'@strapi/strapi'
).
factories
;
const
{
createCoreService
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreService
(
'api::fa
-q.fa-
q'
);
module
.
exports
=
createCoreService
(
'api::fa
q.fa
q'
);
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