UNPKG
capto
Version:
latest (0.6.0)
v0.2.0 (0.2.0)
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.1
0.1.0
0.0.2
Mail catcher for NodeJs
jamhall.github.io/capto/
jamhall/capto
capto
/
app
/
models
/
attachment.js
15 lines
(12 loc)
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
;
var
mongoose =
require
(
'mongoose'
);
var
Schema
= mongoose.
Schema
;
var
attachment = mongoose.
Schema
({
checksum
:
String
,
name
:
String
,
size
:
Number
,
content
:
Buffer
,
contentId
:
String
,
contentType
:
String
});
module
.
exports
= attachment;