From d12548c5f8235fec8b9563adb25f052c9b678874 Mon Sep 17 00:00:00 2001 From: Brady Date: Tue, 23 Apr 2024 10:03:24 -0230 Subject: Backend: Add ContributorManager (#1519) --- .../skyhanni/data/jsonobjects/repo/ContributorListJson.java | 10 ---------- .../skyhanni/data/jsonobjects/repo/ContributorsJson.kt | 12 ++++++++++++ 2 files changed, 12 insertions(+), 10 deletions(-) delete mode 100644 src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorListJson.java create mode 100644 src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorsJson.kt (limited to 'src/main/java/at/hannibal2/skyhanni/data') diff --git a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorListJson.java b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorListJson.java deleted file mode 100644 index 8ea6d8ef6..000000000 --- a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorListJson.java +++ /dev/null @@ -1,10 +0,0 @@ -package at.hannibal2.skyhanni.data.jsonobjects.repo; - -import com.google.gson.annotations.Expose; - -import java.util.List; - -public class ContributorListJson { - @Expose - public List usernames; -} diff --git a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorsJson.kt b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorsJson.kt new file mode 100644 index 000000000..7857da85a --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorsJson.kt @@ -0,0 +1,12 @@ +package at.hannibal2.skyhanni.data.jsonobjects.repo + +import com.google.gson.annotations.Expose + +data class ContributorsJson( + @Expose val contributors: Map +) + +data class ContributorJsonEntry( + @Expose val suffix: String = "§c:O", + @Expose val spinny: Boolean = false +) -- cgit