const mongoose = require('mongoose') const { Schema } = mongoose module.exports = mongoose.model( 'Chunk', new Schema({ type: String, data: Buffer, size: Number, }), 'chunk' )