Files
Homarr/packages/server-settings/src/index.ts
homarr-renovate[bot] 17401d1d72 fix(deps): update dependency typescript-eslint to ^8.12.2 (#1381)
* 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>
2024-10-31 16:00:47 +01:00

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;