forked from GaloyMoney/blink-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codegen.yml
69 lines (69 loc) · 1.93 KB
/
codegen.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
overwrite: true
schema: "https://api.staging.galoy.io/graphql"
# schema: "./supergraph.graphql"
documents:
- "app/**/*.ts"
- "app/**/*.tsx"
- "e2e/**/*.ts"
generates:
app/graphql/generated.ts:
schema: "app/graphql/local-schema.gql"
plugins:
- typescript
- typescript-operations
- typescript-react-apollo
- typescript-resolvers
- add:
content: "// this file is autogenerated by codegen"
- add:
content: "\/* eslint-disable *\/"
config:
# typesPrefix: GQL
enumsAsConst: true
immutableTypes: true
strictScalars: true
nonOptionalTypename: true
federation: true
scalars:
AccountApiKeyLabel: "string"
AuthToken: "string"
CentAmount: "number"
ContactAlias: "string"
Hex32Bytes: "string"
Language: "string"
LnPaymentPreImage: "string"
LnPaymentRequest: "string"
LnPaymentSecret: "string"
Memo: "string"
OnChainAddress: "string"
OnChainTxHash: "string"
OneTimeAuthCode: "string"
PaymentHash: "string"
Phone: "string"
SafeInt: "number"
SatAmount: "number"
SignedAmount: "number"
TargetConfirmations: "number"
Timestamp: "number"
Username: "string"
WalletId: "string"
Seconds: "number"
DisplayCurrency: "string"
SignedDisplayMajorAmount: "string"
CountryCode: "string"
EmailRegistrationId: "string"
TotpRegistrationId: "string"
EmailAddress: "string"
TotpSecret: "string"
TotpCode: "string"
Feedback: "string"
Minutes: "string"
LeaderboardName: "string"
join__FieldSet: "string"
link__Import: "string"
_FieldSet: "string"
EndpointId: "string"
EndpointUrl: "string"
NotificationCategory: "string"
DateTime: "string"
TxExternalId: "string"