| 
									
										
										
										
											2021-06-28 12:34:29 +02:00
										 |  |  | import * as role from '../services/role'; | 
					
						
							|  |  |  | import * as user from '../services/user'; | 
					
						
							|  |  |  | import * as permission from '../services/permission'; | 
					
						
							|  |  |  | import * as contentType from '../services/content-type'; | 
					
						
							|  |  |  | import * as metrics from '../services/metrics'; | 
					
						
							| 
									
										
										
										
											2021-07-28 15:32:21 +02:00
										 |  |  | import * as token from '../services/token'; | 
					
						
							|  |  |  | import * as auth from '../services/auth'; | 
					
						
							| 
									
										
										
										
											2021-08-26 14:37:55 +02:00
										 |  |  | import * as apiToken from '../services/api-token'; | 
					
						
							| 
									
										
										
										
											2022-04-04 15:09:08 +02:00
										 |  |  | import * as projectSettings from '../services/project-settings'; | 
					
						
							| 
									
										
										
										
											2023-02-02 13:15:41 +01:00
										 |  |  | import * as transfer from '../services/transfer'; | 
					
						
							| 
									
										
										
										
											2021-06-28 12:34:29 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | type S = { | 
					
						
							|  |  |  |   role: typeof role; | 
					
						
							|  |  |  |   user: typeof user; | 
					
						
							|  |  |  |   permission: typeof permission; | 
					
						
							| 
									
										
										
										
											2021-08-27 16:23:19 +02:00
										 |  |  |   'content-type': typeof contentType; | 
					
						
							| 
									
										
										
										
											2021-07-28 15:32:21 +02:00
										 |  |  |   token: typeof token; | 
					
						
							|  |  |  |   auth: typeof auth; | 
					
						
							| 
									
										
										
										
											2021-06-28 12:34:29 +02:00
										 |  |  |   metrics: typeof metrics; | 
					
						
							| 
									
										
										
										
											2021-08-27 16:23:19 +02:00
										 |  |  |   'api-token': typeof apiToken; | 
					
						
							| 
									
										
										
										
											2022-04-04 15:09:08 +02:00
										 |  |  |   'project-settings': typeof projectSettings; | 
					
						
							| 
									
										
										
										
											2023-02-02 13:15:41 +01:00
										 |  |  |   transfer: typeof transfer; | 
					
						
							| 
									
										
										
										
											2021-06-28 12:34:29 +02:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-02 11:56:14 +02:00
										 |  |  | export function getService<T extends keyof S>(name: T): S[T]; |