* feat(subscriptions): add subscription atoms and types for feeds and rules * refactor(types): remove obsolete format/quality/codec fields and related logic to simplify download and avoid redundant storage * feat: add download_history schema, migration, and tag utils * refactor(dialog): convert to functional wrappers, simplify overlay and * feat(rss): add enclosure support, refine thumbnail lookup and UI labels feat(settings): add toggleable anonymous analytics collection and loader script * feat(settings): add toggleable anonymous analytics collection and loader script * feat(i18n): add subscriptions UI strings and import downloads types * refactor(subscriptions): remove legacy status fields and migrate items ordering * feat: add Radix HoverCard dependency and wrap tabs with HoverCard for * feat(db): move download history schema into migrate + drizzle config * feat(subscriptions): add item queueing UI and IPC handler * feat(downloads): normalize saved filenames, improve candidates and UI display
27 lines
997 B
TypeScript
27 lines
997 B
TypeScript
import { createServices, type MergeIpcService } from 'electron-ipc-decorator'
|
|
import { AppService } from './services/app-service'
|
|
import { DownloadService } from './services/download-service'
|
|
import { FileSystemService } from './services/file-system-service'
|
|
import { HistoryService } from './services/history-service'
|
|
import { SettingsService } from './services/settings-service'
|
|
import { SubscriptionService } from './services/subscription-service'
|
|
import { ThumbnailService } from './services/thumbnail-service'
|
|
import { UpdateService } from './services/update-service'
|
|
import { WindowService } from './services/window-service'
|
|
|
|
// Create services with automatic type inference
|
|
export const services = createServices([
|
|
AppService,
|
|
DownloadService,
|
|
FileSystemService,
|
|
HistoryService,
|
|
SettingsService,
|
|
SubscriptionService,
|
|
ThumbnailService,
|
|
UpdateService,
|
|
WindowService
|
|
])
|
|
|
|
// Generate type definition for all services
|
|
export type IpcServices = MergeIpcService<typeof services>
|