feat: Add ClusteringService interface

This commit introduces the `ClusteringService` interface.

This interface defines a suspend function `getRecommendations` to fetch clustering recommendations from the "api/data" endpoint. It is expected to return a list of `ClusteringResponse` objects.
This commit is contained in:
Cutiful 2025-07-10 18:17:35 +07:00
parent aebb7d7127
commit 6a103f7680

View File

@ -0,0 +1,9 @@
package com.syaroful.agrilinkvocpro.growth_recipe_feature.data.network
import com.syaroful.agrilinkvocpro.growth_recipe_feature.data.model.ClusteringResponse
import retrofit2.http.GET
interface ClusteringService {
@GET("api/data")
suspend fun getRecommendations(): List<ClusteringResponse>
}