many many many many changes

This commit is contained in:
Lee
2023-10-19 14:17:55 +01:00
parent 6acf6e8635
commit a031451fa3
36 changed files with 2743 additions and 174 deletions

@ -0,0 +1,15 @@
import mongoose from "mongoose";
import { ScoresaberSchema } from "./scoresaberAccount";
const { Schema } = mongoose;
const playerSchema = new Schema({
_id: String,
avatar: String,
name: String,
country: String,
scoresaber: ScoresaberSchema,
});
export const PlayerSchema =
mongoose.models.Player || mongoose.model("Player", playerSchema);