docs: API documentation and JSON schema updates

This commit is contained in:
Björn Blomberg
2026-04-10 18:31:38 +02:00
parent 887669c34f
commit c8b63bf8c4
11 changed files with 342 additions and 34 deletions

View File

@@ -5,6 +5,7 @@ import { gql } from '@/lib/gql'
import { useAppStore } from '@/stores/app'
import { useThemeStore } from '@/stores/theme'
import ThemeToggle from '@/components/layout/ThemeToggle.vue'
import FolderPicker from '@/components/FolderPicker.vue'
const router = useRouter()
const app = useAppStore()
@@ -143,7 +144,7 @@ async function submit() {
<label class="label">Storage path
<span class="text-xs font-normal text-slate-400 ml-1">(where .adoc files are stored)</span>
</label>
<input v-model="form.storagePath" class="input" placeholder="/data/wiki" />
<FolderPicker v-model="form.storagePath" placeholder="/data/wiki" />
</div>
<div>
@@ -336,3 +337,4 @@ async function submit() {
.fade-y-enter-active, .fade-y-leave-active { transition: opacity 0.2s, transform 0.2s; }
.fade-y-enter-from, .fade-y-leave-to { opacity: 0; transform: translateY(-4px); }
</style>