add(checking schema to set configuration and unsafe flag)

This commit is contained in:
DeniskaRediska committed 2019-07-26 15:31:33 +03:00
1 parent 3543ded23e
commit c8d028fcd4
14 files changed
+156 -45

No files matched your search

+13
View File
@@ -11,6 +11,10 @@ type getModuleByUuidAndNameRequest struct {
Uuid string
}
type getSchemaByModuleIdRequest struct {
ModuleId int32
}
type Config struct {
Id int64
Name string
@@ -42,3 +46,12 @@ type ModuleInfo struct {
ConfigSchema *schema.Schema `json:",omitempty"`
Status []Connection `json:",omitempty"`
}
type ConfigSchema struct {
Id int32
Version string
ModuleId int32
Schema schema.Schema
CreatedAt time.Time
UpdatedAt time.Time
}