@forzalabs/remora
Version:
A powerful CLI tool for seamless data translation.
28 lines (27 loc) • 801 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Settings_1 = __importDefault(require("../helper/Settings"));
const DATABASE_STRUCTURE = {
collections: [
{
name: Settings_1.default.db.collections.usage,
indexes: [
{ consumer: 1 },
{ startedAt: 1 },
{ status: 1 }
]
},
{
name: Settings_1.default.db.collections.users,
indexes: []
},
{
name: Settings_1.default.db.collections.apiKeys,
indexes: []
}
]
};
exports.default = DATABASE_STRUCTURE;