Difficulty: Hard
Type: Bug
Summary
Fix duplicate RequestOptions imports in the access service and add a lint rule or typecheck guard to prevent similar import conflicts.
Current Behaviour
src/access/access.service.ts imports RequestOptions from both ../http/http.types and ../types/common. This can produce TypeScript duplicate identifier errors or hide which request option contract the service should use.
Expected Behaviour
The access service should import one canonical request options type, and the project should catch duplicate imports during CI.
Suggested Implementation
Decide which module owns the public request options type, update the access service import, and add an ESLint or TypeScript check that prevents duplicate imports and unused imports.
Files or Areas Likely Affected
src/access/access.service.ts
src/http/http.types.ts
src/types/common.ts
eslint.config.*
package.json
Acceptance Criteria
Additional Notes
This is intentionally scoped to type hygiene and build stability.
Difficulty: Hard
Type: Bug
Summary
Fix duplicate
RequestOptionsimports in the access service and add a lint rule or typecheck guard to prevent similar import conflicts.Current Behaviour
src/access/access.service.tsimportsRequestOptionsfrom both../http/http.typesand../types/common. This can produce TypeScript duplicate identifier errors or hide which request option contract the service should use.Expected Behaviour
The access service should import one canonical request options type, and the project should catch duplicate imports during CI.
Suggested Implementation
Decide which module owns the public request options type, update the access service import, and add an ESLint or TypeScript check that prevents duplicate imports and unused imports.
Files or Areas Likely Affected
src/access/access.service.tssrc/http/http.types.tssrc/types/common.tseslint.config.*package.jsonAcceptance Criteria
AccessServiceimportsRequestOptionsfrom one canonical moduleAdditional Notes
This is intentionally scoped to type hygiene and build stability.