-
Notifications
You must be signed in to change notification settings - Fork 1
/
graphcool.yml
50 lines (41 loc) · 1.36 KB
/
graphcool.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Welcome to Graphcool!
#
# This file is the main config file for your Graphcool Service.
# It's very minimal at this point and uses default values.
# We've included a hello world function here.
# Just run `graphcool deploy` to have the first running Graphcool Service.
#
# Check out some examples:
# https://github.com/graphcool/framework/tree/master/examples
#
# Here are the reference docs of this definition format:
# https://www.graph.cool/docs/reference/service-definition/graphcool.yml-foatho8aip
#
# Happy Coding!
# In the types.graphql you define your data schema
types:
- ./types/botie.graphql
- ./types/common.graphql
- ./types/giftie.graphql
- ./types/hostie.graphql
- ./types/user.graphql
functions:
hello:
handler:
code: src/graphcool/hello.ts
type: resolver
schema: src/graphcool/hello.graphql
# Model/Relation permissions are used to limit the API access
# To take the burden of thinking about those while development, we
# preconfigured the wildcard ("*") permission that allows everything
# Read more here:
# https://www.graph.cool/docs/reference/auth/authorization/overview-iegoo0heez
permissions:
- operation: "*"
# Your root tokens used for functions to get full access to the API
# Read more here:
# https://www.graph.cool/docs/reference/auth/authentication/authentication-tokens-eip7ahqu5o
rootTokens:
- auth0
- ci
- local