diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-07 04:28:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-07 04:28:35 +0900 |
| commit | 985e4540ce0be0345069a60a287a3f923a3ff47b (patch) | |
| tree | c94059fcead06eea4c48a50f8976b9236a0b8542 | |
| parent | 211a00e9b7d1d5f503dd62412b837d68cd9ee7f5 (diff) | |
| download | feedaka-985e4540ce0be0345069a60a287a3f923a3ff47b.tar.gz feedaka-985e4540ce0be0345069a60a287a3f923a3ff47b.tar.zst feedaka-985e4540ce0be0345069a60a287a3f923a3ff47b.zip | |
refactor(graphql): change directory structure
| -rw-r--r-- | Dockerfile | 2 | ||||
| -rw-r--r-- | backend/gqlgen.yml | 2 | ||||
| -rw-r--r-- | backend/graphql/generated.go | 2 | ||||
| l--------- | frontend/src/graphql/schema.graphql | 2 | ||||
| -rw-r--r-- | graphql/schema.graphql (renamed from common/graphql/schema.graphql) | 0 |
5 files changed, 4 insertions, 4 deletions
@@ -6,7 +6,7 @@ COPY frontend/package.json frontend/package-lock.json ./ RUN npm install COPY frontend/ ./ -COPY common/graphql/schema.graphql src/graphql/schema.graphql +COPY graphql/schema.graphql src/graphql/schema.graphql RUN npm run build ########################################## diff --git a/backend/gqlgen.yml b/backend/gqlgen.yml index cc4472d..c09e9e2 100644 --- a/backend/gqlgen.yml +++ b/backend/gqlgen.yml @@ -1,5 +1,5 @@ schema: - - ../common/graphql/schema.graphql + - ../graphql/schema.graphql exec: package: graphql diff --git a/backend/graphql/generated.go b/backend/graphql/generated.go index 9f45445..72379bc 100644 --- a/backend/graphql/generated.go +++ b/backend/graphql/generated.go @@ -492,7 +492,7 @@ func (ec *executionContext) introspectType(name string) (*introspection.Type, er } var sources = []*ast.Source{ - {Name: "../../common/graphql/schema.graphql", Input: `scalar DateTime + {Name: "../../graphql/schema.graphql", Input: `scalar DateTime """ Represents a feed subscription in the system diff --git a/frontend/src/graphql/schema.graphql b/frontend/src/graphql/schema.graphql index 4271904..5771f01 120000 --- a/frontend/src/graphql/schema.graphql +++ b/frontend/src/graphql/schema.graphql @@ -1 +1 @@ -../../../common/graphql/schema.graphql
\ No newline at end of file +../../../graphql/schema.graphql
\ No newline at end of file diff --git a/common/graphql/schema.graphql b/graphql/schema.graphql index e37d729..e37d729 100644 --- a/common/graphql/schema.graphql +++ b/graphql/schema.graphql |
