Fazendaaa/AnilistBot

View on GitHub
src/lib/database/content/model.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { model } from 'mongoose';
import { animeSchema, characterSchema, mangaSchema, staffSchema } from './schema';

export const Anime = model('Anime', animeSchema);

export const Manga = model('Manga', mangaSchema);

export const Staff = model('Description', staffSchema);

export const Character = model('Character', characterSchema);