mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 01:47:13 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			610 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			610 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import * as usersPermissions from '../services/users-permissions';
 | |
| import * as user from '../services/user';
 | |
| import * as role from '../services/role';
 | |
| import * as jwt from '../services/jwt';
 | |
| import * as providers from '../services/providers';
 | |
| import * as permission from '../services/permission';
 | |
| 
 | |
| type S = {
 | |
|   ['users-permissions']: typeof usersPermissions;
 | |
|   ['role']: typeof role;
 | |
|   user: typeof user;
 | |
|   jwt: typeof jwt;
 | |
|   providers: typeof providers;
 | |
|   ['providers-registry']: typeof providers;
 | |
|   permission: typeof permission;
 | |
| };
 | |
| 
 | |
| export function getService<T extends keyof S>(name: T): ReturnType<S[T]>;
 | 
