mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	Merge branch 'main' into STRAP-54
This commit is contained in:
		
						commit
						ca88a6802b
					
				
							
								
								
									
										2
									
								
								.github/workflows/pages.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/pages.yml
									
									
									
									
										vendored
									
									
								
							| @ -4,6 +4,8 @@ on: | |||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|       - 'main' |       - 'main' | ||||||
|  |     paths: | ||||||
|  |       - 'docs/**' | ||||||
| 
 | 
 | ||||||
|   workflow_dispatch: |   workflow_dispatch: | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -60,6 +60,10 @@ module.exports = ({ strapi }) => ({ | |||||||
|           ...createLocalizationResolversConfig, |           ...createLocalizationResolversConfig, | ||||||
|           // locale arg transformation for localized createEntity mutations
 |           // locale arg transformation for localized createEntity mutations
 | ||||||
|           ...getLocalizedCreateMutationsResolversConfigs({ typeRegistry }), |           ...getLocalizedCreateMutationsResolversConfigs({ typeRegistry }), | ||||||
|  | 
 | ||||||
|  |           // Modify the default scope associated to find and findOne locale queries to match the actual action name
 | ||||||
|  |           'Query.i18NLocale': { auth: { scope: 'plugin::i18n.locales.listLocales' } }, | ||||||
|  |           'Query.i18NLocales': { auth: { scope: 'plugin::i18n.locales.listLocales' } }, | ||||||
|         }, |         }, | ||||||
|       }; |       }; | ||||||
|     }); |     }); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 GitStart
						GitStart