forked from MapComplete/MapComplete
		
	new stats
This commit is contained in:
		
							parent
							
								
									1134ac4d54
								
							
						
					
					
						commit
						b226f6d26a
					
				
					 13 changed files with 13 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -55,12 +55,11 @@ class StatsDownloader {
 | 
			
		|||
                    if (existsSync(path)) {
 | 
			
		||||
                        let features = JSON.parse(readFileSync(path, "UTF-8"))
 | 
			
		||||
                        features = features?.features ?? features
 | 
			
		||||
                        console.log(features)
 | 
			
		||||
                        features.push(...features.features) // day-stats are generally a list already, but in some ad-hoc cases might be a geojson-collection too
 | 
			
		||||
                        console.log(
 | 
			
		||||
                            "Loaded ",
 | 
			
		||||
                            path,
 | 
			
		||||
                            "from disk, got",
 | 
			
		||||
                            "from disk, has",
 | 
			
		||||
                            features.length,
 | 
			
		||||
                            "features now"
 | 
			
		||||
                        )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
["file-overview.json","missing_editor.json","stats.2020-10.json","stats.2020-11.json","stats.2020-12.json","stats.2020-5.json","stats.2020-6.json","stats.2020-7.json","stats.2020-8.json","stats.2020-9.json","stats.2021-1.json","stats.2021-10.json","stats.2021-11.json","stats.2021-12.json","stats.2021-2.json","stats.2021-3.json","stats.2021-4.json","stats.2021-5.json","stats.2021-6.json","stats.2021-7.json","stats.2021-8.json","stats.2021-9.json","stats.2022-1.json","stats.2022-2.json","stats.2022-3.json","stats.2022-4.json","stats.2022-5.json","stats.2022-6.json","stats.2022-7.json","stats.2022-8.json","stats.2022-9-01.day.json","stats.2022-9-02.day.json"]
 | 
			
		||||
["file-overview.json","missing_editor.json","stats.2020-10.json","stats.2020-11.json","stats.2020-12.json","stats.2020-5.json","stats.2020-6.json","stats.2020-7.json","stats.2020-8.json","stats.2020-9.json","stats.2021-1.json","stats.2021-10.json","stats.2021-11.json","stats.2021-12.json","stats.2021-2.json","stats.2021-3.json","stats.2021-4.json","stats.2021-5.json","stats.2021-6.json","stats.2021-7.json","stats.2021-8.json","stats.2021-9.json","stats.2022-1.json","stats.2022-2.json","stats.2022-3.json","stats.2022-4.json","stats.2022-5.json","stats.2022-6.json","stats.2022-7.json","stats.2022-8.json","stats.2022-9-01.day.json","stats.2022-9-02.day.json","stats.2022-9-03.day.json","stats.2022-9-04.day.json","stats.2022-9-05.day.json","stats.2022-9-06.day.json","stats.2022-9-07.day.json","stats.2022-9-08.day.json","stats.2022-9-09.day.json","stats.2022-9-10.day.json","stats.2022-9-11.day.json","stats.2022-9-12.day.json","stats.2022-9-13.day.json"]
 | 
			
		||||
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-03.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-03.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-04.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-04.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-05.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-05.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-06.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-06.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-07.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-07.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-08.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-08.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-09.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-09.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-10.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-10.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-11.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-11.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-12.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-12.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-13.day.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Docs/Tools/stats/stats.2022-9-13.day.json
									
										
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue