feat: add compiler and format class dir

This commit is contained in:
2024-09-13 12:44:10 +08:00
parent d286613f01
commit 882a9f50ff
23 files changed
+128 -68

No files matched your search

@@ -0,0 +1,17 @@
/*
* Copyright © 2024 RTAkland
* Author: RTAkland
* Date: 2024/9/13
*/
package cn.rtast.fancybot.entity.compiler
data class GLOTPayload(
val files: List<File>
) {
data class File(
val content: String,
val name: String = "main"
)
}
@@ -0,0 +1,12 @@
/*
* Copyright © 2024 RTAkland
* Author: RTAkland
* Date: 2024/9/13
*/
package cn.rtast.fancybot.entity.compiler
data class GLOTResponse(
val stdout: String,
)
@@ -5,7 +5,7 @@
*/
package cn.rtast.fancybot.entity.kcs
package cn.rtast.fancybot.entity.compiler
data class KCSPayload(
val files: List<File>,
@@ -5,7 +5,7 @@
*/
package cn.rtast.fancybot.entity.kcs
package cn.rtast.fancybot.entity.compiler
import com.google.gson.annotations.SerializedName