-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodegen.yml
More file actions
68 lines (68 loc) · 2.21 KB
/
codegen.yml
File metadata and controls
68 lines (68 loc) · 2.21 KB
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
schema:
# billing
- ./src/billing/Coupons/typeDefs.graphql
- ./src/billing/Discounts/typeDefs.graphql
- ./src/billing/InvoiceItems/typeDefs.graphql
- ./src/billing/Invoices/typeDefs.graphql
- ./src/billing/Plans/typeDefs.graphql
- ./src/billing/Subscriptions/typeDefs.graphql
- ./src/billing/SubscriptionItems/typeDefs.graphql
- ./src/billing/UsageRecords/typeDefs.graphql
# checkout
- ./src/checkout/Sessions/typeDefs.graphql
# connect
- ./src/connect/Accounts/typeDefs.graphql
- ./src/connect/ApplicationFeeRefunds/typeDefs.graphql
- ./src/connect/ApplicationFees/typeDefs.graphql
- ./src/connect/CountrySpecs/typeDefs.graphql
- ./src/connect/ExternalAccounts/typeDefs.graphql
- ./src/connect/TransferReversals/typeDefs.graphql
- ./src/connect/Transfers/typeDefs.graphql
# core
- ./src/core/Balance/typeDefs.graphql
- ./src/core/Charges/typeDefs.graphql
- ./src/core/Customers/typeDefs.graphql
- ./src/core/Disputes/typeDefs.graphql
- ./src/core/Events/typeDefs.graphql
- ./src/core/Files/typeDefs.graphql
- ./src/core/FileLinks/typeDefs.graphql
- ./src/core/PaymentIntents/typeDefs.graphql
- ./src/core/Payouts/typeDefs.graphql
- ./src/core/Products/typeDefs.graphql
- ./src/core/Refunds/typeDefs.graphql
- ./src/core/Tokens/typeDefs.graphql
# fraud
- ./src/fraud/Reviews/typeDefs.graphql
- ./src/fraud/ValueLists/typeDefs.graphql
- ./src/fraud/ValueListItems/typeDefs.graphql
# orders
- ./src/orders/Orders/typeDefs.graphql
- ./src/orders/OrderItems/typeDefs.graphql
- ./src/orders/SKUs/typeDefs.graphql
# payment
- ./src/payment/BankAccounts/typeDefs.graphql
- ./src/payment/Cards/typeDefs.graphql
- ./src/payment/Sources/typeDefs.graphql
watch: false
overwrite: true
config:
immutableTypes: false
enumsAsTypes: true
avoidOptionals: true
maybeValue: T | null | undefined
scalars:
DateTime: 'string'
JSON: '{ [x: string]: string | number }' #{ [key: string]: any }
# enumValues:
# ObjectType: 'string'
generates:
./types/index.d.ts:
plugins:
- typescript
- typescript-resolvers
config:
maybeValue: T | undefined
contextType: ./Context#StripeContext
./generated/schema.graphql:
plugins:
- schema-ast