Revert "[gitlab] simplify gql schema download"
This reverts commit40ced41cce
. GitLab removed the SDL files from the docs:baedeb4ee8
This commit is contained in:
parent
13de9bd4aa
commit
20cfde5ea3
|
@ -29,11 +29,7 @@ const schemas: [
|
||||||
[string | URL, GotOptions & { isStream?: true | undefined }],
|
[string | URL, GotOptions & { isStream?: true | undefined }],
|
||||||
][] = [
|
][] = [
|
||||||
['github', 'graphql', ['https://docs.github.com/public/schema.docs.graphql', {}]],
|
['github', 'graphql', ['https://docs.github.com/public/schema.docs.graphql', {}]],
|
||||||
[
|
['gitlab', 'json', ['https://gitlab.com/api/graphql', introspection]],
|
||||||
'gitlab',
|
|
||||||
'graphql',
|
|
||||||
['https://docs.gitlab.com/ee/api/graphql/reference/gitlab_schema.graphql', {}],
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
|
|
||||||
Promise.all(
|
Promise.all(
|
||||||
|
|
2
src/vendor/gitlab/codegen.toml
vendored
2
src/vendor/gitlab/codegen.toml
vendored
|
@ -1,5 +1,5 @@
|
||||||
overwrite = true
|
overwrite = true
|
||||||
schema= 'src/vendor/gitlab/schema.graphql'
|
schema= 'src/vendor/gitlab/schema.json'
|
||||||
|
|
||||||
[config]
|
[config]
|
||||||
typesPrefix = 'GL'
|
typesPrefix = 'GL'
|
||||||
|
|
Loading…
Reference in a new issue