0.11.16 : change public to isPublic (strict keyword)

This commit is contained in:
2025-11-07 15:31:23 +01:00
parent 4071000895
commit 90e43e0644
5 changed files with 34 additions and 32 deletions

View File

@@ -1271,6 +1271,7 @@ export interface ApiPostOwnershipPostOwnership
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
isPublic: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
@@ -1279,7 +1280,6 @@ export interface ApiPostOwnershipPostOwnership
Schema.Attribute.Private;
metas: Schema.Attribute.JSON;
post: Schema.Attribute.Relation<'manyToOne', 'api::post.post'>;
public: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
publishedAt: Schema.Attribute.DateTime;
relation: Schema.Attribute.Enumeration<
['owner', 'saved', 'hidden', 'link']