@@ -64,6 +64,7 @@ public struct SendableItemMetadata: ItemMetadata, Sendable {
6464 public var downloaded : Bool
6565 public var uploaded : Bool
6666 public var keepDownloaded : Bool
67+ public var visitedDirectory : Bool
6768 public var trashbinFileName : String
6869 public var trashbinOriginalLocation : String
6970 public var trashbinDeletionTime : Date
@@ -91,12 +92,12 @@ public struct SendableItemMetadata: ItemMetadata, Sendable {
9192 fileId: String ,
9293 fileName: String ,
9394 fileNameView: String ,
94- hasPreview: Bool ,
95+ hasPreview: Bool = false ,
9596 hidden: Bool = false ,
96- iconName: String ,
97+ iconName: String = " " ,
9798 iconUrl: String = " " ,
9899 livePhotoFile: String ? = nil ,
99- mountType: String ,
100+ mountType: String = " " ,
100101 name: String = " " ,
101102 note: String = " " ,
102103 ownerId: String ,
@@ -127,6 +128,7 @@ public struct SendableItemMetadata: ItemMetadata, Sendable {
127128 downloaded: Bool = false ,
128129 uploaded: Bool = false ,
129130 keepDownloaded: Bool = false ,
131+ visitedDirectory: Bool = false ,
130132 trashbinFileName: String = " " ,
131133 trashbinOriginalLocation: String = " " ,
132134 trashbinDeletionTime: Date = Date ( ) ,
@@ -189,6 +191,7 @@ public struct SendableItemMetadata: ItemMetadata, Sendable {
189191 self . downloaded = downloaded
190192 self . uploaded = uploaded
191193 self . keepDownloaded = keepDownloaded
194+ self . visitedDirectory = visitedDirectory
192195 self . trashbinFileName = trashbinFileName
193196 self . trashbinOriginalLocation = trashbinOriginalLocation
194197 self . trashbinDeletionTime = trashbinDeletionTime
@@ -252,6 +255,7 @@ public struct SendableItemMetadata: ItemMetadata, Sendable {
252255 self . downloaded = value. downloaded
253256 self . uploaded = value. uploaded
254257 self . keepDownloaded = value. keepDownloaded
258+ self . visitedDirectory = value. visitedDirectory
255259 self . tags = value. tags
256260 self . trashbinFileName = value. trashbinFileName
257261 self . trashbinOriginalLocation = value. trashbinOriginalLocation
0 commit comments