@mac777/project-pinecone-models 1.0.3 → 1.0.5
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.
- package/dist/Event.js +4 -1
- package/package.json +1 -1
- package/src/Event.ts +4 -1
package/dist/Event.js
CHANGED
|
@@ -108,7 +108,10 @@ const metricsSchema = new mongoose_1.default.Schema({
|
|
|
108
108
|
ticketsSold: { type: Number, default: 0 },
|
|
109
109
|
revenue: { type: Number, default: 0 },
|
|
110
110
|
checkIns: { type: Number, default: 0 },
|
|
111
|
-
uniqueViewers:
|
|
111
|
+
uniqueViewers: {
|
|
112
|
+
type: [String],
|
|
113
|
+
default: []
|
|
114
|
+
},
|
|
112
115
|
lastViewedAt: Date, // for trending calculation
|
|
113
116
|
// --- For Review ---
|
|
114
117
|
averageRating: Number,
|
package/package.json
CHANGED
package/src/Event.ts
CHANGED
|
@@ -115,7 +115,10 @@ const metricsSchema = new mongoose.Schema({
|
|
|
115
115
|
ticketsSold: { type: Number, default: 0 },
|
|
116
116
|
revenue: { type: Number, default: 0 },
|
|
117
117
|
checkIns: { type: Number, default: 0 },
|
|
118
|
-
uniqueViewers:
|
|
118
|
+
uniqueViewers: {
|
|
119
|
+
type: [String],
|
|
120
|
+
default: []
|
|
121
|
+
},
|
|
119
122
|
lastViewedAt: Date, // for trending calculation
|
|
120
123
|
|
|
121
124
|
// --- For Review ---
|