chore: remove redundant auto-imported type imports#213
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbitRelease Notes
WalkthroughType-only imports were removed across five files. DisabledCommands.vue narrowed its ChangesType import cleanup
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #213 +/- ##
=======================================
Coverage 66.52% 66.52%
=======================================
Files 103 103
Lines 2306 2306
Branches 472 472
=======================================
Hits 1534 1534
Misses 412 412
Partials 360 360
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
@copilot fix falied workflow |
This PR will deploy the following changes to production (`wolfstar.rocks`). **Next version: `v0.7.0`** (current: `v0.6.3`) ### Features - feat(tests): auto-generate ephemeral secrets for CI builds (`fd3a0255`) - feat(semantic-pr): update scopes for PR validation (`2fb7ab56`) - feat(test-secrets): add module for auto-generating CI secrets (`3baf470c`) ### Fixes - fix(auth): refresh Discord OAuth tokens before API calls (#218) (`4dd1e5cf`) - fix(ui): serve Geist and GeistMono from local provider (#214) (`b8f27202`) - fix: improve release workflow and fix release-notes output (#211) (`f7ae44fb`) - fix(package): update node engine requirement to >=24 (`b66e0040`) - fix(ci): resolve failing workflow checks (`face5c43`) ### Other Changes - chore: resolve release PR #217 merge conflicts (#219) (`af83b2af`) - chore: migrate design reference from .atlas to .claude (#216) (`cadf476e`) - chore: remove redundant auto-imported type imports (#213) (`be362fbc`) - chore(deps): upgrade knip to v6 and enable treatConfigHintsAsErrors (#212) (`1ba87ecb`) - chore(deps): update test packages (#206) (`1187f76e`) - chore(ci): pin playwright container image to sha256 digest (#202) (`4eef7689`) - chore: replace create-pr-commit skill with full create-pull-request skill (#201) (`6874c781`) - ci: improve release workflows and permissions (`9839e301`) - ci: enable reuse of existing server in CI environment (`ffa2b640`) - ci: fix browser container digest, version comment, and restore NODE_OPTIONS/secrets (`8fae2422`) - ci: remove NODE_OPTIONS from component and build tests (`728c7951`) - chore: rename codecov file to use correct version (`fba616b7`) - ci: update scopes in semantic PR workflow (`2e2fd6fe`) - ci: remove hardcoded secrets from browser tests (`a7ddfdb0`) - chore: rename `continuous-integration` to `ci` workflow (`0ee01169`) - ci: simplify permissions in release PR workflow (`80c69cad`) - ci: fix all zizmor security analysis findings (`5ebc15ee`) - ci: update reporter configuration for CI environments (`2a6166c6`) - ci: harden GitHub Actions workflows (`2d4600ea`) - chore(pnpm): add minimumReleaseAge and clean up config comments (`729fadb3`) - chore: set package version to 0.0.0 (`afd42056`) ### Uncategorized - revert "fix(ci): resolve failing workflow checks" (`a684d62e`) --- > Merging this PR will: > - Deploy to `wolfstar.rocks` via Netlify > - Create a `v0.7.0` tag and GitHub Release
🔗 Linked issue
N/A
🧭 Context
Nuxt auto-imports types declared in
#shared/types,#auth-utils, and#shared/types/discord. Explicitimport typestatements for these symbols are redundant and create unnecessary coupling to the import path.📚 Description
Remove explicit
import typestatements that are already satisfied by Nuxt's auto-import layer:app/components/guild/settings/DisabledCommands.vue— removedFlattenedCommandfrom#shared/types(keptDisableCommandsimported to satisfyknip/CI unused-export checks)app/composables/useUser.ts— removedUserfrom#auth-utilstest/mocks/discord.ts— removedUser,FlattenedEmoji,FlattenedGuildChannel,FlattenedRole,OauthFlattenedGuildtest/nuxt/components/BuildEnvironment.spec.ts— removedBuildInfofrom#shared/typestest/nuxt/components/guild/settings/DisabledCommands.spec.ts— removedFlattenedCommandfrom#shared/typesNo runtime behaviour changes. Type checking and tests continue to pass.