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