2023-02-02 21:02:39 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
definePageMeta({
|
|
|
|
name: 'list',
|
|
|
|
})
|
|
|
|
|
|
|
|
const params = useRoute().params
|
2024-02-21 15:20:08 +00:00
|
|
|
const listId = computedEager(() => params.list as string)
|
2023-02-02 21:02:39 +00:00
|
|
|
|
|
|
|
const client = useMastoClient()
|
|
|
|
|
2024-02-21 15:20:08 +00:00
|
|
|
const paginator = client.v1.timelines.list.$select(listId.value).list()
|
|
|
|
const stream = useStreaming(client => client.list.subscribe({ list: listId.value }))
|
2023-02-02 21:02:39 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<TimelinePaginator v-bind="{ paginator, stream }" :preprocess="reorderedTimeline" context="home" />
|
|
|
|
</template>
|