Implemented phase 4 for the POC prototype in the Website service.
This commit is contained in:
1 parent
95e0a455e8
commit
9403931109
42 files changed
+3407
-36
No files matched your search
@@ -14,7 +14,9 @@ extension Listing {
|
||||
keyNotes: String? = nil,
|
||||
priceCents: Int = 24_000,
|
||||
acceptsOffers: Bool = true,
|
||||
soldAt: Date? = nil
|
||||
soldAt: Date? = nil,
|
||||
defects: [String] = [],
|
||||
photos: [String] = []
|
||||
) -> Self {
|
||||
.init(
|
||||
slug: slug, shop: shop, title: title, seriesTitle: "Nightward (2019 series)", issueLabel: "#1",
|
||||
@@ -25,7 +27,9 @@ extension Listing {
|
||||
acceptsOffers: acceptsOffers,
|
||||
cover: .init(tone: "navy", title: "NIGHT\nWARD", imprint: "MERIDIAN", number: "1"),
|
||||
listedAt: .init(timeIntervalSince1970: 0),
|
||||
soldAt: soldAt
|
||||
soldAt: soldAt,
|
||||
defects: defects,
|
||||
photos: photos
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user