diff --git a/README.md b/README.md index 11d4674..a82a962 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,12 @@ mvn compile ## Release 📦 -See [.github/workflows/maven-release.yml](.github/workflows/maven-relevase.yml) +See [.github/workflows/maven-release.yml](.github/workflows/maven-release.yml) + +> [!NOTE] +> To perform a release, go to https://github.com/elimu-ai/model/actions/workflows/maven-release.yml, and press "Run workflow." + +![Run workflow](https://github.com/elimu-ai/wiki/assets/1451036/5bbfe03f-724c-4582-bc3c-411b763316db) --- diff --git a/src/main/java/ai/elimu/model/v2/gson/crowdsource/AudioContributionEventGson.java b/src/main/java/ai/elimu/model/v2/gson/crowdsource/AudioContributionEventGson.java deleted file mode 100644 index 98281e5..0000000 --- a/src/main/java/ai/elimu/model/v2/gson/crowdsource/AudioContributionEventGson.java +++ /dev/null @@ -1,41 +0,0 @@ -package ai.elimu.model.v2.gson.crowdsource; - -import ai.elimu.model.v2.gson.BaseEntityGson; -import ai.elimu.model.v2.gson.content.AudioGson; -import java.util.Calendar; - -/** - * For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model - */ -public class AudioContributionEventGson extends BaseEntityGson { - - private AudioGson audio; - - private String comment; - - private Calendar time; - - public String getComment() { - return comment; - } - - public Calendar getTime() { - return time; - } - - public AudioGson getAudio() { - return audio; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public void setTime(Calendar time) { - this.time = time; - } - - public void setAudio(AudioGson audio) { - this.audio = audio; - } -} diff --git a/src/main/java/ai/elimu/model/v2/gson/crowdsource/AudioPeerReviewEventGson.java b/src/main/java/ai/elimu/model/v2/gson/crowdsource/AudioPeerReviewEventGson.java deleted file mode 100644 index bd3fd11..0000000 --- a/src/main/java/ai/elimu/model/v2/gson/crowdsource/AudioPeerReviewEventGson.java +++ /dev/null @@ -1,50 +0,0 @@ -package ai.elimu.model.v2.gson.crowdsource; - -import ai.elimu.model.v2.gson.BaseEntityGson; -import java.util.Calendar; - -/** - * For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model - */ -public class AudioPeerReviewEventGson extends BaseEntityGson { - - private AudioContributionEventGson audioContributionEvent; - - private Boolean approved; - - private String comment; - - private Calendar time; - - public AudioContributionEventGson getAudioContributionEvent() { - return audioContributionEvent; - } - - public void setAudioContributionEvent(AudioContributionEventGson audioContributionEvent) { - this.audioContributionEvent = audioContributionEvent; - } - - public Boolean isApproved() { - return approved; - } - - public void setApproved(Boolean approved) { - this.approved = approved; - } - - public String getComment() { - return comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public Calendar getTime() { - return time; - } - - public void setTime(Calendar time) { - this.time = time; - } -} diff --git a/src/main/java/ai/elimu/model/v2/gson/crowdsource/NumberContributionEventGson.java b/src/main/java/ai/elimu/model/v2/gson/crowdsource/NumberContributionEventGson.java deleted file mode 100644 index 19722d6..0000000 --- a/src/main/java/ai/elimu/model/v2/gson/crowdsource/NumberContributionEventGson.java +++ /dev/null @@ -1,41 +0,0 @@ -package ai.elimu.model.v2.gson.crowdsource; - -import ai.elimu.model.v2.gson.BaseEntityGson; -import ai.elimu.model.v2.gson.content.NumberGson; -import java.util.Calendar; - -/** - * For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model - */ -public class NumberContributionEventGson extends BaseEntityGson { - - private NumberGson number; - - private String comment; - - private Calendar time; - - public NumberGson getNumber() { - return number; - } - - public void setNumber(NumberGson number) { - this.number = number; - } - - public String getComment() { - return comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public Calendar getTime() { - return time; - } - - public void setTime(Calendar time) { - this.time = time; - } -} diff --git a/src/main/java/ai/elimu/model/v2/gson/crowdsource/NumberPeerReviewEventGson.java b/src/main/java/ai/elimu/model/v2/gson/crowdsource/NumberPeerReviewEventGson.java deleted file mode 100644 index d690f5a..0000000 --- a/src/main/java/ai/elimu/model/v2/gson/crowdsource/NumberPeerReviewEventGson.java +++ /dev/null @@ -1,50 +0,0 @@ -package ai.elimu.model.v2.gson.crowdsource; - -import ai.elimu.model.v2.gson.BaseEntityGson; -import java.util.Calendar; - -/** - * For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model - */ -public class NumberPeerReviewEventGson extends BaseEntityGson { - - private NumberContributionEventGson numberContributionEvent; - - private Boolean approved; - - private String comment; - - private Calendar time; - - public NumberContributionEventGson getNumberContributionEvent() { - return numberContributionEvent; - } - - public void setNumberContributionEvent(NumberContributionEventGson numberContributionEvent) { - this.numberContributionEvent = numberContributionEvent; - } - - public Boolean isApproved() { - return approved; - } - - public void setApproved(Boolean approved) { - this.approved = approved; - } - - public String getComment() { - return comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public Calendar getTime() { - return time; - } - - public void setTime(Calendar time) { - this.time = time; - } -} diff --git a/src/main/java/ai/elimu/model/v2/gson/crowdsource/WordContributionEventGson.java b/src/main/java/ai/elimu/model/v2/gson/crowdsource/WordContributionEventGson.java deleted file mode 100644 index d32a04b..0000000 --- a/src/main/java/ai/elimu/model/v2/gson/crowdsource/WordContributionEventGson.java +++ /dev/null @@ -1,41 +0,0 @@ -package ai.elimu.model.v2.gson.crowdsource; - -import ai.elimu.model.v2.gson.BaseEntityGson; -import ai.elimu.model.v2.gson.content.WordGson; -import java.util.Calendar; - -/** - * For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model - */ -public class WordContributionEventGson extends BaseEntityGson { - - private WordGson word; - - private String comment; - - private Calendar time; - - public String getComment() { - return comment; - } - - public Calendar getTime() { - return time; - } - - public WordGson getWord() { - return word; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public void setTime(Calendar time) { - this.time = time; - } - - public void setWord(WordGson word) { - this.word = word; - } -} diff --git a/src/main/java/ai/elimu/model/v2/gson/crowdsource/WordPeerReviewEventGson.java b/src/main/java/ai/elimu/model/v2/gson/crowdsource/WordPeerReviewEventGson.java deleted file mode 100644 index fa66dd0..0000000 --- a/src/main/java/ai/elimu/model/v2/gson/crowdsource/WordPeerReviewEventGson.java +++ /dev/null @@ -1,50 +0,0 @@ -package ai.elimu.model.v2.gson.crowdsource; - -import ai.elimu.model.v2.gson.BaseEntityGson; -import java.util.Calendar; - -/** - * For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model - */ -public class WordPeerReviewEventGson extends BaseEntityGson { - - private WordContributionEventGson wordContributionEvent; - - private Boolean approved; - - private String comment; - - private Calendar time; - - public WordContributionEventGson getWordContributionEvent() { - return wordContributionEvent; - } - - public void setWordContributionEvent(WordContributionEventGson wordContributionEvent) { - this.wordContributionEvent = wordContributionEvent; - } - - public Boolean isApproved() { - return approved; - } - - public void setApproved(Boolean approved) { - this.approved = approved; - } - - public String getComment() { - return comment; - } - - public void setComment(String comment) { - this.comment = comment; - } - - public Calendar getTime() { - return time; - } - - public void setTime(Calendar time) { - this.time = time; - } -}