Commit f56da2de by sujata

chnage in event tag

1 parent a7e91666
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
"type": "uid", "type": "uid",
"targetField": "Name" "targetField": "Name"
}, },
"event": { "events": {
"type": "relation", "type": "relation",
"relation": "manyToOne", "relation": "manyToMany",
"target": "api::event.event", "target": "api::event.event",
"inversedBy": "event_categories" "inversedBy": "event_categories"
} }
......
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
}, },
"event_categories": { "event_categories": {
"type": "relation", "type": "relation",
"relation": "oneToMany", "relation": "manyToMany",
"target": "api::event-category.event-category", "target": "api::event-category.event-category",
"mappedBy": "event" "mappedBy": "events"
}, },
"smalldescription": { "smalldescription": {
"type": "text" "type": "text"
......
...@@ -1328,7 +1328,7 @@ export interface ApiEventCategoryEventCategory ...@@ -1328,7 +1328,7 @@ export interface ApiEventCategoryEventCategory
createdAt: Schema.Attribute.DateTime; createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private; Schema.Attribute.Private;
event: Schema.Attribute.Relation<'manyToOne', 'api::event.event'>; events: Schema.Attribute.Relation<'manyToMany', 'api::event.event'>;
locale: Schema.Attribute.String & Schema.Attribute.Private; locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation< localizations: Schema.Attribute.Relation<
'oneToMany', 'oneToMany',
...@@ -1426,7 +1426,7 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema { ...@@ -1426,7 +1426,7 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
} }
>; >;
event_categories: Schema.Attribute.Relation< event_categories: Schema.Attribute.Relation<
'oneToMany', 'manyToMany',
'api::event-category.event-category' 'api::event-category.event-category'
>; >;
event_tags: Schema.Attribute.Relation< event_tags: Schema.Attribute.Relation<
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!