add(checking schema to set configuration and unsafe flag)
This commit is contained in:
1 parent
3543ded23e
commit
c8d028fcd4
14 files changed
+156
-45
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user