29 lines
812 B
YAML
29 lines
812 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/directus_subscriptions.js
|
|
|
|
# - name: Cloudron
|
|
# handler:
|
|
# openapi:
|
|
# endpoint: https://my.andert.me/api/v1
|
|
# source: schemas/cloudron.json
|
|
# operationHeaders:
|
|
# Authorization: Bearer {env.CLOUDRON_API}
|
|
# - name: Gitea
|
|
# handler:
|
|
# openapi:
|
|
# endpoint: https://git.andert.me/api/v1
|
|
# source: schemas/gitea.yml
|
|
# operationHeaders:
|
|
# Authorization: Bearer {env.GITEA_API}
|