UNPKG

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.

13 lines (12 loc) 488 B
import type { Document, Model } from "mongoose"; import type { ServerRegion, ServerIdentifier } from "../../definitions/adventureland.js"; import type { MonsterName } from "../../definitions/adventureland-data.js"; export interface IRespawn { estimatedRespawn: number; serverRegion: ServerRegion; serverIdentifier: ServerIdentifier; type: MonsterName; } export interface IRespawnDocument extends IRespawn, Document { } export type IRespawnModel = Model<IRespawnDocument>;