LibreChat/packages
Marco Beretta ff722366e9
feat: cleanup unused types from common/index.ts
- Remove 104 unused type exports from packages/client/src/common/index.ts
- Keep only 7 actually used exports (93% reduction)
- Add cleanup script with enhanced import pattern detection
- Support both named imports and namespace imports (* as t)
- Create automatic backups and comprehensive documentation
- Maintain type safety with build verification
- No breaking changes to existing code

Kept exports:
- TShowToast, Option, OptionWithIcon, DropdownValueSetter
- MentionOption, NotificationSeverity, MenuItemProps

Scripts: cleanup-common-types-safe.js, README-CLEANUP.md
2025-07-12 22:13:51 +02:00
..
api 🧠 fix: Agent Title Config & Resource Handling (#8028) 2025-06-23 19:44:24 -04:00
client feat: cleanup unused types from common/index.ts 2025-07-12 22:13:51 +02:00
data-provider 🖼️ feat: Add Optional Client-Side Image Resizing to Prevent Upload Errors (#7909) 2025-06-24 10:43:29 -04:00
data-schemas 🔃 refactor: Optimize MeiliSearch Sync Processing and Tracking (#7994) 2025-06-20 18:05:19 -04:00