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 aabc7fb3
authored
2023-01-16 11:35:13 +0530
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
home banner video added
1 parent
690c8db9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
0 deletions
src/api/home-banner-video/content-types/home-banner-video/schema.json
src/api/home-banner-video/controllers/home-banner-video.js
src/api/home-banner-video/routes/home-banner-video.js
src/api/home-banner-video/services/home-banner-video.js
src/api/home-banner-video/content-types/home-banner-video/schema.json
0 → 100755
View file @
aabc7fb
{
"kind"
:
"singleType"
,
"collectionName"
:
"home_banner_videos"
,
"info"
:
{
"singularName"
:
"home-banner-video"
,
"pluralName"
:
"home-banner-videos"
,
"displayName"
:
"Home Banner Video"
},
"options"
:
{
"draftAndPublish"
:
true
},
"pluginOptions"
:
{},
"attributes"
:
{
"video"
:
{
"allowedTypes"
:
[
"images"
,
"videos"
,
"audios"
,
"files"
],
"type"
:
"media"
,
"multiple"
:
false
}
}
}
src/api/home-banner-video/controllers/home-banner-video.js
0 → 100755
View file @
aabc7fb
'use strict'
;
/**
* home-banner-video controller
*/
const
{
createCoreController
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreController
(
'api::home-banner-video.home-banner-video'
);
src/api/home-banner-video/routes/home-banner-video.js
0 → 100755
View file @
aabc7fb
'use strict'
;
/**
* home-banner-video router
*/
const
{
createCoreRouter
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreRouter
(
'api::home-banner-video.home-banner-video'
);
src/api/home-banner-video/services/home-banner-video.js
0 → 100755
View file @
aabc7fb
'use strict'
;
/**
* home-banner-video service
*/
const
{
createCoreService
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreService
(
'api::home-banner-video.home-banner-video'
);
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