fix(desktop): corrigir formato do path das funcoes Convex
- Usar formato "module.js:function" exigido pelo Convex self-hosted - checkMachineUpdates, listMachineMessages, postMachineMessage, etc. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
0a55c2e66c
commit
d2108ce16b
1 changed files with 6 additions and 5 deletions
|
|
@ -39,11 +39,12 @@ type MessagesPayload = {
|
|||
hasSession: boolean
|
||||
}
|
||||
|
||||
const FN_CHECK_UPDATES = "liveChat.checkMachineUpdates" as const
|
||||
const FN_LIST_MESSAGES = "liveChat.listMachineMessages" as const
|
||||
const FN_POST_MESSAGE = "liveChat.postMachineMessage" as const
|
||||
const FN_MARK_READ = "liveChat.markMachineMessagesRead" as const
|
||||
const FN_UPLOAD_URL = "liveChat.generateMachineUploadUrl" as const
|
||||
// Convex self-hosted exige o formato "module.js:function"
|
||||
const FN_CHECK_UPDATES = "liveChat.js:checkMachineUpdates" as const
|
||||
const FN_LIST_MESSAGES = "liveChat.js:listMachineMessages" as const
|
||||
const FN_POST_MESSAGE = "liveChat.js:postMachineMessage" as const
|
||||
const FN_MARK_READ = "liveChat.js:markMachineMessagesRead" as const
|
||||
const FN_UPLOAD_URL = "liveChat.js:generateMachineUploadUrl" as const
|
||||
|
||||
async function loadStore(): Promise<MachineStoreData> {
|
||||
const appData = await appLocalDataDir()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue