-
Notifications
You must be signed in to change notification settings - Fork 0
/
appConfigInput.ts
32 lines (31 loc) · 973 Bytes
/
appConfigInput.ts
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
import type { CeOptions, Spacing } from '.'
import type { I18nOptions } from 'vue-i18n'
import type { Typo3 } from '..'
export interface AppConfigInput {
breadcrumbs?: {
fullWidth?: boolean
currentTitle?:
| string
| ((pageData: Typo3.Page.Data) => string | undefined)
}
// config for content elements, type key has to match CType
contentElements?: {
[type: string]: CeOptions | undefined
}
// options from https://github.com/intlify/vue-i18n-next
i18n?: I18nOptions
// global file extension for images coming from typo3
// can be overwritten for specific content elements
imageFileExtension?: string
// language paths in addition to default language
languages?: string[]
spacing?: Spacing
theme?: {
backgroundColors: {
[theme: string]: {
[backgroundColorName: string]: string
}
}
default: string
}
}