stage3: add image uploads
This commit is contained in:
11 files changed
+124
-57
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { profile, type ProfileInfo } from '$lib/auth.svelte.js'
|
||||
import { DEFAULT_CLIENT_TYPE } from '$lib/client/lemmy.svelte'
|
||||
import { DEFAULT_CLIENT_TYPE } from '$lib/client/base'
|
||||
import CommonList from '$lib/components/ui/layout/CommonList.svelte'
|
||||
import Header from '$lib/components/ui/layout/pages/Header.svelte'
|
||||
import DebugObject from '$lib/components/util/debug/DebugObject.svelte'
|
||||
|
||||
@@ -4,13 +4,7 @@
|
||||
import { goto } from '$app/navigation'
|
||||
import { page } from '$app/state'
|
||||
import { profile } from '$lib/auth.svelte'
|
||||
import {
|
||||
client,
|
||||
DEFAULT_CLIENT_TYPE,
|
||||
mayBeIncompatible,
|
||||
site,
|
||||
type ClientType,
|
||||
} from '$lib/client/lemmy.svelte'
|
||||
import { client, mayBeIncompatible, site } from '$lib/client/lemmy.svelte'
|
||||
import ErrorContainer, {
|
||||
clearErrorScope,
|
||||
pushError,
|
||||
@@ -31,6 +25,7 @@
|
||||
QuestionMarkCircle,
|
||||
UserCircle,
|
||||
} from 'svelte-hero-icons'
|
||||
import { DEFAULT_CLIENT_TYPE, type ClientType } from '$lib/client/base'
|
||||
|
||||
interface Props {
|
||||
ref?: string
|
||||
|
||||
@@ -6,16 +6,13 @@
|
||||
import Header from '$lib/components/ui/layout/pages/Header.svelte'
|
||||
import { t } from '$lib/i18n/translations'
|
||||
import { LINKED_INSTANCE_URL } from '$lib/instance.svelte'
|
||||
import {
|
||||
DEFAULT_CLIENT_TYPE,
|
||||
mayBeIncompatible,
|
||||
type ClientType,
|
||||
} from '$lib/client/lemmy.svelte'
|
||||
import { mayBeIncompatible } from '$lib/client/lemmy.svelte'
|
||||
import { site, validateInstance } from '$lib/client/lemmy.svelte'
|
||||
import { DOMAIN_REGEX_FORMS } from '$lib/util.svelte'
|
||||
import { MINIMUM_VERSION } from '$lib/version'
|
||||
import { Button, Note, Option, Select, TextInput, toast } from 'mono-svelte'
|
||||
import { profile } from '$lib/auth.svelte'
|
||||
import { DEFAULT_CLIENT_TYPE, type ClientType } from '$lib/client/base'
|
||||
|
||||
interface Props {
|
||||
ref?: string
|
||||
|
||||
Reference in new issue
Block a user