Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.51 KB

README.md

File metadata and controls

24 lines (19 loc) · 1.51 KB

@the-gear/graphql-scalars

Build Status npm version dependencies Status devDependencies Status peerDependencies Status Greenkeeper badge

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