Type ApiPost keys to be defined

This commit is contained in:
Johannes Klein
2026-05-14 00:30:36 +02:00
parent cfdb1fd0a1
commit c03db2fd0e

8
src/api/types.d.ts vendored
View File

@@ -18,10 +18,10 @@ export interface ApiPlace {
}
export interface ApiPost {
id?: number;
title?: string;
body?: string;
published_at?: string;
id: number;
title: string;
body: string;
published_at: string;
}
export interface ApiProject {