File tree Expand file tree Collapse file tree 15 files changed +158
-9
lines changed Expand file tree Collapse file tree 15 files changed +158
-9
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "kind" : " singleType" ,
3+ "collectionName" : " footer_links_sections" ,
4+ "info" : {
5+ "singularName" : " footer-links-section" ,
6+ "pluralName" : " footer-links-sections" ,
7+ "displayName" : " FooterLinksSection"
8+ },
9+ "options" : {
10+ "draftAndPublish" : true
11+ },
12+ "pluginOptions" : {},
13+ "attributes" : {
14+ "Section" : {
15+ "type" : " component" ,
16+ "repeatable" : true ,
17+ "component" : " content.section"
18+ }
19+ }
20+ }
Original file line number Diff line number Diff line change 1+ /**
2+ * footer-links-section controller
3+ */
4+
5+ import { factories } from '@strapi/strapi'
6+
7+ export default factories . createCoreController ( 'api::footer-links-section.footer-links-section' ) ;
Original file line number Diff line number Diff line change 1+ /**
2+ * footer-links-section router
3+ */
4+
5+ import { factories } from '@strapi/strapi' ;
6+
7+ export default factories . createCoreRouter ( 'api::footer-links-section.footer-links-section' ) ;
Original file line number Diff line number Diff line change 1+ /**
2+ * footer-links-section service
3+ */
4+
5+ import { factories } from '@strapi/strapi' ;
6+
7+ export default factories . createCoreService ( 'api::footer-links-section.footer-links-section' ) ;
Original file line number Diff line number Diff line change 1+ {
2+ "kind" : " singleType" ,
3+ "collectionName" : " footer_socials_sections" ,
4+ "info" : {
5+ "singularName" : " footer-socials-section" ,
6+ "pluralName" : " footer-socials-sections" ,
7+ "displayName" : " FooterSocialsSection"
8+ },
9+ "options" : {
10+ "draftAndPublish" : true
11+ },
12+ "pluginOptions" : {},
13+ "attributes" : {
14+ "socials" : {
15+ "type" : " relation" ,
16+ "relation" : " oneToMany" ,
17+ "target" : " api::social.social"
18+ }
19+ }
20+ }
Original file line number Diff line number Diff line change 1+ /**
2+ * footer-socials-section controller
3+ */
4+
5+ import { factories } from '@strapi/strapi'
6+
7+ export default factories . createCoreController ( 'api::footer-socials-section.footer-socials-section' ) ;
Original file line number Diff line number Diff line change 1+ /**
2+ * footer-socials-section router
3+ */
4+
5+ import { factories } from '@strapi/strapi' ;
6+
7+ export default factories . createCoreRouter ( 'api::footer-socials-section.footer-socials-section' ) ;
Original file line number Diff line number Diff line change 1+ /**
2+ * footer-socials-section service
3+ */
4+
5+ import { factories } from '@strapi/strapi' ;
6+
7+ export default factories . createCoreService ( 'api::footer-socials-section.footer-socials-section' ) ;
Original file line number Diff line number Diff line change 1+ {
2+ "kind" : " collectionType" ,
3+ "collectionName" : " links" ,
4+ "info" : {
5+ "singularName" : " link" ,
6+ "pluralName" : " links" ,
7+ "displayName" : " Link"
8+ },
9+ "options" : {
10+ "draftAndPublish" : true
11+ },
12+ "pluginOptions" : {},
13+ "attributes" : {
14+ "name" : {
15+ "type" : " string" ,
16+ "required" : true ,
17+ "unique" : true
18+ },
19+ "url" : {
20+ "type" : " string" ,
21+ "required" : true
22+ }
23+ }
24+ }
Original file line number Diff line number Diff line change 1+ /**
2+ * link controller
3+ */
4+
5+ import { factories } from '@strapi/strapi'
6+
7+ export default factories . createCoreController ( 'api::link.link' ) ;
You can’t perform that action at this time.
0 commit comments