Skip to content

Unify component/block APIs into single parameterized functions#43

Merged
banditburai merged 2 commits intomainfrom
refactor/unify-block-component-apis
Mar 13, 2026
Merged

Unify component/block APIs into single parameterized functions#43
banditburai merged 2 commits intomainfrom
refactor/unify-block-component-apis

Conversation

@banditburai
Copy link
Copy Markdown
Owner

Summary

  • Replace all duplicate component/block methods with unified functions using ItemKind and SECTIONS dict
  • Single install_item(), get_source(), get_metadata(), list_items(), resolve_dependencies() replace their paired predecessors
  • All CLI commands (add, diff, status, update, list, init) use the unified APIs consistently

Replace all duplicate component-specific and block-specific methods
with unified functions using ItemKind throughout the registry and CLI.
@banditburai banditburai merged commit bb8ce47 into main Mar 13, 2026
3 checks passed
@banditburai banditburai deleted the refactor/unify-block-component-apis branch March 13, 2026 17:12
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