feat: add datasource category handling in marketplace list condition

This commit is contained in:
WTW0313 2025-09-04 16:05:29 +08:00
parent ebeb17ec96
commit a6b0071ca0
1 changed files with 3 additions and 0 deletions

View File

@ -117,6 +117,9 @@ export const getMarketplaceListCondition = (pluginType: string) => {
if (pluginType === PluginType.extension)
return 'category=endpoint'
if (pluginType === PluginType.datasource)
return 'category=datasource'
if (pluginType === 'bundle')
return 'type=bundle'