UI update for map with sector selector
[browser-rts.git] / scripts / generate-cities.ts
1 import { CityRepository } from "../src/repository/city";
2 import { v4 as uuid } from 'uuid';
3
4 const cityRepo = new CityRepository();
5
6 (async () => {
7     for(let i = 0; i < 100; ++i) {
8         await cityRepo.create(uuid(), true);
9     }
10
11     console.log('Created 100 cities');
12
13     process.exit(0);
14 })();