mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 21:59:00 +02:00
0ca81de78c
Decaffeinate backend GitOrigin-RevId: 4ca9f94fc809cab6f47cec8254cacaf1bb3806fa
19 lines
460 B
JavaScript
19 lines
460 B
JavaScript
/* eslint-disable
|
|
no-unused-vars,
|
|
*/
|
|
// TODO: This file was created by bulk-decaffeinate.
|
|
// Fix any style issues and re-enable lint.
|
|
const mongoose = require('mongoose')
|
|
const Settings = require('settings-sharelatex')
|
|
|
|
const { Schema } = mongoose
|
|
const { ObjectId } = Schema
|
|
|
|
const DocSchema = new Schema({
|
|
name: { type: String, default: 'new doc' }
|
|
})
|
|
|
|
mongoose.model('Doc', DocSchema)
|
|
exports.Doc = mongoose.model('Doc')
|
|
exports.DocSchema = DocSchema
|