0.11.6 : add event and export ICS
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "event_relationships",
|
||||
"info": {
|
||||
"singularName": "event-relationship",
|
||||
"pluralName": "event-relationships",
|
||||
"displayName": "EventRelationship",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": false
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"author": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "plugin::users-permissions.user"
|
||||
},
|
||||
"contextType": {
|
||||
"type": "enumeration",
|
||||
"enum": [
|
||||
"user",
|
||||
"group",
|
||||
"choral",
|
||||
"system"
|
||||
]
|
||||
},
|
||||
"contextId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"relation": {
|
||||
"type": "enumeration",
|
||||
"enum": [
|
||||
"owner",
|
||||
"interested",
|
||||
"registered"
|
||||
]
|
||||
},
|
||||
"metas": {
|
||||
"type": "json"
|
||||
},
|
||||
"event": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::event.event"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* event-relationship controller
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi'
|
||||
|
||||
export default factories.createCoreController('api::event-relationship.event-relationship');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* event-relationship router
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreRouter('api::event-relationship.event-relationship');
|
||||
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* event-relationship service
|
||||
*/
|
||||
|
||||
import { factories } from '@strapi/strapi';
|
||||
|
||||
export default factories.createCoreService('api::event-relationship.event-relationship');
|
||||
Reference in New Issue
Block a user