aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/gqlgen.yml
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-06-21 22:12:04 +0200
committerMichael Muré <batolettre@gmail.com>2020-06-27 23:03:05 +0200
commit2ab6381a94d55fa22b80acdbb18849d6b24951f9 (patch)
tree99942b000955623ea7466b9fa4cc7dab37645df6 /graphql/gqlgen.yml
parent5f72b04ef8e84b1c367ca6874519706318e351f5 (diff)
downloadgit-bug-2ab6381a94d55fa22b80acdbb18849d6b24951f9.tar.gz
Reorganize the webUI and API code
Included in the changes: - create a new /api root package to hold all API code, migrate /graphql in there - git API handlers all use the cache instead of the repo directly - git API handlers are now tested - git API handlers now require a "repo" mux parameter - lots of untangling of API/handlers/middleware - less code in commands/webui.go
Diffstat (limited to 'graphql/gqlgen.yml')
-rw-r--r--graphql/gqlgen.yml64
1 files changed, 0 insertions, 64 deletions
diff --git a/graphql/gqlgen.yml b/graphql/gqlgen.yml
deleted file mode 100644
index fe33b8c7..00000000
--- a/graphql/gqlgen.yml
+++ /dev/null
@@ -1,64 +0,0 @@
-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