2022-11-13 19:05:32 +03:00
|
|
|
<script setup lang="ts">
|
|
|
|
const props = defineProps<{
|
|
|
|
modelValue?: boolean
|
|
|
|
}>()
|
|
|
|
|
|
|
|
const params = useRoute().params
|
2022-11-15 15:08:49 +03:00
|
|
|
const user = $computed(() => params.user as string)
|
2022-11-15 06:26:52 +03:00
|
|
|
const masto = await useMasto()
|
2022-11-15 15:08:49 +03:00
|
|
|
const { data: account } = await useAsyncData(`${user}:info`, () => masto.accounts.lookup({ acct: user }))
|
2022-11-15 16:00:28 +03:00
|
|
|
const paginator = masto.accounts.getStatusesIterable(account.value!.id!, {})
|
2022-11-13 19:05:32 +03:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div>
|
2022-11-15 06:26:52 +03:00
|
|
|
<AccountHeader :account="account" />
|
2022-11-13 19:05:32 +03:00
|
|
|
</div>
|
2022-11-15 16:00:28 +03:00
|
|
|
<TimelinePaginator :paginator="paginator" />
|
2022-11-13 19:05:32 +03:00
|
|
|
</template>
|