UNPKG

adonis-odm

Version:

A comprehensive MongoDB ODM for AdonisJS with Lucid-style API, type-safe relationships, embedded documents, and transaction support

13 lines 462 B
import type { BaseModel } from './base_model.js'; /** * Global model registry for relationship loading */ export declare class ModelRegistry { private static models; static register(modelClass: typeof BaseModel): void; static get(modelName: string): typeof BaseModel | undefined; static has(modelName: string): boolean; static clear(): void; static getAll(): Map<string, typeof BaseModel>; } //# sourceMappingURL=model_registry.d.ts.map