Skip to content

M7: Remove dead code and unused exports#10

Merged
pshkv merged 1 commit into
mainfrom
m7/cleanup
Feb 7, 2026
Merged

M7: Remove dead code and unused exports#10
pshkv merged 1 commit into
mainfrom
m7/cleanup

Conversation

@pshkv

@pshkv pshkv commented Feb 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove unused ConfigSchema, PostTweetSchema, SearchTweetsSchema and their type exports from types.ts
  • Remove unnecessary export from loggerConfigs (only used internally)
  • Update test file to remove references to removed exports

Changes

types.ts

  • Removed ConfigSchema (not used anywhere)
  • Removed PostTweetSchema (schemas defined inline in mcp.ts)
  • Removed SearchTweetsSchema (schemas defined inline in mcp.ts)
  • Removed Config, PostTweetArgs, SearchTweetsArgs types
  • Removed zod import (no longer needed)

configs/logger/index.ts

  • Changed export const loggerConfigs to const loggerConfigs (only used internally)

types.test.ts

  • Removed references to deleted schemas in tests

Test plan

  • npm run check-types passes
  • npm test passes (20 tests)

🤖 Generated with Claude Code

- Remove unused ConfigSchema, PostTweetSchema, SearchTweetsSchema and
  their type exports from types.ts (schemas inlined in mcp.ts)
- Remove export from loggerConfigs (only used internally)
- Update test file to remove references to removed exports

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@pshkv pshkv merged commit 32fb30f into main Feb 7, 2026
1 check failed
@pshkv pshkv deleted the m7/cleanup branch February 7, 2026 08:36
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