-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
113 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
app/src/commonMain/kotlin/it/vercruysse/lemmyapi/v0x19/datatypes/ListCommentLikes.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package it.vercruysse.lemmyapi.v0x19.datatypes | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class ListCommentLikes( | ||
val comment_id: CommentId, | ||
val page: Int? = null, | ||
val limit: Int? = null, | ||
) |
8 changes: 8 additions & 0 deletions
8
app/src/commonMain/kotlin/it/vercruysse/lemmyapi/v0x19/datatypes/ListCommentLikesResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package it.vercruysse.lemmyapi.v0x19.datatypes | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class ListCommentLikesResponse( | ||
val comment_likes: List<VoteView>, | ||
) |
10 changes: 10 additions & 0 deletions
10
app/src/commonMain/kotlin/it/vercruysse/lemmyapi/v0x19/datatypes/ListPostLikes.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package it.vercruysse.lemmyapi.v0x19.datatypes | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class ListPostLikes( | ||
val post_id: PostId, | ||
val page: Int? = null, | ||
val limit: Int? = null, | ||
) |
8 changes: 8 additions & 0 deletions
8
app/src/commonMain/kotlin/it/vercruysse/lemmyapi/v0x19/datatypes/ListPostLikesResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package it.vercruysse.lemmyapi.v0x19.datatypes | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class ListPostLikesResponse( | ||
val post_likes: List<VoteView>, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
app/src/commonMain/kotlin/it/vercruysse/lemmyapi/v0x19/datatypes/VoteView.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package it.vercruysse.lemmyapi.v0x19.datatypes | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class VoteView( | ||
val creator: Person, | ||
val score: Int, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters