collaboration

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectCollaborators

func GetProjectCollaborators(jwtToken string, projectParam common.ResourceIdParam) (response.Project, error)

func GetUsersThisProjectCanBeSharedWith

func GetUsersThisProjectCanBeSharedWith(
	jwtToken string,
	projectAclParam common.SearchUsersParam,
) ([]response.SearchUser, error)

func LeaveProject

func LeaveProject(jwtToken string, projectParam common.ResourceIdParam) error

func ShareProjectWithCollaborator

func ShareProjectWithCollaborator(
	jwtToken string,
	reqBody request.ProjectAclReqBody,
	projectAclParam common.AclParam,
) (response.Project, error)

func ShareProjectWithUserWithCards

func ShareProjectWithUserWithCards(
	jwtToken string,
	reqBody ShareProjectWithCardsReqBody,
	projectAclParam common.AclParam,
) (response.Project, error)

func ShareProjectsWithCollaborators

func ShareProjectsWithCollaborators(
	jwtToken string,
	reqBody ProjectBulkShareReqBody,
	projectAclParam common.AclParam,
) error

func UnshareProjectWithCollaborator

func UnshareProjectWithCollaborator(jwtToken string, projectAclParam common.AclParam) (response.Project, error)

func UpdateProjectAcl

func UpdateProjectAcl(
	jwtToken string,
	reqBody request.ProjectAclReqBody,
	projectAclParam common.AclParam,
) (response.Project, error)

Types

type ProjectBulkShareReqBody

type ProjectBulkShareReqBody struct {
	Acl        string `json:"projectAcl"`
	ProjectIds string `json:"projectIds"`
}

type ShareProjectWithCardsReqBody

type ShareProjectWithCardsReqBody struct {
	Acl     string `json:"projectAcl"`
	CardIds string `json:"cardIds"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL