simplify call to peer
This commit is contained in:
parent
aff9304b1a
commit
050e6022cb
@ -15,8 +15,8 @@ import (
|
|||||||
type SharedWorkspace struct {
|
type SharedWorkspace struct {
|
||||||
utils.AbstractObject
|
utils.AbstractObject
|
||||||
CreatorID string `json:"peer_id,omitempty" bson:"peer_id,omitempty" validate:"required"`
|
CreatorID string `json:"peer_id,omitempty" bson:"peer_id,omitempty" validate:"required"`
|
||||||
Version string `json:"version,omitempty" bson:"version,omitempty" validate:"required"`
|
Version string `json:"version,omitempty" bson:"version,omitempty"`
|
||||||
Description string `json:"description,omitempty" bson:"description,omitempty"`
|
Description string `json:"description,omitempty" bson:"description,omitempty" validate:"required"`
|
||||||
Attributes map[string]interface{} `json:"attributes,omitempty" bson:"attributes,omitempty"`
|
Attributes map[string]interface{} `json:"attributes,omitempty" bson:"attributes,omitempty"`
|
||||||
Workspaces []string `json:"workspaces,omitempty" bson:"workspaces,omitempty"`
|
Workspaces []string `json:"workspaces,omitempty" bson:"workspaces,omitempty"`
|
||||||
Workflows []string `json:"workflows,omitempty" bson:"workflows,omitempty"`
|
Workflows []string `json:"workflows,omitempty" bson:"workflows,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user