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