fix: Make Text a default field entity's type #678

This commit is contained in:
Artem Chepurnoy 2024-10-26 16:24:23 +03:00
parent 37ab3cd26e
commit 86e6000478
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import kotlinx.serialization.json.JsonNames
data class FieldEntity( data class FieldEntity(
@JsonNames("type") @JsonNames("type")
@SerialName("Type") @SerialName("Type")
val type: FieldTypeEntity, val type: FieldTypeEntity = FieldTypeEntity.Text,
@JsonNames("name") @JsonNames("name")
@SerialName("Name") @SerialName("Name")
val name: String? = null, val name: String? = null,