forked from Mirrors/elk
18 lines
480 B
Vue
18 lines
480 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
name: 'list',
|
|
})
|
|
|
|
const params = useRoute().params
|
|
const listId = computedEager(() => params.list as string)
|
|
|
|
const client = useMastoClient()
|
|
|
|
const paginator = client.v1.timelines.list.$select(listId.value).list()
|
|
const stream = useStreaming(client => client.list.subscribe({ list: listId.value }))
|
|
</script>
|
|
|
|
<template>
|
|
<TimelinePaginator v-bind="{ paginator, stream }" :preprocess="reorderedTimeline" context="home" />
|
|
</template>
|