Commit bf69f5c
committed
refactor(Mountain/IPC): Update type annotations and method calls in Wind service handlers
This commit continues the ongoing refinement of Mountain's IPC layer by aligning type annotations and method calls with the latest API definitions in the Common crate. The changes ensure that Mountain's implementation correctly adheres to the abstract interfaces defined in Common, reinforcing the architectural separation between interface and implementation.
Key updates include adding imports for ConfigurationOverridesDTO and ConfigurationTarget from Common, simplifying type annotations by using direct trait names (e.g., StorageProvider instead of full paths), and updating method calls to use the correct API signatures (e.g., changing SetStorageItem to UpdateStorageValue and using ConfigurationOverridesDTO::default() where appropriate). These adjustments improve code readability and maintainability while ensuring full compatibility with the IPC communication between Mountain and the Wind frontend service layer.1 parent 107ee20 commit bf69f5c
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | | - | |
113 | | - | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
202 | | - | |
| 204 | + | |
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
| |||
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
227 | | - | |
| 229 | + | |
228 | 230 | | |
229 | | - | |
| 231 | + | |
230 | 232 | | |
231 | 233 | | |
232 | 234 | | |
| |||
432 | 434 | | |
433 | 435 | | |
434 | 436 | | |
435 | | - | |
| 437 | + | |
436 | 438 | | |
437 | 439 | | |
438 | 440 | | |
| |||
0 commit comments