@cortexql/types

A set of types to be used with CortexQL

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@cortexql/types
0.0.985 years ago5 years agoMinified + gzip package size for @cortexql/types in KB

Readme

CortexQL Types
A group of TypeScript types supported on GraphQL

ROADMAP

Generic

  • InetAddress
  • x URI
  • x Slug
  • x Uuid
  • x Email
  • x Phone
  • x FQDN

Special

  • x Any
  • Object

Number

  • x Integer
  • x Long
  • BigInt
  • BigDecimal

Date/Time

  • x Duration
  • x Interval
  • x TimeUuid
  • x DateTime
  • x LocalDate
  • x LocalDateInterval
  • LocalTime

Geometry

  • LineString
  • Polygon
  • Point
  • Distance

Relay

  • x Node
  • x Connection (with utilities)

Utilities

  • x connectionFromArray
  • x GlobalId

Usage TypeScript type

import { Long } from '@cortexql/types';

Usage GraphQL

import { GraphQLLong } from '@cortexql/types/graphql';