|
2 | 2 | // Copyright © 2021 Tinder (Match Group, LLC)
|
3 | 3 | //
|
4 | 4 |
|
| 5 | +// swiftlint:disable file_length |
| 6 | + |
5 | 7 | // swiftlint:disable:next type_body_length
|
6 | 8 | public struct NodeStencilContext: StencilContext {
|
7 | 9 |
|
@@ -47,6 +49,7 @@ public struct NodeStencilContext: StencilContext {
|
47 | 49 | private let contextGenericTypes: [String]
|
48 | 50 | private let workerGenericTypes: [String]
|
49 | 51 | private let storePrefix: String
|
| 52 | + private let storePropertyWrapper: String |
50 | 53 | private let isPreviewProviderEnabled: Bool
|
51 | 54 | private let isPeripheryCommentEnabled: Bool
|
52 | 55 | private let isNimbleEnabled: Bool
|
@@ -96,6 +99,7 @@ public struct NodeStencilContext: StencilContext {
|
96 | 99 | "context_generic_types": contextGenericTypes,
|
97 | 100 | "worker_generic_types": workerGenericTypes,
|
98 | 101 | "store_prefix": storePrefix,
|
| 102 | + "store_property_wrapper": storePropertyWrapper, |
99 | 103 | "is_preview_provider_enabled": isPreviewProviderEnabled,
|
100 | 104 | "is_periphery_comment_enabled": isPeripheryCommentEnabled,
|
101 | 105 | "is_nimble_enabled": isNimbleEnabled
|
@@ -146,6 +150,7 @@ public struct NodeStencilContext: StencilContext {
|
146 | 150 | contextGenericTypes: [String],
|
147 | 151 | workerGenericTypes: [String],
|
148 | 152 | storePrefix: String,
|
| 153 | + storePropertyWrapper: String, |
149 | 154 | isPreviewProviderEnabled: Bool,
|
150 | 155 | isPeripheryCommentEnabled: Bool,
|
151 | 156 | isNimbleEnabled: Bool
|
@@ -194,12 +199,14 @@ public struct NodeStencilContext: StencilContext {
|
194 | 199 | contextGenericTypes: contextGenericTypes,
|
195 | 200 | workerGenericTypes: workerGenericTypes,
|
196 | 201 | storePrefix: storePrefix,
|
| 202 | + storePropertyWrapper: storePropertyWrapper, |
197 | 203 | isPreviewProviderEnabled: isPreviewProviderEnabled,
|
198 | 204 | isPeripheryCommentEnabled: isPeripheryCommentEnabled,
|
199 | 205 | isNimbleEnabled: isNimbleEnabled
|
200 | 206 | )
|
201 | 207 | }
|
202 | 208 |
|
| 209 | + // swiftlint:disable:next function_body_length |
203 | 210 | public init(
|
204 | 211 | preset: Preset,
|
205 | 212 | fileHeader: String,
|
@@ -238,6 +245,7 @@ public struct NodeStencilContext: StencilContext {
|
238 | 245 | contextGenericTypes: [String],
|
239 | 246 | workerGenericTypes: [String],
|
240 | 247 | storePrefix: String,
|
| 248 | + storePropertyWrapper: String, |
241 | 249 | isPreviewProviderEnabled: Bool,
|
242 | 250 | isPeripheryCommentEnabled: Bool,
|
243 | 251 | isNimbleEnabled: Bool
|
@@ -288,6 +296,7 @@ public struct NodeStencilContext: StencilContext {
|
288 | 296 | contextGenericTypes: contextGenericTypes,
|
289 | 297 | workerGenericTypes: workerGenericTypes,
|
290 | 298 | storePrefix: storePrefix,
|
| 299 | + storePropertyWrapper: storePropertyWrapper, |
291 | 300 | isPreviewProviderEnabled: isPreviewProviderEnabled,
|
292 | 301 | isPeripheryCommentEnabled: isPeripheryCommentEnabled,
|
293 | 302 | isNimbleEnabled: isNimbleEnabled
|
@@ -338,6 +347,7 @@ public struct NodeStencilContext: StencilContext {
|
338 | 347 | contextGenericTypes: [String],
|
339 | 348 | workerGenericTypes: [String],
|
340 | 349 | storePrefix: String,
|
| 350 | + storePropertyWrapper: String, |
341 | 351 | isPreviewProviderEnabled: Bool,
|
342 | 352 | isPeripheryCommentEnabled: Bool,
|
343 | 353 | isNimbleEnabled: Bool
|
@@ -386,8 +396,11 @@ public struct NodeStencilContext: StencilContext {
|
386 | 396 | self.contextGenericTypes = contextGenericTypes
|
387 | 397 | self.workerGenericTypes = workerGenericTypes
|
388 | 398 | self.storePrefix = storePrefix
|
| 399 | + self.storePropertyWrapper = storePropertyWrapper |
389 | 400 | self.isPreviewProviderEnabled = isPreviewProviderEnabled
|
390 | 401 | self.isPeripheryCommentEnabled = isPeripheryCommentEnabled
|
391 | 402 | self.isNimbleEnabled = isNimbleEnabled
|
392 | 403 | }
|
393 | 404 | }
|
| 405 | + |
| 406 | +// swiftlint:enable file_length |
0 commit comments