0761bbd8c1
LST-68 (2.6) front. Completes the Integration module and Phase 2. - New frontend/modules/integration/ layer (auto-detected): services (gitea, bookstack, zimbra, share, share-settings) + their DTOs, and the useShareStatus composable. - Consumers repointed to ~/modules/integration/...: admin tabs (Gitea/BookStack/Zimbra/Share), PM task sections (TaskGitSection, TaskBookStackLinks, TaskDocumentShareLinker), ProjectDrawer, TaskModal, pages/documents.vue, components/share/SharedFilePreview.vue. - Admin tabs, SharedFilePreview and documents/admin pages stay at their location (only imports updated). i18n stays global. nuxt build passes; all routes preserved.
43 lines
740 B
TypeScript
43 lines
740 B
TypeScript
export type BookStackSettings = {
|
|
url: string | null
|
|
hasToken: boolean
|
|
}
|
|
|
|
export type BookStackSettingsWrite = {
|
|
url: string | null
|
|
tokenId: string | null
|
|
tokenSecret: string | null
|
|
}
|
|
|
|
export type BookStackTestResult = {
|
|
success: boolean
|
|
}
|
|
|
|
export type BookStackShelf = {
|
|
id: number
|
|
name: string
|
|
}
|
|
|
|
export type BookStackLink = {
|
|
id: number
|
|
bookstackId: number
|
|
bookstackType: 'page' | 'book'
|
|
title: string
|
|
url: string
|
|
createdAt: string
|
|
}
|
|
|
|
export type BookStackLinkCreate = {
|
|
bookstackId: number
|
|
bookstackType: 'page' | 'book'
|
|
title: string
|
|
url: string
|
|
}
|
|
|
|
export type BookStackSearchResult = {
|
|
id: number
|
|
type: 'page' | 'book'
|
|
name: string
|
|
url: string
|
|
}
|