Feature/Full File Uploads & Message Delete API (#3314)

* add functionality for full file uploads, add remove messages from view dialog and API

* add attachments swagger

* update question to include uploadedFilesContent

* make config dialog modal lg size
This commit is contained in:
Henry Heng
2024-10-23 11:00:46 +01:00
committed by GitHub
parent 116d02d0bc
commit 53e504c32f
31 changed files with 1012 additions and 193 deletions
+10
View File
@@ -0,0 +1,10 @@
import client from './client'
const createAttachment = (chatflowid, chatid, formData) =>
client.post(`/attachments/${chatflowid}/${chatid}`, formData, {
headers: { 'Content-Type': 'multipart/form-data' }
})
export default {
createAttachment
}