Commit 9311cbd0 by sujata

chnage in event tag

1 parent 06399497
......@@ -18,11 +18,11 @@
"type": "uid",
"targetField": "Name"
},
"event": {
"events": {
"type": "relation",
"relation": "manyToOne",
"relation": "oneToMany",
"target": "api::event.event",
"inversedBy": "event_categories"
"mappedBy": "event_category"
}
}
}
......@@ -18,11 +18,11 @@
"type": "uid",
"targetField": "Name"
},
"event": {
"events": {
"type": "relation",
"relation": "manyToOne",
"relation": "oneToMany",
"target": "api::event.event",
"inversedBy": "event_tags"
"mappedBy": "event_tag"
}
}
}
......@@ -53,17 +53,17 @@
"component": "dynamic-zone.image-slider",
"repeatable": false
},
"event_categories": {
"event_category": {
"type": "relation",
"relation": "oneToMany",
"relation": "manyToOne",
"target": "api::event-category.event-category",
"mappedBy": "event"
"inversedBy": "events"
},
"event_tags": {
"event_tag": {
"type": "relation",
"relation": "oneToMany",
"relation": "manyToOne",
"target": "api::event-tag.event-tag",
"mappedBy": "event"
"inversedBy": "events"
},
"smalldescription": {
"type": "text"
......
......@@ -1328,7 +1328,7 @@ export interface ApiEventCategoryEventCategory
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
event: Schema.Attribute.Relation<'manyToOne', 'api::event.event'>;
events: Schema.Attribute.Relation<'oneToMany', 'api::event.event'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
......@@ -1387,7 +1387,7 @@ export interface ApiEventTagEventTag extends Struct.CollectionTypeSchema {
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
event: Schema.Attribute.Relation<'manyToOne', 'api::event.event'>;
events: Schema.Attribute.Relation<'oneToMany', 'api::event.event'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
......@@ -1425,12 +1425,12 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
preset: 'defaultHtml';
}
>;
event_categories: Schema.Attribute.Relation<
'oneToMany',
event_category: Schema.Attribute.Relation<
'manyToOne',
'api::event-category.event-category'
>;
event_tags: Schema.Attribute.Relation<
'oneToMany',
event_tag: Schema.Attribute.Relation<
'manyToOne',
'api::event-tag.event-tag'
>;
ImageSlider: Schema.Attribute.Component<'dynamic-zone.image-slider', false>;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!