feat: add basic blog features

This commit is contained in:
2026-03-09 22:17:39 +01:00
commit c16657f996
29 changed files with 3095 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
export default class Post {
id;
title;
content;
created_at;
updated_at;
constructor(data) {
this.title = data.title;
this.content = data.content;
this.id = data.id || undefined;
this.created_at = data.created_at || undefined;
this.updated_at = data.updated_at || undefined;
}
}