Skip to content

Commit 796fb4e

Browse files
committed
Add new API types to codegen
1 parent b3e57d3 commit 796fb4e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

codegen.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ config:
1616
scalars:
1717
URI: 'URI'
1818
UUID: 'UUID'
19-
Datetime: 'Date'
19+
Datetime: 'Date' # FIXME: wrong type, it's actually a string
2020
Cursor: 'string'
2121
JSON: '{ [key: string]: any }'
2222
Uint256: 'string'
23+
Int256: 'string'
2324
Address: 'string'
2425
TransactionHash: 'string'
2526
BigFloat: 'string'
27+
# BigInt: 'string' # FIXME: this breaks the build. Need to fix the type in the codebase
28+
Bytes32: 'string'
29+
FullText: 'string'

type.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ declare module '@pinata/ipfs-gateway-tools/dist/node' {
2020
}
2121
}
2222

23-
type IPFS = string
2423
type UUID = string
2524
type URI = string
2625

0 commit comments

Comments
 (0)