1type BoardCreateOperation implements Operation & Authored
2@goModel(model: "github.com/git-bug/git-bug/entities/board.CreateOperation") {
3 """The identifier of the operation"""
4 id: ID!
5 """The author of this object."""
6 author: Identity!
7 """The datetime when this operation was issued."""
8 date: Time! @goField(name: "Time")
9
10 title: String!
11 description: String!
12 columns: [String!]!
13}
14
15type BoardAddItemDraftOperation implements Operation & Authored
16@goModel(model: "github.com/git-bug/git-bug/entities/board.AddItemDraftOperation") {
17 """The identifier of the operation"""
18 id: ID!
19 """The author of this object."""
20 author: Identity!
21 """The datetime when this operation was issued."""
22 date: Time! @goField(name: "Time")
23
24 columnId: ID!
25 title: String!
26}
27
28type BoardAddItemEntityOperation implements Operation & Authored
29@goModel(model: "github.com/git-bug/git-bug/entities/board.AddItemEntityOperation") {
30 """The identifier of the operation"""
31 id: ID!
32 """The author of this object."""
33 author: Identity!
34 """The datetime when this operation was issued."""
35 date: Time! @goField(name: "Time")
36
37 columnId: ID!
38 entityType: BoardItemEntityType!
39 entityId: ID!
40}
41
42enum BoardItemEntityType {
43 BUG
44}
45
46type BoardSetDescriptionOperation implements Operation & Authored
47@goModel(model: "github.com/git-bug/git-bug/entities/board.SetDescriptionOperation") {
48 """The identifier of the operation"""
49 id: ID!
50 """The author of this object."""
51 author: Identity!
52 """The datetime when this operation was issued."""
53 date: Time! @goField(name: "Time")
54
55 description: String!
56 was: String!
57}
58
59type BoardSetTitleOperation implements Operation & Authored
60@goModel(model: "github.com/git-bug/git-bug/entities/board.SetTitleOperation") {
61 """The identifier of the operation"""
62 id: ID!
63 """The author of this object."""
64 author: Identity!
65 """The datetime when this operation was issued."""
66 date: Time! @goField(name: "Time")
67
68 title: String!
69 was: String!
70}