This repository has been archived on 2023-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
ARCHIVED-graphql/.meshrc.yml
2023-08-23 17:25:48 +02:00

29 lines
815 B
YAML

serve:
endpoint: /api
additionalEnvelopPlugins: "./src/envelopePlugin.ts"
sources:
- name: Directus
handler:
graphql:
endpoint: https://directus.andert.me/graphql
source: ./src/schemas/directus.graphql
operationHeaders:
Authorization: Bearer {env.DIRECTUS_API}
additionalResolvers:
- ./src/resolvers/subs_directus.js
# - name: Cloudron
# handler:
# openapi:
# endpoint: https://my.andert.me/api/v1
# source: ./src/schemas/cloudron.json
# operationHeaders:
# Authorization: Bearer {env.CLOUDRON_API}
# - name: Gitea
# handler:
# openapi:
# endpoint: https://git.andert.me/api/v1
# source: ./src/schemas/gitea.yml
# operationHeaders:
# Authorization: Bearer {env.GITEA_API}