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