Commit 4406e9b
feat(ui): add InterfaceSchema, RecordReviewConfig, content elements, and per-element data binding
Phase A: Interface Foundation (v3.2) — Airtable Interface Parity
- Add InterfaceSchema as self-contained, shareable, multi-page application surface
- Add RecordReviewConfigSchema for sequential record review/approval pages
- Add content elements (element:text, element:number, element:image, element:divider) to PageComponentType
- Add ElementDataSourceSchema for per-element data binding on PageComponentSchema
- Add ElementTextPropsSchema, ElementNumberPropsSchema, ElementImagePropsSchema to component.zod.ts
- Update ComponentPropsMap with new element types
- Export new interface module from src/ui/index.ts
- Add comprehensive tests (57 tests across all new schemas)
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 4430d13 commit 4406e9b
5 files changed
Lines changed: 979 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
131 | 170 | | |
132 | 171 | | |
133 | 172 | | |
| |||
164 | 203 | | |
165 | 204 | | |
166 | 205 | | |
167 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
168 | 213 | | |
169 | 214 | | |
170 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
0 commit comments