-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed60bbe
commit ec8ddfa
Showing
15 changed files
with
77 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
BVSwift/BVConversations/Display/Fields/Types/BVFormatStats.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// | ||
// | ||
// BVFormatStats.swift | ||
// BVSwift | ||
// | ||
// Copyright © 2025 Bazaarvoice. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
internal struct BVFormatStats: BVQueryField { | ||
|
||
private let value: CustomStringConvertible | ||
|
||
var internalDescription: String { | ||
return BVConversationsConstants.BVReviewSummary.Keys.formatType | ||
} | ||
|
||
var representedValue: CustomStringConvertible { | ||
return value | ||
} | ||
|
||
var description: String { | ||
return internalDescription | ||
} | ||
|
||
init(_ _value: BVFormatStatsType) { | ||
value = _value.representedValue | ||
} | ||
} | ||
|
||
public enum BVFormatStatsType: Int { | ||
|
||
case bullet | ||
case paragraph | ||
|
||
public var representedValue: CustomStringConvertible { | ||
switch self { | ||
case .bullet: | ||
return BVConversationsConstants.BVReviewSummary.Keys.bullet | ||
case .paragraph: | ||
return BVConversationsConstants.BVReviewSummary.Keys.paragraph | ||
} | ||
} | ||
} |
78 changes: 0 additions & 78 deletions
78
BVSwift/BVConversations/Display/Fields/Types/BVReviewSummaryFormatFilter.swift
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
BVSwift/BVConversations/Display/Fields/Types/BVReviewSummaryFormatStats.swift
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters