mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 17:00:54 +01:00
* feat: add server settings * feat: remove old migration * feat: add new migrations * refactor: format * fix: build error * refactor: format * fix: lint
17 lines
455 B
TypeScript
17 lines
455 B
TypeScript
export const defaultServerSettingsKeys = ["analytics"] as const;
|
|
|
|
export type ServerSettingsRecord = {
|
|
[key in (typeof defaultServerSettingsKeys)[number]]: Record<string, unknown>;
|
|
};
|
|
|
|
export const defaultServerSettings = {
|
|
analytics: {
|
|
enableGeneral: true,
|
|
enableWidgetData: false,
|
|
enableIntegrationData: false,
|
|
enableUserData: false,
|
|
},
|
|
} satisfies ServerSettingsRecord;
|
|
|
|
export type ServerSettings = typeof defaultServerSettings;
|