refactor: switch posts to barrel export

This commit is contained in:
James Xylight committed 2025-09-07 10:20:04 -07:00
1 parent 0281e6f56a
commit bb30a86dc4
47 files changed
+424 -528

No files matched your search

@@ -1,15 +1,10 @@
<script lang="ts">
import {
bestImageURL,
postLink,
type MediaType,
} from '$lib/components/lemmy/post/helpers.js'
import { bestImageURL, postLink, type MediaType } from '..'
import { showImage } from '$lib/components/ui/ExpandableImage.svelte'
import { t } from '$lib/i18n/translations'
import { settings, type View } from '$lib/settings.svelte.js'
import type { Post } from '$lib/client/types'
import { modal } from 'mono-svelte'
import Button from 'mono-svelte/button/Button.svelte'
import { modal, Button } from 'mono-svelte'
import {
DocumentText,
ExclamationTriangle,