Skip to content

Commit 7318377

Browse files
authored
Merge pull request #394 from dataforgoodfr/feat-page-ressources-cr-er-tri-ci-hmsaj
feat: Tri dans la page ressource
2 parents 660900d + 8cd52b0 commit 7318377

9 files changed

Lines changed: 325 additions & 72 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
.DS_Store
33
.pi/extensions/emdash-hook.ts
44
.factory/settings.json
5+
.claude/settings.local.json
6+
.factory/hooks.json

backend/src/api/blog/content-types/blog/schema.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,23 @@
8686
"type": "relation",
8787
"relation": "oneToOne",
8888
"target": "api::volunteer.volunteer"
89+
},
90+
"resource_type": {
91+
"type": "enumeration",
92+
"enum": [
93+
"podcast",
94+
"article",
95+
"rapport",
96+
"prise_de_position",
97+
"autre"
98+
]
99+
},
100+
"newsletter": {
101+
"type": "enumeration",
102+
"enum": [
103+
"techno_lucides",
104+
"vers_lautonomie"
105+
]
89106
}
90107
}
91108
}

backend/src/api/press-release/content-types/press-release/schema.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,23 @@
124124
"videos",
125125
"audios"
126126
]
127+
},
128+
"resource_type": {
129+
"type": "enumeration",
130+
"enum": [
131+
"podcast",
132+
"article",
133+
"rapport",
134+
"prise_de_position",
135+
"autre"
136+
]
137+
},
138+
"newsletter": {
139+
"type": "enumeration",
140+
"enum": [
141+
"techno_lucides",
142+
"vers_lautonomie"
143+
]
127144
}
128145
}
129146
}

0 commit comments

Comments
 (0)