Skip to content

Commit

Permalink
usecase繋ぎこみ
Browse files Browse the repository at this point in the history
  • Loading branch information
Shugo Kawamura committed Aug 12, 2023
1 parent 3092933 commit afb7211
Show file tree
Hide file tree
Showing 7 changed files with 235 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ __debug_bin
backend/build/*

.DS_Store
tmp
backend/tmp/*
4 changes: 1 addition & 3 deletions backend/go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
github.com/99designs/gqlgen v0.17.36 h1:u/o/rv2SZ9s5280dyUOOrkpIIkr/7kITMXYD3rkJ9go=
github.com/99designs/gqlgen v0.17.36/go.mod h1:6RdyY8puhCoWAQVr2qzF2OMVfudQzc8ACxzpzluoQm4=
github.com/FlowingSPDG/Got5 v0.0.0-20230804162215-be9dcc00f8cc h1:17qQ5CP6MuPV1Ph48OFgTTq6LNNMAYYhrluBsOraXAI=
github.com/FlowingSPDG/Got5 v0.0.0-20230804162215-be9dcc00f8cc/go.mod h1:GkWSjnJpY62vUUsJPVJXxxa+YDjCR1XfE2FErLaS5aI=
github.com/FlowingSPDG/Got5 v0.0.0-20230812005653-63978277bb86 h1:OuiajrB7YO3W4fxIIkyK1LKEMnuySvvLjHBCnqWYYAo=
github.com/FlowingSPDG/Got5 v0.0.0-20230812005653-63978277bb86/go.mod h1:7USdCFD/lkTjOqbncjQaBzklCAaM8RauYmL4lfctxXQ=
github.com/FlowingSPDG/go-steam v0.0.0-20200304111708-e30ea2f91a83 h1:g3VY8PBeP2ntkCAIs0eTPH9X1q+ZrFcTWmvtioURpcw=
Expand Down Expand Up @@ -48,8 +46,8 @@ github.com/gofiber/fiber/v2 v2.39.0 h1:uhWpYQ6EHN8J7FOPYbI2hrdBD/KNZBC5CjbuOd4QU
github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE=
github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
Expand Down
201 changes: 201 additions & 0 deletions backend/graph/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions backend/graph/model/models_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions backend/graph/qls/schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ type Mutation {
registerTeam(input: NewTeam!): Team!

# Match op
createMatch(input: NewMatch!): Match!

# gameserver op
addServer(input: NewGameServer!): GameServer!
Expand All @@ -134,6 +135,15 @@ type Match {
mapStats: [MapStats!]!
}

input NewMatch {
team1: ID!
team2: ID!
serverID: ID!
maxMaps: Int!
title: String!
skipVeto: Boolean!
}

# MapStats
type MapStats {
id: ID!
Expand Down
13 changes: 13 additions & 0 deletions backend/graph/schema.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed backend/tmp/main
Binary file not shown.

0 comments on commit afb7211

Please sign in to comment.