forked from GaloyMoney/blink-mobile
-
Notifications
You must be signed in to change notification settings - Fork 7
/
codegen.yml
67 lines (67 loc) · 1.97 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
overwrite: true
schema: "https://api.test.flashapp.me/graphql"
# schema: "https://raw.githubusercontent.com/lnflash/flash/feature/merchant-map-suggest/src/graphql/public/schema.graphql"
documents:
- "app/**/*.ts"
- "app/**/*.tsx"
- "e2e/**/*.ts"
- "app/graphql/local-schema.gql"
generates:
app/graphql/generated.ts:
schema: "app/graphql/local-schema.gql"
plugins:
- typescript
- typescript-operations
- typescript-react-apollo
- add:
content: "// this file is autogenerated by codegen"
- add:
content: "\/* eslint-disable *\/"
config:
# typesPrefix: GQL
enumsAsConst: true
immutableTypes: true
strictScalars: true
nonOptionalTypename: 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"
Lnurl: "string"