|
|
|
@ -362,88 +362,6 @@ export interface AdminTransferTokenPermission extends Schema.CollectionType {
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ApiAuthorAuthor extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'authors';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'author';
|
|
|
|
|
pluralName: 'authors';
|
|
|
|
|
displayName: 'Author';
|
|
|
|
|
description: '';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Attribute.String;
|
|
|
|
|
profilePicture: Attribute.Media<
|
|
|
|
|
'images' | 'files' | 'videos' | 'audios',
|
|
|
|
|
true
|
|
|
|
|
>;
|
|
|
|
|
slug: Attribute.UID<'api::author.author', 'name'>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'api::author.author',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'api::author.author',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ApiBlogPostBlogPost extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'blog_posts';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'blog-post';
|
|
|
|
|
pluralName: 'blog-posts';
|
|
|
|
|
displayName: 'Blog Post';
|
|
|
|
|
description: '';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
slug: Attribute.UID<'api::blog-post.blog-post', 'title'> &
|
|
|
|
|
Attribute.Required;
|
|
|
|
|
title: Attribute.String & Attribute.Required;
|
|
|
|
|
author: Attribute.Relation<
|
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'api::author.author'
|
|
|
|
|
>;
|
|
|
|
|
content: Attribute.DynamicZone<
|
|
|
|
|
[
|
|
|
|
|
'content.gallery',
|
|
|
|
|
'content.image',
|
|
|
|
|
'content.text-markdown',
|
|
|
|
|
'content.infobox'
|
|
|
|
|
]
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUploadFile extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'files';
|
|
|
|
|
info: {
|
|
|
|
@ -909,6 +827,111 @@ export interface PluginSlugifySlug extends Schema.CollectionType {
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ApiAuthorAuthor extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'authors';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'author';
|
|
|
|
|
pluralName: 'authors';
|
|
|
|
|
displayName: 'Author';
|
|
|
|
|
description: '';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Attribute.String;
|
|
|
|
|
profilePicture: Attribute.Media<
|
|
|
|
|
'images' | 'files' | 'videos' | 'audios',
|
|
|
|
|
true
|
|
|
|
|
>;
|
|
|
|
|
slug: Attribute.UID<'api::author.author', 'name'>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'api::author.author',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'api::author.author',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ApiBlogPostBlogPost extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'blog_posts';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'blog-post';
|
|
|
|
|
pluralName: 'blog-posts';
|
|
|
|
|
displayName: 'Blog Post';
|
|
|
|
|
description: '';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
slug: Attribute.UID<'api::blog-post.blog-post', 'title'> &
|
|
|
|
|
Attribute.Required;
|
|
|
|
|
title: Attribute.String & Attribute.Required;
|
|
|
|
|
author: Attribute.Relation<
|
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'api::author.author'
|
|
|
|
|
>;
|
|
|
|
|
content: Attribute.DynamicZone<
|
|
|
|
|
['content.gallery', 'content.image', 'content.text-markdown']
|
|
|
|
|
>;
|
|
|
|
|
tags: Attribute.Relation<
|
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'api::tag.tag'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'api::blog-post.blog-post',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ApiTagTag extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'tags';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'tag';
|
|
|
|
|
pluralName: 'tags';
|
|
|
|
|
displayName: 'Tag';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Attribute.String;
|
|
|
|
|
slug: Attribute.UID<'api::tag.tag', 'name'>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<'api::tag.tag', 'oneToOne', 'admin::user'> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
updatedBy: Attribute.Relation<'api::tag.tag', 'oneToOne', 'admin::user'> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
declare module '@strapi/types' {
|
|
|
|
|
export module Shared {
|
|
|
|
|
export interface ContentTypes {
|
|
|
|
@ -919,8 +942,6 @@ declare module '@strapi/types' {
|
|
|
|
|
'admin::api-token-permission': AdminApiTokenPermission;
|
|
|
|
|
'admin::transfer-token': AdminTransferToken;
|
|
|
|
|
'admin::transfer-token-permission': AdminTransferTokenPermission;
|
|
|
|
|
'api::author.author': ApiAuthorAuthor;
|
|
|
|
|
'api::blog-post.blog-post': ApiBlogPostBlogPost;
|
|
|
|
|
'plugin::upload.file': PluginUploadFile;
|
|
|
|
|
'plugin::upload.folder': PluginUploadFolder;
|
|
|
|
|
'plugin::content-releases.release': PluginContentReleasesRelease;
|
|
|
|
@ -930,6 +951,9 @@ declare module '@strapi/types' {
|
|
|
|
|
'plugin::users-permissions.role': PluginUsersPermissionsRole;
|
|
|
|
|
'plugin::users-permissions.user': PluginUsersPermissionsUser;
|
|
|
|
|
'plugin::slugify.slug': PluginSlugifySlug;
|
|
|
|
|
'api::author.author': ApiAuthorAuthor;
|
|
|
|
|
'api::blog-post.blog-post': ApiBlogPostBlogPost;
|
|
|
|
|
'api::tag.tag': ApiTagTag;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|