Skip to content

TobiahRex/GraphQLReusableTypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Tobiah Rex' GraphQL Re-usable Types Library

  • Started:
    • 13 May 2017.
  • Updated:
    • 14 May 2017.

Description:

Library of Reusable GraphQL Schema Types.

Mutations

Mutation types: Uses INPUT GraphQL syntax.

  1. Product
    - enum : General Enumeration type for products - this case is nicotine_strengths. - images : Describes an array of images. Each image is an object with several props. - inventoryDates : Describes important dates about the products inventory. - routeTag : Describes the route that will be used as the products client side route. - stockQtys : Describes the available quantities of a product. - vendor : Describes the Products manufacturer.
  2. User - authenticationInfo : Describes the users auth info. e.g. Last Login. - contactInfo : Describes an object with users contact information. - permissions : Describes the users permissions. - userStory : Describes the users back story/bio.

Query

Query types: Uses OUTPUT GraphQL syntax.

  1. Product
    - id : Describes the mongo id for a product. - images : Describes an array of images. Each image is an object with several props. - inventoryDates : Describes important dates about the products inventory. - mainTitle : Describes the "Category" or "Main Title" for the product - displayed on a Single Product page. - nicotineStrengths : General Enumeration type for products - this case is nicotine_strengths. - rootType : Root of the ProductType. All other fields should be placed within this type. - routeTag : Describes the specific route for the product. - sizes : Describes the enumerable sizes for the product. - stockQtys : Describes the available quantities of a product. - vendor : Describes the manufacturer for the product.
  2. User - authenticationInfo : Describes the users auth info. e.g. Last Login. - contactInfo : Describes the Contact info & GeoLocation data for a user. - id : Describes the mongo id for a user. - name : Describes the First & Last name for a user. - permissions : Describes the users authorization permissions. - rootType : Root of the UserType. All other fields should be placed within this type. - userStory : Describes the users back story/bio.

About

Collection of re-usable GraphQL Schema Types.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published