Add announcement

This commit is contained in:
2025-04-25 14:32:29 +02:00
parent d524e765ce
commit 022b18c0f7
12 changed files with 227 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
{
"kind": "collectionType",
"collectionName": "event_others",
"info": {
"singularName": "event-other",
"pluralName": "event-others",
"displayName": "EventOther"
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string"
},
"public": {
"type": "boolean"
},
"fromDate": {
"type": "datetime"
},
"toDate": {
"type": "datetime"
},
"type": {
"type": "enumeration",
"enum": [
"concert",
"festival",
"salon",
"symposium",
"concours",
"masterclass",
"atelier vocal",
"conférence",
"répétition",
"sorties"
]
}
}
}

View File

@@ -0,0 +1,7 @@
/**
* event-other controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::event-other.event-other');

View File

@@ -0,0 +1,7 @@
/**
* event-other router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::event-other.event-other');

View File

@@ -0,0 +1,7 @@
/**
* event-other service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::event-other.event-other');