- Started:
- 13 May 2017.
- Updated:
- 14 May 2017.
Library of Reusable GraphQL Schema Types.
Mutation types: Uses INPUT GraphQL syntax.
- 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. - 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 types: Uses OUTPUT GraphQL syntax.
- 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. - 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.