// The project slugs used to narrow records. An empty set means every project.importFoundationpublicstructProjectScope: Equatable, Hashable, Sendable {/// The slugs in scope. Empty is every project.publiclet slugs: Set<String>publicinit(_ slugs: Set<String> = []) {self.slugs = slugs }/// Every project — the default, and the phone's only value.publicstaticlet all = ProjectScope()/// No narrowing at all.publicvar isAll: Bool { slugs.isEmpty }/// Whether `slug` is one of the chosen projects. Under `.all` nothing is/// "chosen", so this is false — the All row is what is lit.publicfunc contains(_ slug: String) -> Bool { slugs.contains(slug) }/// The slugs in a stable order, for a read's arguments and a row of chips.publicvar ordered: [String] { slugs.sorted() }}