Voice Chat Server

Server-side handlers for voice call log persistence

Overview

@zooly/voice-chat-srv is a server-side package providing API handlers for creating and updating voice call logs. It resolves the account from auth cookies and delegates to @zooly/app-db.

Package Details

  • Package Name: @zooly/voice-chat-srv
  • Location: packages/voice-chat/srv
  • Type: Server-side API handler library

Dependencies

  • @zooly/app-db — Database access layer
  • @zooly/types — Shared types
  • @zooly/util — Auth utilities (getVerifiedUserInfo)

Exports

  • createVoiceCallLogHandler(cookieHeader, agentId) — Creates a voice call log
  • updateVoiceCallLogHandler(id, voiceCallMessages) — Updates voice call messages

Further Reading

See the Voice Chat section for the database schema, API contracts, and integration guide.