yangxikun opened a new issue #2150:
URL: https://github.com/apache/apisix-dashboard/issues/2150
# Feature request
## Please describe your feature
We can define `type` in APISIX plugins:
```lua
local _M = {
version = 0.1,
priority = 37, -- lx-rate-limit 之后执行
type = "traffic",
name = plugin_name,
schema = schema,
}
```
But the `type` not used by dashboard frontend:

## Describe the solution you'd like
```ts
const typedData = data.data.map((item) => ({
...item,
type: PLUGIN_LIST[item.name]?.type || item.type ?? 'other',
hidden: PLUGIN_LIST[item.name]?.hidden || false,
}));
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]