aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/gqlgen.yml
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-06-27 23:09:22 +0200
committerGitHub <noreply@github.com>2020-06-27 23:09:22 +0200
commitc0dbc149d5c0c3610476ba14a800c9ba803a2c2c (patch)
treec07587da30eae7a37c2597d110ef1e66be3b4b8f /api/graphql/gqlgen.yml
parent23228101a2a38a139f6fc2cafc18e9f08d911089 (diff)
parent3aaf775857d186ad416133935e73ed1b063938c6 (diff)
downloadgit-bug-c0dbc149d5c0c3610476ba14a800c9ba803a2c2c.tar.gz
Merge pull request #407 from lukegb/fix-402
Add support for read-only mode for web UI.
Diffstat (limited to 'api/graphql/gqlgen.yml')
-rw-r--r--api/graphql/gqlgen.yml64
1 files changed, 64 insertions, 0 deletions
diff --git a/api/graphql/gqlgen.yml b/api/graphql/gqlgen.yml
new file mode 100644
index 00000000..fe33b8c7
--- /dev/null
+++ b/api/graphql/gqlgen.yml
@@ -0,0 +1,64 @@
+schema: "schema/*.graphql"
+exec:
+ filename: graph/gen_graph.go
+model:
+ filename: models/gen_models.go
+
+models:
+ Repository:
+ model: github.com/MichaelMure/git-bug/graphql/models.Repository
+ RepositoryMutation:
+ model: github.com/MichaelMure/git-bug/graphql/models.RepositoryMutation
+ Bug:
+ model: github.com/MichaelMure/git-bug/graphql/models.BugWrapper
+ fields:
+ actors:
+ resolver: true
+ participants:
+ resolver: true
+ comments:
+ resolver: true
+ timeline:
+ resolver: true
+ operations:
+ resolver: true
+ Color:
+ model: image/color.RGBA
+ Comment:
+ model: github.com/MichaelMure/git-bug/bug.Comment
+ Identity:
+ model: github.com/MichaelMure/git-bug/graphql/models.IdentityWrapper
+ Label:
+ model: github.com/MichaelMure/git-bug/bug.Label
+ Hash:
+ model: github.com/MichaelMure/git-bug/util/git.Hash
+ Operation:
+ model: github.com/MichaelMure/git-bug/bug.Operation
+ CreateOperation:
+ model: github.com/MichaelMure/git-bug/bug.CreateOperation
+ SetTitleOperation:
+ model: github.com/MichaelMure/git-bug/bug.SetTitleOperation
+ AddCommentOperation:
+ model: github.com/MichaelMure/git-bug/bug.AddCommentOperation
+ EditCommentOperation:
+ model: github.com/MichaelMure/git-bug/bug.EditCommentOperation
+ SetStatusOperation:
+ model: github.com/MichaelMure/git-bug/bug.SetStatusOperation
+ LabelChangeOperation:
+ model: github.com/MichaelMure/git-bug/bug.LabelChangeOperation
+ TimelineItem:
+ model: github.com/MichaelMure/git-bug/bug.TimelineItem
+ CommentHistoryStep:
+ model: github.com/MichaelMure/git-bug/bug.CommentHistoryStep
+ CreateTimelineItem:
+ model: github.com/MichaelMure/git-bug/bug.CreateTimelineItem
+ AddCommentTimelineItem:
+ model: github.com/MichaelMure/git-bug/bug.AddCommentTimelineItem
+ LabelChangeTimelineItem:
+ model: github.com/MichaelMure/git-bug/bug.LabelChangeTimelineItem
+ SetStatusTimelineItem:
+ model: github.com/MichaelMure/git-bug/bug.SetStatusTimelineItem
+ SetTitleTimelineItem:
+ model: github.com/MichaelMure/git-bug/bug.SetTitleTimelineItem
+ LabelChangeResult:
+ model: github.com/MichaelMure/git-bug/bug.LabelChangeResult