Skip to content

Commit 93c9c0f

Browse files
committed
Added Hashable
1 parent 1067569 commit 93c9c0f

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

Sources/ScreenData/Objects/Destination.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct Destination: Codable {
1+
public struct Destination: Codable, Hashable {
22
public var type: DestinationType
33

44
public var toID: String

Sources/ScreenData/Objects/SomeColor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct SomeColor: Codable {
1+
public struct SomeColor: Codable, Hashable {
22
public var red: Int
33
public var green: Int
44
public var blue: Int

Sources/ScreenData/Objects/SomeStyle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct SomeStyle: Codable {
1+
public struct SomeStyle: Codable, Hashable {
22
public var isHidden: Bool
33
public var cornerRadius: Int
44

Sources/ScreenData/Objects/SomeView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct SomeView: Codable {
1+
public struct SomeView: Codable, Hashable {
22
public var type: ViewType
33

44
public var container: SomeContainerView?

Sources/ScreenData/Screens/SomeScreen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct SomeScreen: Codable {
1+
public struct SomeScreen: Codable, Hashable {
22
public var id: String?
33

44
public var title: String

Sources/ScreenData/Views/SomeButton.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct SomeButton: Codable {
1+
public struct SomeButton: Codable, Hashable {
22
public var id: String?
33

44
public var title: String

Sources/ScreenData/Views/SomeContainerView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct SomeContainerView: Codable {
1+
public struct SomeContainerView: Codable, Hashable {
22
public var id: String?
33

44
public var axis: ViewDirectionAxis

Sources/ScreenData/Views/SomeCustomView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct SomeCustomView: Codable {
1+
public struct SomeCustomView: Codable, Hashable {
22
public var id: String?
33

44
public var title: String

Sources/ScreenData/Views/SomeImage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct SomeImage: Codable {
1+
public struct SomeImage: Codable, Hashable {
22
public var id: String?
33

44
public var url: String

Sources/ScreenData/Views/SomeLabel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public struct SomeLabel: Codable {
1+
public struct SomeLabel: Codable, Hashable {
22
public var id: String?
33

44
public var title: String

0 commit comments

Comments
 (0)