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

@@ -1,10 +1,14 @@
<script lang="ts">
import Avatar from '$lib/ui/generic/Avatar.svelte'
import { Button } from 'mono-svelte'
import { ArrowUturnDown, Icon, QuestionMarkCircle } from 'svelte-hero-icons'
import type { HTMLButtonAttributes } from 'svelte/elements'
import Avatar from '../../Avatar.svelte'
import type { Action } from './actions.svelte'
import type { Snippet } from 'svelte'
import {
ArrowUturnDown,
Icon,
QuestionMarkCircle,
} from 'svelte-hero-icons/dist'
import type { HTMLButtonAttributes } from 'svelte/elements'
import type { Action } from './actions.svelte'
interface Props {
action: Action
+6 -6
View File
@@ -4,15 +4,15 @@
import { page } from '$app/state'
import { profile } from '$lib/app/auth.svelte'
import { t } from '$lib/app/i18n'
import { resumables } from '$lib/lemmy/item'
import { theme } from '$lib/app/theme/theme.svelte'
import { fuzzySearch } from '$lib/util.svelte'
import { fuzzySearch } from '$lib/app/util.svelte'
import { resumables } from '$lib/feature/legacy/item'
import { CommonList } from '$lib/ui/layout'
import EndPlaceholder from '$lib/ui/layout/EndPlaceholder.svelte'
import { TextInput } from 'mono-svelte'
import { createEventDispatcher, onMount } from 'svelte'
import { Home, Icon, MagnifyingGlass } from 'svelte-hero-icons'
import EndPlaceholder from '../../EndPlaceholder.svelte'
import CommonList from '../../layout/CommonList.svelte'
import { getGroups, type Action, type Group } from './actions.svelte'
import { Home, Icon, MagnifyingGlass } from 'svelte-hero-icons/dist'
import { type Action, type Group, getGroups } from './actions.svelte'
import CommandItem from './CommandItem.svelte'
interface Props {
+6 -6
View File
@@ -4,12 +4,12 @@ import {
profile as currentProfile,
type ProfileInfo,
} from '$lib/app/auth.svelte'
import { amModOfAny, isAdmin } from '$comp/lemmy/moderation/moderation'
import { t } from '$lib/app/i18n/translations'
import { type ResumableItem } from '$lib/lemmy/item'
import { settings } from '$lib/settings.svelte'
import { t } from '$lib/app/i18n'
import { settings } from '$lib/app/settings.svelte'
import { theme, type ThemeData } from '$lib/app/theme/theme.svelte'
import { fullCommunityName } from '$lib/util.svelte'
import { fullCommunityName } from '$lib/app/util.svelte'
import type { ResumableItem } from '$lib/feature/legacy/item'
import { amModOfAny, isAdmin } from '$lib/feature/moderation/moderation'
import {
ArrowRightOnRectangle,
ArrowTrendingDown,
@@ -44,7 +44,7 @@ import {
UserGroup,
ViewColumns,
type IconSource,
} from 'svelte-hero-icons'
} from '@xylightdev/svelte-hero-icons'
import { SvelteURL } from 'svelte/reactivity'
export interface Group {