Change schema and feed

This commit is contained in:
2025-09-30 23:32:18 +02:00
parent e7f91f1a7f
commit 2964a58827
7 changed files with 13421 additions and 13718 deletions

View File

@@ -1209,7 +1209,7 @@ export interface ApiPostOwnershipPostOwnership
> &
Schema.Attribute.Private;
metas: Schema.Attribute.JSON;
post: Schema.Attribute.Relation<'oneToOne', 'api::post.post'>;
post: Schema.Attribute.Relation<'manyToOne', 'api::post.post'>;
publishedAt: Schema.Attribute.DateTime;
relation: Schema.Attribute.Enumeration<['owner', 'saved', 'hidden']>;
updatedAt: Schema.Attribute.DateTime;
@@ -1230,10 +1230,6 @@ export interface ApiPostPost extends Struct.CollectionTypeSchema {
draftAndPublish: false;
};
attributes: {
author: Schema.Attribute.Relation<
'manyToOne',
'plugin::users-permissions.user'
>;
category: Schema.Attribute.Enumeration<['photo', 'video', 'event']>;
comments: Schema.Attribute.Relation<'oneToMany', 'api::comment.comment'>;
content: Schema.Attribute.Text;
@@ -1252,8 +1248,8 @@ export interface ApiPostPost extends Struct.CollectionTypeSchema {
'images' | 'files' | 'videos' | 'audios',
true
>;
post_ownership: Schema.Attribute.Relation<
'oneToOne',
post_ownerships: Schema.Attribute.Relation<
'oneToMany',
'api::post-ownership.post-ownership'
>;
publishedAt: Schema.Attribute.DateTime;
@@ -1831,7 +1827,6 @@ export interface PluginUsersPermissionsUser
'oneToMany',
'api::post-ownership.post-ownership'
>;
posts: Schema.Attribute.Relation<'oneToMany', 'api::post.post'>;
provider: Schema.Attribute.String;
publishedAt: Schema.Attribute.DateTime;
related_contacts: Schema.Attribute.Relation<