@ak--47/dungeon-master 1.2.3 → 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 (89) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +51 -13
  3. package/dungeons/technical/ad-spend.js +2 -2
  4. package/dungeons/technical/anonymous-users.js +2 -2
  5. package/dungeons/technical/array-of-object-lookup.js +2 -4
  6. package/dungeons/technical/experiments.js +2 -2
  7. package/dungeons/technical/foobar.js +2 -2
  8. package/dungeons/technical/group-analytics.js +2 -2
  9. package/dungeons/technical/mirror-strategies.js +2 -2
  10. package/dungeons/technical/nested-objects.js +2 -2
  11. package/dungeons/technical/retention-cadence.js +2 -3
  12. package/dungeons/technical/sanity.js +2 -2
  13. package/dungeons/technical/scale-test.js +2 -2
  14. package/dungeons/technical/scd.js +2 -2
  15. package/dungeons/technical/simple.js +5 -6
  16. package/dungeons/technical/simplest-schema.json +5 -0
  17. package/dungeons/technical/simplest.js +2 -2
  18. package/dungeons/technical/text-generation.js +3 -3
  19. package/dungeons/vertical/ai-platform.js +858 -0
  20. package/dungeons/vertical/community.js +84 -40
  21. package/dungeons/vertical/crypto.js +830 -0
  22. package/dungeons/vertical/dating.js +744 -0
  23. package/dungeons/vertical/devtools.js +175 -69
  24. package/dungeons/vertical/ecommerce.js +242 -94
  25. package/dungeons/vertical/education.js +330 -313
  26. package/dungeons/vertical/fintech.js +442 -313
  27. package/dungeons/vertical/fitness.js +143 -61
  28. package/dungeons/vertical/food-delivery.js +327 -353
  29. package/dungeons/vertical/gaming.js +912 -382
  30. package/dungeons/vertical/healthcare.js +142 -63
  31. package/dungeons/vertical/insurance-application.js +170 -76
  32. package/dungeons/vertical/logistics.js +115 -20
  33. package/dungeons/vertical/marketplace.js +152 -58
  34. package/dungeons/vertical/media.js +248 -384
  35. package/dungeons/vertical/real-estate.js +781 -0
  36. package/dungeons/vertical/sass.js +255 -266
  37. package/dungeons/vertical/social.js +264 -206
  38. package/dungeons/vertical/travel.js +117 -41
  39. package/index.js +17 -17
  40. package/lib/core/config-validator.js +159 -31
  41. package/lib/core/context.js +10 -24
  42. package/lib/core/storage.js +6 -1
  43. package/lib/generators/events.js +11 -14
  44. package/lib/generators/funnels.js +12 -4
  45. package/lib/generators/mirror.js +3 -2
  46. package/lib/generators/product-names.js +1 -1
  47. package/lib/generators/scd.js +2 -1
  48. package/lib/generators/text.js +1 -1
  49. package/lib/orchestrators/user-loop.js +81 -47
  50. package/lib/templates/macro-presets.js +111 -0
  51. package/lib/templates/soup-presets.js +19 -36
  52. package/lib/utils/utils.js +71 -39
  53. package/package.json +8 -2
  54. package/scripts/smoke-test-all.mjs +162 -0
  55. package/scripts/verify-runner.mjs +72 -24
  56. package/types.d.ts +251 -51
  57. package/dungeons/technical/ad-spend-schema.json +0 -128
  58. package/dungeons/technical/anonymous-users-schema.json +0 -92
  59. package/dungeons/technical/array-of-object-lookup-schema.json +0 -191
  60. package/dungeons/technical/experiments-schema.json +0 -203
  61. package/dungeons/technical/foobar-schema.json +0 -362
  62. package/dungeons/technical/group-analytics-schema.json +0 -241
  63. package/dungeons/technical/mirror-strategies-schema.json +0 -84
  64. package/dungeons/technical/nested-objects-schema.json +0 -145
  65. package/dungeons/technical/retention-cadence-schema.json +0 -37
  66. package/dungeons/technical/sanity-schema.json +0 -185
  67. package/dungeons/technical/scale-test-schema.json +0 -70
  68. package/dungeons/technical/scd-schema.json +0 -467
  69. package/dungeons/technical/simple-schema.json +0 -362
  70. package/dungeons/technical/text-generation-schema.json +0 -1062
  71. package/dungeons/user/.gitkeep +0 -0
  72. package/dungeons/vertical/community-schema.json +0 -579
  73. package/dungeons/vertical/devtools-schema.json +0 -601
  74. package/dungeons/vertical/ecommerce-schema.json +0 -604
  75. package/dungeons/vertical/education-schema.json +0 -5686
  76. package/dungeons/vertical/fintech-schema.json +0 -630
  77. package/dungeons/vertical/fitness-schema.json +0 -530
  78. package/dungeons/vertical/food-delivery-schema.json +0 -36728
  79. package/dungeons/vertical/gaming-schema.json +0 -438
  80. package/dungeons/vertical/healthcare-schema.json +0 -549
  81. package/dungeons/vertical/insurance-application-schema.json +0 -485
  82. package/dungeons/vertical/logistics-schema.json +0 -574
  83. package/dungeons/vertical/marketplace-schema.json +0 -533
  84. package/dungeons/vertical/media-schema.json +0 -4749
  85. package/dungeons/vertical/rpg-schema.json +0 -2491
  86. package/dungeons/vertical/rpg.js +0 -976
  87. package/dungeons/vertical/sass-schema.json +0 -3128
  88. package/dungeons/vertical/social-schema.json +0 -620
  89. package/dungeons/vertical/travel-schema.json +0 -580
@@ -1,533 +0,0 @@
1
- {
2
- "events": [
3
- {
4
- "event": "account created",
5
- "isFirstEvent": true,
6
- "properties": {
7
- "signup_source": [
8
- "organic",
9
- "google_shopping",
10
- "tiktok",
11
- "seller_referral",
12
- "email_campaign",
13
- "word_of_mouth"
14
- ]
15
- }
16
- },
17
- {
18
- "event": "item searched",
19
- "weight": 8,
20
- "properties": {
21
- "search_query": [
22
- "laptop",
23
- "vintage jacket",
24
- "sneakers",
25
- "headphones",
26
- "phone case",
27
- "gaming console",
28
- "watch",
29
- "sunglasses",
30
- "backpack",
31
- "camera"
32
- ],
33
- "results_count": {
34
- "$range": [
35
- 7,
36
- 41
37
- ]
38
- },
39
- "sort_by": [
40
- "relevance",
41
- "price_low",
42
- "price_high",
43
- "newest",
44
- "best_selling"
45
- ]
46
- }
47
- },
48
- {
49
- "event": "item viewed",
50
- "weight": 7,
51
- "properties": {
52
- "listing_id": {
53
- "$type": "string"
54
- },
55
- "item_price": {
56
- "$range": [
57
- 98,
58
- 393
59
- ]
60
- },
61
- "condition": [
62
- "new",
63
- "like_new",
64
- "good",
65
- "fair"
66
- ],
67
- "seller_rating": [
68
- 2
69
- ],
70
- "photos_count": [
71
- 7,
72
- 6,
73
- 3
74
- ]
75
- }
76
- },
77
- {
78
- "event": "add to cart",
79
- "weight": 5,
80
- "properties": {
81
- "listing_id": {
82
- "$type": "string"
83
- },
84
- "item_price": {
85
- "$range": [
86
- 102,
87
- 399
88
- ]
89
- },
90
- "quantity": {
91
- "$range": [
92
- 2,
93
- 4
94
- ]
95
- }
96
- }
97
- },
98
- {
99
- "event": "purchase completed",
100
- "weight": 3,
101
- "properties": {
102
- "listing_id": {
103
- "$type": "string"
104
- },
105
- "total_amount": {
106
- "$range": [
107
- 102,
108
- 406
109
- ]
110
- },
111
- "item_count": {
112
- "$range": [
113
- 2,
114
- 4
115
- ]
116
- },
117
- "payment_method": [
118
- "credit_card",
119
- "paypal",
120
- "apple_pay",
121
- "debit"
122
- ],
123
- "shipping_method": [
124
- "standard",
125
- "express",
126
- "pickup"
127
- ],
128
- "is_whale_purchase": [
129
- false
130
- ]
131
- }
132
- },
133
- {
134
- "event": "listing created",
135
- "weight": 4,
136
- "properties": {
137
- "listing_id": {
138
- "$type": "string"
139
- },
140
- "store_id": {
141
- "$type": "string"
142
- },
143
- "asking_price": {
144
- "$range": [
145
- 104,
146
- 394
147
- ]
148
- },
149
- "condition": [
150
- "new",
151
- "like_new",
152
- "good",
153
- "fair"
154
- ],
155
- "listing_fee": {
156
- "$range": [
157
- 10,
158
- 23
159
- ]
160
- },
161
- "fee_change": [
162
- "none"
163
- ]
164
- }
165
- },
166
- {
167
- "event": "listing updated",
168
- "weight": 3,
169
- "properties": {
170
- "listing_id": {
171
- "$type": "string"
172
- },
173
- "field_updated": [
174
- "price",
175
- "description",
176
- "photos",
177
- "condition",
178
- "shipping"
179
- ],
180
- "price_change_pct": {
181
- "$range": [
182
- -20,
183
- 24
184
- ]
185
- }
186
- }
187
- },
188
- {
189
- "event": "offer received",
190
- "weight": 3,
191
- "properties": {
192
- "listing_id": {
193
- "$type": "string"
194
- },
195
- "offer_amount": {
196
- "$range": [
197
- 81,
198
- 325
199
- ]
200
- },
201
- "offer_pct_of_asking": {
202
- "$range": [
203
- 59,
204
- 92
205
- ]
206
- }
207
- }
208
- },
209
- {
210
- "event": "offer accepted",
211
- "weight": 2,
212
- "properties": {
213
- "listing_id": {
214
- "$type": "string"
215
- },
216
- "final_price": {
217
- "$range": [
218
- 100,
219
- 395
220
- ]
221
- },
222
- "negotiation_rounds": {
223
- "$range": [
224
- 2,
225
- 4
226
- ]
227
- },
228
- "response_time_hours": [
229
- 35,
230
- 13,
231
- 10,
232
- 36
233
- ]
234
- }
235
- },
236
- {
237
- "event": "review submitted",
238
- "weight": 2,
239
- "properties": {
240
- "listing_id": {
241
- "$type": "string"
242
- },
243
- "rating": [
244
- 4,
245
- 3,
246
- 2
247
- ],
248
- "review_length": {
249
- "$range": [
250
- 55,
251
- 246
252
- ]
253
- },
254
- "is_verified_purchase": [
255
- true,
256
- false
257
- ]
258
- }
259
- },
260
- {
261
- "event": "seller rated",
262
- "weight": 2,
263
- "properties": {
264
- "store_id": {
265
- "$type": "string"
266
- },
267
- "seller_rating": [
268
- 2,
269
- 4
270
- ],
271
- "would_buy_again": [
272
- true,
273
- false
274
- ]
275
- }
276
- },
277
- {
278
- "event": "message sent",
279
- "weight": 5,
280
- "properties": {
281
- "message_type": [
282
- "inquiry",
283
- "negotiation",
284
- "shipping_question",
285
- "complaint",
286
- "thank_you"
287
- ],
288
- "recipient_type": [
289
- "seller",
290
- "buyer",
291
- "support"
292
- ],
293
- "response_time_hours": [
294
- 12,
295
- 11,
296
- 10,
297
- 34,
298
- 35
299
- ]
300
- }
301
- },
302
- {
303
- "event": "shipping updated",
304
- "weight": 3,
305
- "properties": {
306
- "status": [
307
- "label_created",
308
- "in_transit",
309
- "out_for_delivery",
310
- "delivered"
311
- ],
312
- "carrier": [
313
- "usps",
314
- "ups",
315
- "fedex",
316
- "dhl"
317
- ],
318
- "tracking_viewed": [
319
- true,
320
- false
321
- ]
322
- }
323
- },
324
- {
325
- "event": "refund requested",
326
- "properties": {
327
- "reason": [
328
- "not_as_described",
329
- "damaged",
330
- "wrong_item",
331
- "changed_mind",
332
- "late_delivery"
333
- ],
334
- "refund_amount": {
335
- "$range": [
336
- 61,
337
- 242
338
- ]
339
- },
340
- "resolution_status": [
341
- "pending",
342
- "approved",
343
- "denied"
344
- ]
345
- }
346
- },
347
- {
348
- "event": "notification received",
349
- "weight": 6,
350
- "properties": {
351
- "notification_type": [
352
- "price_drop",
353
- "new_offer",
354
- "shipping_update",
355
- "message_received",
356
- "sale_reminder"
357
- ],
358
- "channel": [
359
- "push",
360
- "email",
361
- "sms"
362
- ],
363
- "opened": [
364
- true,
365
- false
366
- ]
367
- }
368
- },
369
- {
370
- "event": "profile updated",
371
- "weight": 2,
372
- "properties": {
373
- "field_updated": [
374
- "address",
375
- "payment_method",
376
- "profile_photo",
377
- "bio",
378
- "phone",
379
- "store_description"
380
- ]
381
- }
382
- },
383
- {
384
- "event": "app session",
385
- "weight": 8,
386
- "properties": {
387
- "session_duration_sec": {
388
- "$range": [
389
- 310,
390
- 1498
391
- ]
392
- },
393
- "pages_viewed": [
394
- 4,
395
- 13,
396
- 5
397
- ]
398
- }
399
- },
400
- {
401
- "event": "account deactivated",
402
- "isChurnEvent": true,
403
- "returnLikelihood": 0.15,
404
- "isStrictEvent": true,
405
- "properties": {
406
- "reason": [
407
- "low_sales",
408
- "high_fees",
409
- "found_alternative",
410
- "bad_experience",
411
- "no_longer_needed"
412
- ]
413
- }
414
- }
415
- ],
416
- "funnels": [
417
- {
418
- "sequence": [
419
- "account created",
420
- "item searched",
421
- "item viewed",
422
- "add to cart"
423
- ],
424
- "name": "Buyer Onboarding",
425
- "isFirstFunnel": true,
426
- "conversionRate": 40,
427
- "timeToConvert": 72,
428
- "weight": 3
429
- },
430
- {
431
- "sequence": [
432
- "item searched",
433
- "item viewed",
434
- "add to cart",
435
- "purchase completed"
436
- ],
437
- "name": "Browse to Purchase",
438
- "conversionRate": 30,
439
- "timeToConvert": 48,
440
- "weight": 5
441
- },
442
- {
443
- "sequence": [
444
- "listing created",
445
- "listing updated",
446
- "offer received",
447
- "offer accepted"
448
- ],
449
- "name": "Seller Listing Flow",
450
- "conversionRate": 25,
451
- "timeToConvert": 168,
452
- "weight": 3
453
- },
454
- {
455
- "sequence": [
456
- "offer received",
457
- "message sent",
458
- "offer accepted"
459
- ],
460
- "name": "Offer Negotiation",
461
- "conversionRate": 35,
462
- "timeToConvert": 72,
463
- "weight": 2
464
- },
465
- {
466
- "sequence": [
467
- "purchase completed",
468
- "shipping updated",
469
- "review submitted"
470
- ],
471
- "name": "Review After Purchase",
472
- "conversionRate": 20,
473
- "timeToConvert": 336,
474
- "weight": 2
475
- }
476
- ],
477
- "superProps": {
478
- "Platform": [
479
- "ios",
480
- "android",
481
- "web"
482
- ],
483
- "category": [
484
- "electronics",
485
- "clothing",
486
- "home_garden",
487
- "collectibles",
488
- "sports",
489
- "toys",
490
- "automotive"
491
- ]
492
- },
493
- "userProps": {
494
- "user_type": [
495
- "buyer"
496
- ],
497
- "segment": [
498
- "window_shopper"
499
- ],
500
- "seller_rating": {
501
- "$range": [
502
- 1,
503
- 4
504
- ]
505
- },
506
- "total_transactions": [
507
- 0
508
- ],
509
- "response_time_hours": {
510
- "$range": [
511
- 7,
512
- 38
513
- ]
514
- },
515
- "store_name": [
516
- "none"
517
- ]
518
- },
519
- "scdProps": {
520
- "seller_tier": {
521
- "type": "user",
522
- "frequency": "month",
523
- "timing": "fuzzy",
524
- "max": 8,
525
- "values": [
526
- "new",
527
- "verified",
528
- "power",
529
- "featured"
530
- ]
531
- }
532
- }
533
- }