mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: add plugins settings i18n + typing
This commit is contained in:
@@ -59,7 +59,7 @@ export class BlockController extends BaseController<
|
||||
private readonly categoryService: CategoryService,
|
||||
private readonly labelService: LabelService,
|
||||
private readonly userService: UserService,
|
||||
private pluginsService: PluginService<BaseBlockPlugin>,
|
||||
private pluginsService: PluginService<BaseBlockPlugin<any>>,
|
||||
) {
|
||||
super(blockService);
|
||||
}
|
||||
@@ -122,8 +122,7 @@ export class BlockController extends BaseController<
|
||||
const plugins = this.pluginsService
|
||||
.getAllByType(PluginType.block)
|
||||
.map((p) => ({
|
||||
title: p.title,
|
||||
name: p.id,
|
||||
id: p.id,
|
||||
template: {
|
||||
...p.template,
|
||||
message: {
|
||||
|
||||
Reference in New Issue
Block a user