refactor: switch posts to barrel export
This commit is contained in:
47 files changed
+424
-528
No files matched your search
+10
-12
@@ -2,18 +2,16 @@ import { browser } from '$app/environment'
|
||||
import type { Community } from '$lib/client/types'
|
||||
|
||||
interface SessionStorage {
|
||||
lastSeenCommunity: Community | undefined
|
||||
postDraft:
|
||||
| {
|
||||
community: Community | null
|
||||
title: string
|
||||
body: string
|
||||
image: FileList | null
|
||||
url: string | undefined
|
||||
nsfw: boolean
|
||||
loading: boolean
|
||||
}
|
||||
| undefined
|
||||
lastSeenCommunity?: Community
|
||||
postDraft?: {
|
||||
community: Community | null
|
||||
title: string
|
||||
body: string
|
||||
image: FileList | null
|
||||
url?: string
|
||||
nsfw: boolean
|
||||
loading: boolean
|
||||
}
|
||||
}
|
||||
|
||||
export const setSessionStorage = (
|
||||
|
||||
Reference in new issue
Block a user