fix: IO microservice (#38)
Build & Test (NowChessSystems) TeamCity build finished
Build & Push Native Image / check-actor (push) Has been cancelled
Build & Push Native Image / build-and-push (core) (push) Has been cancelled
Build & Push Native Image / build-and-push (io) (push) Has been cancelled
Build & Test (NowChessSystems) TeamCity build finished
Build & Push Native Image / check-actor (push) Has been cancelled
Build & Push Native Image / build-and-push (core) (push) Has been cancelled
Build & Push Native Image / build-and-push (io) (push) Has been cancelled
Reviewed-on: #38
This commit was merged in pull request #38.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package de.nowchess.api.dto
|
||||
|
||||
case class ImportFenRequest(fen: String)
|
||||
@@ -0,0 +1,3 @@
|
||||
package de.nowchess.api.dto
|
||||
|
||||
case class ImportPgnRequest(pgn: String)
|
||||
@@ -0,0 +1,6 @@
|
||||
package de.nowchess.api.io
|
||||
|
||||
import de.nowchess.api.game.GameContext
|
||||
|
||||
trait GameContextExport:
|
||||
def exportGameContext(context: GameContext): String
|
||||
@@ -0,0 +1,6 @@
|
||||
package de.nowchess.api.io
|
||||
|
||||
import de.nowchess.api.game.GameContext
|
||||
|
||||
trait GameContextImport:
|
||||
def importGameContext(input: String): Either[String, GameContext]
|
||||
Reference in New Issue
Block a user