Skip to content

Commit

Permalink
Make PersonalizationJSON properties immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Dec 15, 2024
1 parent 30c1872 commit ce8ada5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Passes/DTOs/PersonalizationJSON.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ public struct PersonalizationJSON: Codable, Sendable {
/// The contents of this array define the data requested from the user.
///
/// The signup form’s fields are generated based on these keys.
var requiredPersonalizationFields: [PersonalizationField]
let requiredPersonalizationFields: [PersonalizationField]

/// A brief description of the program.
///
/// This is displayed on the signup sheet, under the personalization logo.
var description: String
let description: String

/// A description of the program’s terms and conditions.
///
/// This string can contain HTML link tags to external content.
///
/// If present, this information is displayed after the user enters their personal information and taps the Next button.
/// The user then has the option to agree to the terms, or to cancel out of the signup process.
var termsAndConditions: String?
let termsAndConditions: String?

/// Initializes a new ``PersonalizationJSON`` instance.
///
Expand Down

0 comments on commit ce8ada5

Please sign in to comment.