mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02:00
Set Prettier's "trailingComma" setting to "es5" GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
14 lines
368 B
JavaScript
14 lines
368 B
JavaScript
const mongoose = require('../infrastructure/Mongoose')
|
|
|
|
const { Schema } = mongoose
|
|
|
|
const TeamInviteSchema = new Schema({
|
|
email: { type: String, required: true },
|
|
token: { type: String },
|
|
inviterName: { type: String },
|
|
sentAt: { type: Date },
|
|
})
|
|
|
|
exports.TeamInvite = mongoose.model('TeamInvite', TeamInviteSchema)
|
|
exports.TeamInviteSchema = TeamInviteSchema
|