Commit b055d27
committed
feat: Add getWorkspaceMeta plugin API
Add a new plugin API endpoint that allows plugins to retrieve workspace
metadata including sync directory setting.
- Add GetWorkspaceMetaRequest/Response types to Rust events
- Handle GetWorkspaceMetaRequest in plugin events handler
- Add getMeta() method to workspace context in plugin runtime
- Update TypeScript bindings for both yaak-plugins and plugin-runtime-types1 parent e4828e1 commit b055d27
6 files changed
Lines changed: 47 additions & 10 deletions
File tree
- crates-tauri/yaak-app/src
- crates/yaak-plugins
- bindings
- src
- packages
- plugin-runtime-types/src
- bindings
- plugins
- plugin-runtime/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 24 | + | |
32 | 25 | | |
33 | 26 | | |
34 | 27 | | |
| |||
474 | 467 | | |
475 | 468 | | |
476 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
477 | 481 | | |
478 | 482 | | |
479 | 483 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
169 | 172 | | |
170 | 173 | | |
171 | 174 | | |
| |||
618 | 621 | | |
619 | 622 | | |
620 | 623 | | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
621 | 637 | | |
622 | 638 | | |
623 | 639 | | |
| |||
0 commit comments