-
Notifications
You must be signed in to change notification settings - Fork 14
/
codegen.json
85 lines (85 loc) · 3.45 KB
/
codegen.json
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
{
"overwrite": true,
"schema": "schema.graphql",
"generates": {
"src/definitions/schema.d.ts": {
"plugins": ["typescript", "typescript-resolvers"],
"config": {
"useIndexSignature": true,
"typesPrefix": "GQL",
"namingConvention": {
"enumValues": "keep"
},
"inputMaybeValue": "T | undefined",
"mapperTypeSuffix": "Model",
"mappers": {
"User": "./user#User",
"UserInfo": "./user#User",
"UserStatus": "./user#User",
"UserActivity": "./user#User",
"UserSettings": "./user#User",
"UserAnalytics": "./user#User",
"UserOSS": "./user#User",
"Recommendation": "./user#User",
"Following": "./user#User",
"Liker": "./user#User",
"Wallet": "./user#User",
"CryptoWallet": "./user#Wallet",
"Tag": "./tag#Tag",
"TagOSS": "./tag#Tag",
"Collection": "./collection#Collection",
"Comment": "./comment#Comment",
"Article": "./article#Article",
"ArticleAccess": "./article#Article",
"ArticleOSS": "./article#Article",
"ArticleVersion": "./article#ArticleVersion",
"ArticleContents": "./article#ArticleVersion",
"Draft": "./draft#Draft",
"DraftAccess": "./draft#Draft",
"Circle": "./circle#Circle",
"Invites": "./circle#Circle",
"Invitation": "./circle#CircleInvitation",
"CircleAnalytics": "./circle#Circle",
"CircleIncomeAnalytics": "./circle#Circle",
"CircleSubscriberAnalytics": "./circle#Circle",
"CircleFollowerAnalytics": "./circle#Circle",
"CircleContentAnalytics": "./circle#Circle",
"Member": "./circle#CircleMember",
"Price": "./index#CirclePrice",
"StripeAccount": "./payment#PayoutAccount",
"Transaction": "./index#Transaction",
"Asset": "./asset#Asset",
"Notice": "./notification#NoticeItem",
"UserNotice": "./notification#NoticeItem",
"ArticleNotice": "./notification#NoticeItem",
"ArticleArticleNotice": "./notification#NoticeItem",
"ArticleTagNotice": "./notification#NoticeItem",
"CollectionNotice": "./notification#NoticeItem",
"MomentNotice": "./notification#NoticeItem",
"TagNotice": "./notification#NoticeItem",
"CommentNotice": "./notification#NoticeItem",
"CommentCommentNotice": "./notification#NoticeItem",
"CampaignArticleNotice": "./notification#NoticeItem",
"TransactionNotice": "./notification#NoticeItem",
"CircleNotice": "./notification#NoticeItem",
"OfficialNotice": "./notification#NoticeItem",
"OfficialAnnouncementNotice": "./notification#NoticeItem",
"Appreciation": "./appreciation#Appreciation",
"OAuthClient": "./user#OAuthClientDB",
"Report": "./report#Report",
"IcymiTopic": "./misc#MattersChoiceTopic",
"Moment": "./moment#Moment",
"Writing": "./index#Writing",
"Campaign": "./campaign#Campaign",
"CampaignOSS": "./campaign#Campaign",
"WritingChallenge": "./campaign#Campaign",
"CampaignStage": "./campaign#CampaignStage"
},
"contextType": "./index#Context",
"makeResolverTypeCallable": true,
"onlyResolveTypeForInterfaces": true,
"enumsAsTypes": true
}
}
}
}