Documentation ¶
Index ¶
- type AddCardAttachmentRequest
- type AddCardCommentRequest
- type AddCardLabelRequest
- type AddCardMembersRequest
- type ArchiveCardRequest
- type CardRepository
- type CreateCardRequest
- type CreateCardResponse
- type DeleteCardRequest
- type GetCardByIDRequest
- type GetCardByIDResponse
- type GetCardsByBoardRequest
- type GetCardsByBoardResponse
- type GetCardsByListRequest
- type GetCardsByListResponse
- type GormCardRepository
- func (r *GormCardRepository) AddCardAttachment(req *AddCardAttachmentRequest) error
- func (r *GormCardRepository) AddCardComment(req *AddCardCommentRequest) error
- func (r *GormCardRepository) AddCardLabel(req *AddCardLabelRequest) error
- func (r *GormCardRepository) AddCardMembers(req *AddCardMembersRequest) error
- func (r *GormCardRepository) ArchiveCard(req *ArchiveCardRequest) error
- func (r *GormCardRepository) CreateCard(req *CreateCardRequest) (*CreateCardResponse, error)
- func (r *GormCardRepository) DeleteCard(req *DeleteCardRequest) error
- func (r *GormCardRepository) GetCardByID(req *GetCardByIDRequest) (*GetCardByIDResponse, error)
- func (r *GormCardRepository) GetCardsByBoard(req *GetCardsByBoardRequest) (*GetCardsByBoardResponse, error)
- func (r *GormCardRepository) GetCardsByList(req *GetCardsByListRequest) (*GetCardsByListResponse, error)
- func (r *GormCardRepository) MoveCardPosition(req *MoveCardPositionRequest) error
- func (r *GormCardRepository) RemoveCardAttachment(req *RemoveCardAttachmentRequest) error
- func (r *GormCardRepository) RemoveCardComment(req *RemoveCardCommentRequest) error
- func (r *GormCardRepository) RemoveCardLabel(req *RemoveCardLabelRequest) error
- func (r *GormCardRepository) RemoveCardMembers(req *RemoveCardMembersRequest) error
- func (r *GormCardRepository) RestoreCard(req *RestoreCardRequest) error
- func (r *GormCardRepository) SetCardDates(req *SetCardDatesRequest) error
- func (r *GormCardRepository) ToggleCardCompleted(req *ToggleCardCompletedRequest) error
- func (r *GormCardRepository) UpdateCardDescription(req *UpdateCardDescriptionRequest) error
- func (r *GormCardRepository) UpdateCardName(req *UpdateCardNameRequest) error
- type MoveCardPositionRequest
- type RemoveCardAttachmentRequest
- type RemoveCardCommentRequest
- type RemoveCardLabelRequest
- type RemoveCardMembersRequest
- type RestoreCardRequest
- type SetCardDatesRequest
- type ToggleCardCompletedRequest
- type UpdateCardDescriptionRequest
- type UpdateCardNameRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCardCommentRequest ¶
type AddCardLabelRequest ¶
type AddCardMembersRequest ¶
type ArchiveCardRequest ¶
type CardRepository ¶
type CardRepository interface { CreateCard(req *CreateCardRequest) (*CreateCardResponse, error) GetCardByID(req *GetCardByIDRequest) (*GetCardByIDResponse, error) GetCardsByList(req *GetCardsByListRequest) (*GetCardsByListResponse, error) GetCardsByBoard(req *GetCardsByBoardRequest) (*GetCardsByBoardResponse, error) MoveCardPosition(req *MoveCardPositionRequest) error UpdateCardName(req *UpdateCardNameRequest) error UpdateCardDescription(req *UpdateCardDescriptionRequest) error AddCardLabel(req *AddCardLabelRequest) error RemoveCardLabel(req *RemoveCardLabelRequest) error SetCardDates(req *SetCardDatesRequest) error ToggleCardCompleted(req *ToggleCardCompletedRequest) error AddCardAttachment(req *AddCardAttachmentRequest) error RemoveCardAttachment(req *RemoveCardAttachmentRequest) error AddCardComment(req *AddCardCommentRequest) error RemoveCardComment(req *RemoveCardCommentRequest) error AddCardMembers(req *AddCardMembersRequest) error RemoveCardMembers(req *RemoveCardMembersRequest) error ArchiveCard(req *ArchiveCardRequest) error RestoreCard(req *RestoreCardRequest) error DeleteCard(req *DeleteCardRequest) error }
type CreateCardRequest ¶
type CreateCardResponse ¶
type DeleteCardRequest ¶
type GetCardByIDRequest ¶
type GetCardByIDRequest struct {
CardID uint64
}
type GetCardByIDResponse ¶
type GetCardByIDResponse struct {
Card *internal_models.CardDTO
}
type GetCardsByBoardRequest ¶
type GetCardsByBoardRequest struct {
BoardID uint64
}
type GetCardsByBoardResponse ¶
type GetCardsByBoardResponse struct {
Cards []*internal_models.CardMetaDTO
}
type GetCardsByListRequest ¶
type GetCardsByListRequest struct {
ListID uint64
}
type GetCardsByListResponse ¶
type GetCardsByListResponse struct {
Cards []*internal_models.CardMetaDTO
}
type GormCardRepository ¶
type GormCardRepository struct {
// contains filtered or unexported fields
}
func NewCardRepository ¶
func NewCardRepository(db *gorm.DB) *GormCardRepository
func (*GormCardRepository) AddCardAttachment ¶
func (r *GormCardRepository) AddCardAttachment(req *AddCardAttachmentRequest) error
func (*GormCardRepository) AddCardComment ¶
func (r *GormCardRepository) AddCardComment(req *AddCardCommentRequest) error
func (*GormCardRepository) AddCardLabel ¶
func (r *GormCardRepository) AddCardLabel(req *AddCardLabelRequest) error
func (*GormCardRepository) AddCardMembers ¶
func (r *GormCardRepository) AddCardMembers(req *AddCardMembersRequest) error
func (*GormCardRepository) ArchiveCard ¶
func (r *GormCardRepository) ArchiveCard(req *ArchiveCardRequest) error
func (*GormCardRepository) CreateCard ¶
func (r *GormCardRepository) CreateCard(req *CreateCardRequest) (*CreateCardResponse, error)
func (*GormCardRepository) DeleteCard ¶
func (r *GormCardRepository) DeleteCard(req *DeleteCardRequest) error
func (*GormCardRepository) GetCardByID ¶
func (r *GormCardRepository) GetCardByID(req *GetCardByIDRequest) (*GetCardByIDResponse, error)
func (*GormCardRepository) GetCardsByBoard ¶
func (r *GormCardRepository) GetCardsByBoard(req *GetCardsByBoardRequest) (*GetCardsByBoardResponse, error)
func (*GormCardRepository) GetCardsByList ¶
func (r *GormCardRepository) GetCardsByList(req *GetCardsByListRequest) (*GetCardsByListResponse, error)
func (*GormCardRepository) MoveCardPosition ¶
func (r *GormCardRepository) MoveCardPosition(req *MoveCardPositionRequest) error
func (*GormCardRepository) RemoveCardAttachment ¶
func (r *GormCardRepository) RemoveCardAttachment(req *RemoveCardAttachmentRequest) error
func (*GormCardRepository) RemoveCardComment ¶
func (r *GormCardRepository) RemoveCardComment(req *RemoveCardCommentRequest) error
func (*GormCardRepository) RemoveCardLabel ¶
func (r *GormCardRepository) RemoveCardLabel(req *RemoveCardLabelRequest) error
func (*GormCardRepository) RemoveCardMembers ¶
func (r *GormCardRepository) RemoveCardMembers(req *RemoveCardMembersRequest) error
func (*GormCardRepository) RestoreCard ¶
func (r *GormCardRepository) RestoreCard(req *RestoreCardRequest) error
func (*GormCardRepository) SetCardDates ¶
func (r *GormCardRepository) SetCardDates(req *SetCardDatesRequest) error
func (*GormCardRepository) ToggleCardCompleted ¶
func (r *GormCardRepository) ToggleCardCompleted(req *ToggleCardCompletedRequest) error
func (*GormCardRepository) UpdateCardDescription ¶
func (r *GormCardRepository) UpdateCardDescription(req *UpdateCardDescriptionRequest) error
func (*GormCardRepository) UpdateCardName ¶
func (r *GormCardRepository) UpdateCardName(req *UpdateCardNameRequest) error
type MoveCardPositionRequest ¶
type RemoveCardLabelRequest ¶
type RestoreCardRequest ¶
type SetCardDatesRequest ¶
type UpdateCardNameRequest ¶
Click to show internal directories.
Click to hide internal directories.