add AuthorDispaly
This commit is contained in:
@@ -10,6 +10,7 @@ export interface ColonPost {
|
||||
id: string;
|
||||
databaseId: number;
|
||||
title: string;
|
||||
secondaryTitle: string;
|
||||
uri: string;
|
||||
date: string;
|
||||
colonItem: boolean;
|
||||
@@ -40,24 +41,7 @@ export interface ColonPost {
|
||||
url: string;
|
||||
description: string;
|
||||
}>;
|
||||
categories: {
|
||||
nodes: Array<{
|
||||
id: string;
|
||||
name: string;
|
||||
color?: string;
|
||||
slug: string;
|
||||
uri: string;
|
||||
databaseId: number;
|
||||
}>;
|
||||
};
|
||||
tags: {
|
||||
nodes: Array<{
|
||||
id: string;
|
||||
name: string;
|
||||
slug: string;
|
||||
uri: string;
|
||||
}>;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -77,6 +61,7 @@ const LATEST_COLON_POST_QUERY = `
|
||||
id
|
||||
databaseId
|
||||
title
|
||||
secondaryTitle
|
||||
uri
|
||||
date
|
||||
colonItem
|
||||
@@ -107,24 +92,6 @@ const LATEST_COLON_POST_QUERY = `
|
||||
url
|
||||
description
|
||||
}
|
||||
categories {
|
||||
nodes {
|
||||
id
|
||||
name
|
||||
color
|
||||
slug
|
||||
uri
|
||||
databaseId
|
||||
}
|
||||
}
|
||||
tags {
|
||||
nodes {
|
||||
id
|
||||
name
|
||||
slug
|
||||
uri
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user