Skip to content

Commit 9c6d703

Browse files
zigzagdevclaude
andcommitted
chore: drop unused export of ApiSearchResponse
Now that the search result container imports from domain/types, the ApiSearchResponse alias is only consumed inside searchHeritages, so remove the export to keep the surface narrow. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 31a0a73 commit 9c6d703

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

client/src/app/features/search/apis/search-api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export type SearchParams = {
2020
perPage?: number;
2121
};
2222

23-
export type ApiSearchResponse = {
23+
// Used only inside searchHeritages, no need to export
24+
type ApiSearchResponse = {
2425
status: "success" | "error";
2526
data: {
2627
items: ApiWorldHeritageDto[];

0 commit comments

Comments
 (0)