tiny cleanup
This commit is contained in:
parent
d91e0b7b6e
commit
743eeefdbb
@ -6,20 +6,20 @@ sources:
|
|||||||
handler:
|
handler:
|
||||||
openapi:
|
openapi:
|
||||||
endpoint: https://git.andert.me/api/v1
|
endpoint: https://git.andert.me/api/v1
|
||||||
source: schema/gitea.yml
|
source: schemas/gitea.yml
|
||||||
operationHeaders:
|
operationHeaders:
|
||||||
Authorization: Bearer {env.GITEA_API}
|
Authorization: Bearer {env.GITEA_API}
|
||||||
- name: Directus
|
- name: Directus
|
||||||
handler:
|
handler:
|
||||||
graphql:
|
graphql:
|
||||||
endpoint: https://directus.andert.me/graphql
|
endpoint: https://directus.andert.me/graphql
|
||||||
source: schema/directus.graphql
|
source: schemas/directus.graphql
|
||||||
operationHeaders:
|
operationHeaders:
|
||||||
Authorization: Bearer {env.DIRECTUS_API}
|
Authorization: Bearer {env.DIRECTUS_API}
|
||||||
# - name: Cloudron
|
# - name: Cloudron
|
||||||
# handler:
|
# handler:
|
||||||
# openapi:
|
# openapi:
|
||||||
# endpoint: https://my.andert.me/api/v1
|
# endpoint: https://my.andert.me/api/v1
|
||||||
# source: schema/cloudron.json
|
# source: schemas/cloudron.json
|
||||||
# operationHeaders:
|
# operationHeaders:
|
||||||
# Authorization: Bearer {env.CLOUDRON_API}
|
# Authorization: Bearer {env.CLOUDRON_API}
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
import { useGenericAuth } from '@envelop/generic-auth'
|
import { useGenericAuth } from '@envelop/generic-auth'
|
||||||
import { MeshPlugin } from '@graphql-mesh/types'
|
import { MeshPlugin } from '@graphql-mesh/types'
|
||||||
|
|
||||||
const path = require('path');
|
|
||||||
require('dotenv').config({ path: path.resolve(__dirname, '../.env.local') });
|
|
||||||
|
|
||||||
|
|
||||||
type UserType = {
|
type UserType = {
|
||||||
id: string
|
id: string
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user