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
815 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 15:25:48 +00:00
source: ./src/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 13:21:20 +00:00
- ./src/resolvers/subs_directus.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 15:25:48 +00:00
# source: ./src/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 15:25:48 +00:00
# source: ./src/schemas/gitea.yml
2023-08-22 08:44:36 +00:00
# operationHeaders:
# Authorization: Bearer {env.GITEA_API}