Point SDK GraphQL to api-app and switch map markers query to getMarkers.

This aligns the app with the new backend endpoint/schema and keeps map marker mapping compatible with the new response shape.

Made-with: Cursor
This commit is contained in:
2026-03-02 19:22:03 +01:00
parent 8bf076697e
commit 436e165679
6 changed files with 1031 additions and 295 deletions

View File

@@ -39,6 +39,10 @@ apollo {
service("service") {
packageName.set("org.db3.airmq.sdk")
schemaFiles.from(file("../app/src/main/graphql/schema.graphqls"))
introspection {
endpointUrl.set("https://api-app.airmq.cc/graphql")
schemaFile.set(file("../app/src/main/graphql/schema.graphqls"))
}
}
}
@@ -56,4 +60,6 @@ dependencies {
// Hilt
implementation(libs.hilt.android)
ksp(libs.hilt.compiler)
testImplementation(libs.junit)
}