Skip to content

refactor(renderers): remove unused TextAttr and CardAttr interfaces#56

Merged
evirunurm merged 1 commit into
feat/migrate-to-satorifrom
feat/phase5-cleanup-v2
Mar 20, 2026
Merged

refactor(renderers): remove unused TextAttr and CardAttr interfaces#56
evirunurm merged 1 commit into
feat/migrate-to-satorifrom
feat/phase5-cleanup-v2

Conversation

@evirunurm
Copy link
Copy Markdown
Owner

Summary

  • Removes TextAttr and CardAttr interfaces from scripts/renderers/types.ts
  • These were leftover from the SVG-based renderer era and are no longer referenced anywhere after the satori migration
  • createText, createIcon, mountText, mountIcons were already removed in prior phases; DIVIDER_Y/ERROR_DIVIDER_Y are still in use and kept

Closes #49

Test plan

  • npm run typecheck passes
  • npm test passes (31/31 tests)

🤖 Generated with Claude Code

Part of satori migration phase 5 cleanup (#49).
These interfaces were never referenced after the SVG-based renderers
were replaced with satori/React components.
@evirunurm evirunurm self-assigned this Mar 20, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
github-stats-uvqq Ready Ready Preview, Comment Mar 20, 2026 3:21pm

@evirunurm evirunurm merged commit 25251be into feat/migrate-to-satori Mar 20, 2026
2 checks passed
@evirunurm evirunurm deleted the feat/phase5-cleanup-v2 branch March 20, 2026 15:53
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