Better handling of Nutriments

This commit is contained in:
cdricms
2025-09-13 11:25:35 +02:00
parent 04d0d47320
commit 9469a0aff2
37 changed files with 1765 additions and 1440 deletions

View File

@@ -0,0 +1,13 @@
public struct ProductResponse: Codable, ObjectDebugger {
public var product: Product?
public var code: String?
public var status: Int? // or Bool, depending on your needs
public var statusVerbose: String?
private enum CodingKeys: String, CodingKey {
case product
case code
case status
case statusVerbose = "status_verbose"
}
}