@dhyasama/totem-models 9.83.0 → 9.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,27 +24,27 @@ module.exports = function(mongoose, config) {
24
24
  limitedPartner: { type: Schema.ObjectId, ref: 'LimitedPartner', required: true },
25
25
 
26
26
  // the file name
27
- fileName: { type: String, trim: true, required: true },
27
+ fileName: { type: String, trim: true },
28
28
 
29
29
  // file contents, base64 encoded for postmark
30
- content: { type: String, trim: true, required: false },
30
+ content: { type: String, trim: true },
31
31
 
32
32
  // file type
33
- contentType: { type: String, trim: true, required: true },
33
+ contentType: { type: String, trim: true },
34
34
 
35
35
  // file size
36
- contentLength: { type: String, trim: true, required: true },
36
+ contentLength: { type: String, trim: true },
37
37
 
38
38
  // where to find in s3
39
39
  s3: {
40
- bucket: { type: String, required: true, trim: true },
41
- key: { type: String, required: true, trim: true }
40
+ bucket: { type: String, trim: true },
41
+ key: { type: String, trim: true }
42
42
  }
43
43
 
44
44
  }],
45
45
 
46
46
  // the date the request was started
47
- requestedOn: { type: Date, required: true },
47
+ requestedOn: { type: Date },
48
48
 
49
49
  // the date the request was completed
50
50
  completedOn: { type: Date }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "9.83.0",
3
+ "version": "9.84.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",