-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
feat(schema, api-client): Migrate project types and schemas to @keyshade/schema #537
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
I think you have mistakenly added the changes for project module into #538. Can you remove those changes? |
The project schema depends on If I make #538 independent of this PR, #538 will remove I could close this PR and update #538's description to include changes for both project and environment schemas. |
Yes i think that would be a better choice! |
User description
Description
@keyshade/schema
index
and its types fromindex.types
@keyshade/api-client
project.types
.@keyshade/schema
.Related to #519
Dependencies
Mention any dependencies/packages used
Future Improvements
Mention any improvements to be done in future related to any file/feature
Mentions
Mention and tag the people
Screenshots of relevant screens
Add screenshots of relevant screens
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Enhancement, Tests
Description
api-client
to@keyshade/schema
.api-client
to import project types from@keyshade/schema
.schema
package.api-client
.Changes walkthrough 📝
project.ts
Update project type imports to use schema package
packages/api-client/src/controllers/project.ts
@keyshade/schema
.project.types.d.ts
Remove project type definitions from api-client
packages/api-client/src/types/project.types.d.ts
index.ts
Update export path for project schemas
packages/schema/src/index.ts
index.types.ts
Refactor project type exports in schema index
packages/schema/src/index.types.ts
project.types.ts
.project.ts
Remove old project schema definitions
packages/schema/src/project.ts
project.ts
Add detailed project schema definitions
packages/schema/src/project/project.ts
project.types.ts
Add inferred type definitions for project schemas
packages/schema/src/project/project.types.ts
project.spec.ts
Add comprehensive tests for project schemas
packages/schema/tests/project.spec.ts