Added pretty much everything except discussion forums

This commit is contained in:
2026-03-01 11:00:38 -05:00
parent a239b7e204
commit 5cdbf72328
15 changed files with 917 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
export interface DiscussionPost<T = any> {
id: number;
type: string;
poster_id: number;
poster_name?: string;
title: string;
content: T;
created_at: Date;
updated_at: Date;
is_deleted: boolean;
is_locked: boolean;
is_open: boolean;
comments?: DiscussionComment[];
}
export interface DiscussionComment {
id?: number;
post_id: number;
poster_id: number;
content: string;
created_at: Date;
updated_at: Date;
is_deleted: boolean;
}