diff --git a/index.js b/index.js index 1bb8cb9..5366eb8 100644 --- a/index.js +++ b/index.js @@ -2521,6 +2521,16 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { send({ type: 'worker-json-modal-opened' }) return true } + if (t === 'worker-release-json-modal-open') { + pushState() + send({ type: 'worker-release-json-modal-opened' }) + return true + } + if (t === 'integration-manifest-json-modal-open') { + pushState() + send({ type: 'integration-manifest-json-modal-opened' }) + return true + } if (t === 'sync-worker-release-json') { const out = await platform.pushWorkerReleaseJsonToMesh() pushState() @@ -2555,6 +2565,17 @@ async function dispatchUiMessage (platform, msg, hooks = {}) { } return true } + if (t === 'clear-integration-manifest-export-json') { + await platform.clearIntegrationManifestExportJsonExports() + pushState() + if (platform.mode === 'guild' && platform.activeChannelId) { + send({ + type: 'composer-focus-channel', + channelId: platform.activeChannelId + }) + } + return true + } if (t === 'bot-json-modal-open') { pushState() send({ type: 'bot-json-modal-opened' })