0.11.16 : change public to isPublic (strict keyword)
This commit is contained in:
2
types/generated/contentTypes.d.ts
vendored
2
types/generated/contentTypes.d.ts
vendored
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user