flamingo.me/flamingo-commerce/v3@v3.11.0/category/interfaces/graphql/schema.graphql (about) 1 type Commerce_Category_Attributes { 2 get(code: String!): Commerce_Category_Attribute 3 has(code: String!): Boolean 4 all: [Commerce_Category_Attribute!] 5 } 6 7 type Commerce_Category_Attribute { 8 code: String! 9 label: String! 10 values: [Commerce_Category_AttributeValue!] 11 } 12 13 type Commerce_Category_AttributeValue { 14 value: String! 15 label: String! 16 } 17 18 interface Commerce_Category { 19 code: String! 20 name: String! 21 path: String! 22 active: Boolean! 23 promoted: Boolean! 24 attributes: Commerce_Category_Attributes! 25 } 26 27 type Commerce_CategoryData implements Commerce_Category { 28 code: String! 29 name: String! 30 path: String! 31 active: Boolean! 32 promoted: Boolean! 33 attributes: Commerce_Category_Attributes! 34 } 35 36 interface Commerce_Tree { 37 code: String! 38 name: String! 39 path: String! 40 active: Boolean! 41 subTrees: [Commerce_Tree] 42 hasChilds: Boolean! 43 documentCount: Int! 44 } 45 46 type Commerce_CategoryTree implements Commerce_Tree{ 47 code: String! 48 name: String! 49 path: String! 50 active: Boolean! 51 subTrees: [Commerce_Tree] 52 hasChilds: Boolean! 53 documentCount: Int! 54 } 55 56 type Commerce_Category_SearchResult { 57 category: Commerce_Category! 58 productSearchResult: Commerce_Product_SearchResult! 59 } 60 61 extend type Query { 62 Commerce_CategoryTree(activeCategoryCode: String!): Commerce_Tree! 63 Commerce_Category(categoryCode: String!, categorySearchRequest: Commerce_Search_Request): Commerce_Category_SearchResult 64 }