Commit 0c3236b
fix: resolve TypeScript errors in plugin-dashboard and plugin-grid
- Add `filter` to isObjectProvider type guard return type
- Add `searchable` and `pagination` to DashboardWidgetSchema
- Annotate normalizedConfig as Record<string,any> to preserve index signature
- Resolve I18nLabel col.label to string in ObjectGrid ListColumn path
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 88aeae3 commit 0c3236b
4 files changed
Lines changed: 14 additions & 3 deletions
File tree
- packages
- plugin-dashboard/src
- plugin-grid/src
- types/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
512 | | - | |
| 512 | + | |
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
| 622 | + | |
| 623 | + | |
623 | 624 | | |
624 | 625 | | |
625 | 626 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
547 | 557 | | |
548 | 558 | | |
549 | 559 | | |
| |||
0 commit comments