07c827e9fd
[web] last infrastructure conversions GitOrigin-RevId: ad1aff9b7df0610ed0303157d9e2c8032f32c02b
13 lines
255 B
JavaScript
13 lines
255 B
JavaScript
import mongoose from '../infrastructure/Mongoose.mjs'
|
|
|
|
const { Schema } = mongoose
|
|
|
|
export const DocSchema = new Schema(
|
|
{
|
|
name: { type: String, default: 'new doc' },
|
|
},
|
|
{ minimize: false }
|
|
)
|
|
|
|
export const Doc = mongoose.model('Doc', DocSchema)
|