Skip to content

Commit fe18ea4

Browse files
authored
[Local catalog] Follow criteria for syncs (#16281)
2 parents fdc5938 + bc226bc commit fe18ea4

File tree

39 files changed

+843
-553
lines changed

39 files changed

+843
-553
lines changed

Modules/Sources/Codegen/Sourcery/Copiable/Models+Copiable.swifttemplate

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ let specsToGenerate: [CopiableSpec] = matchingTypes.map { type in
205205
import <%= module %>
206206
<% } -%>
207207

208+
// swiftlint:disable line_length
208209
<% for copiableSpec in specsToGenerate { -%>
209210

210211
extension <%= copiableSpec.name %> {
@@ -231,3 +232,5 @@ extension <%= copiableSpec.name %> {
231232
}
232233
}
233234
<% } -%>
235+
236+
// swiftlint:enable line_length

Modules/Sources/Codegen/Sourcery/Fakes/Fakes.swifttemplate

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ import Networking
9797
import Hardware
9898
import WooFoundation
9999

100+
// swiftlint:disable line_length
101+
100102
<% for spec in specsToGenerate { -%>
101103
extension <%= spec.name -%> {
102104
/// Returns a "ready to use" type filled with fake values.
@@ -115,3 +117,5 @@ extension <%= spec.name -%> {
115117
}
116118
<% } -%>
117119
<% } -%>
120+
121+
// swiftlint:enable line_length

Modules/Sources/Fakes/Hardware.generated.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import Networking
66
import Hardware
77
import WooFoundation
88

9+
// swiftlint:disable line_length
10+
911
extension Hardware.CardBrand {
1012
/// Returns a "ready to use" type filled with fake values.
1113
///
@@ -97,3 +99,5 @@ extension Hardware.PaymentMethod {
9799
.card
98100
}
99101
}
102+
103+
// swiftlint:enable line_length

Modules/Sources/Fakes/Networking.generated.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import Networking
66
import Hardware
77
import WooFoundation
88

9+
// swiftlint:disable line_length
10+
911
extension Networking.AIProduct {
1012
/// Returns a "ready to use" type filled with fake values.
1113
///
@@ -2611,3 +2613,5 @@ extension Networking.WordPressTheme {
26112613
)
26122614
}
26132615
}
2616+
2617+
// swiftlint:enable line_length

Modules/Sources/Fakes/NetworkingCore.generated.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import Networking
66
import Hardware
77
import WooFoundation
88

9+
// swiftlint:disable line_length
10+
911
extension NetworkingCore.Account {
1012
/// Returns a "ready to use" type filled with fake values.
1113
///
@@ -593,3 +595,5 @@ extension NetworkingCore.User {
593595
)
594596
}
595597
}
598+
599+
// swiftlint:enable line_length

Modules/Sources/Fakes/WooFoundation.generated.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
// DO NOT EDIT
33

44
// Currently empty because none of the given sources conforms to GeneratedFakeable
5+
6+
// swiftlint:enable line_length

Modules/Sources/Fakes/WooFoundationCore.generated.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ import Networking
66
import Hardware
77
import WooFoundation
88

9+
// swiftlint:disable line_length
10+
911
extension WooFoundationCore.CurrencyCode {
1012
/// Returns a "ready to use" type filled with fake values.
1113
///
1214
public static func fake() -> WooFoundationCore.CurrencyCode {
1315
.AED
1416
}
1517
}
18+
19+
// swiftlint:enable line_length

Modules/Sources/Fakes/Yosemite.generated.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import Networking
66
import Hardware
77
import WooFoundation
88

9+
// swiftlint:disable line_length
10+
911
extension Yosemite.JustInTimeMessage {
1012
/// Returns a "ready to use" type filled with fake values.
1113
///
@@ -99,3 +101,5 @@ extension Yosemite.WooPaymentsPayoutsOverviewByCurrency {
99101
)
100102
}
101103
}
104+
105+
// swiftlint:enable line_length

Modules/Sources/Hardware/Model/Copiable/Models+Copiable.generated.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Codegen
44
import Foundation
55
import UIKit
66

7+
// swiftlint:disable line_length
78

89
extension Hardware.CardPresentReceiptParameters {
910
public func copy(
@@ -94,3 +95,5 @@ extension Hardware.PaymentIntent {
9495
)
9596
}
9697
}
98+
99+
// swiftlint:enable line_length

Modules/Sources/Networking/Model/Copiable/Models+Copiable.generated.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import WooFoundation
77
import struct Alamofire.JSONEncoding
88
import struct NetworkingCore.JetpackSite
99

10+
// swiftlint:disable line_length
1011

1112
extension Networking.AIProduct {
1213
public func copy(
@@ -3970,3 +3971,5 @@ extension Networking.WordPressTheme {
39703971
)
39713972
}
39723973
}
3974+
3975+
// swiftlint:enable line_length

0 commit comments

Comments
 (0)