import { __decorate, __metadata } from "tslib";
import { GrumpkinAddress } from '@polyaztec/barretenberg/address';
import { Column, Entity, PrimaryColumn } from 'typeorm';
import { grumpkinAddressTransformer } from './transformer.js';
let UserDataDao = class UserDataDao {
};
__decorate([
    PrimaryColumn('blob', { transformer: [grumpkinAddressTransformer] }),
    __metadata("design:type", GrumpkinAddress)
], UserDataDao.prototype, "accountPublicKey", void 0);
__decorate([
    Column(),
    __metadata("design:type", Buffer)
], UserDataDao.prototype, "accountPrivateKey", void 0);
__decorate([
    Column(),
    __metadata("design:type", Number)
], UserDataDao.prototype, "syncedToRollup", void 0);
UserDataDao = __decorate([
    Entity({ name: 'userData' })
], UserDataDao);
export { UserDataDao };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlcl9kYXRhX2Rhby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kYXRhYmFzZS9ub2RlL3VzZXJfZGF0YV9kYW8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUNsRSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxhQUFhLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFFeEQsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFHOUQsSUFBYSxXQUFXLEdBQXhCLE1BQWEsV0FBVztDQVN2QixDQUFBO0FBUEM7SUFEQyxhQUFhLENBQUMsTUFBTSxFQUFFLEVBQUUsV0FBVyxFQUFFLENBQUMsMEJBQTBCLENBQUMsRUFBRSxDQUFDOzhCQUMzQyxlQUFlO3FEQUFDO0FBRzFDO0lBREMsTUFBTSxFQUFFOzhCQUNrQixNQUFNO3NEQUFDO0FBR2xDO0lBREMsTUFBTSxFQUFFOzttREFDc0I7QUFScEIsV0FBVztJQUR2QixNQUFNLENBQUMsRUFBRSxJQUFJLEVBQUUsVUFBVSxFQUFFLENBQUM7R0FDaEIsV0FBVyxDQVN2QjtTQVRZLFdBQVcifQ==