forked from ParabolInc/parabol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodegen.json
69 lines (69 loc) · 4.1 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
{
"config": {
"content": "// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck",
"defaultScalarType": "string",
"enumsAsTypes": true
},
"generates": {
"packages/server/graphql/private/resolverTypes.ts": {
"config": {
"contextType": "../graphql#InternalContext",
"mappers": {
"Company": "./queries/company#CompanySource",
"DraftEnterpriseInvoicePayload": "./types/DraftEnterpriseInvoicePayload#DraftEnterpriseInvoicePayloadSource",
"FlagConversionModalPayload": "./types/FlagConversionModalPayload#FlagConversionModalPayloadSource",
"FlagOverLimitPayload": "./types/FlagOverLimitPayload#FlagOverLimitPayloadSource",
"LoginsPayload": "./types/LoginsPayload#LoginsPayloadSource",
"Organization": "../../database/types/Organization#default as Organization",
"PingableServices": "./types/PingableServices#PingableServicesSource",
"SignupsPayload": "./types/SignupsPayload#SignupsPayloadSource",
"StripeFailPaymentPayload": "./mutations/stripeFailPayment#StripeFailPaymentPayloadSource",
"User": "../../postgres/types/IUser#default as IUser"
}
},
"plugins": ["typescript", "typescript-resolvers", "add"],
"schema": "packages/server/graphql/private/schema.graphql"
},
"packages/server/graphql/public/resolverTypes.ts": {
"config": {
"contextType": "../graphql#GQLContext",
"mappers": {
"AddApprovedOrganizationDomainsSuccess": "./types/AddApprovedOrganizationDomainsSuccess#AddApprovedOrganizationDomainsSuccessSource",
"CreateImposterTokenPayload": "./types/CreateImposterTokenPayload#CreateImposterTokenPayloadSource",
"LoginWithGooglePayload": "./types/LoginWithGooglePayload#LoginWithGooglePayloadSource",
"NewMeeting": "../../postgres/types/Meeting#AnyMeeting",
"Organization": "../../database/types/Organization#default as Organization",
"PokerMeeting": "../../database/types/MeetingPoker#default as MeetingPoker",
"RemoveApprovedOrganizationDomainsSuccess": "./types/RemoveApprovedOrganizationDomainsSuccess#RemoveApprovedOrganizationDomainsSuccessSource",
"RemoveIntegrationSearchQuerySuccess": "./types/RemoveIntegrationSearchQuerySuccess#RemoveIntegrationSearchQuerySuccessSource",
"Team": "../../postgres/queries/getTeamsByIds#Team",
"TeamPromptMeeting": "../../database/types/MeetingTeamPrompt#default as MeetingTeamPromptDB",
"TeamPromptResponse": "../../postgres/queries/getTeamPromptResponsesByIds#TeamPromptResponse",
"TimelineEventTeamPromptComplete": "./types/TimelineEventTeamPromptComplete#TimelineEventTeamPromptCompleteSource",
"UpdateDimensionFieldSuccess": "./types/UpdateDimensionFieldSuccess#UpdateDimensionFieldSuccessSource",
"UpdateGitLabDimensionFieldSuccess": "./types/UpdateGitLabDimensionFieldSuccess#UpdateGitLabDimensionFieldSuccessSource",
"UpdateMeetingPromptSuccess": "./types/UpdateMeetingPromptSuccess#UpdateMeetingPromptSuccessSource",
"UpsertTeamPromptResponseSuccess": "./types/UpsertTeamPromptResponseSuccess#UpsertTeamPromptResponseSuccessSource",
"User": "../../postgres/types/IUser#default as IUser"
}
},
"plugins": ["typescript", "typescript-resolvers", "add"],
"schema": "packages/server/graphql/public/schema.graphql"
},
"packages/server/types/githubTypes.ts": {
"config": {"assumeValidSDL": true},
"documents": "packages/server/utils/githubQueries/*.graphql",
"plugins": ["typescript", "typescript-operations", "add"],
"schema": "packages/server/utils/githubSchema.graphql"
},
"packages/server/types/gitlabTypes.ts": {
"config": {"assumeValidSDL": true},
"documents": [
"packages/server/graphql/nestedSchema/GitLab/queries/*.graphql",
"packages/server/graphql/nestedSchema/GitLab/mutations/*.graphql"
],
"plugins": ["typescript", "typescript-operations", "add"],
"schema": "packages/server/graphql/nestedSchema/GitLab/gitlabSchema.graphql"
}
}
}