fix: display translatable settings only in translations UI

This commit is contained in:
abdou6666
2024-11-22 11:25:50 +01:00
parent 2d4b00b9c0
commit c655026386
9 changed files with 149 additions and 23 deletions

View File

@@ -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,