@ak--47/dungeon-master 1.3.0 → 1.3.1

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 (74) hide show
  1. package/dungeons/technical/array-of-object-lookup.js +0 -2
  2. package/dungeons/technical/simple.js +3 -4
  3. package/dungeons/technical/simplest-schema.json +5 -0
  4. package/dungeons/technical/text-generation.js +1 -1
  5. package/dungeons/vertical/ai-platform.js +192 -133
  6. package/dungeons/vertical/community.js +64 -34
  7. package/dungeons/vertical/crypto.js +333 -224
  8. package/dungeons/vertical/dating.js +228 -282
  9. package/dungeons/vertical/devtools.js +164 -62
  10. package/dungeons/vertical/ecommerce.js +240 -91
  11. package/dungeons/vertical/education.js +328 -310
  12. package/dungeons/vertical/fintech.js +437 -311
  13. package/dungeons/vertical/fitness.js +141 -58
  14. package/dungeons/vertical/food-delivery.js +298 -318
  15. package/dungeons/vertical/gaming.js +378 -231
  16. package/dungeons/vertical/healthcare.js +140 -60
  17. package/dungeons/vertical/insurance-application.js +168 -73
  18. package/dungeons/vertical/logistics.js +95 -6
  19. package/dungeons/vertical/marketplace.js +137 -51
  20. package/dungeons/vertical/media.js +241 -386
  21. package/dungeons/vertical/real-estate.js +322 -315
  22. package/dungeons/vertical/sass.js +253 -263
  23. package/dungeons/vertical/social.js +262 -206
  24. package/dungeons/vertical/travel.js +59 -16
  25. package/index.js +17 -17
  26. package/lib/core/config-validator.js +93 -21
  27. package/lib/core/context.js +10 -24
  28. package/lib/core/storage.js +6 -1
  29. package/lib/generators/events.js +11 -14
  30. package/lib/generators/funnels.js +12 -4
  31. package/lib/generators/mirror.js +3 -2
  32. package/lib/generators/product-names.js +1 -1
  33. package/lib/generators/scd.js +2 -1
  34. package/lib/generators/text.js +1 -1
  35. package/lib/orchestrators/user-loop.js +47 -47
  36. package/lib/utils/utils.js +71 -39
  37. package/package.json +1 -1
  38. package/scripts/smoke-test-all.mjs +162 -0
  39. package/scripts/verify-runner.mjs +72 -24
  40. package/types.d.ts +38 -15
  41. package/dungeons/technical/ad-spend-schema.json +0 -128
  42. package/dungeons/technical/anonymous-users-schema.json +0 -92
  43. package/dungeons/technical/array-of-object-lookup-schema.json +0 -191
  44. package/dungeons/technical/experiments-schema.json +0 -203
  45. package/dungeons/technical/foobar-schema.json +0 -362
  46. package/dungeons/technical/group-analytics-schema.json +0 -241
  47. package/dungeons/technical/mirror-strategies-schema.json +0 -84
  48. package/dungeons/technical/nested-objects-schema.json +0 -145
  49. package/dungeons/technical/retention-cadence-schema.json +0 -37
  50. package/dungeons/technical/sanity-schema.json +0 -185
  51. package/dungeons/technical/scale-test-schema.json +0 -70
  52. package/dungeons/technical/scd-schema.json +0 -467
  53. package/dungeons/technical/simple-schema.json +0 -362
  54. package/dungeons/technical/text-generation-schema.json +0 -1062
  55. package/dungeons/vertical/ai-platform-schema.json +0 -617
  56. package/dungeons/vertical/community-schema.json +0 -579
  57. package/dungeons/vertical/crypto-schema.json +0 -546
  58. package/dungeons/vertical/dating-schema.json +0 -401
  59. package/dungeons/vertical/devtools-schema.json +0 -601
  60. package/dungeons/vertical/ecommerce-schema.json +0 -604
  61. package/dungeons/vertical/education-schema.json +0 -5686
  62. package/dungeons/vertical/fintech-schema.json +0 -630
  63. package/dungeons/vertical/fitness-schema.json +0 -530
  64. package/dungeons/vertical/food-delivery-schema.json +0 -36728
  65. package/dungeons/vertical/gaming-schema.json +0 -2703
  66. package/dungeons/vertical/healthcare-schema.json +0 -549
  67. package/dungeons/vertical/insurance-application-schema.json +0 -485
  68. package/dungeons/vertical/logistics-schema.json +0 -574
  69. package/dungeons/vertical/marketplace-schema.json +0 -533
  70. package/dungeons/vertical/media-schema.json +0 -4749
  71. package/dungeons/vertical/real-estate-schema.json +0 -527
  72. package/dungeons/vertical/sass-schema.json +0 -3128
  73. package/dungeons/vertical/social-schema.json +0 -620
  74. package/dungeons/vertical/travel-schema.json +0 -580
@@ -1,580 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "account created",
5
- "isFirstEvent": true,
6
- "properties": {
7
- "signup_source": [
8
- "organic",
9
- "google",
10
- "instagram",
11
- "tripadvisor",
12
- "referral",
13
- "email_campaign"
14
- ]
15
- }
16
- },
17
- {
18
- "event": "destination searched",
19
- "weight": 8,
20
- "properties": {
21
- "destination": [
22
- "Amsterdam",
23
- "Bali",
24
- "Bangkok",
25
- "Barcelona",
26
- "Cancun",
27
- "Dubai",
28
- "Lisbon",
29
- "London",
30
- "Miami",
31
- "New York",
32
- "Paris",
33
- "Rome",
34
- "Singapore",
35
- "Tokyo"
36
- ],
37
- "check_in_days_out": {
38
- "$range": [
39
- 15,
40
- 59
41
- ]
42
- },
43
- "nights": [
44
- 11,
45
- 4,
46
- 9
47
- ],
48
- "guests": [
49
- 2
50
- ],
51
- "search_filters": [
52
- "price",
53
- "rating",
54
- "location",
55
- "amenities",
56
- "pool",
57
- "breakfast"
58
- ]
59
- }
60
- },
61
- {
62
- "event": "hotel viewed",
63
- "weight": 7,
64
- "properties": {
65
- "hotel_id": {
66
- "$type": "string"
67
- },
68
- "destination": [
69
- "Amsterdam",
70
- "Bangkok",
71
- "Barcelona",
72
- "Dubai",
73
- "Lisbon",
74
- "London",
75
- "Miami",
76
- "New York",
77
- "Paris",
78
- "Rome",
79
- "Singapore",
80
- "Sydney",
81
- "Tokyo"
82
- ],
83
- "star_rating": [
84
- 3,
85
- 4,
86
- 5
87
- ],
88
- "nightly_rate": {
89
- "$range": [
90
- 124,
91
- 415
92
- ]
93
- },
94
- "has_pool": [
95
- true,
96
- false
97
- ],
98
- "has_breakfast": [
99
- true,
100
- false
101
- ],
102
- "photos_viewed": [
103
- 5,
104
- 3,
105
- 7,
106
- 6
107
- ]
108
- }
109
- },
110
- {
111
- "event": "price compared",
112
- "weight": 4,
113
- "properties": {
114
- "hotels_compared": {
115
- "$range": [
116
- 2,
117
- 5
118
- ]
119
- },
120
- "price_difference_pct": [
121
- 28,
122
- 10,
123
- 23,
124
- 21,
125
- 8,
126
- 11,
127
- 15,
128
- 9,
129
- 16,
130
- 36
131
- ],
132
- "chose_cheapest": [
133
- true,
134
- false
135
- ]
136
- }
137
- },
138
- {
139
- "event": "booking completed",
140
- "weight": 3,
141
- "properties": {
142
- "hotel_id": {
143
- "$type": "string"
144
- },
145
- "destination": [
146
- "Amsterdam",
147
- "Bali",
148
- "Bangkok",
149
- "Barcelona",
150
- "Dubai",
151
- "Lisbon",
152
- "London",
153
- "Miami",
154
- "New York",
155
- "Paris",
156
- "Rome",
157
- "Singapore",
158
- "Sydney",
159
- "Tokyo"
160
- ],
161
- "nightly_rate": {
162
- "$range": [
163
- 144,
164
- 411
165
- ]
166
- },
167
- "total_cost": {
168
- "$range": [
169
- 862,
170
- 4246
171
- ]
172
- },
173
- "nights": [
174
- 11,
175
- 10,
176
- 3
177
- ],
178
- "guests": [
179
- 4,
180
- 5
181
- ],
182
- "booking_window": [
183
- "advance",
184
- "standard",
185
- "last_minute"
186
- ],
187
- "payment_method": [
188
- "credit_card",
189
- "debit",
190
- "paypal",
191
- "apple_pay"
192
- ],
193
- "loyalty_points": {
194
- "$range": [
195
- 65,
196
- 421
197
- ]
198
- }
199
- }
200
- },
201
- {
202
- "event": "room upgrade selected",
203
- "weight": 2,
204
- "properties": {
205
- "upgrade_type": [
206
- "suite",
207
- "ocean_view",
208
- "executive_floor",
209
- "club_lounge",
210
- "premium_king"
211
- ],
212
- "upgrade_cost": {
213
- "$range": [
214
- 55,
215
- 167
216
- ]
217
- },
218
- "hotel_id": {
219
- "$type": "string"
220
- }
221
- }
222
- },
223
- {
224
- "event": "booking cancelled",
225
- "weight": 2,
226
- "properties": {
227
- "cancellation_reason": [
228
- "change_of_plans",
229
- "found_cheaper",
230
- "travel_restriction",
231
- "schedule_conflict",
232
- "weather"
233
- ],
234
- "refund_amount": {
235
- "$range": [
236
- 305,
237
- 1689
238
- ]
239
- },
240
- "days_before_checkin": {
241
- "$range": [
242
- 12,
243
- 47
244
- ]
245
- },
246
- "booking_window": [
247
- "advance",
248
- "standard",
249
- "last_minute"
250
- ]
251
- }
252
- },
253
- {
254
- "event": "check in completed",
255
- "weight": 2,
256
- "properties": {
257
- "hotel_id": {
258
- "$type": "string"
259
- },
260
- "check_in_method": [
261
- "app",
262
- "front_desk",
263
- "kiosk"
264
- ],
265
- "early_checkin": [
266
- false,
267
- true
268
- ]
269
- }
270
- },
271
- {
272
- "event": "amenity used",
273
- "weight": 4,
274
- "properties": {
275
- "amenity_type": [
276
- "pool",
277
- "gym",
278
- "spa",
279
- "restaurant",
280
- "bar",
281
- "room_service",
282
- "business_center",
283
- "concierge"
284
- ],
285
- "spend_amount": {
286
- "$range": [
287
- 41,
288
- 155
289
- ]
290
- }
291
- }
292
- },
293
- {
294
- "event": "review submitted",
295
- "weight": 2,
296
- "properties": {
297
- "hotel_id": {
298
- "$type": "string"
299
- },
300
- "stay_rating": [
301
- 3,
302
- 4,
303
- 2,
304
- 1
305
- ],
306
- "review_length": {
307
- "$range": [
308
- 44,
309
- 263
310
- ]
311
- },
312
- "would_return": [
313
- true,
314
- false
315
- ]
316
- }
317
- },
318
- {
319
- "event": "loyalty points redeemed",
320
- "properties": {
321
- "points_used": {
322
- "$range": [
323
- 852,
324
- 4276
325
- ]
326
- },
327
- "redemption_type": [
328
- "room_discount",
329
- "free_night",
330
- "upgrade",
331
- "amenity_credit"
332
- ]
333
- }
334
- },
335
- {
336
- "event": "notification received",
337
- "weight": 5,
338
- "properties": {
339
- "notification_type": [
340
- "deal_alert",
341
- "booking_confirmation",
342
- "checkin_reminder",
343
- "review_prompt",
344
- "loyalty_update"
345
- ],
346
- "channel": [
347
- "push",
348
- "email",
349
- "sms"
350
- ],
351
- "opened": [
352
- true,
353
- false
354
- ]
355
- }
356
- },
357
- {
358
- "event": "wishlist updated",
359
- "weight": 3,
360
- "properties": {
361
- "action": [
362
- "added",
363
- "removed"
364
- ],
365
- "destination": [
366
- "Amsterdam",
367
- "Bali",
368
- "Bangkok",
369
- "Barcelona",
370
- "Cancun",
371
- "Lisbon",
372
- "London",
373
- "Miami",
374
- "New York",
375
- "Paris",
376
- "Rome",
377
- "Singapore",
378
- "Sydney",
379
- "Tokyo"
380
- ],
381
- "hotel_id": {
382
- "$type": "string"
383
- }
384
- }
385
- },
386
- {
387
- "event": "support contacted",
388
- "properties": {
389
- "issue_type": [
390
- "booking_change",
391
- "refund",
392
- "complaint",
393
- "question",
394
- "loyalty_inquiry"
395
- ],
396
- "channel": [
397
- "chat",
398
- "phone",
399
- "email"
400
- ],
401
- "resolution_time_hours": [
402
- 14,
403
- 34,
404
- 12
405
- ]
406
- }
407
- },
408
- {
409
- "event": "app session",
410
- "weight": 7,
411
- "properties": {
412
- "session_duration_sec": {
413
- "$range": [
414
- 177,
415
- 985
416
- ]
417
- },
418
- "pages_viewed": [
419
- 15,
420
- 6
421
- ]
422
- }
423
- },
424
- {
425
- "event": "price alert set",
426
- "weight": 2,
427
- "properties": {
428
- "destination": [
429
- "Bali",
430
- "Bangkok",
431
- "Cancun",
432
- "Dubai",
433
- "London",
434
- "Miami",
435
- "New York",
436
- "Paris",
437
- "Rome",
438
- "Singapore",
439
- "Sydney",
440
- "Tokyo"
441
- ],
442
- "target_price": {
443
- "$range": [
444
- 81,
445
- 261
446
- ]
447
- },
448
- "alert_status": [
449
- "active",
450
- "triggered",
451
- "expired"
452
- ]
453
- }
454
- },
455
- {
456
- "event": "account deactivated",
457
- "isChurnEvent": true,
458
- "returnLikelihood": 0.2,
459
- "isStrictEvent": true,
460
- "properties": {
461
- "reason": [
462
- "found_alternative",
463
- "too_expensive",
464
- "poor_experience",
465
- "infrequent_travel",
466
- "privacy"
467
- ]
468
- }
469
- }
470
- ],
471
- "funnels": [
472
- {
473
- "sequence": [
474
- "account created",
475
- "destination searched",
476
- "hotel viewed",
477
- "booking completed"
478
- ],
479
- "name": "Onboarding to First Booking",
480
- "isFirstFunnel": true,
481
- "conversionRate": 35,
482
- "timeToConvert": 72,
483
- "weight": 3
484
- },
485
- {
486
- "sequence": [
487
- "destination searched",
488
- "hotel viewed",
489
- "price compared",
490
- "booking completed"
491
- ],
492
- "name": "Search to Book",
493
- "conversionRate": 25,
494
- "timeToConvert": 48,
495
- "weight": 5
496
- },
497
- {
498
- "sequence": [
499
- "booking completed",
500
- "check in completed",
501
- "amenity used",
502
- "review submitted"
503
- ],
504
- "name": "Full Stay Journey",
505
- "conversionRate": 30,
506
- "timeToConvert": 336,
507
- "weight": 3
508
- },
509
- {
510
- "sequence": [
511
- "booking completed",
512
- "loyalty points redeemed",
513
- "review submitted"
514
- ],
515
- "name": "Loyalty Engagement",
516
- "conversionRate": 15,
517
- "timeToConvert": 720,
518
- "weight": 2
519
- },
520
- {
521
- "sequence": [
522
- "hotel viewed",
523
- "booking completed",
524
- "room upgrade selected"
525
- ],
526
- "name": "Upsell Path",
527
- "conversionRate": 20,
528
- "timeToConvert": 24,
529
- "weight": 2
530
- }
531
- ],
532
- "superProps": {
533
- "Platform": [
534
- "ios",
535
- "android",
536
- "web"
537
- ],
538
- "membership_tier": [
539
- "standard",
540
- "gold",
541
- "platinum"
542
- ]
543
- },
544
- "userProps": {
545
- "customer_segment": [
546
- "leisure_family"
547
- ],
548
- "travel_frequency": [
549
- "occasional",
550
- "monthly",
551
- "weekly"
552
- ],
553
- "company_name": [
554
- "none"
555
- ],
556
- "preferred_destination": {
557
- "$type": "string"
558
- },
559
- "avg_budget_per_night": {
560
- "$range": [
561
- 98,
562
- 339
563
- ]
564
- }
565
- },
566
- "scdProps": {
567
- "membership_tier": {
568
- "type": "user",
569
- "frequency": "month",
570
- "timing": "fuzzy",
571
- "max": 8,
572
- "values": [
573
- "member",
574
- "silver",
575
- "gold",
576
- "platinum"
577
- ]
578
- }
579
- }
580
- }