MSP-6930 Add /schema/update_by_module_name endpoint

This commit is contained in:
Синельник Тимур Романович committed 2025-12-18 12:12:22 +03:00
1 parent 8101f9a8c8
commit 9ebf03a15a
8 files changed
+120 -5

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ type BackendsRepo interface {
type SchemaRepo interface {
All(ctx context.Context) ([]entity.ConfigSchema, error)
GetByModuleId(ctx context.Context, moduleId string) (*entity.ConfigSchema, error)
UpdateByModuleId(ctx context.Context, moduleId string, data []byte) error
}
type Module struct {