mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 13:00:56 +03:00
Feature: Custom Templates (#3169)
* New Feature: Custom Templates in the marketplace. * New Feature: Custom Templates in the marketplace. * Custom Template Delete and Shortcut in the dropdown menu * auto detect framework * minor ui fixes * adding custom template feature for tools * ui tool dialog save template --------- Co-authored-by: Henry <hzj94@hotmail.com>
This commit is contained in:
@@ -4,8 +4,16 @@ const getAllChatflowsMarketplaces = () => client.get('/marketplaces/chatflows')
|
||||
const getAllToolsMarketplaces = () => client.get('/marketplaces/tools')
|
||||
const getAllTemplatesFromMarketplaces = () => client.get('/marketplaces/templates')
|
||||
|
||||
const getAllCustomTemplates = () => client.get('/marketplaces/custom')
|
||||
const saveAsCustomTemplate = (body) => client.post('/marketplaces/custom', body)
|
||||
const deleteCustomTemplate = (id) => client.delete(`/marketplaces/custom/${id}`)
|
||||
|
||||
export default {
|
||||
getAllChatflowsMarketplaces,
|
||||
getAllToolsMarketplaces,
|
||||
getAllTemplatesFromMarketplaces
|
||||
getAllTemplatesFromMarketplaces,
|
||||
|
||||
getAllCustomTemplates,
|
||||
saveAsCustomTemplate,
|
||||
deleteCustomTemplate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user