feat: locales remote fetch+ deps update + fixes
This commit is contained in:
		
							
								
								
									
										45
									
								
								server/graph/schemas/localization.graphql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								server/graph/schemas/localization.graphql
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,45 @@ | ||||
| # =============================================== | ||||
| # LOCALIZATION | ||||
| # =============================================== | ||||
|  | ||||
| extend type Query { | ||||
|   localization: LocalizationQuery | ||||
| } | ||||
|  | ||||
| extend type Mutation { | ||||
|   localization: LocalizationMutation | ||||
| } | ||||
|  | ||||
| # ----------------------------------------------- | ||||
| # QUERIES | ||||
| # ----------------------------------------------- | ||||
|  | ||||
| type LocalizationQuery { | ||||
|   locales: [LocalizationLocale] | ||||
| } | ||||
|  | ||||
| # ----------------------------------------------- | ||||
| # MUTATIONS | ||||
| # ----------------------------------------------- | ||||
|  | ||||
| type LocalizationMutation { | ||||
|   updateLocale( | ||||
|     localeId: String! | ||||
|     autoUpdate: Boolean! | ||||
|   ): DefaultResponse | ||||
| } | ||||
|  | ||||
| # ----------------------------------------------- | ||||
| # TYPES | ||||
| # ----------------------------------------------- | ||||
|  | ||||
| type LocalizationLocale { | ||||
|   code: String! | ||||
|   createdAt: Date! | ||||
|   installDate: Date | ||||
|   isInstalled: Boolean! | ||||
|   isRTL: Boolean! | ||||
|   name: String! | ||||
|   nativeName: String! | ||||
|   updatedAt: Date! | ||||
| } | ||||
		Reference in New Issue
	
	Block a user