mbois gak rek?

This commit is contained in:
Khafid Prayoga
2025-12-08 12:19:14 +07:00
parent b5846adb7e
commit 52a6935d07
47 changed files with 3304 additions and 297 deletions
+3 -2
View File
@@ -1,4 +1,3 @@
export interface Base {
id: number
createdAt: string | null
@@ -20,7 +19,9 @@ export interface TreeItem {
export function genBase(): Base {
return {
id: 0,
// -1 buat mock data
// backend harusnya non-negative/ > 0 (untuk auto increment constraint) jadi harusnya aman ya
id: -1,
createdAt: '',
updatedAt: '',
}