updated changelog and ui/dist

This commit is contained in:
Gani Georgiev
2022-12-05 22:57:39 +02:00
parent 4070a11660
commit dba66d4da1
36 changed files with 75 additions and 46 deletions
+4 -4
View File
@@ -78,7 +78,7 @@ const (
FieldTypeFile string = "file"
FieldTypeRelation string = "relation"
// Deprecated: Will be removed in v0.9!
// Deprecated: Will be removed in v0.9+
FieldTypeUser string = "user"
)
@@ -235,7 +235,7 @@ func (f *SchemaField) InitOptions() error {
case FieldTypeRelation:
options = &RelationOptions{}
// Deprecated: Will be removed in v0.9!
// Deprecated: Will be removed in v0.9+
case FieldTypeUser:
options = &UserOptions{}
@@ -515,13 +515,13 @@ func (o RelationOptions) Validate() error {
// -------------------------------------------------------------------
// Deprecated: Will be removed in v0.9!
// Deprecated: Will be removed in v0.9+
type UserOptions struct {
MaxSelect int `form:"maxSelect" json:"maxSelect"`
CascadeDelete bool `form:"cascadeDelete" json:"cascadeDelete"`
}
// Deprecated: Will be removed in v0.9!
// Deprecated: Will be removed in v0.9+
func (o UserOptions) Validate() error {
return nil
}