-
Notifications
You must be signed in to change notification settings - Fork 0
/
models_gen.go
81 lines (67 loc) · 1.76 KB
/
models_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
package traph_go
type Comment struct {
ID string `json:"id"`
IssueID string `json:"issueId"`
UserID string `json:"userId"`
Text string `json:"text"`
}
type Issue struct {
ID string `json:"id"`
ProjectID string `json:"projectId"`
Name string `json:"name"`
Status bool `json:"status"`
Comments []*Comment `json:"comments"`
}
type MutationResult struct {
StatusCode string `json:"statusCode"`
StatusMessage string `json:"statusMessage"`
}
type NewComment struct {
IssueID string `json:"issueId"`
UserID string `json:"userId"`
Text string `json:"text"`
}
type NewIssue struct {
ProjectID string `json:"projectId"`
Name string `json:"name"`
}
type NewProject struct {
Name string `json:"name"`
Description string `json:"description"`
}
type NewUser struct {
Name string `json:"name"`
DisplayName string `json:"displayName"`
Email string `json:"email"`
}
type Project struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Issues []*Issue `json:"issues"`
}
type User struct {
ID string `json:"id"`
Name string `json:"name"`
DisplayName string `json:"displayName"`
Email string `json:"email"`
}
type CloseIssue struct {
ID string `json:"id"`
Status bool `json:"status"`
}
type DeleteUser struct {
ID string `json:"id"`
}
type EditedProject struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
}
type EditedUser struct {
ID string `json:"id"`
Name string `json:"name"`
DisplayName string `json:"displayName"`
Email string `json:"email"`
}