Skip to content

Conversation

takker99
Copy link
Owner

@takker99 takker99 commented Aug 10, 2025

Fix: #238

This PR renames the link search API functions for clarity and consistency.

Renamed exports in api/pages/project/search/titles.ts:

  • makeGetRequest -> makeGetLinksRequest
  • get -> getLinks
  • list -> getLinksStream

Rationale:

  • Clarifies these functions operate on link (searched title) resources, aligning with existing naming (e.g. getLinks in rest/link.ts).
  • Reduces ambiguity with other generic get/list functions.

BREAKING CHANGE:
Existing imports using { get, list, makeGetRequest } from api/pages/project/search/titles.ts must be updated to { getLinks, getLinksStream, makeGetLinksRequest }.

No other code references required updates (rest layer already uses its own getLinks implementation).

Please review and merge. Thanks!

…larity

BREAKING CHANGE: exported symbols `get`, `list`, and `makeGetRequest` in api/pages/project/search/titles.ts have been renamed to `getLinks`, `getLinksStream`, and `makeGetLinksRequest` respectively.
@takker99 takker99 merged commit 736ad26 into main Aug 10, 2025
5 checks passed
@takker99 takker99 deleted the feat/rename-get-links-functions branch August 10, 2025 11:46
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