Commit 8f2986f
committed
[DevTools][BE] move shared types & constants to consolidated locations (#26572)
## Summary
This pull request aims to improve the maintainability of the codebase by
consolidating types and constants that are shared between the backend
and frontend. This consolidation will allow us to maintain backwards
compatibility in the frontend in the future.
To achieve this, we have moved the shared types and constants to the
following blessed files:
- react-devtools-shared/src/constants
- react-devtools-shared/src/types
- react-devtools-shared/src/backend/types
- react-devtools-shared/src/backend/NativeStyleEditor/types
Please note that the inclusion of NativeStyleEditor in this list is
temporary, and we plan to remove it once we have a better plugin system
in place.
## How did you test this change?
I have tested it by running `yarn flow dom-node`, which reports no
errors.
DiffTrain build for commit 451736b.1 parent b38019b commit 8f2986f
File tree
13 files changed
+19
-19
lines changed- compiled-rn/facebook-fbsource/xplat/js
- RKJSModules/vendor
- react-test-renderer/cjs
- react/cjs
- react-native-github/Libraries/Renderer
- implementations
13 files changed
+19
-19
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23891 | 23891 | | |
23892 | 23892 | | |
23893 | 23893 | | |
23894 | | - | |
| 23894 | + | |
23895 | 23895 | | |
23896 | 23896 | | |
23897 | 23897 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8688 | 8688 | | |
8689 | 8689 | | |
8690 | 8690 | | |
8691 | | - | |
| 8691 | + | |
8692 | 8692 | | |
8693 | 8693 | | |
8694 | 8694 | | |
| |||
8719 | 8719 | | |
8720 | 8720 | | |
8721 | 8721 | | |
8722 | | - | |
| 8722 | + | |
8723 | 8723 | | |
8724 | 8724 | | |
8725 | 8725 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9114 | 9114 | | |
9115 | 9115 | | |
9116 | 9116 | | |
9117 | | - | |
| 9117 | + | |
9118 | 9118 | | |
9119 | 9119 | | |
9120 | 9120 | | |
| |||
9145 | 9145 | | |
9146 | 9146 | | |
9147 | 9147 | | |
9148 | | - | |
| 9148 | + | |
9149 | 9149 | | |
9150 | 9150 | | |
9151 | 9151 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
| 645 | + | |
646 | 646 | | |
647 | 647 | | |
648 | 648 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27187 | 27187 | | |
27188 | 27188 | | |
27189 | 27189 | | |
27190 | | - | |
| 27190 | + | |
27191 | 27191 | | |
27192 | 27192 | | |
27193 | 27193 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9555 | 9555 | | |
9556 | 9556 | | |
9557 | 9557 | | |
9558 | | - | |
| 9558 | + | |
9559 | 9559 | | |
9560 | 9560 | | |
9561 | 9561 | | |
| |||
9597 | 9597 | | |
9598 | 9598 | | |
9599 | 9599 | | |
9600 | | - | |
| 9600 | + | |
9601 | 9601 | | |
9602 | 9602 | | |
9603 | 9603 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10264 | 10264 | | |
10265 | 10265 | | |
10266 | 10266 | | |
10267 | | - | |
| 10267 | + | |
10268 | 10268 | | |
10269 | 10269 | | |
10270 | 10270 | | |
| |||
10319 | 10319 | | |
10320 | 10320 | | |
10321 | 10321 | | |
10322 | | - | |
| 10322 | + | |
10323 | 10323 | | |
10324 | 10324 | | |
10325 | 10325 | | |
| |||
0 commit comments