d3ro-voice/apps/desktop/src/main/ipc/index.ts
Yun Chan eedd127ea7
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 1m13s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Failing after 1m4s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 37s
ci / .NET API 서버 테스트 (push) Successful in 27s
deploy-site / deploy (push) Failing after 20s
refactor(billing): remove Stripe; payments are Payple (web) and Google Play (mobile)
Stripe is not used. Keeping its checkout, portal and webhook paths meant a
second payment provider, a second return-URL format and dead UI.

- Delete the stripe-checkout, stripe-portal and stripe-webhook functions and
  their config; billing-catalog serves Payple prices only, and the web parser
  rejects a catalog that still mixes in Stripe prices.
- Web: drop the Stripe checkout/portal buttons, provider toggle and return
  notices; billing shows Payple only. Past rows with provider='stripe' are
  still displayed ("Stripe (종료)") with a support contact instead of a portal.
- Desktop: delete the Stripe checkout modal, payment IPC channels, preload
  namespace and their types; "Remove ads with Pro" opens the web billing page
  via license.openBilling. Support/refund copy names Payple.
- billingUrl() loses the Stripe-only success/canceled result option; the
  Deno contract is regenerated.
- Migrations and the DB's accepted provider values are untouched (history).
- Docs and the backlog record the removal (MON-04, EXT-STRIPE-01, GAP-BILL-03).

Verified: typecheck (desktop/web/admin/api-client/mobile), contract:check,
deno check all functions, deno test 80/80, desktop 1478/1480 on the Electron
runtime (2 known environment failures), web and admin builds, release
metadata and mobile boundary self-tests, eslint on changed files.
2026-09-26 20:56:18 +09:00

69 lines
3 KiB
TypeScript

// src/main/ipc/index.ts — IPC 핸들러 일괄 등록
import { registerAudioHandlers } from './audio-handlers'
import { registerConfigHandlers } from './config-handlers'
import { registerWindowHandlers } from './window-handlers'
import { registerSystemHandlers } from './system-handlers'
import { registerVoiceHandlers } from './voice-handlers'
import { registerSTTHandlers } from './stt-handlers'
import { registerKeyBindingHandlers } from './keybinding-handlers'
import { registerLLMHandlers } from './llm-handlers'
import { registerHistoryHandlers } from './history-handlers'
import { registerDictionaryHandlers } from './dictionary-handlers'
import { registerInstructionHandlers } from './instruction-handlers'
import { registerMemoHandlers } from './memo-handlers'
import { registerVoiceCommandHandlers } from './voice-command-handlers'
import { registerContextHandlers } from './context-handlers'
import { registerCaptionHandlers } from './caption-handlers'
import { registerChainHandlers } from './chain-handlers'
import { registerLicenseHandlers } from './license-handlers'
import { registerFileTranscriptionHandlers } from './file-transcription-handlers'
import { registerMeetingSummaryHandlers } from './meeting-summary-handlers'
import { registerTemplateHandlers } from './template-handlers'
import { registerVoiceConversationHandlers } from './voice-conversation-handlers'
import { registerRAGHandlers } from './rag-handlers'
import { registerVoiceActionHandlers } from './voice-action-handlers'
import { registerMeetingModeHandlers } from './meeting-mode-handlers'
import { registerMeetingDocTemplateHandlers } from './meeting-doc-template-handlers'
import { registerCloudSyncHandlers } from './cloud-sync-handlers'
import { registerAdsHandlers } from './ads-handlers'
import { registerSupportHandlers } from './support-handlers'
import { registerInputTelemetryHandlers } from './input-telemetry-handlers'
import { registerSuggestionHandlers } from './suggestion-handlers'
import { getLogger } from '../services/LoggerService'
const logger = getLogger('ipc')
export function registerAllIpcHandlers(): void {
registerAudioHandlers()
registerConfigHandlers()
registerWindowHandlers()
registerSystemHandlers()
registerVoiceHandlers()
registerSTTHandlers()
registerKeyBindingHandlers()
registerLLMHandlers()
registerHistoryHandlers()
registerDictionaryHandlers()
registerInstructionHandlers()
registerMemoHandlers()
registerVoiceCommandHandlers()
registerContextHandlers()
registerCaptionHandlers()
registerChainHandlers()
registerLicenseHandlers()
registerFileTranscriptionHandlers()
registerMeetingSummaryHandlers()
registerTemplateHandlers()
registerVoiceConversationHandlers()
registerRAGHandlers()
registerVoiceActionHandlers()
registerMeetingModeHandlers()
registerMeetingDocTemplateHandlers()
registerCloudSyncHandlers()
registerAdsHandlers()
registerSupportHandlers()
registerInputTelemetryHandlers()
registerSuggestionHandlers()
logger.info('All IPC handlers registered')
}