You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move plugin type definitions from core to plugin packages
This addresses the architectural concern that plugin types should be owned by the plugin packages themselves, not the core platform. This allows third-party developers to create plugins without modifying core packages.
Changes:
- Removed packages/types/src/plugin.ts (no longer needed)
- Reverted packages/types/src/index.ts to remove plugin type exports
- Added packages/plugin-editor/src/types.ts with CodeEditorSchema
- Added packages/plugin-charts/src/types.ts with BarChartSchema
- Updated plugin packages to export their types via index.tsx
- Added @object-ui/types as dependency for plugins (for BaseSchema)
- Updated documentation to explain plugin-owned types pattern
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
0 commit comments