flykup_model_development 3.1.38 → 3.1.40

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.
@@ -21,7 +21,11 @@ const notificationSchema = new mongoose.Schema(
21
21
  'seller_broadcast',
22
22
  'live_stream_start',
23
23
  'seller_order_update',
24
- 'new_show_scheduled'
24
+ 'new_show_scheduled',
25
+ 'cohost_invite',
26
+ 'cohost_accepted',
27
+ 'cohost_rejected',
28
+ 'cohost_join_live'
25
29
  ],
26
30
  required: true,
27
31
  },
@@ -93,6 +93,19 @@ const showSchema = new Schema(
93
93
  type: String, // URL for the live stream
94
94
  default: null,
95
95
  },
96
+
97
+ // === Stream Layout Configuration (NEW) ===
98
+ orientation: {
99
+ type: String,
100
+ enum: ['horizontal', 'vertical'],
101
+ default: 'horizontal'
102
+ },
103
+ layout: {
104
+ type: String,
105
+ enum: ['side-by-side', 'top-bottom'],
106
+ default: 'side-by-side'
107
+ },
108
+
96
109
  showStatus: {
97
110
  type: String,
98
111
  enum: ['created', 'live', 'cancelled', 'ended'],
@@ -126,6 +126,7 @@ const UserSchema = new mongoose.Schema(
126
126
  mobileVerificationOTP: { type: String, select: false }, // 'select: false' hides it from default queries
127
127
  mobileVerificationOTPExpiry: { type: Date, select: false },
128
128
 
129
+
129
130
  // Payment Mandate Setup (Auto-Payment)
130
131
  payuMandate: {
131
132
  mandateToken: { type: String, default: null },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "3.1.38",
3
+ "version": "3.1.40",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,