Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented May 27, 2025

Description

Minor type cleanup.


Important

Refactor key generation for types using keysOf for improved type safety and maintainability.

  • Type Safety:
    • Introduces keysOf<T>() in type-fu.ts to create type-safe key arrays, ensuring all keys from type T are present.
  • Refactoring:
    • Replaces manual key arrays with keysOf in global-settings.ts, provider-settings.ts, and index.test.ts.
    • Removes redundant GlobalSettingsRecord, SecretStateRecord, and ProviderSettingsRecord.
  • Testing:
    • Updates test command in index.test.ts to use --globals flag.

This description was created by Ellipsis for e7e64b6. You can customize this summary. It will automatically update as commits are pushed.

@cte cte requested a review from mrubens as a code owner May 27, 2025 04:17
@cte cte merged commit b7d1c9a into main May 27, 2025
13 checks passed
@cte cte deleted the cte/ts-keys-of branch May 27, 2025 04:27
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 27, 2025
@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants