the-gear / graphql-scalars

GraphQL Scalar Types ⚙️ `@the-gear/graphql-scalars` ⚙️ BigInt, Currency, Date, DecimalCurrency, Decimal, JSON, Timestamp
MIT License
3 stars 0 forks source link
bigint currency date decimal decimalcurrency graphql graphql-scalar graphql-scalars graphql-types timestamp

@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