refactor: split auth.svelte.ts -> auth/profile.svelte.ts + auth/inbox.svelte.ts

This commit is contained in:
Xylight committed 2026-02-08 11:20:32 -08:00
1 parent 9d1d172924
commit 48fa25c285
95 files changed
+237 -225

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
import { goto } from '$app/navigation'
import { page } from '$app/state'
import { getClient } from '$lib/api/client.svelte'
import { profile } from '$lib/app/auth.svelte'
import { profile } from '$lib/app/auth'
import { t } from '$lib/app/i18n'
import { searchParam } from '$lib/app/util.svelte'
import Fixate from '$lib/ui/generic/Fixate.svelte'
+1 -1
View File
@@ -1,5 +1,5 @@
import { getClient } from '$lib/api/client.svelte'
import { profile } from '$lib/app/auth.svelte'
import { profile } from '$lib/app/auth'
import { ReactiveState } from '$lib/app/util.svelte'
import {
generalizeCommentReply,
+1 -1
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import { getClient } from '$lib/api/client.svelte'
import { profile } from '$lib/app/auth.svelte'
import { profile } from '$lib/app/auth'
import { t } from '$lib/app/i18n'
import Markdown from '$lib/app/markdown/Markdown.svelte'
import { escapeHtml } from '$lib/app/util.svelte'
+1 -1
View File
@@ -2,7 +2,7 @@
import { goto } from '$app/navigation'
import { resolveRoute } from '$app/paths'
import type { Person, PrivateMessageView } from '$lib/api/types'
import { profile } from '$lib/app/auth.svelte'
import { profile } from '$lib/app/auth'
import { t } from '$lib/app/i18n'
import UserAutocomplete from '$lib/feature/user/UserAutocomplete.svelte'
import Avatar from '$lib/ui/generic/Avatar.svelte'
@@ -2,7 +2,7 @@
import { browser } from '$app/environment'
import { client } from '$lib/api/client.svelte'
import type { PrivateMessageResponse } from '$lib/api/types'
import { profile } from '$lib/app/auth.svelte'
import { profile } from '$lib/app/auth'
import { errorMessage } from '$lib/app/error'
import { t } from '$lib/app/i18n'
import MarkdownEditor from '$lib/app/markdown/MarkdownEditor.svelte'