mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: display translatable settings only in translations UI
This commit is contained in:
@@ -24,7 +24,9 @@ export interface CustomBlocks {}
|
||||
|
||||
type BlockAttrs = Partial<BlockCreateDto> & { name: string };
|
||||
|
||||
export type PluginSetting = Omit<SettingCreateDto, 'weight'>;
|
||||
export type PluginSetting = Omit<SettingCreateDto, 'weight'> & {
|
||||
translatable?: boolean;
|
||||
};
|
||||
|
||||
export type PluginBlockTemplate = Omit<
|
||||
BlockAttrs,
|
||||
|
||||
Reference in New Issue
Block a user