generated from HelloUnspecified/template-graph-gateway
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstellate.yml
92 lines (86 loc) · 1.94 KB
/
stellate.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: that
schema: https://gateway-bgydxslf5a-uc.a.run.app
originUrl: https://gateway-bgydxslf5a-uc.a.run.app
scopes:
AUTHENTICATED: header:Authorization
rules:
- description: Default cache config
swr: 2700
maxAge: 1800
types:
- Query
- description: don't cache these public
swr: 0
maxAge: 0
scope: PUBLIC
types:
# events
MeEventAccessQuery: true
# members
MembersQuery:
isProfileSlugTaken: true
# communications
CommunicationsChecksQuery:
check: true
- description: don't cache these authenticated
swr: 0
maxAge: 0
scope: AUTHENTICATED
types:
# garage
MePortal: true
OrdersQuery:
all: true
order: true
# sessions
AdminSessionsQuery: true
VotingQuery:
isVotingOpen: true
MeOrdersMutation: true
# communications
CommunicationsChecksQuery:
validateThatApiRequest: true
- description: special Caboodle cache time
swr: 120
maxAge: 30
scope: AUTHENTICATED
types:
CaboodleQuery: true
- description: Reduced cache, calculated fields
swr: 300
maxAge: 60
scope: PUBLIC
types:
Panel:
favoriteCount: true
Regular:
favoriteCount: true
Workshop:
favoriteCount: true
OpenSpace:
favoriteCount: true
- description: Authenticated cache config
scope: AUTHENTICATED
swr: 600
maxAge: 120
types:
# members
DiscountCode: true
MemberFollowingQuery: true
# garage
Order: true
OrderAllocation: true
MeOrder: true
MeOrdersQuery: true
MeAssetsQuery: true
PublicOrderAllocation: true
# events
MeEventQuery: true
MeEventFavoritesQuery: true
MeCommunityFavoritesQuery: true
# partners
MePartnerQuery: true
# sessions
SessionAdminFields: true
MeQuery: true
VotingQuery: true