mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
16 lines
465 B
CoffeeScript
16 lines
465 B
CoffeeScript
mongoose = require 'mongoose'
|
|
Settings = require 'settings-sharelatex'
|
|
|
|
Schema = mongoose.Schema
|
|
ObjectId = Schema.ObjectId
|
|
|
|
TeamInviteSchema = new Schema
|
|
email : { type: String, required: true }
|
|
token : { type: String }
|
|
inviterName : { type: String }
|
|
sentAt : { type: Date }
|
|
|
|
mongoose.model 'TeamInvite', TeamInviteSchema
|
|
exports.TeamInvite = mongoose.model 'TeamInvite'
|
|
exports.TeamInviteSchema = TeamInviteSchema
|