view data fixes
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
/**
|
||||
* Base interface for ViewData objects
|
||||
*
|
||||
* All ViewData must be JSON-serializable.
|
||||
* All ViewData must be JSON-serializable for SSR.
|
||||
* This type ensures no class instances or functions are included.
|
||||
*
|
||||
* Note: We use 'any' here to allow complex DTO structures, but the
|
||||
* architectural rule is that these must be plain JSON objects.
|
||||
*/
|
||||
export interface ViewData {
|
||||
[key: string]: any;
|
||||
|
||||
Reference in New Issue
Block a user