Domain: Documentation / Translation
Difficulty: Beginner
Description:
The utils/endpoints.ts file contains several functions that lack proper JSDoc comments. Specifically:
- productionsShared() - has JSDoc but incomplete
- co_ActorSearch() - missing proper formatting
- sharedActors() - has JSDoc but is incomplete
- movieSearch() - comment is incomplete with trailing formatting
Add or complete JSDoc comments for all endpoint functions following the existing pattern, including @param and @returns tags.
Expected Outcome:
- All endpoint functions have complete JSDoc comments
- Comments follow consistent formatting
- Better developer experience and IDE autocomplete
Setup Steps:
- Open utils/endpoints.ts.
- Review each endpoint function
- Add missing or complete JSDoc comments
- Ensure consistency with the existing pattern
Links/References:
- File: utils/endpoints.ts
- Functions to document: 6 API endpoint functions