mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-26 17:54:22 +01:00
feat: loading state to comments, delay success until comment is fetched, enable collapsing replies, fix comments section cards borders
This commit is contained in:
@@ -374,6 +374,7 @@ export interface NexusGenFieldTypes {
|
||||
Story: { // field return type
|
||||
author: NexusGenRootTypes['Author']; // Author!
|
||||
body: string; // String!
|
||||
comments: NexusGenRootTypes['PostComment'][]; // [PostComment!]!
|
||||
cover_image: string | null; // String
|
||||
createdAt: NexusGenScalars['Date']; // Date!
|
||||
excerpt: string; // String!
|
||||
@@ -579,6 +580,7 @@ export interface NexusGenFieldTypeNames {
|
||||
Story: { // field return type name
|
||||
author: 'Author'
|
||||
body: 'String'
|
||||
comments: 'PostComment'
|
||||
cover_image: 'String'
|
||||
createdAt: 'Date'
|
||||
excerpt: 'String'
|
||||
|
||||
@@ -186,6 +186,7 @@ type Question implements PostBase {
|
||||
type Story implements PostBase {
|
||||
author: Author!
|
||||
body: String!
|
||||
comments: [PostComment!]!
|
||||
cover_image: String
|
||||
createdAt: Date!
|
||||
excerpt: String!
|
||||
|
||||
Reference in New Issue
Block a user