-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
type Workspace struct {
// unchanged fields omitted
SharedWith []SharedWorkspaceActor `json:"shared_with"`
}
type SharedWorkspaceActor struct {
// Definitely useful
ActorType SharedWorkspaceActorType `json:"actor_type" enums:"group,user"`
Name string `json:"name"`
AvatarURL string `json:"avatar_url,omitempty" format:"uri"`
Roles []WorkspaceRole `json:"roles"`
// more fields might be added if necessary, but this is minimal and useful
}
type SharedWorkspaceActorType string
const (
SharedWorkspaceActorTypeGroup SharedWorkspaceActorType = "group"
SharedWorkspaceActorTypeUser SharedWorkspaceActorType = "user"
)
Metadata
Metadata
Assignees
Labels
No labels