Skip to content

Commit

Permalink
Merge branch 'next-minor' into fix/fixed-search-field-management-endp…
Browse files Browse the repository at this point in the history
…oints
  • Loading branch information
valtimo-platform[bot] authored Dec 19, 2024
2 parents 3de9758 + 53bc101 commit 03adf2e
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ class FormFlowTaskOpenResultProperties(
val formFlowInstanceId: UUID,
val formDisplayType: FormDisplayType? = null,
val formSize: FormSizes? = null,
val subtitles: List<String> = emptyList(),
val subtitles: List<String>? = null,
)
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class FormFlowProcessLink(
activityType: ActivityTypeWithEventName,

@Type(value = JsonType::class)
@Column(name = "subtitles", columnDefinition = "JSON")
val subtitles: List<String> = listOf(),
@Column(name = "subtitles", columnDefinition = "JSON", nullable = true)
val subtitles: List<String>? = null,

@Column(name = "form_flow_definition_id", nullable = false)
val formFlowDefinitionId: String,
Expand Down Expand Up @@ -78,7 +78,7 @@ class FormFlowProcessLink(
formFlowDefinitionId: String = this.formFlowDefinitionId,
formDisplayType: FormDisplayType = this.formDisplayType,
formSize: FormSizes = this.formSize,
subtitles: List<String> = this.subtitles,
subtitles: List<String>? = this.subtitles,
) = FormFlowProcessLink(
id = id,
processDefinitionId = processDefinitionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data class FormFlowProcessLinkDeployDto(
val formFlowDefinitionId: String,
val formDisplayType: FormDisplayType = FormDisplayType.modal,
val formSize: FormSizes = FormSizes.medium,
val subtitles: List<String> = emptyList(),
val subtitles: List<String>?
) : ProcessLinkDeployDto {
override val processLinkType: String
get() = PROCESS_LINK_TYPE_FORM_FLOW
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data class FormFlowProcessLinkCreateRequestDto(
val formFlowDefinitionId: String,
val formDisplayType: FormDisplayType? = FormDisplayType.modal,
val formSize: FormSizes? = FormSizes.medium,
val subtitles: List<String>? = emptyList(),
val subtitles: List<String>? = null
) : ProcessLinkCreateRequestDto {
override val processLinkType: String
get() = PROCESS_LINK_TYPE_FORM_FLOW
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ data class FormFlowProcessLinkExportResponseDto(
val formFlowDefinitionId: String,
val formDisplayType: FormDisplayType,
val formSize: FormSizes,
val subtitles: List<String> = emptyList(),
val subtitles: List<String>? = null
) : ProcessLinkExportResponseDto {
override val processLinkType: String
get() = PROCESS_LINK_TYPE_FORM_FLOW
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ data class FormFlowProcessLinkResponseDto(
val formFlowDefinitionId: String,
val formDisplayType: FormDisplayType,
val formSize: FormSizes,
val subtitles: List<String> = emptyList(),
val subtitles: List<String>? = null
) : ProcessLinkResponseDto
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ data class FormFlowProcessLinkUpdateRequestDto(
val formFlowDefinitionId: String,
val formDisplayType: FormDisplayType? = FormDisplayType.modal,
val formSize: FormSizes? = FormSizes.medium,
val subtitles: List<String>? = emptyList(),
val subtitles: List<String>? = null
) : ProcessLinkUpdateRequestDto {
override val processLinkType: String
get() = PROCESS_LINK_TYPE_FORM_FLOW
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class FormProcessLink(
activityType: ActivityTypeWithEventName,

@Type(value = JsonType::class)
@Column(name = "subtitles", columnDefinition = "JSON")
val subtitles: List<String> = listOf(),
@Column(name = "subtitles", columnDefinition = "JSON", nullable = true)
val subtitles: List<String>? = null,

@Column(name = "form_definition_id")
val formDefinitionId: UUID,
Expand Down Expand Up @@ -81,7 +81,7 @@ class FormProcessLink(
viewModelEnabled: Boolean = this.viewModelEnabled,
formDisplayType: FormDisplayType = this.formDisplayType,
formSize: FormSizes = this.formSize,
subtitles: List<String> = this.subtitles,
subtitles: List<String>? = this.subtitles,
) = FormProcessLink(
id = id,
processDefinitionId = processDefinitionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ data class FormTaskOpenResultProperties(
val prefilledForm: JsonNode,
val formDisplayType: FormDisplayType? = null,
val formSize: FormSizes? = null,
val subtitles: List<String> = emptyList(),
val subtitles: List<String>? = null
)
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class FormProcessLinkMapper(
viewModelEnabled = createRequestDto.viewModelEnabled ?: false,
formDisplayType = createRequestDto.formDisplayType ?: FormDisplayType.modal,
formSize = createRequestDto.formSize ?: FormSizes.medium,
subtitles = createRequestDto.subtitles ?: emptyList(),
subtitles = createRequestDto.subtitles,
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ data class FormProcessLinkDeployDto(
val viewModelEnabled: Boolean = false,
val formDisplayType: FormDisplayType = FormDisplayType.modal,
val formSize: FormSizes = FormSizes.medium,
val subtitles: List<String> = emptyList(),
val subtitles: List<String>?
) : ProcessLinkDeployDto {
override val processLinkType: String
get() = PROCESS_LINK_TYPE_FORM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ data class FormProcessLinkCreateRequestDto(
val viewModelEnabled: Boolean? = false,
val formDisplayType: FormDisplayType? = FormDisplayType.modal,
val formSize: FormSizes? = FormSizes.medium,
val subtitles: List<String>? = emptyList(),
val subtitles: List<String>? = null
) : ProcessLinkCreateRequestDto {
override val processLinkType: String
get() = PROCESS_LINK_TYPE_FORM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data class FormProcessLinkExportResponseDto(
val viewModelEnabled: Boolean,
val formDisplayType: FormDisplayType,
val formSize: FormSizes,
val subtitles: List<String>
val subtitles: List<String>? = null
) : ProcessLinkExportResponseDto {
override val processLinkType: String
get() = PROCESS_LINK_TYPE_FORM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ data class FormProcessLinkResponseDto(
val viewModelEnabled: Boolean,
val formDisplayType: FormDisplayType,
val formSize: FormSizes,
val subtitles: List<String>
val subtitles: List<String>? = null
) : ProcessLinkResponseDto
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ data class FormProcessLinkUpdateRequestDto(
val viewModelEnabled: Boolean? = false,
val formDisplayType: FormDisplayType? = FormDisplayType.modal,
val formSize: FormSizes? = FormSizes.medium,
val subtitles: List<String>? = emptyList(),
val subtitles: List<String>? = null
) : ProcessLinkUpdateRequestDto {
override val processLinkType: String
get() = PROCESS_LINK_TYPE_FORM
Expand Down

0 comments on commit 03adf2e

Please sign in to comment.