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(ui/conf): introduce DeepPartial type for ui config #996

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

qwqcode
Copy link
Member

@qwqcode qwqcode commented Oct 5, 2024

  • Replace Partial<ArtalkConfig> with ArtalkConfigPartial for better type clarity.
  • Introduce DeepPartial type for nested partial configurations.
  • Update default configuration handling to use RequiredExcept and FunctionKeys.
  • Adjust related functions and interfaces to use ArtalkConfigPartial.

- Replace `Partial<ArtalkConfig>` with `ArtalkConfigPartial` for better type clarity.
- Introduce `DeepPartial` type for nested partial configurations.
- Update default configuration handling to use `RequiredExcept` and `FunctionKeys`.
- Adjust related functions and interfaces to use `ArtalkConfigPartial`.
@qwqcode qwqcode marked this pull request as ready for review October 5, 2024 12:31
@qwqcode qwqcode merged commit f1ae566 into master Oct 5, 2024
11 checks passed
@qwqcode qwqcode deleted the refactor/ui/conf branch October 5, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant