refactor: manually write like 3,000 import statements because i must test my willpower

This commit is contained in:
Xylight committed 2025-09-24 21:19:19 -07:00
1 parent 75f907743e
commit 0479aba095
274 files changed
+1222 -1702

No files matched your search

+3 -3
View File
@@ -1,4 +1,3 @@
import { publishedToDate } from '$comp/util/date.js'
import type {
CommentReportView,
CommentView,
@@ -7,7 +6,8 @@ import type {
PostView,
PrivateMessage,
PrivateMessageReportView,
} from '$lib/client/types'
} from '$lib/api/types'
import { publishedToDate } from '$lib/ui/util/date'
interface CommentReport {
type: 'comment'
@@ -47,7 +47,7 @@ export const generalizeCommentReport = (
creator: report.comment_creator,
banned_from_community: false,
},
reason: report.comment_report.reason,
reason: report.comment_report.reason!,
type: 'comment',
timestamp: publishedToDate(report.comment_report.published),
resolved: report.comment_report.resolved,