aboutsummaryrefslogtreecommitdiffstats
path: root/bug
diff options
context:
space:
mode:
Diffstat (limited to 'bug')
-rw-r--r--bug/bug.go3
-rw-r--r--bug/op_add_comment.go3
-rw-r--r--bug/op_create.go3
-rw-r--r--bug/op_label_change.go3
-rw-r--r--bug/op_set_status.go3
-rw-r--r--bug/op_set_title.go3
-rw-r--r--bug/snapshot.go3
7 files changed, 21 insertions, 0 deletions
diff --git a/bug/bug.go b/bug/bug.go
index f1bd1114..0604d11d 100644
--- a/bug/bug.go
+++ b/bug/bug.go
@@ -681,3 +681,6 @@ func (bug *Bug) Compile() Snapshot {
return snap
}
+
+// Sign post method for gqlgen
+func (bug *Bug) IsAuthored() {}
diff --git a/bug/op_add_comment.go b/bug/op_add_comment.go
index 8cde20e8..59ea08e0 100644
--- a/bug/op_add_comment.go
+++ b/bug/op_add_comment.go
@@ -149,3 +149,6 @@ func AddCommentWithFiles(b Interface, author identity.Interface, unixTime int64,
b.Append(addCommentOp)
return addCommentOp, nil
}
+
+// Sign post method for gqlgen
+func (item *AddCommentTimelineItem) IsAuthored() {}
diff --git a/bug/op_create.go b/bug/op_create.go
index f3757f89..e0e8154b 100644
--- a/bug/op_create.go
+++ b/bug/op_create.go
@@ -173,3 +173,6 @@ func CreateWithFiles(author identity.Interface, unixTime int64, title, message s
return newBug, createOp, nil
}
+
+// Sign post method for gqlgen
+func (item *CreateTimelineItem) IsAuthored() {}
diff --git a/bug/op_label_change.go b/bug/op_label_change.go
index 0e7929b7..c5b3765d 100644
--- a/bug/op_label_change.go
+++ b/bug/op_label_change.go
@@ -303,3 +303,6 @@ func (l LabelChangeResult) String() string {
panic(fmt.Sprintf("unknown label change status %v", l.Status))
}
}
+
+// Sign post method for gqlgen
+func (item *LabelChangeTimelineItem) IsAuthored() {}
diff --git a/bug/op_set_status.go b/bug/op_set_status.go
index 57d4cf22..de7b8526 100644
--- a/bug/op_set_status.go
+++ b/bug/op_set_status.go
@@ -143,3 +143,6 @@ func Close(b Interface, author identity.Interface, unixTime int64) (*SetStatusOp
b.Append(op)
return op, nil
}
+
+// Sign post method for gqlgen
+func (item *SetStatusTimelineItem) IsAuthored() {}
diff --git a/bug/op_set_title.go b/bug/op_set_title.go
index ca27adee..dce06014 100644
--- a/bug/op_set_title.go
+++ b/bug/op_set_title.go
@@ -178,3 +178,6 @@ func SetTitle(b Interface, author identity.Interface, unixTime int64, title stri
b.Append(setTitleOp)
return setTitleOp, nil
}
+
+// Sign post method for gqlgen
+func (item *SetTitleTimelineItem) IsAuthored() {}
diff --git a/bug/snapshot.go b/bug/snapshot.go
index 53f6873a..a4661b14 100644
--- a/bug/snapshot.go
+++ b/bug/snapshot.go
@@ -86,3 +86,6 @@ func (snap *Snapshot) addParticipant(participant identity.Interface) {
snap.Participants = append(snap.Participants, participant)
}
+
+// Sign post method for gqlgen
+func (snap *Snapshot) IsAuthored() {}