alclient
Version:
A node client for interacting with Adventure Land - The Code MMORPG. This package extends the functionality of 'alclient' by managing a mongo database.
9 lines • 313 B
JavaScript
import pkg from "mongoose";
const { model } = pkg;
import RespawnSchema from "./respawns.schema.js";
export const RespawnModel = model("respawn", RespawnSchema);
RespawnModel.createIndexes().catch((e) => {
if (pkg.connection.readyState)
console.error(e);
});
//# sourceMappingURL=respawns.model.js.map