Update topic

This commit is contained in:
Rodrigo Pinto 2025-04-03 17:37:04 -03:00
commit bca3b6b699
2 changed files with 33 additions and 14 deletions

View file

@ -1,11 +1,11 @@
export interface Topic {
id: number;
name: string;
content: string;
createdAt: string;
updatedAt: string;
version: number;
parentTopicId: number;
id: number
name: string
content: string
createdAt: string
updatedAt: string
version: number
parentTopicId?: number
}
export let topics: Topic[] = [];
export const topics: Topic[] = [];