iOS: Diagramm-Einstellungen der Web-Karten beim Spiegeln uebernehmen
Die gespiegelte Web-Uebersicht ignorierte bisher die Karten-Props der Diagramme. Jetzt werden uebernommen: - Ablauf-Ring: 'Ohne MHD einbeziehen' (mit_ohne_mhd) - Kategorien-Ring: 'Detailansicht' (alle einzeln statt 'Uebrige') (detail) - Kategorien-Ring: 'Kategorie-Tiefe' (tiefe -> /by-category?depth=N) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -423,8 +423,9 @@ actor APIClient {
|
||||
try await send(try makeRequest("/dashboard/expiry-split"), as: ExpirySplit.self)
|
||||
}
|
||||
|
||||
func byCategory() async throws -> [CategoryShare] {
|
||||
try await send(try makeRequest("/dashboard/by-category"), as: [CategoryShare].self)
|
||||
func byCategory(depth: Int? = nil) async throws -> [CategoryShare] {
|
||||
let suffix = depth.map { "?depth=\($0)" } ?? ""
|
||||
return try await send(try makeRequest("/dashboard/by-category" + suffix), as: [CategoryShare].self)
|
||||
}
|
||||
|
||||
func timeline(days: Int, productId: Int? = nil) async throws -> [TimelinePoint] {
|
||||
|
||||
Reference in New Issue
Block a user