fix: setup issues + webpack improvements
This commit is contained in:
		
							
								
								
									
										51
									
								
								server/graph/schemas/navigation.graphql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										51
									
								
								server/graph/schemas/navigation.graphql
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,51 @@ | ||||
| # =============================================== | ||||
| # NAVIGATION | ||||
| # =============================================== | ||||
|  | ||||
| extend type Query { | ||||
|   navigation: NavigationQuery | ||||
| } | ||||
|  | ||||
| extend type Mutation { | ||||
|   navigation: NavigationMutation | ||||
| } | ||||
|  | ||||
| # ----------------------------------------------- | ||||
| # QUERIES | ||||
| # ----------------------------------------------- | ||||
|  | ||||
| type NavigationQuery { | ||||
|   tree: [NavigationItem]! | ||||
| } | ||||
|  | ||||
| # ----------------------------------------------- | ||||
| # MUTATIONS | ||||
| # ----------------------------------------------- | ||||
|  | ||||
| type NavigationMutation { | ||||
|   updateTree( | ||||
|     tree: [NavigationItemInput]! | ||||
|   ): DefaultResponse | ||||
| } | ||||
|  | ||||
| # ----------------------------------------------- | ||||
| # TYPES | ||||
| # ----------------------------------------------- | ||||
|  | ||||
| type NavigationItem { | ||||
|   id: String! | ||||
|   kind: String! | ||||
|   label: String | ||||
|   icon: String | ||||
|   targetType: String | ||||
|   target: String | ||||
| } | ||||
|  | ||||
| input NavigationItemInput { | ||||
|   id: String! | ||||
|   kind: String! | ||||
|   label: String | ||||
|   icon: String | ||||
|   targetType: String | ||||
|   target: String | ||||
| } | ||||
		Reference in New Issue
	
	Block a user