Change schema and feed
This commit is contained in:
11
types/generated/contentTypes.d.ts
vendored
11
types/generated/contentTypes.d.ts
vendored
@@ -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<
|
||||
|
||||
Reference in New Issue
Block a user