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

➕ [web] Update User type definitions using camelcase-keys and type-fest #792

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

usagizmo
Copy link
Owner

No description provided.

…tional fields

* Update `User` type to use `CamelCasedProperties` from `type-fest`
* Modify `updateUser` method to handle partial updates and convert keys to camelCase
* Add `created_at` field to user selection in `getUser` function
Copy link

vercel bot commented Jun 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
webapp-template-mockup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2024 8:19am
webapp-template-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2024 8:19am

@usagizmo usagizmo changed the title ➕ [web] Update user type definitions using camelcase-keys and type-fest ➕ [web] Update User type definitions using camelcase-keys and type-fest Jun 11, 2024
@usagizmo usagizmo enabled auto-merge (squash) June 11, 2024 08:19
@usagizmo usagizmo merged commit 7ad7fb7 into main Jun 11, 2024
4 checks passed
@usagizmo usagizmo deleted the feat/types-2024-06-11 branch June 11, 2024 08:20
usagizmo added a commit that referenced this pull request Jun 11, 2024
…pe-fest` (#792)

* ➕ [web] Add `camelcase-keys` and `type-fest`
* ✨ Enhance user store and utilities with camelCase conversion and additional fields
  * Update `User` type to use `CamelCasedProperties` from `type-fest`
  * Modify `updateUser` method to handle partial updates and convert keys to camelCase
  * Add `created_at` field to user selection in `getUser` function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant