flykup_model_development 3.1.80 → 3.1.83

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.
@@ -52,7 +52,19 @@ const liveStreamInteractionSchema = new mongoose.Schema({
52
52
  type: Number,
53
53
  default: 0
54
54
  },
55
+ firstJoinedAt: Date,
55
56
  lastSeenAt: Date,
57
+ lastLeftAt: Date,
58
+ sessionCount: {
59
+ type: Number,
60
+ default: 0
61
+ },
62
+ sessions: [{
63
+ joinedAt: Date,
64
+ leftAt: Date,
65
+ duration: Number,
66
+ billed : Boolean
67
+ }],
56
68
  hasLiked: {
57
69
  type: Boolean,
58
70
  default: false
@@ -75,7 +75,8 @@ const shoppableVideoInteractionSchema = new mongoose.Schema({
75
75
  endedAt: Date,
76
76
  duration: Number,
77
77
  completionPercentage: Number,
78
- maxSecond: Number
78
+ maxSecond: Number,
79
+ billed : Boolean
79
80
  }],
80
81
  }, {
81
82
  timestamps: true
@@ -2,6 +2,8 @@ import mongoose from 'mongoose';
2
2
 
3
3
  const { Schema } = mongoose;
4
4
 
5
+
6
+
5
7
  const AdminSchema = new Schema(
6
8
  {
7
9
  name: { type: String, required: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "3.1.80",
3
+ "version": "3.1.83",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,