chore: split schema update script

This commit is contained in:
Rongjian Zhang
2022-10-01 13:30:34 +08:00
parent 89966a95e6
commit ba34337b07
4 changed files with 53912 additions and 4 deletions

View File

@@ -1,6 +1,3 @@
#!/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
flutter pub run build_runner watch --delete-conflicting-outputs

4
scripts/update-schema.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/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