mirror of https://github.com/usbharu/Hideout.git
Merge remote-tracking branch 'origin/repository-test' into repository-test
This commit is contained in:
commit
e67eb788a7
|
@ -8,6 +8,4 @@ class MastodonReadTimeline(
|
||||||
val localOnly: Boolean,
|
val localOnly: Boolean,
|
||||||
val remoteOnly: Boolean,
|
val remoteOnly: Boolean,
|
||||||
val page: Page
|
val page: Page
|
||||||
) {
|
)
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
@ -38,7 +38,8 @@ class MastodonReadTimelineApplicationService(
|
||||||
|
|
||||||
val readTimeline = timelineStore.readTimeline(timeline, readTimelineOption, command.page, principal)
|
val readTimeline = timelineStore.readTimeline(timeline, readTimelineOption, command.page, principal)
|
||||||
|
|
||||||
return PaginationList(readTimeline.map {
|
return PaginationList(
|
||||||
|
readTimeline.map {
|
||||||
Status(
|
Status(
|
||||||
it.postId.id.toString(),
|
it.postId.id.toString(),
|
||||||
it.post.url.toString(),
|
it.post.url.toString(),
|
||||||
|
@ -103,7 +104,10 @@ class MastodonReadTimelineApplicationService(
|
||||||
pinned = false,
|
pinned = false,
|
||||||
filtered = emptyList(),
|
filtered = emptyList(),
|
||||||
)
|
)
|
||||||
}, readTimeline.next?.id, readTimeline.prev?.id)
|
},
|
||||||
|
readTimeline.next?.id,
|
||||||
|
readTimeline.prev?.id
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|
|
@ -67,7 +67,8 @@ class SpringTimelineApi(
|
||||||
minId?.toLongOrNull(),
|
minId?.toLongOrNull(),
|
||||||
limit
|
limit
|
||||||
)
|
)
|
||||||
), principal
|
),
|
||||||
|
principal
|
||||||
).asFlow()
|
).asFlow()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@ jackson-module-kotlin = { module = "com.fasterxml.jackson.module:jackson-module-
|
||||||
|
|
||||||
blurhash = { module = "io.trbl:blurhash", version = "1.0.0" }
|
blurhash = { module = "io.trbl:blurhash", version = "1.0.0" }
|
||||||
|
|
||||||
aws-s3 = { module = "software.amazon.awssdk:s3", version = "2.27.21" }
|
aws-s3 = { module = "software.amazon.awssdk:s3", version = "2.27.22" }
|
||||||
|
|
||||||
jsoup = { module = "org.jsoup:jsoup", version = "1.18.1" }
|
jsoup = { module = "org.jsoup:jsoup", version = "1.18.1" }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue