| 
									
										
										
										
											2020-05-04 21:05:31 +08:00
										 |  |  | import { DocsId } from '@grafana/data'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // TODO: Documentation links
 | 
					
						
							|  |  |  | const DOCS_LINKS: Record<DocsId, string> = { | 
					
						
							| 
									
										
										
										
											2020-08-10 16:58:45 +08:00
										 |  |  |   [DocsId.Transformations]: 'https://grafana.com/docs/grafana/latest/panels/transformations', | 
					
						
							|  |  |  |   [DocsId.FieldConfig]: 'https://grafana.com/docs/grafana/latest/panels/field-configuration-options/', | 
					
						
							|  |  |  |   [DocsId.FieldConfigOverrides]: | 
					
						
							|  |  |  |     'https://grafana.com/docs/grafana/latest/panels/field-configuration-options/#override-a-field', | 
					
						
							| 
									
										
										
										
											2020-05-04 21:05:31 +08:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export const getDocsLink = (id: DocsId) => DOCS_LINKS[id]; |