mirror of
https://github.com/ajnart/homarr.git
synced 2026-03-06 12:21:06 +01:00
* fix(deps): update dependency typescript-eslint to ^8.12.2 * fix: lint issues --------- Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
21 lines
595 B
TypeScript
21 lines
595 B
TypeScript
export const defaultServerSettingsKeys = ["analytics", "crawlingAndIndexing"] as const;
|
|
|
|
export type ServerSettingsRecord = Record<(typeof defaultServerSettingsKeys)[number], Record<string, unknown>>;
|
|
|
|
export const defaultServerSettings = {
|
|
analytics: {
|
|
enableGeneral: true,
|
|
enableWidgetData: false,
|
|
enableIntegrationData: false,
|
|
enableUserData: false,
|
|
},
|
|
crawlingAndIndexing: {
|
|
noIndex: true,
|
|
noFollow: true,
|
|
noTranslate: true,
|
|
noSiteLinksSearchBox: false,
|
|
},
|
|
} satisfies ServerSettingsRecord;
|
|
|
|
export type ServerSettings = typeof defaultServerSettings;
|