]> git.r.bdr.sh - rbdr/forum/blobdiff - src/lib/data/types.d.ts
Don't remember what this WIP was about
[rbdr/forum] / src / lib / data / types.d.ts
index aae2f8079bafcc88873ddb7fa94c4e59171f09d5..e1f6f17a7d6a0c5f33c19b68f0cac0e3d899cbcd 100644 (file)
@@ -8,10 +8,10 @@ export type Topic = {
        title: string;
        ttl: number;
        updated_at: number;
-  forum_id: string;
-  forum?: Forum;
-  posts?: Post[];
-  tags?: Tag[];
+       forum_id: string;
+       forum?: Forum;
+       posts?: Post[];
+       tags?: Tag[];
 };
 
 export type Post = {
@@ -21,8 +21,8 @@ export type Post = {
        text: string;
        topic_id: string;
        topic?: Topic;
-  author_id: string;
-  author?: User;
+       author_id: string;
+       author?: User;
 };
 
 export type Tag = {