mirror of
https://github.com/metabolist/metatext.git
synced 2024-09-27 14:00:05 +00:00
13 lines
349 B
Swift
13 lines
349 B
Swift
// Copyright © 2021 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
public struct CollectionSection: Hashable {
|
|
public let items: [CollectionItem]
|
|
public let searchScope: SearchScope?
|
|
|
|
public init(items: [CollectionItem], searchScope: SearchScope? = nil) {
|
|
self.items = items
|
|
self.searchScope = searchScope
|
|
}
|
|
}
|