1package board
2
3import (
4 "github.com/MichaelMure/git-bug/entity"
5 "github.com/MichaelMure/git-bug/entity/dag"
6)
7
8var _ Operation = &AddItemDraftOperation{}
9
10type AddItemDraftOperation struct {
11 dag.OpBase
12 Title string `json:"title"`
13 Message string `json:"message"`
14}
15
16func (op *AddItemDraftOperation) Id() entity.Id {
17 return dag.IdOperation(op, &op.OpBase)
18}
19
20func (op *AddItemDraftOperation) Validate() error {
21 // TODO implement me
22 panic("implement me")
23}
24
25func (op *AddItemDraftOperation) Apply(snapshot *Snapshot) {
26 // TODO implement me
27 panic("implement me")
28}