2023-03-04 14:08:39 +01:00
|
|
|
//
|
|
|
|
// https://mczachurski.dev
|
|
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
|
|
|
// Licensed under the MIT License.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
public class PhotoUrl: ObservableObject, Identifiable {
|
|
|
|
public var id: String
|
2023-03-04 15:22:42 +01:00
|
|
|
|
|
|
|
@Published public var statusId: String?
|
2023-03-04 14:08:39 +01:00
|
|
|
@Published public var url: URL?
|
|
|
|
@Published public var blurhash: String?
|
|
|
|
|
|
|
|
init(id: String) {
|
|
|
|
self.id = id
|
|
|
|
}
|
|
|
|
}
|