@@ -30,6 +30,7 @@ type Category {
3030 parent_id : String
3131 url (url : String ): String
3232 categories (limit : Int = 3 ): [Category ]
33+ keyword : String
3334}
3435
3536type categoryBlog {
@@ -40,6 +41,7 @@ type categoryBlog {
4041 description : String
4142 parent_id : String
4243 url (url : String ): String
44+ keyword : String
4345 categories (limit : Int = 3 ): [categoryBlog ]
4446}
4547
@@ -112,6 +114,7 @@ type Page {
112114 id : ID
113115 title : String
114116 description : String
117+ keyword : String
115118 sort_order : Int
116119}
117120
@@ -133,6 +136,7 @@ type Post {
133136 description : String
134137 image : String
135138 imageLazy : String
139+ keyword : String
136140 reviews : [postReview ]
137141}
138142
@@ -185,6 +189,7 @@ type Product {
185189 reviews : [productReview ]
186190 options : [productOption ]
187191 images (limit : Int = 3 ): [productImage ]
192+ keyword : String
188193}
189194
190195type productAttribute {
@@ -312,16 +317,15 @@ type RootMutationType {
312317 accountAddAddress (address : AccountAddressInput ): AccountAddress
313318 accountEditAddress (id : String , address : AccountAddressInput ): AccountAddress
314319 accountRemoveAddress (id : String , page : Int = 1 , size : Int = 10 ): [AccountAddress ]
315- accountCheckLogged : LoggedResult
316- addBlogPostReview (id : Int , rating : Float , author : String , content : String ): Post
317- addToCart (id : Int , quantity : Int = 1 , options : [CartOption ] = []): Cart
320+ addBlogPostReview (id : String , rating : Float , author : String , content : String ): Post
321+ addToCart (id : String , quantity : Int = 1 , options : [CartOption ] = []): Cart
318322 updateCart (key : String , quantity : Int = 1 ): Cart
319323 removeCart (key : String ): Cart
320324 addToCompare (id : Int ): [Product ]
321325 removeCompare (id : String ): [Product ]
322326 editCurrency (code : String ): [Currency ]
323327 editLanguage (code : String ): [Language ]
324- addReview (id : Int , rating : Float , author : String , content : String ): Product
328+ addReview (id : String , rating : Float , author : String , content : String ): Product
325329 addToWishlist (id : Int ): [Product ]
326330 removeWishlist (id : String ): [Product ]
327331 contactSend (name : String , email : String , message : String ): ContactResult
@@ -332,22 +336,23 @@ type RootQueryType {
332336 zonesList (page : Int = 1 , size : Int = 10 , search : String , country_id : String , sort : String = " name" , order : String = " ASC" ): ZonesResult
333337 country (id : Int ): Country
334338 countriesList (page : Int = 1 , size : Int = 10 , search : String , sort : String = " name" , order : String = " ASC" ): CountriesResult
335- categoryBlog (id : Int ): categoryBlog
339+ categoryBlog (id : String ): categoryBlog
336340 categoriesBlogList (page : Int = 1 , size : Int = 10 , filter : String , parent : Int = -1 , sort : String = " sort_order" , order : String = " ASC" ): categoryBlogResult
337- post (id : Int ): Post
338- postsList (page : Int = 1 , size : Int = 10 , filter : String , search : String , category_id : Int = 0 , sort : String = " sort_order" , order : String = " ASC" ): PostResult
341+ post (id : String ): Post
342+ postsList (page : Int = 1 , size : Int = 10 , filter : String , search : String , category_id : String = " " , sort : String = " sort_order" , order : String = " ASC" ): PostResult
339343 cart : Cart
340- category (id : Int ): Category
344+ category (id : String ): Category
341345 categoriesList (page : Int = 1 , size : Int = 10 , filter : String , parent : Int = -1 , sort : String = " sort_order" , order : String = " ASC" ): CategoryResult
342346 compare : [Product ]
343347 currency : [Currency ]
344348 language : [Language ]
345- page (id : Int ): Page
349+ page (id : String ): Page
346350 pagesList (page : Int = 1 , size : Int = 10 , search : String = " " , sort : String = " sort_order" , order : String = " ASC" ): PageResult
347- productsList (page : Int = 1 , size : Int = 15 , filter : String = " " , special : Boolean = false , search : String = " " , ids : [Int ] = [], category_id : Int = 0 , sort : String = " sort_order" , order : String = " ASC" ): ProductResult
348- product (id : Int ): Product
351+ productsList (page : Int = 1 , size : Int = 15 , filter : String = " " , special : Boolean = false , search : String = " " , ids : [Int ] = [], category_id : String = " " , sort : String = " sort_order" , order : String = " ASC" ): ProductResult
352+ product (id : String ): Product
349353 wishlist : [Product ]
350354 contact : Contact
355+ accountCheckLogged : LoggedResult
351356 accountAddressList : [AccountAddress ]
352357 accountAddress (id : String ): AccountAddress
353358}
0 commit comments