blob: 4ef608ec2bdb15958e3add109bfa10b5462bc8d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import Vue from 'vue'
import Setup from './views/Setup.vue'
type Error = {
error: string
hint: string
}
export type DbType = 'sqlite' | 'mysql' | 'pgsql' | 'oci'
export type SetupConfig = {
adminlogin: string
adminpass: string
directory: string
dbuser: string
dbpass: string
dbname: string
dbtablespace: string
dbhost: string
dbtype: DbType | ''
databases: Partial<Record<DbType, string>>
hasAutoconfig: boolean
htaccessWorking: boolean
serverRoot: string
errors: string[]|Error[]
}
export type SetupLinks = {
adminInstall: string
adminSourceInstall: string
adminDBConfiguration: string
}
const SetupVue = Vue.extend(Setup)
new SetupVue().$mount('#content')
|