Upgrade dependencies and refactor: Update Gradle to 9.4.0, adjust TopBar and TurnierDetailScreen UI, and add ZNS import feature to Docker build context
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
package at.mocode.ping.api
|
||||
|
||||
interface PingApi {
|
||||
suspend fun simplePing(): PingResponse
|
||||
suspend fun enhancedPing(simulate: Boolean = false): EnhancedPingResponse
|
||||
suspend fun healthCheck(): HealthResponse
|
||||
suspend fun simplePing(): PingResponse
|
||||
suspend fun enhancedPing(simulate: Boolean = false): EnhancedPingResponse
|
||||
suspend fun healthCheck(): HealthResponse
|
||||
|
||||
// Neue Endpunkte für Security Hardening
|
||||
suspend fun publicPing(): PingResponse
|
||||
suspend fun securePing(): PingResponse
|
||||
// Neue Endpunkte für Security Hardening
|
||||
suspend fun publicPing(): PingResponse
|
||||
suspend fun securePing(): PingResponse
|
||||
|
||||
// Phase 3: Delta-Sync
|
||||
// Changed parameter name to 'since' to match SyncManager convention and backend controller
|
||||
suspend fun syncPings(since: Long): List<PingEvent>
|
||||
// Phase 3: Delta-Sync
|
||||
// Changed parameter name to 'since' to match SyncManager convention and backend controller
|
||||
suspend fun syncPings(since: Long): List<PingEvent>
|
||||
}
|
||||
|
||||
@@ -8,19 +8,19 @@ data class PingResponse(val status: String, val timestamp: String, val service:
|
||||
|
||||
@Serializable
|
||||
data class EnhancedPingResponse(
|
||||
val status: String,
|
||||
val timestamp: String,
|
||||
val service: String,
|
||||
val circuitBreakerState: String,
|
||||
val responseTime: Long
|
||||
val status: String,
|
||||
val timestamp: String,
|
||||
val service: String,
|
||||
val circuitBreakerState: String,
|
||||
val responseTime: Long
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class HealthResponse(
|
||||
val status: String,
|
||||
val timestamp: String,
|
||||
val service: String,
|
||||
val healthy: Boolean
|
||||
val status: String,
|
||||
val timestamp: String,
|
||||
val service: String,
|
||||
val healthy: Boolean
|
||||
)
|
||||
|
||||
/**
|
||||
@@ -31,6 +31,6 @@ data class PingEvent(
|
||||
// Using a String for the ID to be compatible with UUIDs from the backend.
|
||||
override val id: String,
|
||||
val message: String,
|
||||
// Using a Long for the timestamp, which can be derived from a UUIDv7.
|
||||
// Using along with the timestamp, which can be derived from a UUIDv7.
|
||||
override val lastModified: Long
|
||||
) : Syncable
|
||||
|
||||
Reference in New Issue
Block a user