"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserToken = exports.UserTokenSchema = void 0;
const mongoose_1 = __importDefault(require("mongoose"));
const _models_1 = require("./_models");
exports.UserTokenSchema = new mongoose_1.default.Schema({
    username: {
        type: String,
        trim: true,
        required: true,
    },
    secret: {
        type: String,
        trim: true,
        required: true,
    },
}, {
    timestamps: { createdAt: true, updatedAt: true },
    versionKey: false,
});
exports.UserToken = mongoose_1.default.model(_models_1.MODEL_NAMES.userTokens, exports.UserTokenSchema);
