view data tests
This commit is contained in:
@@ -1,18 +1,3 @@
|
||||
/**
|
||||
* ViewData contract
|
||||
*
|
||||
* Represents the shape of data that can be passed to Templates.
|
||||
*
|
||||
* Based on VIEW_DATA.md:
|
||||
* - JSON-serializable only
|
||||
* - Contains only template-ready values (strings/numbers/booleans)
|
||||
* - MUST NOT contain class instances
|
||||
*
|
||||
* This is a type-level contract, not a class-based one.
|
||||
*/
|
||||
|
||||
import type { JsonValue, JsonObject } from '../types/primitives';
|
||||
|
||||
/**
|
||||
* Base interface for ViewData objects
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user