Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and Move Interfaces, Types, and Enums into Separate Files #1427

Open
5 tasks
saadanzari opened this issue Jan 15, 2025 · 0 comments
Open
5 tasks

Refactor and Move Interfaces, Types, and Enums into Separate Files #1427

saadanzari opened this issue Jan 15, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@saadanzari
Copy link
Member

Description

Currently, interfaces, types, and enums are scattered throughout the codebase, making them harder to locate and maintain. These should be moved into separate, appropriately named files within component folders or a centralized folder. Loosely Coupled Code principle should be followed.

Acceptance Criteria

  • Identify all interfaces, types, and enums in the codebase.
  • Move these into separate files located within their respective component folders or a centralized /types or /interfaces directory based on Global types.
  • Update all import paths in the codebase to reflect the new locations.
  • Ensure the project builds successfully and passes type-checking after refactoring.
  • Provide a guideline in the project documentation on where to define and locate interfaces, types, and enums.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: NEW USER REQUEST
Development

No branches or pull requests

1 participant