11 lines
206 B
JavaScript
11 lines
206 B
JavaScript
|
import { Schema } from 'mongoose'
|
||
|
import Level from './Level.js'
|
||
|
import Player from './Player.js'
|
||
|
|
||
|
const Finish = new Schema({
|
||
|
map: Level,
|
||
|
time: Date,
|
||
|
players: [Player]
|
||
|
})
|
||
|
|
||
|
export default Finish
|