mirror of
https://github.com/ajnart/homarr.git
synced 2026-05-06 08:36:00 +02:00
✨ Add new types for integration configuration
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { ConfigType } from '../../types/config';
|
||||
import { BackendConfigType } from '../../types/config';
|
||||
|
||||
export const getFallbackConfig = (name?: string): ConfigType => ({
|
||||
export const getFallbackConfig = (name?: string): BackendConfigType => ({
|
||||
schemaVersion: '1.0.0',
|
||||
configProperties: {
|
||||
name: name ?? 'default',
|
||||
@@ -12,7 +12,12 @@ export const getFallbackConfig = (name?: string): ConfigType => ({
|
||||
common: {
|
||||
searchEngine: {
|
||||
type: 'google',
|
||||
properties: {
|
||||
enabled: true,
|
||||
openInNewTab: true,
|
||||
},
|
||||
},
|
||||
defaultConfig: 'default',
|
||||
},
|
||||
customization: {
|
||||
colors: {},
|
||||
|
||||
Reference in New Issue
Block a user