This commit is contained in:
Vyn 2025-06-11 09:50:52 +02:00
commit 61cbd57af1
168 changed files with 31208 additions and 0 deletions

23
web-app/src/core/Log.ts Normal file
View file

@ -0,0 +1,23 @@
export interface LogData {
id: string,
title: string,
content: string,
tags: {
id: string
name: string
color: string
}[]
projectId: string
createdAt: number
createdBy: string
}
export interface Log extends Readonly<LogData> {}
export class Log {
constructor(data: LogData) {
Object.assign(this, data);
}
}