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