Commit d9fdeb8
authored
[MOO-2069] Generate EditableImageValue for native images with allowUpload set to true (#175)
## Checklist
- Contains unit tests ✅
- Contains breaking changes ❌
- Compatible with: MX 11
- Did you update version and changelog? ✅
- PR title properly formatted (`[XX-000]: description`)? ✅
## This PR contains
- [ ] Bug fix
- [x] Feature
- [ ] Refactor
- [ ] Documentation
- [ ] Other (describe)
## What is the purpose of this PR?
We have integrated allowUpload property for image type for our use case
in native signature widget and set its value to true. For it we will
have to change the type for it to "EditableImageValue<NativeImage>" .
Updated the existing test's output accordingly.4 files changed
Lines changed: 8 additions & 3 deletions
File tree
- packages/pluggable-widgets-tools
- src/typings-generator
- __tests__/outputs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
0 commit comments