feat: add compiler and format class dir
This commit is contained in:
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,
|
||||
)
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package cn.rtast.fancybot.entity.kcs
|
||||
package cn.rtast.fancybot.entity.compiler
|
||||
|
||||
data class KCSPayload(
|
||||
val files: List<File>,
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
|
||||
package cn.rtast.fancybot.entity.kcs
|
||||
package cn.rtast.fancybot.entity.compiler
|
||||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
Reference in New Issue
Block a user