* Context passed to encode functions, containing the current state of the encoding process
| 9 | * Context passed to encode functions, containing the current state of the encoding process |
| 10 | */ |
| 11 | interface EncodeContext { |
| 12 | fields: CmsField[]; // Available CMS fields at current level |
| 13 | path: string; // Path to current value in object tree |
| 14 | visit: (value: unknown, fields: CmsField[], path: string) => unknown; // Visitor for recursive traversal |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * Get the fields that should be used for encoding nested values |
nothing calls this directly
no outgoing calls
no test coverage detected