Created
September 27, 2024 13:00
-
-
Save peterbe/84994f0b71e947a5b62754cdc36fb76b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface ApiV0 { | |
blogitems: { | |
id: number; | |
oid: string; | |
title: string; | |
pub_date: string; | |
categories: | |
| [] | |
| [ | |
{ | |
id: number; | |
name: string; | |
[k: string]: unknown; | |
} | |
]; | |
keywords: [] | [string] | [string, string]; | |
_is_published: boolean; | |
modify_date?: string; | |
summary?: string; | |
archived?: string | null; | |
}[]; | |
count: number; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How I'd WANT it to look like had I done this manually: