| 
									
										
										
										
											2021-09-09 08:51:29 -08:00
										 |  |  | from pathlib import Path | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | CWD = Path(__file__).parent | 
					
						
							| 
									
										
										
										
											2022-01-09 21:04:24 -09:00
										 |  |  | PROJECT_DIR = Path(__file__).parent.parent.parent | 
					
						
							| 
									
										
										
										
											2021-09-09 08:51:29 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class Directories: | 
					
						
							|  |  |  |     out_dir = CWD / "generated" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class CodeTemplates: | 
					
						
							|  |  |  |     interface = CWD / "templates" / "interface.js" | 
					
						
							|  |  |  |     pytest_routes = CWD / "templates" / "test_routes.py.j2" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class CodeDest: | 
					
						
							|  |  |  |     interface = CWD / "generated" / "interface.js" | 
					
						
							|  |  |  |     pytest_routes = CWD / "generated" / "test_routes.py" | 
					
						
							| 
									
										
										
										
											2022-03-19 16:33:55 -08:00
										 |  |  |     use_locales = PROJECT_DIR / "frontend" / "composables" / "use-locales" / "available-locales.ts" | 
					
						
							| 
									
										
										
										
											2021-09-09 08:51:29 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class CodeKeys: | 
					
						
							| 
									
										
										
										
											2021-11-20 14:30:38 -09:00
										 |  |  |     """Hard coded comment IDs that are used to generate code""" | 
					
						
							| 
									
										
										
										
											2021-09-09 08:51:29 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     nuxt_local_messages = "MESSAGE_LOCALES" | 
					
						
							|  |  |  |     nuxt_local_dates = "DATE_LOCALES" |