Skip to content

Commit bbfeff2

Browse files
committed
Merge branch 'master' into feat/r-and-d-page-types
2 parents 14ec5de + f46bec3 commit bbfeff2

File tree

132 files changed

+23484
-14107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+23484
-14107
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"kind": "collectionType",
3+
"collectionName": "annual_reports",
4+
"info": {
5+
"singularName": "annual-report",
6+
"pluralName": "annual-reports",
7+
"displayName": "Annual Report",
8+
"description": ""
9+
},
10+
"options": {
11+
"draftAndPublish": true
12+
},
13+
"pluginOptions": {},
14+
"attributes": {
15+
"url": {
16+
"type": "string"
17+
},
18+
"year": {
19+
"type": "integer"
20+
}
21+
}
22+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* annual-report controller
3+
*/
4+
5+
import { factories } from '@strapi/strapi'
6+
7+
export default factories.createCoreController('api::annual-report.annual-report');
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* annual-report router
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreRouter('api::annual-report.annual-report');
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* annual-report service
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreService('api::annual-report.annual-report');
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"kind": "singleType",
3+
"collectionName": "community_page_heroes",
4+
"info": {
5+
"singularName": "community-page-hero",
6+
"pluralName": "community-page-heroes",
7+
"displayName": "CommunityPageHero"
8+
},
9+
"options": {
10+
"draftAndPublish": true
11+
},
12+
"pluginOptions": {},
13+
"attributes": {
14+
"header": {
15+
"type": "string"
16+
},
17+
"subtitle": {
18+
"type": "string"
19+
},
20+
"communityButtons": {
21+
"type": "component",
22+
"repeatable": true,
23+
"component": "content.button-link"
24+
},
25+
"background": {
26+
"allowedTypes": [
27+
"images",
28+
"files",
29+
"videos",
30+
"audios"
31+
],
32+
"type": "media",
33+
"multiple": false
34+
}
35+
}
36+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* community-page-hero controller
3+
*/
4+
5+
import { factories } from '@strapi/strapi'
6+
7+
export default factories.createCoreController('api::community-page-hero.community-page-hero');
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* community-page-hero router
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreRouter('api::community-page-hero.community-page-hero');
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* community-page-hero service
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreService('api::community-page-hero.community-page-hero');
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"kind": "collectionType",
3+
"collectionName": "communities",
4+
"info": {
5+
"singularName": "community",
6+
"pluralName": "communities",
7+
"displayName": "Community",
8+
"description": ""
9+
},
10+
"options": {
11+
"draftAndPublish": true
12+
},
13+
"pluginOptions": {},
14+
"attributes": {
15+
"title": {
16+
"type": "string"
17+
},
18+
"url": {
19+
"type": "string"
20+
},
21+
"subtitle": {
22+
"type": "string"
23+
},
24+
"icon": {
25+
"type": "media",
26+
"multiple": false,
27+
"required": false,
28+
"allowedTypes": [
29+
"images",
30+
"files",
31+
"videos",
32+
"audios"
33+
]
34+
}
35+
}
36+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* community controller
3+
*/
4+
5+
import { factories } from '@strapi/strapi'
6+
7+
export default factories.createCoreController('api::community.community');

0 commit comments

Comments
 (0)