mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 04:50:24 +00:00
📋 Add kind property to SearchResult
This commit is contained in:
parent
073ff08b87
commit
75d6d39bd3
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@ struct SearchResult: Decodable {
|
||||||
var bundleId: String
|
var bundleId: String
|
||||||
var currentVersionReleaseDate: String
|
var currentVersionReleaseDate: String
|
||||||
var fileSizeBytes: String?
|
var fileSizeBytes: String?
|
||||||
|
var kind: String
|
||||||
var minimumOsVersion: String
|
var minimumOsVersion: String
|
||||||
var price: Double?
|
var price: Double?
|
||||||
var sellerName: String
|
var sellerName: String
|
||||||
|
@ -23,6 +24,7 @@ struct SearchResult: Decodable {
|
||||||
bundleId: String = "",
|
bundleId: String = "",
|
||||||
currentVersionReleaseDate: String = "",
|
currentVersionReleaseDate: String = "",
|
||||||
fileSizeBytes: String = "0",
|
fileSizeBytes: String = "0",
|
||||||
|
kind: String = "",
|
||||||
minimumOsVersion: String = "",
|
minimumOsVersion: String = "",
|
||||||
price: Double = 0.0,
|
price: Double = 0.0,
|
||||||
sellerName: String = "",
|
sellerName: String = "",
|
||||||
|
@ -35,6 +37,7 @@ struct SearchResult: Decodable {
|
||||||
self.bundleId = bundleId
|
self.bundleId = bundleId
|
||||||
self.currentVersionReleaseDate = currentVersionReleaseDate
|
self.currentVersionReleaseDate = currentVersionReleaseDate
|
||||||
self.fileSizeBytes = fileSizeBytes
|
self.fileSizeBytes = fileSizeBytes
|
||||||
|
self.kind = kind
|
||||||
self.minimumOsVersion = minimumOsVersion
|
self.minimumOsVersion = minimumOsVersion
|
||||||
self.price = price
|
self.price = price
|
||||||
self.sellerName = sellerName
|
self.sellerName = sellerName
|
||||||
|
|
Loading…
Reference in a new issue