import {__decorate,__param,__metadata}from'tslib';import {injectable,inject,optional}from'inversify';import {Connection}from'mongoose';import {BaseRepository}from'@common-stack/store-mongo';import {CityModelFunc}from'../models/city.js';import'../models/country.js';import'../models/state.js';let CityRepository = class CityRepository extends BaseRepository {
    constructor(db, logger, options) {
        super(CityModelFunc, db, logger, options);
    }
};
CityRepository = __decorate([
    injectable(),
    __param(0, inject('MongoDBConnection')),
    __param(1, inject('Logger')),
    __param(2, inject('IMongoOptions')),
    __param(2, optional()),
    __metadata("design:paramtypes", [Connection, Object, Object])
], CityRepository);export{CityRepository};