Commit cd62384
committed
refactor(davinci-client): introduce RichTextCollector to avoid breaking ReadOnlyCollector
ReadOnlyCollector now represents plain-text LABEL fields only.
RichTextCollector is a new dedicated type for LABEL fields with
richContent, so consumers can discriminate on collector.type without
a breaking change to the existing ReadOnlyCollector output shape.1 parent bde8c7e commit cd62384
10 files changed
Lines changed: 5030 additions & 3730 deletions
File tree
- e2e/davinci-app/components
- packages/davinci-client
- api-report
- src/lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments