Skip to content

Commit 65dd245

Browse files
committed
remove liquidity sources code/schema
change how we can organize schema by putting the graphql schema closer to the code it is related to
1 parent af02aa3 commit 65dd245

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1320
-1622
lines changed

db/migrations/1733964615941-Data.js renamed to db/migrations/1733977259808-Data.js

+148-156
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

graphql.config.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
projects:
22
separate:
3-
schema: schema/**/*.graphql
3+
schema:
4+
- schema/**/*.graphql
5+
- src/**/*.graphql
46
include:
57
- types.graphql
68
combined:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "origin-squid",
33
"private": true,
44
"scripts": {
5-
"codegen": "echo '# GENERATED, DO NOT MODIFY\n' > schema.graphql && cat $(find schema -name '*.graphql') >> schema.graphql && sqd codegen && git add src/model/generated/*",
5+
"codegen": "echo '# GENERATED, DO NOT MODIFY\n' > schema.graphql && cat $(find schema src -name '*.graphql') >> schema.graphql && sqd codegen && git add src/model/generated/*",
66
"migration:generate": "sqd down && sqd up && sqd migration:generate && git add db/migrations/*",
77
"generate": "npm-run-all codegen migration:generate",
88
"generate:validations": "ts-node scripts/generate-validations.ts",

0 commit comments

Comments
 (0)