このコミットが含まれているのは:
2026-07-04 19:50:40 +09:00
コミット 4cc2dc5441
10個のファイルの変更542行の追加293行の削除
+4 -2
ファイルの表示
@@ -2,6 +2,7 @@ import { apiGet, apiPatch } from '@/lib/api'
import type { FetchPostsOrder } from '@/types'
// DB-backed user settings. These are shared across browsers for the same user.
export type UserPostListOrder =
| 'title_asc'
| 'title_desc'
@@ -20,7 +21,7 @@ export type UserSettings = {
fontSize: 'small' | 'normal' | 'large'
postListLimit: 20 | 50 | 100
postListOrder: UserPostListOrder
viewedPostDisplay: 'show' | 'dim' | 'hide'
viewedPostDisplay: 'show' | 'dim'
tagAutocompleteNico: boolean
autoFetchTitle: 'auto' | 'manual' | 'off'
autoFetchThumbnail: 'auto' | 'manual' | 'off'
@@ -31,6 +32,7 @@ export type TheatreTagFlow = 'vertical' | 'horizontal'
export type GekanatorBackgroundMotionMode = 'on' | 'calm' | 'off'
export type ClientPaneBreakpoint = 'desktop' | 'tablet'
// Browser-local settings. These stay in localStorage and are never synced to DB.
type ClientPaneSettings = {
widthPxByBreakpoint?: Partial<Record<ClientPaneBreakpoint, number>>
collapsed?: boolean }
@@ -77,7 +79,7 @@ export const POST_LIST_ORDER_OPTIONS = [
'updated_at_asc',
'updated_at_desc',
] as const
export const VIEWED_POST_DISPLAY_OPTIONS = ['show', 'dim', 'hide'] as const
export const VIEWED_POST_DISPLAY_OPTIONS = ['show', 'dim'] as const
export const AUTO_FETCH_OPTIONS = ['auto', 'manual', 'off'] as const
export const WIKI_EDITOR_MODE_OPTIONS = ['split', 'write', 'preview'] as const