feat: 文章列表和内容优化。
This commit is contained in:
@@ -21,6 +21,8 @@ export type Article = {
|
||||
content: Scalars['String'];
|
||||
publishedAt?: Maybe<Scalars['DateTime']>;
|
||||
tags: Array<Scalars['String']>;
|
||||
html: Scalars['String'];
|
||||
description?: Maybe<Scalars['String']>;
|
||||
};
|
||||
|
||||
export type CreateArticleInput = {
|
||||
|
@@ -5,7 +5,7 @@ export const ARTICLE_FOR_HOME = gql`
|
||||
articles {
|
||||
id
|
||||
title
|
||||
content
|
||||
description
|
||||
publishedAt
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,8 @@ export const ARTICLE = gql`
|
||||
article(id: $id) {
|
||||
id
|
||||
title
|
||||
content
|
||||
description
|
||||
html
|
||||
publishedAt
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user