From 35d90f9c4e88110f1c000e2291e5892d84c32ee2 Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 19 Nov 2024 12:00:10 +0100 Subject: [PATCH] hard stuff --- models/collaborative_area/collaborative_area.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/collaborative_area/collaborative_area.go b/models/collaborative_area/collaborative_area.go index e7ee16b..f479635 100644 --- a/models/collaborative_area/collaborative_area.go +++ b/models/collaborative_area/collaborative_area.go @@ -32,10 +32,10 @@ type CollaborativeArea struct { Description string `json:"description,omitempty" bson:"description,omitempty" validate:"required"` // Description is the description of the workspace CollaborativeAreaRule *CollaborativeAreaRule `json:"collaborative_area,omitempty" bson:"collaborative_area,omitempty"` // CollaborativeArea is the collaborative area of the workspace Attributes map[string]interface{} `json:"attributes,omitempty" bson:"attributes,omitempty"` // Attributes is the attributes of the workspace (TODO) - Workspaces []string `json:"workspaces,omitempty" bson:"workspaces,omitempty"` // Workspaces is the workspaces of the workspace - Workflows []string `json:"workflows,omitempty" bson:"workflows,omitempty"` // Workflows is the workflows of the workspace - Peers []string `json:"peers,omitempty" bson:"peers,omitempty"` // Peers is the peers of the workspace - Rules []string `json:"rules,omitempty" bson:"rules,omitempty"` // Rules is the rules of the workspace + Workspaces []string `json:"workspaces" bson:"workspaces,omitempty"` // Workspaces is the workspaces of the workspace + Workflows []string `json:"workflows" bson:"workflows,omitempty"` // Workflows is the workflows of the workspace + Peers []string `json:"peers" bson:"peers,omitempty"` // Peers is the peers of the workspace + Rules []string `json:"rules" bson:"rules,omitempty"` // Rules is the rules of the workspace SharedRules []*rule.Rule `json:"shared_rules,omitempty" bson:"-"` // SharedRules is the shared rules of the workspace SharedWorkspaces []*workspace.Workspace `json:"shared_workspaces,omitempty" bson:"-"` // SharedWorkspaces is the shared workspaces of the workspace