Skip to content

fix(plugin-codegen): generate row types as type aliases#84

Merged
KeKs0r merged 1 commit intomainfrom
marc/fix-ingest-cast
Mar 3, 2026
Merged

fix(plugin-codegen): generate row types as type aliases#84
KeKs0r merged 1 commit intomainfrom
marc/fix-ingest-cast

Conversation

@KeKs0r
Copy link
Contributor

@KeKs0r KeKs0r commented Mar 3, 2026

Summary

  • Changed generated row types from interface to type aliases
  • Resolves TypeScript error TS2322 when passing typed row arrays to ingest functions
  • Type aliases satisfy the implicit index signature requirement for Record<string, unknown>[]

Test plan

  • Verified all tests pass
  • Plugin codegen tests updated to expect new type syntax
  • CLI plugin runtime test updated accordingly

🤖 Generated with Claude Code

…terfaces

This resolves a TypeScript assignability issue where interface-based row types
weren't compatible with Record<string, unknown>[] required by ingest functions.
Type aliases satisfy the implicit index signature requirement.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@KeKs0r KeKs0r merged commit 2eaaa5a into main Mar 3, 2026
2 checks passed
@KeKs0r KeKs0r deleted the marc/fix-ingest-cast branch March 3, 2026 19:16
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.

1 participant