mirror of
				https://gitea.com/actions/setup-node.git
				synced 2025-10-29 15:52:42 +08:00 
			
		
		
		
	new toolkit and scoped registries
This commit is contained in:
		
							
								
								
									
										13
									
								
								node_modules/@octokit/rest/plugins/rest-api-endpoints/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								node_modules/@octokit/rest/plugins/rest-api-endpoints/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
module.exports = octokitRestApiEndpoints
 | 
			
		||||
 | 
			
		||||
const ROUTES = require('./routes.json')
 | 
			
		||||
 | 
			
		||||
function octokitRestApiEndpoints (octokit) {
 | 
			
		||||
  // Aliasing scopes for backward compatibility
 | 
			
		||||
  // See https://github.com/octokit/rest.js/pull/1134
 | 
			
		||||
  ROUTES.gitdata = ROUTES.git
 | 
			
		||||
  ROUTES.authorization = ROUTES.oauthAuthorizations
 | 
			
		||||
  ROUTES.pullRequests = ROUTES.pulls
 | 
			
		||||
 | 
			
		||||
  octokit.registerEndpoints(ROUTES)
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11284
									
								
								node_modules/@octokit/rest/plugins/rest-api-endpoints/routes.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11284
									
								
								node_modules/@octokit/rest/plugins/rest-api-endpoints/routes.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user