|
@@ -473,7 +473,6 @@ export interface ApiAuthorAuthor extends Struct.CollectionTypeSchema {
|
|
|
export interface ApiBlogBlog extends Struct.CollectionTypeSchema {
|
|
export interface ApiBlogBlog extends Struct.CollectionTypeSchema {
|
|
|
collectionName: 'blogs';
|
|
collectionName: 'blogs';
|
|
|
info: {
|
|
info: {
|
|
|
- description: '';
|
|
|
|
|
displayName: 'blog';
|
|
displayName: 'blog';
|
|
|
pluralName: 'blogs';
|
|
pluralName: 'blogs';
|
|
|
singularName: 'blog';
|
|
singularName: 'blog';
|
|
@@ -482,24 +481,30 @@ export interface ApiBlogBlog extends Struct.CollectionTypeSchema {
|
|
|
draftAndPublish: true;
|
|
draftAndPublish: true;
|
|
|
};
|
|
};
|
|
|
attributes: {
|
|
attributes: {
|
|
|
- ckeditor: Schema.Attribute.RichText &
|
|
|
|
|
- Schema.Attribute.CustomField<
|
|
|
|
|
- 'plugin::ckeditor5.CKEditor',
|
|
|
|
|
- {
|
|
|
|
|
- preset: 'defaultHtml';
|
|
|
|
|
- }
|
|
|
|
|
- >;
|
|
|
|
|
|
|
+ author_name: Schema.Attribute.String & Schema.Attribute.DefaultTo<'Genii'>;
|
|
|
|
|
+ auto_publish: Schema.Attribute.Boolean &
|
|
|
|
|
+ Schema.Attribute.Required &
|
|
|
|
|
+ Schema.Attribute.DefaultTo<false>;
|
|
|
|
|
+ cover_image: Schema.Attribute.Media<'images' | 'files'>;
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
Schema.Attribute.Private;
|
|
Schema.Attribute.Private;
|
|
|
- idk: Schema.Attribute.Blocks;
|
|
|
|
|
- isNewVersion: Schema.Attribute.Boolean;
|
|
|
|
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
|
|
localizations: Schema.Attribute.Relation<'oneToMany', 'api::blog.blog'> &
|
|
localizations: Schema.Attribute.Relation<'oneToMany', 'api::blog.blog'> &
|
|
|
Schema.Attribute.Private;
|
|
Schema.Attribute.Private;
|
|
|
|
|
+ main_body: Schema.Attribute.RichText &
|
|
|
|
|
+ Schema.Attribute.Required &
|
|
|
|
|
+ Schema.Attribute.CustomField<
|
|
|
|
|
+ 'plugin::ckeditor5.CKEditor',
|
|
|
|
|
+ {
|
|
|
|
|
+ preset: 'defaultMarkdown';
|
|
|
|
|
+ }
|
|
|
|
|
+ >;
|
|
|
publish_at: Schema.Attribute.DateTime;
|
|
publish_at: Schema.Attribute.DateTime;
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
- title: Schema.Attribute.String;
|
|
|
|
|
|
|
+ title: Schema.Attribute.String &
|
|
|
|
|
+ Schema.Attribute.Required &
|
|
|
|
|
+ Schema.Attribute.Unique;
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
Schema.Attribute.Private;
|
|
Schema.Attribute.Private;
|