Skip to content

Commit

Permalink
Merge pull request #389 from GSM-MSG/feature/388-exception-placeholder
Browse files Browse the repository at this point in the history
placeHolder로 되어있던거 placeholder로 변경
  • Loading branch information
Huuuunee authored Jul 6, 2024
2 parents 3a2f273 + a52737a commit 1473697
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import team.msg.sms.domain.authentication.model.FieldType

data class CreateAuthenticationFieldRequestData(
val description: String?,
val placeHolder: String?,
val placeholder: String?,
val fieldType: FieldType,
val selectorSectionName: List<String>
)
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ data class AuthenticationSectionFieldResponseData(
val fieldType: FieldType,
val scoreDescription: String?,
val values: List<AuthenticationSelectorValueResponseData>?,
val example: String?
val placeholder: String?
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import java.util.UUID
data class AuthenticationField(
val id: UUID,
val description: String?,
val placeHolder: String?,
val placeholder: String?,
val groupId: UUID,
val fieldInputType: FieldType,
val sort: Int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class CreateAuthenticationFormUseCase(
AuthenticationField(
id = UUID.randomUUID(),
description = fieldData.description,
placeHolder = fieldData.placeHolder,
placeholder = fieldData.placeholder,
groupId = groupId,
fieldInputType = fieldData.fieldType,
sort = index
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class QueryAuthenticationFormUseCase(
AuthenticationSectionFieldResponseData(
fieldId = field.id,
scoreDescription = field.description,
example = field.placeHolder,
placeholder = field.placeholder,
fieldType = field.fieldInputType,
values = buildSelectorValues(field.fieldInputType, selectorSectionValues, field.id)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AuthenticationFieldJpaEntity(
@Column(columnDefinition = "BINARY(16)", nullable = false)
val groupId: UUID,

val placeHolder: String?,
val placeholder: String?,

@Enumerated(EnumType.STRING)
val fieldInputType: FieldType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fun AuthenticationFieldJpaEntity.toDomain() =
AuthenticationField(
id = id,
description = description,
placeHolder = placeHolder,
placeholder = placeholder,
groupId = groupId,
fieldInputType = fieldInputType,
sort = sort
Expand All @@ -17,7 +17,7 @@ fun AuthenticationField.toEntity() =
AuthenticationFieldJpaEntity(
id = id,
description = description,
placeHolder = placeHolder,
placeholder = placeholder,
groupId = groupId,
fieldInputType = fieldInputType,
sort = sort
Expand Down

0 comments on commit 1473697

Please sign in to comment.