start tidying up after schema->schema2 migration
This commit is contained in:
parent
448dd4a5b8
commit
8bf393f9c3
10 changed files with 507 additions and 499 deletions
|
|
@ -5,7 +5,6 @@ import dev.adamko.kafkatorio.schema.common.ColourHex
|
|||
import dev.adamko.kafkatorio.schema.common.MapTile
|
||||
import dev.adamko.kafkatorio.schema.common.toHex
|
||||
import dev.adamko.kafkatorio.schema.prototypes.FactorioPrototype2
|
||||
import dev.adamko.kafkatorio.schema.prototypes.MapTilePrototype
|
||||
import dev.adamko.kafkatorio.schema2.PrototypesUpdate
|
||||
import dev.adamko.kotka.extensions.materializedAs
|
||||
import dev.adamko.kotka.extensions.streams.filter
|
||||
|
|
@ -21,7 +20,6 @@ import org.apache.kafka.streams.kstream.KTable
|
|||
@JvmInline
|
||||
@Serializable
|
||||
value class TileProtoHashCode private constructor(val code: Int) {
|
||||
constructor(prototype: MapTilePrototype) : this(prototype.name.hashCode())
|
||||
constructor(tile: MapTile) : this(tile.proto.hashCode())
|
||||
constructor(tile: FactorioPrototype2.MapTile) : this(tile.name.hashCode())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue