@myrjfa/state 2.1.9 → 2.2.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.
Files changed (174) hide show
  1. package/dist/hooks/usePersistentDraftState.d.ts +20 -0
  2. package/dist/hooks/usePersistentDraftState.d.ts.map +1 -0
  3. package/dist/hooks/usePersistentDraftState.js +47 -0
  4. package/dist/index.d.ts +3 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +3 -0
  7. package/dist/lib/actions/actions.d.ts +17 -19
  8. package/dist/lib/actions/actions.d.ts.map +1 -1
  9. package/dist/lib/actions/actions.js +24 -7
  10. package/dist/lib/actions/auth.d.ts +2 -2
  11. package/dist/lib/actions/auth.d.ts.map +1 -1
  12. package/dist/lib/actions/auth.js +9 -0
  13. package/dist/lib/actions/booking.js +2 -2
  14. package/dist/lib/actions/fetcher.js +2 -1
  15. package/dist/lib/actions.d.ts +556 -0
  16. package/dist/lib/actions.d.ts.map +1 -0
  17. package/dist/lib/actions.js +1327 -0
  18. package/dist/lib/adminDashboardActions.d.ts +61 -0
  19. package/dist/lib/adminDashboardActions.d.ts.map +1 -0
  20. package/dist/lib/adminDashboardActions.js +89 -0
  21. package/dist/lib/adventureActions.d.ts +102 -0
  22. package/dist/lib/adventureActions.d.ts.map +1 -0
  23. package/dist/lib/adventureActions.js +202 -0
  24. package/dist/lib/adventureDummyData.d.ts +3 -0
  25. package/dist/lib/adventureDummyData.d.ts.map +1 -0
  26. package/dist/lib/adventureDummyData.js +138 -0
  27. package/dist/lib/adventureFormPage.d.ts +39 -0
  28. package/dist/lib/adventureFormPage.d.ts.map +1 -0
  29. package/dist/lib/adventureFormPage.js +70 -0
  30. package/dist/lib/brandActions.d.ts +83 -0
  31. package/dist/lib/brandActions.d.ts.map +1 -0
  32. package/dist/lib/brandActions.js +28 -0
  33. package/dist/lib/companionActions.d.ts +174 -0
  34. package/dist/lib/companionActions.d.ts.map +1 -0
  35. package/dist/lib/companionActions.js +276 -0
  36. package/dist/lib/companionDummyData.d.ts +99 -0
  37. package/dist/lib/companionDummyData.d.ts.map +1 -0
  38. package/dist/lib/companionDummyData.js +203 -0
  39. package/dist/lib/destinations.d.ts +14 -0
  40. package/dist/lib/destinations.d.ts.map +1 -0
  41. package/dist/lib/destinations.js +203 -0
  42. package/dist/lib/entitySubmission.d.ts +21 -0
  43. package/dist/lib/entitySubmission.d.ts.map +1 -0
  44. package/dist/lib/entitySubmission.js +10 -0
  45. package/dist/lib/eventActions.d.ts +176 -0
  46. package/dist/lib/eventActions.d.ts.map +1 -0
  47. package/dist/lib/eventActions.js +222 -0
  48. package/dist/lib/eventFormPage.d.ts +49 -0
  49. package/dist/lib/eventFormPage.d.ts.map +1 -0
  50. package/dist/lib/eventFormPage.js +84 -0
  51. package/dist/lib/eventsDummyData.d.ts +54 -0
  52. package/dist/lib/eventsDummyData.d.ts.map +1 -0
  53. package/dist/lib/eventsDummyData.js +586 -0
  54. package/dist/lib/guideActions.d.ts +53 -0
  55. package/dist/lib/guideActions.d.ts.map +1 -0
  56. package/dist/lib/guideActions.js +127 -0
  57. package/dist/lib/guideDummyData.d.ts +3 -0
  58. package/dist/lib/guideDummyData.d.ts.map +1 -0
  59. package/dist/lib/guideDummyData.js +66 -0
  60. package/dist/lib/hooks/use-mobile.js +0 -1
  61. package/dist/lib/hooks/useChatSocket.js +0 -1
  62. package/dist/lib/hooks/useHostCalendarSelection.d.ts +51 -0
  63. package/dist/lib/hooks/useHostCalendarSelection.d.ts.map +1 -0
  64. package/dist/lib/hooks/useHostCalendarSelection.js +200 -0
  65. package/dist/lib/hostDashboardActions.d.ts +189 -0
  66. package/dist/lib/hostDashboardActions.d.ts.map +1 -0
  67. package/dist/lib/hostDashboardActions.js +400 -0
  68. package/dist/lib/imageUpload.d.ts +4 -0
  69. package/dist/lib/imageUpload.d.ts.map +1 -0
  70. package/dist/lib/imageUpload.js +36 -0
  71. package/dist/lib/locationActions.d.ts +141 -0
  72. package/dist/lib/locationActions.d.ts.map +1 -0
  73. package/dist/lib/locationActions.js +113 -0
  74. package/dist/lib/models/adventure.d.ts +26 -9
  75. package/dist/lib/models/adventure.d.ts.map +1 -1
  76. package/dist/lib/models/blog.d.ts +2 -2
  77. package/dist/lib/models/discount.d.ts +160 -0
  78. package/dist/lib/models/discount.d.ts.map +1 -0
  79. package/dist/lib/models/discount.js +106 -0
  80. package/dist/lib/models/enquiry.d.ts +34 -0
  81. package/dist/lib/models/enquiry.d.ts.map +1 -0
  82. package/dist/lib/models/enquiry.js +140 -0
  83. package/dist/lib/models/guide.d.ts +4 -3
  84. package/dist/lib/models/guide.d.ts.map +1 -1
  85. package/dist/lib/models/notifications.d.ts +12 -12
  86. package/dist/lib/models/opportunities/freelance.d.ts +76 -76
  87. package/dist/lib/models/opportunities/internship.d.ts +76 -76
  88. package/dist/lib/models/opportunities/job.d.ts +78 -78
  89. package/dist/lib/models/opportunities/opportunity.d.ts +76 -76
  90. package/dist/lib/models/opportunities/volunteerJob.d.ts +76 -76
  91. package/dist/lib/models/package.d.ts +380 -86
  92. package/dist/lib/models/package.d.ts.map +1 -1
  93. package/dist/lib/models/package.js +9 -8
  94. package/dist/lib/models/pricing.d.ts +255 -0
  95. package/dist/lib/models/pricing.d.ts.map +1 -0
  96. package/dist/lib/models/pricing.js +145 -0
  97. package/dist/lib/models/rental.d.ts +12 -7
  98. package/dist/lib/models/rental.d.ts.map +1 -1
  99. package/dist/lib/models/review.d.ts +5 -2
  100. package/dist/lib/models/review.d.ts.map +1 -1
  101. package/dist/lib/models/stay.d.ts +11 -8
  102. package/dist/lib/models/stay.d.ts.map +1 -1
  103. package/dist/lib/models/stay.js +1 -0
  104. package/dist/lib/models/tile.d.ts +11 -7
  105. package/dist/lib/models/tile.d.ts.map +1 -1
  106. package/dist/lib/models/travelPackage.d.ts +943 -0
  107. package/dist/lib/models/travelPackage.d.ts.map +1 -0
  108. package/dist/lib/models/travelPackage.js +326 -0
  109. package/dist/lib/multistepDraft.d.ts +4 -0
  110. package/dist/lib/multistepDraft.d.ts.map +1 -0
  111. package/dist/lib/multistepDraft.js +18 -0
  112. package/dist/lib/opportunityFormData.d.ts +13 -0
  113. package/dist/lib/opportunityFormData.d.ts.map +1 -0
  114. package/dist/lib/opportunityFormData.js +62 -0
  115. package/dist/lib/opportunityFormPage.d.ts +38 -0
  116. package/dist/lib/opportunityFormPage.d.ts.map +1 -0
  117. package/dist/lib/opportunityFormPage.js +33 -0
  118. package/dist/lib/packageActions.d.ts +86 -0
  119. package/dist/lib/packageActions.d.ts.map +1 -0
  120. package/dist/lib/packageActions.js +168 -0
  121. package/dist/lib/packageDummyData.d.ts +3 -0
  122. package/dist/lib/packageDummyData.d.ts.map +1 -0
  123. package/dist/lib/packageDummyData.js +57 -0
  124. package/dist/lib/placeActions.d.ts +192 -0
  125. package/dist/lib/placeActions.d.ts.map +1 -0
  126. package/dist/lib/placeActions.js +57 -0
  127. package/dist/lib/propertyActions.d.ts +17 -0
  128. package/dist/lib/propertyActions.d.ts.map +1 -0
  129. package/dist/lib/propertyActions.js +16 -0
  130. package/dist/lib/rentalActions.d.ts +86 -0
  131. package/dist/lib/rentalActions.d.ts.map +1 -0
  132. package/dist/lib/rentalActions.js +235 -0
  133. package/dist/lib/rentalDummyData.d.ts +3 -0
  134. package/dist/lib/rentalDummyData.d.ts.map +1 -0
  135. package/dist/lib/rentalDummyData.js +402 -0
  136. package/dist/lib/rentalFormPage.d.ts +48 -0
  137. package/dist/lib/rentalFormPage.d.ts.map +1 -0
  138. package/dist/lib/rentalFormPage.js +97 -0
  139. package/dist/lib/roomActions.d.ts +39 -0
  140. package/dist/lib/roomActions.d.ts.map +1 -0
  141. package/dist/lib/roomActions.js +74 -0
  142. package/dist/lib/stayActions.d.ts +97 -0
  143. package/dist/lib/stayActions.d.ts.map +1 -0
  144. package/dist/lib/stayActions.js +138 -0
  145. package/dist/lib/staysDummyData.d.ts +72 -0
  146. package/dist/lib/staysDummyData.d.ts.map +1 -0
  147. package/dist/lib/staysDummyData.js +694 -0
  148. package/dist/lib/storeDummyData.d.ts +33 -0
  149. package/dist/lib/storeDummyData.d.ts.map +1 -0
  150. package/dist/lib/storeDummyData.js +336 -0
  151. package/dist/lib/travelPackageActions.d.ts +102 -0
  152. package/dist/lib/travelPackageActions.d.ts.map +1 -0
  153. package/dist/lib/travelPackageActions.js +487 -0
  154. package/dist/lib/travelPackageFormData.d.ts +20 -0
  155. package/dist/lib/travelPackageFormData.d.ts.map +1 -0
  156. package/dist/lib/travelPackageFormData.js +54 -0
  157. package/dist/lib/travelPackageFormPage.d.ts +32 -0
  158. package/dist/lib/travelPackageFormPage.d.ts.map +1 -0
  159. package/dist/lib/travelPackageFormPage.js +43 -0
  160. package/dist/lib/userAtom.d.ts +32 -32
  161. package/dist/lib/userAtom.d.ts.map +1 -1
  162. package/dist/lib/userAtom.js +17 -1
  163. package/dist/lib/util.d.ts +11 -0
  164. package/dist/lib/util.d.ts.map +1 -0
  165. package/dist/lib/util.js +82 -0
  166. package/dist/lib/utils.d.ts.map +1 -1
  167. package/dist/lib/utils.js +1 -0
  168. package/dist/lib/vehicleData.d.ts +2 -0
  169. package/dist/lib/vehicleData.d.ts.map +1 -0
  170. package/dist/lib/vehicleData.js +181 -0
  171. package/dist/lib/vehicleModels.d.ts +2 -0
  172. package/dist/lib/vehicleModels.d.ts.map +1 -0
  173. package/dist/lib/vehicleModels.js +128 -0
  174. package/package.json +6 -5
@@ -0,0 +1,586 @@
1
+ import { createSinglePricing } from "@myrjfa/state/dist/lib/models/pricing";
2
+ export const EVENT_CATEGORIES = [
3
+ { key: "music", label: "Music", emoji: "🎵" },
4
+ { key: "food", label: "Food", emoji: "🍜" },
5
+ { key: "art", label: "Art", emoji: "🎨" },
6
+ { key: "culture", label: "Culture", emoji: "🏛️" },
7
+ { key: "sports", label: "Sports", emoji: "⚽" },
8
+ { key: "wellness", label: "Wellness", emoji: "🧘" },
9
+ { key: "tech", label: "Tech", emoji: "💻" },
10
+ { key: "comedy", label: "Comedy", emoji: "😂" },
11
+ { key: "nightlife", label: "Nightlife", emoji: "🌙" },
12
+ { key: "festival", label: "Festival", emoji: "🎉" },
13
+ { key: "workshop", label: "Workshop", emoji: "🛠️" },
14
+ { key: "outdoor", label: "Outdoor", emoji: "🌿" },
15
+ { key: "market", label: "Market", emoji: "🛍️" },
16
+ { key: "community", label: "Community", emoji: "🤝" },
17
+ { key: "other", label: "Other", emoji: "✨" },
18
+ ];
19
+ export const eventsDummyData = [
20
+ {
21
+ _id: "ev1",
22
+ slug: "sunburn-goa-beach-festival-2026-1",
23
+ title: "Sunburn Goa Beach Festival",
24
+ shortDescription: "Asia's biggest electronic music festival returns to Vagator Beach with 50+ international DJs.",
25
+ description: "Sunburn Goa is back for its iconic annual edition at the stunning Vagator Beach cliffs. Join 30,000+ music lovers for three days of world-class electronic music, art installations, food villages, wellness zones, and sunrise sessions. Headlining acts include Martin Garrix, Armin van Buuren, and Alesso. Multiple stages spanning Techno, House, Trance, and Bass — plus an exclusive Silent Disco every night.\n\nThe festival campus features a curated food village with 40+ vendors, artisan market, yoga sessions at sunrise, and dedicated chill zones with hammocks overlooking the Arabian Sea.",
26
+ category: "music",
27
+ tags: ["EDM", "festival", "beach", "international", "DJ"],
28
+ organiserName: "Sunburn Entertainment",
29
+ eventDate: "2026-12-27T00:00:00Z",
30
+ endDate: "2026-12-29T00:00:00Z",
31
+ startTime: "14:00",
32
+ endTime: "05:00",
33
+ venue: "Vagator Beach Cliffs",
34
+ address: "Vagator Beach, Bardez",
35
+ city: "Goa",
36
+ state: "Goa",
37
+ isFree: false,
38
+ pricing: createSinglePricing({ currency: "INR", finalBasePrice: 4999, basePrice: 4999, description: "General admission" }),
39
+ totalCapacity: 30000,
40
+ availableSeats: 8420,
41
+ minAge: 18,
42
+ maxGroupSize: 20,
43
+ instantBook: true,
44
+ images: [
45
+ "https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&q=80&w=1200",
46
+ "https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?auto=format&fit=crop&q=80&w=800",
47
+ "https://images.unsplash.com/photo-1429962714451-bb934ecdc4ec?auto=format&fit=crop&q=80&w=800",
48
+ "https://images.unsplash.com/photo-1501386761578-eac5c94b800a?auto=format&fit=crop&q=80&w=800",
49
+ ],
50
+ highlights: [
51
+ "50+ international DJs",
52
+ "3 stages",
53
+ "Sunrise sessions at Vagator cliffs",
54
+ "Food village with 40+ vendors",
55
+ "Art installations",
56
+ "Silent Disco",
57
+ ],
58
+ included: [
59
+ "Festival wristband (3 days)",
60
+ "Access to all stages",
61
+ "Drinking water stations",
62
+ ],
63
+ excluded: ["Accommodation", "Food & beverages", "Transport to venue"],
64
+ agenda: [
65
+ {
66
+ time: "14:00",
67
+ title: "Gates Open",
68
+ description: "Early bird entry and food village opens",
69
+ },
70
+ {
71
+ time: "16:00",
72
+ title: "Opening Act — Main Stage",
73
+ description: "Local artists warm up the crowd",
74
+ },
75
+ {
76
+ time: "20:00",
77
+ title: "Headline Act: Martin Garrix",
78
+ description: "The Dutch superstar takes the main stage",
79
+ },
80
+ {
81
+ time: "23:00",
82
+ title: "Silent Disco Opens",
83
+ description: "Three channels, one dance floor",
84
+ },
85
+ ],
86
+ faqs: [
87
+ {
88
+ question: "Is the ticket for all 3 days?",
89
+ answer: "Yes, your wristband gives access to all 3 days.",
90
+ },
91
+ {
92
+ question: "Can I exit and re-enter?",
93
+ answer: "Yes, your wristband allows unlimited re-entry.",
94
+ },
95
+ ],
96
+ rating: 4.8,
97
+ ratingCount: 3240,
98
+ views: 47800,
99
+ isFeatured: true,
100
+ isOnline: false,
101
+ status: "open",
102
+ },
103
+ {
104
+ _id: "ev2",
105
+ slug: "delhi-street-food-festival-2026-1",
106
+ title: "Delhi Street Food Festival",
107
+ shortDescription: "200+ iconic Delhi street food stalls under one roof — Chandni Chowk to Lodhi.",
108
+ description: "The Delhi Street Food Festival brings together the best of Delhi's legendary street food culture — from the legendary parathas of Paranthe Wali Gali to Lodhi Colony's gourmet food trucks. Over three days, 200+ vendors serve everything from old-school chaat and kebabs to modern fusion bites. Live cooking demos by celebrity chefs, heritage food walks, and a dedicated sweets pavilion make this the most delicious weekend in the capital.",
109
+ category: "food",
110
+ tags: ["street food", "Delhi", "chaat", "festiva", "chefs"],
111
+ organiserName: "Delhi Food Collective",
112
+ eventDate: "2026-11-14T00:00:00Z",
113
+ endDate: "2026-11-16T00:00:00Z",
114
+ startTime: "11:00",
115
+ endTime: "22:00",
116
+ venue: "Jawaharlal Nehru Stadium Grounds",
117
+ address: "Bhishma Pitamah Marg, Lodhi Road",
118
+ city: "Delhi",
119
+ state: "Delhi",
120
+ isFree: false,
121
+ pricing: createSinglePricing({ currency: "INR", finalBasePrice: 299, basePrice: 299, description: "General admission" }),
122
+ totalCapacity: 15000,
123
+ availableSeats: 4200,
124
+ minAge: 0,
125
+ maxGroupSize: 30,
126
+ instantBook: true,
127
+ images: [
128
+ "https://images.unsplash.com/photo-1567521464027-f127ff144326?auto=format&fit=crop&q=80&w=1200",
129
+ "https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&q=80&w=800",
130
+ "https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&q=80&w=800",
131
+ ],
132
+ highlights: [
133
+ "200+ vendors",
134
+ "Celebrity chef demos",
135
+ "Heritage food walks",
136
+ "Sweets pavilion",
137
+ "Live music",
138
+ ],
139
+ included: ["Entry wristband (all 3 days)", "₹100 food credit voucher"],
140
+ excluded: ["Food purchases", "Beverages"],
141
+ agenda: [
142
+ {
143
+ time: "11:00",
144
+ title: "Gates Open",
145
+ description: "Start with breakfast stalls and chai",
146
+ },
147
+ {
148
+ time: "13:00",
149
+ title: "Chef Demo: Sanjeev Kapoor",
150
+ description: "Live cooking of Old Delhi classics",
151
+ },
152
+ {
153
+ time: "18:00",
154
+ title: "Heritage Food Walk",
155
+ description: "Guided walk through historical food stalls",
156
+ },
157
+ ],
158
+ faqs: [
159
+ {
160
+ question: "Is the entry a one-time pass?",
161
+ answer: "Entry covers all 3 days of the festival.",
162
+ },
163
+ ],
164
+ rating: 4.6,
165
+ ratingCount: 1820,
166
+ views: 22400,
167
+ isFeatured: true,
168
+ isOnline: false,
169
+ status: "open",
170
+ },
171
+ {
172
+ _id: "ev3",
173
+ slug: "mumbai-comedy-night-bandra-2026-1",
174
+ title: "Mumbai Comedy Night — Bandra Edition",
175
+ shortDescription: "Zakir Khan, Biswa Kalyan Rath & Kenny Sebastian. One stage. One wild Saturday night.",
176
+ description: "Mumbai's biggest standalone comedy show is back at the iconic Rang Sharda Auditorium in Bandra. Three of India's best comedians — Zakir Khan, Biswa Kalyan Rath, and Kenny Sebastian — each perform a 35-minute set, followed by a fan Q&A and meet-and-greet session. Expect sharp social commentary, personal anecdotes, and laugh-until-you-cry sets. Strict no-phone policy inside the auditorium.",
177
+ category: "comedy",
178
+ tags: ["standup", "comedy", "Mumbai", "bandra", "live"],
179
+ organiserName: "BookMyShow Live",
180
+ eventDate: "2026-10-03T00:00:00Z",
181
+ startTime: "19:30",
182
+ endTime: "23:00",
183
+ venue: "Rang Sharda Auditorium",
184
+ address: "KC Marg, Bandra West",
185
+ city: "Mumbai",
186
+ state: "Maharashtra",
187
+ isFree: false,
188
+ pricing: createSinglePricing({ currency: "INR", finalBasePrice: 1499, basePrice: 1499, description: "General admission" }),
189
+ totalCapacity: 800,
190
+ availableSeats: 140,
191
+ minAge: 16,
192
+ maxGroupSize: 10,
193
+ instantBook: true,
194
+ images: [
195
+ "https://images.unsplash.com/photo-1527224857830-43a7acc85260?auto=format&fit=crop&q=80&w=1200",
196
+ "https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&q=80&w=800",
197
+ ],
198
+ highlights: [
199
+ "3 headline comedians",
200
+ "35-min sets each",
201
+ "Fan Q&A session",
202
+ "Meet & greet",
203
+ ],
204
+ included: ["Show ticket", "Welcome drink"],
205
+ excluded: ["Transport", "Food & beverages after the show"],
206
+ agenda: [
207
+ {
208
+ time: "19:30",
209
+ title: "Doors Open & Welcome Drinks",
210
+ description: "Settle in with a free drink",
211
+ },
212
+ {
213
+ time: "20:00",
214
+ title: "Kenny Sebastian",
215
+ description: "The musician-comedian opens the night",
216
+ },
217
+ {
218
+ time: "20:45",
219
+ title: "Biswa Kalyan Rath",
220
+ description: '"Pretentious Movie Reviews" creator takes the stage',
221
+ },
222
+ {
223
+ time: "21:30",
224
+ title: "Zakir Khan",
225
+ description: '"Sakht Launda" closes with a power set',
226
+ },
227
+ {
228
+ time: "22:30",
229
+ title: "Q&A & Meet & Greet",
230
+ description: "Special access for all ticketholders",
231
+ },
232
+ ],
233
+ faqs: [
234
+ {
235
+ question: "Are phones allowed?",
236
+ answer: "No phones permitted inside the auditorium — strict policy.",
237
+ },
238
+ { question: "Age restriction?", answer: "The show is for 16+ only." },
239
+ ],
240
+ rating: 4.9,
241
+ ratingCount: 640,
242
+ views: 18900,
243
+ isFeatured: true,
244
+ isOnline: false,
245
+ status: "open",
246
+ },
247
+ {
248
+ _id: "ev4",
249
+ slug: "jaipur-heritage-art-walk-2026-1",
250
+ title: "Jaipur Heritage Art Walk",
251
+ shortDescription: "Free guided walk through Pink City's hidden havelis, street art, and artisan workshops.",
252
+ description: "Every Saturday morning, local historians and artists lead a 3-hour walking tour through Jaipur's layered heritage — from the craft lanes of Johari Bazaar to hidden temple frescoes in the old city. The walk includes live block-printing demos, a visit inside a working blue pottery studio, and tea at a 200-year-old haveli. All walks are free and open to everyone.",
253
+ category: "art",
254
+ tags: ["heritage", "art", "walk", "Jaipur", "free", "culture"],
255
+ organiserName: "Jaipur Virasat Foundation",
256
+ eventDate: "2026-10-10T00:00:00Z",
257
+ startTime: "08:00",
258
+ endTime: "11:00",
259
+ venue: "Johari Bazaar Gate",
260
+ address: "Johari Bazaar, Pink City",
261
+ city: "Jaipur",
262
+ state: "Rajasthan",
263
+ isFree: true,
264
+ pricing: createSinglePricing({ currency: "INR", finalBasePrice: 0, basePrice: 0, description: "Free entry" }),
265
+ totalCapacity: 40,
266
+ availableSeats: 12,
267
+ minAge: 0,
268
+ maxGroupSize: 40,
269
+ instantBook: true,
270
+ images: [
271
+ "https://images.unsplash.com/photo-1524492412937-b28074a5d7da?auto=format&fit=crop&q=80&w=1200",
272
+ "https://images.unsplash.com/photo-1599661046289-e31897846e41?auto=format&fit=crop&q=80&w=800",
273
+ ],
274
+ highlights: [
275
+ "3-hour guided walk",
276
+ "Heritage havelis access",
277
+ "Block-printing demo",
278
+ "Blue pottery studio visit",
279
+ "Morning chai at old haveli",
280
+ ],
281
+ included: ["Expert guide", "Morning chai", "All entry fees"],
282
+ excluded: ["Purchases at artisan shops"],
283
+ agenda: [
284
+ {
285
+ time: "08:00",
286
+ title: "Meet at Johari Bazaar Gate",
287
+ description: "Introductions and walk briefing",
288
+ },
289
+ {
290
+ time: "08:30",
291
+ title: "Craft Lanes of Maniharon Ka Rasta",
292
+ description: "Lac bangles and silver jewellery artisans",
293
+ },
294
+ {
295
+ time: "09:30",
296
+ title: "Blue Pottery Studio",
297
+ description: "Live demo of Jaipur's signature craft",
298
+ },
299
+ {
300
+ time: "10:15",
301
+ title: "Hidden Haveli & Frescoes",
302
+ description: "Private access to a 200-year-old haveli",
303
+ },
304
+ {
305
+ time: "11:00",
306
+ title: "Chai & Wrap-up",
307
+ description: "Traditional morning chai and farewell",
308
+ },
309
+ ],
310
+ faqs: [],
311
+ rating: 4.7,
312
+ ratingCount: 280,
313
+ views: 6700,
314
+ isFeatured: false,
315
+ isOnline: false,
316
+ status: "open",
317
+ },
318
+ {
319
+ _id: "ev5",
320
+ slug: "bangalore-tech-startup-meetup-2026-1",
321
+ title: "Bangalore Startup Mixer — Oct 2026",
322
+ shortDescription: "Monthly evening meetup for Bangalore's startup & tech community. 300+ founders, VCs & builders.",
323
+ description: "The monthly Bangalore Startup Mixer brings together 300+ founders, investors, developers, and product thinkers for an evening of conversations, connections, and insights. This edition features lightning talks by 5 early-stage founders, a fireside conversation with a serial entrepreneur, and plenty of networking over craft beer and street food. Free entry — just register your spot.",
324
+ category: "tech",
325
+ tags: ["tech", "startup", "networking", "Bangalore", "founders"],
326
+ organiserName: "The Indus Entrepreneurs Bangalore",
327
+ eventDate: "2026-10-15T00:00:00Z",
328
+ startTime: "18:30",
329
+ endTime: "21:30",
330
+ venue: "BHIVE Workspace, HSR Layout",
331
+ address: "19, 4th B Cross, Sector 6, HSR Layout",
332
+ city: "Bangalore",
333
+ state: "Karnataka",
334
+ isFree: true,
335
+ pricing: createSinglePricing({ currency: "INR", finalBasePrice: 0, basePrice: 0, description: "Free entry" }),
336
+ totalCapacity: 300,
337
+ availableSeats: 67,
338
+ minAge: 18,
339
+ maxGroupSize: 10,
340
+ instantBook: true,
341
+ images: [
342
+ "https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&q=80&w=1200",
343
+ "https://images.unsplash.com/photo-1475721027785-f74eccf877e2?auto=format&fit=crop&q=80&w=800",
344
+ ],
345
+ highlights: [
346
+ "5 founder lightning talks",
347
+ "Investor fireside chat",
348
+ "Open networking",
349
+ "Craft beer & food",
350
+ ],
351
+ included: ["Entry", "Two complimentary drinks"],
352
+ excluded: ["Transport"],
353
+ agenda: [
354
+ {
355
+ time: "18:30",
356
+ title: "Networking & Welcome Drinks",
357
+ description: "Open mingling",
358
+ },
359
+ {
360
+ time: "19:15",
361
+ title: "Lightning Talks: 5 Founders",
362
+ description: "5-minute each, Q&A after all",
363
+ },
364
+ {
365
+ time: "20:15",
366
+ title: "Fireside: Serial Entrepreneur",
367
+ description: "Deep-dive conversation on building 0→1",
368
+ },
369
+ {
370
+ time: "21:00",
371
+ title: "Open Networking",
372
+ description: "Connect over food and drinks",
373
+ },
374
+ ],
375
+ faqs: [],
376
+ rating: 4.5,
377
+ ratingCount: 420,
378
+ views: 11200,
379
+ isFeatured: false,
380
+ isOnline: false,
381
+ status: "open",
382
+ },
383
+ {
384
+ _id: "ev6",
385
+ slug: "kerala-yoga-wellness-retreat-2026-1",
386
+ title: "Kerala Sunrise Yoga & Wellness Weekend",
387
+ shortDescription: "Two-day yoga retreat on an Alleppey houseboat with Ayurveda consultations and backwater meditation.",
388
+ description: "Join 20 participants for an intimate two-day yoga and wellness retreat on a traditional Kerala kettuvallam (houseboat) in the Alleppey backwaters. Each day begins with sunrise yoga on the top deck, followed by Ayurveda consultations, guided backwater meditation, and Sattvic meals prepared on board. In the evening, the boat cruises through paddy fields and coconut groves in silence — a nature immersion unlike anything else.",
389
+ category: "wellness",
390
+ tags: ["yoga", "wellness", "Kerala", "houseboat", "Ayurveda", "retreat"],
391
+ organiserName: "Soul & Soil Retreats",
392
+ eventDate: "2026-11-08T00:00:00Z",
393
+ endDate: "2026-11-09T00:00:00Z",
394
+ startTime: "06:00",
395
+ endTime: "20:00",
396
+ venue: "Alleppey Backwaters — Private Houseboat",
397
+ address: "ATDC Boat Jetty, Finishing Point",
398
+ city: "Alleppey",
399
+ state: "Kerala",
400
+ isFree: false,
401
+ pricing: createSinglePricing({ currency: "INR", finalBasePrice: 8499, basePrice: 8499, description: "General admission" }),
402
+ totalCapacity: 20,
403
+ availableSeats: 6,
404
+ minAge: 16,
405
+ maxGroupSize: 20,
406
+ instantBook: false,
407
+ images: [
408
+ "https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&q=80&w=1200",
409
+ "https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&q=80&w=800",
410
+ ],
411
+ highlights: [
412
+ "Private houseboat",
413
+ "Sunrise yoga on the deck",
414
+ "Ayurveda consultation",
415
+ "Backwater meditation",
416
+ "Sattvic meals included",
417
+ "Silence cruise",
418
+ ],
419
+ included: [
420
+ "Accommodation on boat (2 nights)",
421
+ "All Sattvic meals",
422
+ "Yoga sessions (2 days)",
423
+ "Ayurveda consultation",
424
+ ],
425
+ excluded: ["Transport to Alleppey", "Personal purchases"],
426
+ agenda: [
427
+ {
428
+ time: "06:00",
429
+ title: "Sunrise Yoga — Top Deck",
430
+ description: "90-minute asana & pranayama session",
431
+ },
432
+ {
433
+ time: "08:00",
434
+ title: "Sattvic Breakfast",
435
+ description: "On-board Kerala breakfast",
436
+ },
437
+ {
438
+ time: "10:00",
439
+ title: "Ayurveda Consultation",
440
+ description: "1:1 sessions with an Ayurveda doctor",
441
+ },
442
+ {
443
+ time: "17:00",
444
+ title: "Backwater Silence Cruise",
445
+ description: "No phones, no talking — pure nature",
446
+ },
447
+ {
448
+ time: "19:30",
449
+ title: "Group Sharing Circle",
450
+ description: "Share reflections over herbal tea",
451
+ },
452
+ ],
453
+ faqs: [
454
+ {
455
+ question: "Is this suitable for beginners?",
456
+ answer: "Absolutely — all yoga levels welcome.",
457
+ },
458
+ ],
459
+ rating: 4.9,
460
+ ratingCount: 180,
461
+ views: 8900,
462
+ isFeatured: true,
463
+ isOnline: false,
464
+ status: "open",
465
+ },
466
+ {
467
+ _id: "ev7",
468
+ slug: "delhi-flea-market-sunday-2026-1",
469
+ title: "Dilli Haat Flea Market — Autumn Edition",
470
+ shortDescription: "Vintage finds, indie fashion, handmade jewellery, plants, and street food every Sunday.",
471
+ description: "The Dilli Haat Flea Market is Delhi's favourite Sunday ritual — 150+ indie vendors spread across Dilli Haat selling everything from vintage vinyl records and hand-block-printed clothes to handcrafted jewellery, succulents, and slow coffee. Every edition has live acoustic music in the afternoon and a food court with 25+ stalls. Entry is free.",
472
+ category: "market",
473
+ tags: ["flea market", "vintage", "indie", "Delhi", "Sunday", "free"],
474
+ organiserName: "Hunar Haat Collective",
475
+ eventDate: "2026-10-18T00:00:00Z",
476
+ startTime: "10:00",
477
+ endTime: "20:00",
478
+ venue: "Dilli Haat, INA",
479
+ address: "Sri Aurobindo Marg, INA Colony",
480
+ city: "Delhi",
481
+ state: "Delhi",
482
+ isFree: true,
483
+ pricing: createSinglePricing({ currency: "INR", finalBasePrice: 0, basePrice: 0, description: "Free entry" }),
484
+ totalCapacity: 5000,
485
+ availableSeats: 4200,
486
+ minAge: 0,
487
+ maxGroupSize: 50,
488
+ instantBook: true,
489
+ images: [
490
+ "https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&q=80&w=1200",
491
+ "https://images.unsplash.com/photo-1519671182800-5862e15fd2a6?auto=format&fit=crop&q=80&w=800",
492
+ ],
493
+ highlights: [
494
+ "150+ indie vendors",
495
+ "Vintage & handmade finds",
496
+ "Live acoustic music",
497
+ "25+ food stalls",
498
+ "Free entry",
499
+ ],
500
+ included: ["Entry"],
501
+ excluded: ["Purchases"],
502
+ agenda: [],
503
+ faqs: [],
504
+ rating: 4.4,
505
+ ratingCount: 890,
506
+ views: 19600,
507
+ isFeatured: false,
508
+ isOnline: false,
509
+ status: "open",
510
+ },
511
+ {
512
+ _id: "ev8",
513
+ slug: "manali-bonfire-night-2026-1",
514
+ title: "Manali Winter Bonfire Night",
515
+ shortDescription: "Himalayan stargazing, bonfire, live folk music & Himachali food under the stars.",
516
+ description: "Every Friday night in peak season, Old Manali hosts a community bonfire under the Himalayan sky at 2050m. Local musicians perform Himachali folk songs, traditional Sidhu bread and momos are served fresh, and a local astronomer guides a stargazing session with telescopes. Limited to 60 guests — intimate, warm, and absolutely magical.",
517
+ category: "outdoor",
518
+ tags: ["bonfire", "Manali", "stargazing", "folk music", "Himalayas"],
519
+ organiserName: "Old Manali Community",
520
+ eventDate: "2026-10-24T00:00:00Z",
521
+ startTime: "19:00",
522
+ endTime: "23:00",
523
+ venue: "Old Manali Riverside Meadow",
524
+ address: "Old Manali Road, near Manu Temple",
525
+ city: "Manali",
526
+ state: "Himachal Pradesh",
527
+ isFree: false,
528
+ pricing: createSinglePricing({ currency: "INR", finalBasePrice: 799, basePrice: 799, description: "General admission" }),
529
+ totalCapacity: 60,
530
+ availableSeats: 18,
531
+ minAge: 10,
532
+ maxGroupSize: 15,
533
+ instantBook: true,
534
+ images: [
535
+ "https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&q=80&w=1200",
536
+ "https://images.unsplash.com/photo-1508193638397-1c4234db14d8?auto=format&fit=crop&q=80&w=800",
537
+ ],
538
+ highlights: [
539
+ "Himalayan bonfire",
540
+ "Stargazing with telescope",
541
+ "Live folk music",
542
+ "Himachali food",
543
+ "Intimate group of 60",
544
+ ],
545
+ included: [
546
+ "Log fire seating",
547
+ "Himachali dinner (Sidhu, Momos, Chai)",
548
+ "Stargazing session",
549
+ ],
550
+ excluded: ["Transport to venue", "Extra food orders"],
551
+ agenda: [
552
+ {
553
+ time: "19:00",
554
+ title: "Gather & Welcome Drinks",
555
+ description: "Butter chai and introductions",
556
+ },
557
+ {
558
+ time: "19:30",
559
+ title: "Himachali Folk Music",
560
+ description: "Live local musicians by the bonfire",
561
+ },
562
+ {
563
+ time: "20:30",
564
+ title: "Dinner Under the Stars",
565
+ description: "Traditional Himachali dishes",
566
+ },
567
+ {
568
+ time: "21:30",
569
+ title: "Stargazing Session",
570
+ description: "Guided by a local astronomer with telescopes",
571
+ },
572
+ ],
573
+ faqs: [
574
+ {
575
+ question: "What should I wear?",
576
+ answer: "Very warm layers — it gets below 5°C after 9 PM.",
577
+ },
578
+ ],
579
+ rating: 4.8,
580
+ ratingCount: 320,
581
+ views: 12400,
582
+ isFeatured: true,
583
+ isOnline: false,
584
+ status: "open",
585
+ },
586
+ ];
@@ -0,0 +1,53 @@
1
+ import { Guide } from "@myrjfa/state/dist/lib/models/guide";
2
+ import { TileProps } from "@myrjfa/state/dist/lib/models/tile";
3
+ export declare function getGuideTiles(limit?: number, city?: string): Promise<{
4
+ success: boolean;
5
+ tiles: TileProps[];
6
+ message?: string;
7
+ error?: string;
8
+ }>;
9
+ export declare function guideDetails(slug: string): Promise<{
10
+ success: boolean;
11
+ guide: Guide | null;
12
+ message?: string;
13
+ error?: string;
14
+ }>;
15
+ export declare function guidesByHost(): Promise<{
16
+ success: boolean;
17
+ guides: Guide[];
18
+ message?: string;
19
+ error?: string;
20
+ }>;
21
+ export declare function createGuide(formData: FormData): Promise<{
22
+ success: boolean;
23
+ slug?: string;
24
+ message?: string;
25
+ error?: string;
26
+ }>;
27
+ export declare function editGuide(formData: FormData, slug: string): Promise<{
28
+ success: boolean;
29
+ message?: string;
30
+ error?: string;
31
+ }>;
32
+ export declare function deleteGuide(slug: string): Promise<{
33
+ success: boolean;
34
+ message?: string;
35
+ error?: string;
36
+ }>;
37
+ export declare function getPendingGuides(): Promise<{
38
+ success: boolean;
39
+ guides: Guide[];
40
+ message?: string;
41
+ error?: string;
42
+ }>;
43
+ export declare function approveGuide(slug: string): Promise<{
44
+ success: boolean;
45
+ message?: string;
46
+ error?: string;
47
+ }>;
48
+ export declare function rejectGuide(slug: string, rejectionReason: string): Promise<{
49
+ success: boolean;
50
+ message?: string;
51
+ error?: string;
52
+ }>;
53
+ //# sourceMappingURL=guideActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guideActions.d.ts","sourceRoot":"","sources":["../../src/lib/guideActions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAI/D,wBAAsB,aAAa,CACjC,KAAK,CAAC,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC;IACT,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAgBD;AAED,wBAAsB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACxD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAUD;AAID,wBAAsB,YAAY,IAAI,OAAO,CAAC;IAC5C,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAcD;AAED,wBAAsB,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7D,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAWD;AAED,wBAAsB,SAAS,CAC7B,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAWjE;AAED,wBAAsB,WAAW,CAC/B,IAAI,EAAE,MAAM,GACX,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAOjE;AAID,wBAAsB,gBAAgB,IAAI,OAAO,CAAC;IAChD,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAQD;AAGD,wBAAsB,YAAY,CAChC,IAAI,EAAE,MAAM,GACX,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAUjE;AAED,wBAAsB,WAAW,CAC/B,IAAI,EAAE,MAAM,EACZ,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAUjE"}