awary/web-app/src/core/Log.ts
Vyn f265233a06
Some checks are pending
Run tests / build (6.0, 18.x) (push) Waiting to run
Reupload
2025-06-11 09:50:52 +02:00

23 lines
329 B
TypeScript

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);
}
}