add AuthorDispaly

This commit is contained in:
Profile Profile
2026-02-02 17:58:36 +03:00
parent 49a4638c75
commit 131deebffc
9 changed files with 600 additions and 137 deletions

View File

@@ -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
}
}
}
}
}