feat: enable reminders by default (#133)

This commit is contained in:
2026-06-14 22:38:26 +01:00
committed by GitHub
parent 6785503ff9
commit 9836d7499b
3 changed files with 17 additions and 5 deletions

View File

@@ -1,11 +1,16 @@
import { LocationSource } from "@freya/source-location"
import { ReminderSource } from "@freya/source-reminders"
import { WebSearchSource } from "@freya/source-web-search"
import type { Database } from "../db/index.ts"
import { userSources } from "../db/schema.ts"
export const DEFAULT_ENABLED_SOURCE_IDS = [LocationSource.id, WebSearchSource.id] as const
export const DEFAULT_ENABLED_SOURCE_IDS = [
LocationSource.id,
ReminderSource.id,
WebSearchSource.id,
] as const
export type DefaultEnabledSourceId = (typeof DEFAULT_ENABLED_SOURCE_IDS)[number]