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

29 lines
833 B
YAML
Raw Normal View History

serve:
endpoint: /api
2023-08-22 08:55:41 +00:00
additionalEnvelopPlugins: "./src/envelopePlugin.ts"
sources:
2023-08-21 13:34:56 +00:00
- name: Directus
handler:
2023-08-21 13:34:56 +00:00
graphql:
endpoint: https://directus.andert.me/graphql
2023-08-23 12:15:25 +00:00
source: ./public/schemas/directus.graphql
operationHeaders:
2023-08-21 13:34:56 +00:00
Authorization: Bearer {env.DIRECTUS_API}
2023-08-23 05:25:32 +00:00
additionalResolvers:
2023-08-23 11:21:45 +00:00
- ./src/resolvers/directus_subscriptions.js
2023-08-23 05:25:32 +00:00
2023-08-22 08:44:36 +00:00
# - name: Cloudron
# handler:
# openapi:
# endpoint: https://my.andert.me/api/v1
2023-08-23 12:15:25 +00:00
# source: ./public/schemas/cloudron.json
2023-08-22 08:44:36 +00:00
# operationHeaders:
# Authorization: Bearer {env.CLOUDRON_API}
# - name: Gitea
# handler:
# openapi:
# endpoint: https://git.andert.me/api/v1
2023-08-23 12:15:25 +00:00
# source: ./public/schemas/gitea.yml
2023-08-22 08:44:36 +00:00
# operationHeaders:
# Authorization: Bearer {env.GITEA_API}