refactor: ⬆️ Update @lysand-org/client to 0.2.0, use its types instead

This commit is contained in:
Jesse Wierzbinski 2024-06-19 13:57:38 -10:00
parent cd1fb48b68
commit 8a984abfb2
No known key found for this signature in database
75 changed files with 63 additions and 640 deletions

View file

@ -98,7 +98,7 @@
</template>
<script lang="ts" setup>
import type { Account } from "~/types/mastodon/account";
import type { Account } from "@lysand-org/client/types";
const props = defineProps<{
account?: Account;

View file

@ -11,14 +11,14 @@
<div class="font-semibold text-gray-200 line-clamp-1 break-all">
<Skeleton :enabled="!account" :min-width="90" :max-width="170" shape="rect">
{{
account?.display_name }}
account?.display_name }}
</Skeleton>
</div>
</div>
<span class="text-gray-400 text-sm line-clamp-1 break-all w-full">
<Skeleton :enabled="!account" :min-width="130" :max-width="250" shape="rect">
@{{
account?.acct
account?.acct
}}
</Skeleton>
</span>
@ -27,7 +27,7 @@
</template>
<script lang="ts" setup>
import type { Account } from "~/types/mastodon/account";
import type { Account } from "@lysand-org/client/types";
import { NuxtLink } from "#components";
const props = defineProps<{