feat(v3): harden clean ID pattern and standardize snake_case platform-wide
- Systematically migrated from *_id_random to clean *_id fields in BB, People, and Posts modules. - Synchronized Post_Comment interface with account_id for multi-tenant isolation. - Applied optional chaining and local reactive state to harden async UI initialization. - Refactored common helpers to follow snake_case naming conventions. - Resolved various minor stability and logic issues across IDAA Bulletin Board.
This commit is contained in:
@@ -740,9 +740,9 @@ export interface ae_DataStore extends ae_BaseObj {
|
||||
*/
|
||||
export interface ae_Post extends ae_BaseObj {
|
||||
post_id: string;
|
||||
post_id_random: string;
|
||||
// post_id_random: string;
|
||||
account_id: string;
|
||||
account_id_random: string;
|
||||
// account_id_random: string;
|
||||
|
||||
title: string;
|
||||
content: string;
|
||||
@@ -762,8 +762,9 @@ export interface ae_Post extends ae_BaseObj {
|
||||
*/
|
||||
export interface ae_PostComment extends ae_BaseObj {
|
||||
post_comment_id: string;
|
||||
post_comment_id_random: string;
|
||||
post_id_random: string;
|
||||
// post_comment_id_random: string;
|
||||
post_id: string;
|
||||
// post_id_random: string;
|
||||
|
||||
content: string;
|
||||
anonymous: boolean;
|
||||
@@ -787,7 +788,7 @@ export interface ae_Page extends ae_BaseObj {
|
||||
|
||||
/**
|
||||
* Archive - A collection of archival content
|
||||
* Related Files:
|
||||
* Related Files:
|
||||
* - src/lib/ae_archives/db_archives.ts (Dexie Interface)
|
||||
* - src/routes/idaa/(idaa)/archives/[archive_id]/+page.svelte (View)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user