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