fix: split to packages to support gql gen

This commit is contained in:
Rongjian Zhang
2022-10-02 00:29:54 +08:00
parent efc2359f27
commit 706d456c46
42 changed files with 939 additions and 74 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# https://docs.github.com/en/graphql/overview/public-schema
curl -o lib/gql_github/schema.graphql https://docs.github.com/public/schema.docs.graphql
curl -o packages/gql_github/lib/schema.graphql https://docs.github.com/public/schema.docs.graphql
npx --yes get-graphql-schema https://gitlab.com/api/graphql > lib/gql_gitlab/schema.graphql
npx --yes get-graphql-schema https://gitlab.com/api/graphql > packages/gql_gitlab/lib/schema.graphql