Skip to content

[Export Audit] Unused type exports in config/mount-policy.ts #6629

Description

@github-actions

Summary

Three exported types in src/config/mount-policy.ts are never used outside their defining file:

  • CredentialType (line 19)
  • CredentialEntry (line 22)
  • MountPolicy (line 39)

Evidence

Verified by cross-file usage analysis:

  • CredentialType: used_outside_defining_file=0_files
  • CredentialEntry: used_outside_defining_file=0_files
  • MountPolicy: marked as unused by ts-prune

All three types are defined and used only within mount-policy.ts itself.

Impact

Dead code risk: Medium-High

These are internal implementation types for the mount policy system. Making them public API creates maintenance burden and potential for misuse.

Recommendation

Remove export keyword from these type definitions to clarify they are implementation details, or document why they need to be part of the public API.

Generated by API Surface & Export Audit · sonnet45 · 21.1 AIC · ⊞ 5.5K ·

  • expires on Aug 26, 2026, 10:22 AM UTC

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions