|
|
@ -874,11 +874,32 @@ export interface ApiBlogCollectionBlogCollection extends Schema.CollectionType {
|
|
|
|
options: {
|
|
|
|
options: {
|
|
|
|
draftAndPublish: true;
|
|
|
|
draftAndPublish: true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
|
|
|
localized: true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
attributes: {
|
|
|
|
attributes: {
|
|
|
|
name: Attribute.String & Attribute.Required & Attribute.Unique;
|
|
|
|
name: Attribute.String &
|
|
|
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
|
|
|
Attribute.SetPluginOptions<{
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
|
|
|
localized: true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}>;
|
|
|
|
slug: Attribute.UID<'api::blog-collection.blog-collection', 'name'>;
|
|
|
|
slug: Attribute.UID<'api::blog-collection.blog-collection', 'name'>;
|
|
|
|
picture: Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
|
|
|
picture: Attribute.Media<'images' | 'files' | 'videos' | 'audios'> &
|
|
|
|
description: Attribute.Text;
|
|
|
|
Attribute.SetPluginOptions<{
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
|
|
|
localized: true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
description: Attribute.Text &
|
|
|
|
|
|
|
|
Attribute.SetPluginOptions<{
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
|
|
|
localized: true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}>;
|
|
|
|
posts: Attribute.Relation<
|
|
|
|
posts: Attribute.Relation<
|
|
|
|
'api::blog-collection.blog-collection',
|
|
|
|
'api::blog-collection.blog-collection',
|
|
|
|
'oneToMany',
|
|
|
|
'oneToMany',
|
|
|
@ -899,6 +920,12 @@ export interface ApiBlogCollectionBlogCollection extends Schema.CollectionType {
|
|
|
|
'admin::user'
|
|
|
|
'admin::user'
|
|
|
|
> &
|
|
|
|
> &
|
|
|
|
Attribute.Private;
|
|
|
|
Attribute.Private;
|
|
|
|
|
|
|
|
localizations: Attribute.Relation<
|
|
|
|
|
|
|
|
'api::blog-collection.blog-collection',
|
|
|
|
|
|
|
|
'oneToMany',
|
|
|
|
|
|
|
|
'api::blog-collection.blog-collection'
|
|
|
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
locale: Attribute.String;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -913,10 +940,21 @@ export interface ApiBlogPostBlogPost extends Schema.CollectionType {
|
|
|
|
options: {
|
|
|
|
options: {
|
|
|
|
draftAndPublish: true;
|
|
|
|
draftAndPublish: true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
|
|
|
localized: true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
attributes: {
|
|
|
|
attributes: {
|
|
|
|
slug: Attribute.UID<'api::blog-post.blog-post', 'title'> &
|
|
|
|
slug: Attribute.UID<'api::blog-post.blog-post', 'title'> &
|
|
|
|
Attribute.Required;
|
|
|
|
Attribute.Required;
|
|
|
|
title: Attribute.String & Attribute.Required;
|
|
|
|
title: Attribute.String &
|
|
|
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
|
|
|
Attribute.SetPluginOptions<{
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
|
|
|
localized: true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}>;
|
|
|
|
author: Attribute.Relation<
|
|
|
|
author: Attribute.Relation<
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
'oneToOne',
|
|
|
|
'oneToOne',
|
|
|
@ -924,7 +962,12 @@ export interface ApiBlogPostBlogPost extends Schema.CollectionType {
|
|
|
|
>;
|
|
|
|
>;
|
|
|
|
content: Attribute.DynamicZone<
|
|
|
|
content: Attribute.DynamicZone<
|
|
|
|
['content.gallery', 'content.image', 'content.text-markdown']
|
|
|
|
['content.gallery', 'content.image', 'content.text-markdown']
|
|
|
|
>;
|
|
|
|
> &
|
|
|
|
|
|
|
|
Attribute.SetPluginOptions<{
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
|
|
|
localized: true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}>;
|
|
|
|
tags: Attribute.Relation<
|
|
|
|
tags: Attribute.Relation<
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
'oneToMany',
|
|
|
|
'oneToMany',
|
|
|
@ -950,6 +993,12 @@ export interface ApiBlogPostBlogPost extends Schema.CollectionType {
|
|
|
|
'admin::user'
|
|
|
|
'admin::user'
|
|
|
|
> &
|
|
|
|
> &
|
|
|
|
Attribute.Private;
|
|
|
|
Attribute.Private;
|
|
|
|
|
|
|
|
localizations: Attribute.Relation<
|
|
|
|
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
|
|
|
|
'oneToMany',
|
|
|
|
|
|
|
|
'api::blog-post.blog-post'
|
|
|
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
locale: Attribute.String;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -964,8 +1013,19 @@ export interface ApiTagTag extends Schema.CollectionType {
|
|
|
|
options: {
|
|
|
|
options: {
|
|
|
|
draftAndPublish: true;
|
|
|
|
draftAndPublish: true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
|
|
|
localized: true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
attributes: {
|
|
|
|
attributes: {
|
|
|
|
name: Attribute.String & Attribute.Required;
|
|
|
|
name: Attribute.String &
|
|
|
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
|
|
|
Attribute.SetPluginOptions<{
|
|
|
|
|
|
|
|
i18n: {
|
|
|
|
|
|
|
|
localized: true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}>;
|
|
|
|
slug: Attribute.UID<'api::tag.tag', 'name'>;
|
|
|
|
slug: Attribute.UID<'api::tag.tag', 'name'>;
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
@ -974,6 +1034,12 @@ export interface ApiTagTag extends Schema.CollectionType {
|
|
|
|
Attribute.Private;
|
|
|
|
Attribute.Private;
|
|
|
|
updatedBy: Attribute.Relation<'api::tag.tag', 'oneToOne', 'admin::user'> &
|
|
|
|
updatedBy: Attribute.Relation<'api::tag.tag', 'oneToOne', 'admin::user'> &
|
|
|
|
Attribute.Private;
|
|
|
|
Attribute.Private;
|
|
|
|
|
|
|
|
localizations: Attribute.Relation<
|
|
|
|
|
|
|
|
'api::tag.tag',
|
|
|
|
|
|
|
|
'oneToMany',
|
|
|
|
|
|
|
|
'api::tag.tag'
|
|
|
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
locale: Attribute.String;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|