@the-gear/graphql-scalars
v0.0.5 graphql graphql-scalar scalar typescript
@the-gear/graphql-scalars
Custom GraphQL scalar types
import { GraphQLBigInt } from '@the-gear/graphql-scalars'; // BigInt
import { GraphQLCurrency } from '@the-gear/graphql-scalars'; // Currency
import { GraphQLDate } from '@the-gear/graphql-scalars'; // Date
import { GraphQLDecimalCurrency, DecimalCurrency } from '@the-gear/graphql-scalars';
import { GraphQLDecimal } from '@the-gear/graphql-scalars'; // Decimal
import { GraphQLJSON } from '@the-gear/graphql-scalars'; // JSON
import { GraphQLTimestamp } from '@the-gear/graphql-scalars'; // Timestamp
Thanks
Based on Typescript lib starter by Martin Hochel @martin_hotell
npm i @the-gear/graphql-scalars
Source Code
github.com/the-gear/graphql-...Metadata
- MIT
- Whatever
- Pavel Lang
- released 1/3/2019