@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.
- package/CHANGELOG.md +42 -0
- package/README.md +51 -13
- package/dungeons/technical/ad-spend.js +2 -2
- package/dungeons/technical/anonymous-users.js +2 -2
- package/dungeons/technical/array-of-object-lookup.js +2 -4
- package/dungeons/technical/experiments.js +2 -2
- package/dungeons/technical/foobar.js +2 -2
- package/dungeons/technical/group-analytics.js +2 -2
- package/dungeons/technical/mirror-strategies.js +2 -2
- package/dungeons/technical/nested-objects.js +2 -2
- package/dungeons/technical/retention-cadence.js +2 -3
- package/dungeons/technical/sanity.js +2 -2
- package/dungeons/technical/scale-test.js +2 -2
- package/dungeons/technical/scd.js +2 -2
- package/dungeons/technical/simple.js +5 -6
- package/dungeons/technical/simplest-schema.json +5 -0
- package/dungeons/technical/simplest.js +2 -2
- package/dungeons/technical/text-generation.js +3 -3
- package/dungeons/vertical/ai-platform.js +858 -0
- package/dungeons/vertical/community.js +84 -40
- package/dungeons/vertical/crypto.js +830 -0
- package/dungeons/vertical/dating.js +744 -0
- package/dungeons/vertical/devtools.js +175 -69
- package/dungeons/vertical/ecommerce.js +242 -94
- package/dungeons/vertical/education.js +330 -313
- package/dungeons/vertical/fintech.js +442 -313
- package/dungeons/vertical/fitness.js +143 -61
- package/dungeons/vertical/food-delivery.js +327 -353
- package/dungeons/vertical/gaming.js +912 -382
- package/dungeons/vertical/healthcare.js +142 -63
- package/dungeons/vertical/insurance-application.js +170 -76
- package/dungeons/vertical/logistics.js +115 -20
- package/dungeons/vertical/marketplace.js +152 -58
- package/dungeons/vertical/media.js +248 -384
- package/dungeons/vertical/real-estate.js +781 -0
- package/dungeons/vertical/sass.js +255 -266
- package/dungeons/vertical/social.js +264 -206
- package/dungeons/vertical/travel.js +117 -41
- package/index.js +17 -17
- package/lib/core/config-validator.js +159 -31
- package/lib/core/context.js +10 -24
- package/lib/core/storage.js +6 -1
- package/lib/generators/events.js +11 -14
- package/lib/generators/funnels.js +12 -4
- package/lib/generators/mirror.js +3 -2
- package/lib/generators/product-names.js +1 -1
- package/lib/generators/scd.js +2 -1
- package/lib/generators/text.js +1 -1
- package/lib/orchestrators/user-loop.js +81 -47
- package/lib/templates/macro-presets.js +111 -0
- package/lib/templates/soup-presets.js +19 -36
- package/lib/utils/utils.js +71 -39
- package/package.json +8 -2
- package/scripts/smoke-test-all.mjs +162 -0
- package/scripts/verify-runner.mjs +72 -24
- package/types.d.ts +251 -51
- package/dungeons/technical/ad-spend-schema.json +0 -128
- package/dungeons/technical/anonymous-users-schema.json +0 -92
- package/dungeons/technical/array-of-object-lookup-schema.json +0 -191
- package/dungeons/technical/experiments-schema.json +0 -203
- package/dungeons/technical/foobar-schema.json +0 -362
- package/dungeons/technical/group-analytics-schema.json +0 -241
- package/dungeons/technical/mirror-strategies-schema.json +0 -84
- package/dungeons/technical/nested-objects-schema.json +0 -145
- package/dungeons/technical/retention-cadence-schema.json +0 -37
- package/dungeons/technical/sanity-schema.json +0 -185
- package/dungeons/technical/scale-test-schema.json +0 -70
- package/dungeons/technical/scd-schema.json +0 -467
- package/dungeons/technical/simple-schema.json +0 -362
- package/dungeons/technical/text-generation-schema.json +0 -1062
- package/dungeons/user/.gitkeep +0 -0
- package/dungeons/vertical/community-schema.json +0 -579
- package/dungeons/vertical/devtools-schema.json +0 -601
- package/dungeons/vertical/ecommerce-schema.json +0 -604
- package/dungeons/vertical/education-schema.json +0 -5686
- package/dungeons/vertical/fintech-schema.json +0 -630
- package/dungeons/vertical/fitness-schema.json +0 -530
- package/dungeons/vertical/food-delivery-schema.json +0 -36728
- package/dungeons/vertical/gaming-schema.json +0 -438
- package/dungeons/vertical/healthcare-schema.json +0 -549
- package/dungeons/vertical/insurance-application-schema.json +0 -485
- package/dungeons/vertical/logistics-schema.json +0 -574
- package/dungeons/vertical/marketplace-schema.json +0 -533
- package/dungeons/vertical/media-schema.json +0 -4749
- package/dungeons/vertical/rpg-schema.json +0 -2491
- package/dungeons/vertical/rpg.js +0 -976
- package/dungeons/vertical/sass-schema.json +0 -3128
- package/dungeons/vertical/social-schema.json +0 -620
- package/dungeons/vertical/travel-schema.json +0 -580
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"events": [
|
|
3
|
-
{
|
|
4
|
-
"event": "checkout",
|
|
5
|
-
"weight": 3,
|
|
6
|
-
"properties": {
|
|
7
|
-
"cart": {
|
|
8
|
-
"$type": "object[]",
|
|
9
|
-
"$keys": [
|
|
10
|
-
"product_id",
|
|
11
|
-
"name",
|
|
12
|
-
"price",
|
|
13
|
-
"quantity",
|
|
14
|
-
"category"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"total_amount": {
|
|
18
|
-
"$range": [
|
|
19
|
-
408,
|
|
20
|
-
1563
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"currency": [
|
|
24
|
-
"USD",
|
|
25
|
-
"EUR",
|
|
26
|
-
"GBP",
|
|
27
|
-
"JPY",
|
|
28
|
-
"CAD"
|
|
29
|
-
],
|
|
30
|
-
"session_id": {
|
|
31
|
-
"$type": "string"
|
|
32
|
-
},
|
|
33
|
-
"metadata": {
|
|
34
|
-
"$type": "object"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"event": "search performed",
|
|
40
|
-
"weight": 5,
|
|
41
|
-
"properties": {
|
|
42
|
-
"query": [
|
|
43
|
-
"laptop",
|
|
44
|
-
"shoes",
|
|
45
|
-
"headphones",
|
|
46
|
-
"jacket",
|
|
47
|
-
"phone case",
|
|
48
|
-
"coffee maker",
|
|
49
|
-
"backpack",
|
|
50
|
-
"monitor",
|
|
51
|
-
"keyboard",
|
|
52
|
-
"mouse"
|
|
53
|
-
],
|
|
54
|
-
"results": {
|
|
55
|
-
"$type": "object[]",
|
|
56
|
-
"$keys": [
|
|
57
|
-
"result_id",
|
|
58
|
-
"title",
|
|
59
|
-
"score",
|
|
60
|
-
"sponsored"
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
"result_count": {
|
|
64
|
-
"$range": [
|
|
65
|
-
6,
|
|
66
|
-
46
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
"top_result_id": {
|
|
70
|
-
"$type": "string"
|
|
71
|
-
},
|
|
72
|
-
"session_id": {
|
|
73
|
-
"$type": "string"
|
|
74
|
-
},
|
|
75
|
-
"metadata": {
|
|
76
|
-
"$type": "object"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"event": "form submitted",
|
|
82
|
-
"weight": 4,
|
|
83
|
-
"properties": {
|
|
84
|
-
"form_name": [
|
|
85
|
-
"checkout",
|
|
86
|
-
"signup",
|
|
87
|
-
"contact",
|
|
88
|
-
"feedback",
|
|
89
|
-
"settings",
|
|
90
|
-
"profile"
|
|
91
|
-
],
|
|
92
|
-
"fields": {
|
|
93
|
-
"$type": "object[]",
|
|
94
|
-
"$keys": [
|
|
95
|
-
"field_name",
|
|
96
|
-
"value",
|
|
97
|
-
"valid"
|
|
98
|
-
]
|
|
99
|
-
},
|
|
100
|
-
"submission_valid": [
|
|
101
|
-
true,
|
|
102
|
-
false
|
|
103
|
-
],
|
|
104
|
-
"session_id": {
|
|
105
|
-
"$type": "string"
|
|
106
|
-
},
|
|
107
|
-
"metadata": {
|
|
108
|
-
"$type": "object"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"event": "page view",
|
|
114
|
-
"weight": 8,
|
|
115
|
-
"properties": {
|
|
116
|
-
"page": [
|
|
117
|
-
"/",
|
|
118
|
-
"/products",
|
|
119
|
-
"/cart",
|
|
120
|
-
"/search",
|
|
121
|
-
"/account",
|
|
122
|
-
"/help",
|
|
123
|
-
"/about"
|
|
124
|
-
],
|
|
125
|
-
"product_id": {
|
|
126
|
-
"$type": "string"
|
|
127
|
-
},
|
|
128
|
-
"session_id": {
|
|
129
|
-
"$type": "string"
|
|
130
|
-
},
|
|
131
|
-
"metadata": {
|
|
132
|
-
"$type": "object"
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
],
|
|
137
|
-
"userProps": {
|
|
138
|
-
"plan": [
|
|
139
|
-
"free",
|
|
140
|
-
"basic",
|
|
141
|
-
"pro",
|
|
142
|
-
"enterprise"
|
|
143
|
-
]
|
|
144
|
-
}
|
|
145
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"events": [
|
|
3
|
-
{
|
|
4
|
-
"event": "first behavior",
|
|
5
|
-
"isFirstEvent": true
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"event": "hourly behavior",
|
|
9
|
-
"weight": 40
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"event": "daily behavior",
|
|
13
|
-
"weight": 30
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"event": "weekly behavior",
|
|
17
|
-
"weight": 15
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"event": "monthly behavior",
|
|
21
|
-
"weight": 10
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"event": "placeholder",
|
|
25
|
-
"weight": 50
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"userProps": {
|
|
29
|
-
"favorite color": [
|
|
30
|
-
"red",
|
|
31
|
-
"blue",
|
|
32
|
-
"green",
|
|
33
|
-
"yellow",
|
|
34
|
-
"purple"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"events": [
|
|
3
|
-
{
|
|
4
|
-
"event": "foo",
|
|
5
|
-
"weight": 10
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"event": "bar",
|
|
9
|
-
"weight": 9,
|
|
10
|
-
"isFirstEvent": true
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"event": "baz",
|
|
14
|
-
"weight": 8
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"event": "qux",
|
|
18
|
-
"weight": 7
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"event": "garply",
|
|
22
|
-
"weight": 6
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"event": "durtle",
|
|
26
|
-
"weight": 5
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"event": "linny",
|
|
30
|
-
"weight": 4
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"event": "fonk",
|
|
34
|
-
"weight": 3
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"event": "crumn",
|
|
38
|
-
"weight": 2
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"event": "yak"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"funnels": [
|
|
45
|
-
{
|
|
46
|
-
"sequence": [
|
|
47
|
-
"qux",
|
|
48
|
-
"garply",
|
|
49
|
-
"durtle",
|
|
50
|
-
"linny",
|
|
51
|
-
"fonk",
|
|
52
|
-
"crumn",
|
|
53
|
-
"yak"
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"sequence": [
|
|
58
|
-
"foo",
|
|
59
|
-
"bar",
|
|
60
|
-
"baz"
|
|
61
|
-
],
|
|
62
|
-
"isFirstFunnel": true
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"superProps": {
|
|
66
|
-
"color": [
|
|
67
|
-
"red",
|
|
68
|
-
"orange",
|
|
69
|
-
"yellow",
|
|
70
|
-
"green",
|
|
71
|
-
"blue",
|
|
72
|
-
"indigo",
|
|
73
|
-
"violet"
|
|
74
|
-
],
|
|
75
|
-
"number": {
|
|
76
|
-
"$type": "number"
|
|
77
|
-
},
|
|
78
|
-
"engagement_score": [
|
|
79
|
-
0
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
"userProps": {
|
|
83
|
-
"title": {
|
|
84
|
-
"$type": "string"
|
|
85
|
-
},
|
|
86
|
-
"luckyNumber": {
|
|
87
|
-
"$range": [
|
|
88
|
-
90,
|
|
89
|
-
380
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
"userTier": [
|
|
93
|
-
"regular"
|
|
94
|
-
],
|
|
95
|
-
"spiritAnimal": [
|
|
96
|
-
"duck",
|
|
97
|
-
"dog",
|
|
98
|
-
"otter",
|
|
99
|
-
"penguin",
|
|
100
|
-
"cat",
|
|
101
|
-
"elephant",
|
|
102
|
-
"lion",
|
|
103
|
-
"cheetah",
|
|
104
|
-
"giraffe",
|
|
105
|
-
"zebra",
|
|
106
|
-
"rhino",
|
|
107
|
-
"hippo",
|
|
108
|
-
"whale",
|
|
109
|
-
"dolphin",
|
|
110
|
-
"shark",
|
|
111
|
-
"octopus",
|
|
112
|
-
"squid",
|
|
113
|
-
"jellyfish",
|
|
114
|
-
"starfish",
|
|
115
|
-
"seahorse",
|
|
116
|
-
"crab",
|
|
117
|
-
"lobster",
|
|
118
|
-
"shrimp",
|
|
119
|
-
"clam",
|
|
120
|
-
"snail",
|
|
121
|
-
"slug",
|
|
122
|
-
"butterfly",
|
|
123
|
-
"moth",
|
|
124
|
-
"bee",
|
|
125
|
-
"wasp",
|
|
126
|
-
"ant",
|
|
127
|
-
"beetle",
|
|
128
|
-
"ladybug",
|
|
129
|
-
"caterpillar",
|
|
130
|
-
"centipede",
|
|
131
|
-
"millipede",
|
|
132
|
-
"scorpion",
|
|
133
|
-
"spider",
|
|
134
|
-
"tarantula",
|
|
135
|
-
"tick",
|
|
136
|
-
"mite",
|
|
137
|
-
"mosquito",
|
|
138
|
-
"fly",
|
|
139
|
-
"dragonfly",
|
|
140
|
-
"damselfly",
|
|
141
|
-
"grasshopper",
|
|
142
|
-
"cricket",
|
|
143
|
-
"locust",
|
|
144
|
-
"mantis",
|
|
145
|
-
"cockroach",
|
|
146
|
-
"termite",
|
|
147
|
-
"praying mantis",
|
|
148
|
-
"walking stick",
|
|
149
|
-
"stick bug",
|
|
150
|
-
"leaf insect",
|
|
151
|
-
"lacewing",
|
|
152
|
-
"aphid",
|
|
153
|
-
"cicada",
|
|
154
|
-
"thrips",
|
|
155
|
-
"psyllid",
|
|
156
|
-
"scale insect",
|
|
157
|
-
"whitefly",
|
|
158
|
-
"mealybug",
|
|
159
|
-
"planthopper",
|
|
160
|
-
"leafhopper",
|
|
161
|
-
"treehopper",
|
|
162
|
-
"flea",
|
|
163
|
-
"louse",
|
|
164
|
-
"bedbug",
|
|
165
|
-
"flea beetle",
|
|
166
|
-
"weevil",
|
|
167
|
-
"longhorn beetle",
|
|
168
|
-
"leaf beetle",
|
|
169
|
-
"tiger beetle",
|
|
170
|
-
"ground beetle",
|
|
171
|
-
"lady beetle",
|
|
172
|
-
"firefly",
|
|
173
|
-
"click beetle",
|
|
174
|
-
"rove beetle",
|
|
175
|
-
"scarab beetle",
|
|
176
|
-
"dung beetle",
|
|
177
|
-
"stag beetle",
|
|
178
|
-
"rhinoceros beetle",
|
|
179
|
-
"hercules beetle",
|
|
180
|
-
"goliath beetle",
|
|
181
|
-
"jewel beetle",
|
|
182
|
-
"tortoise beetle"
|
|
183
|
-
]
|
|
184
|
-
}
|
|
185
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"events": [
|
|
3
|
-
{
|
|
4
|
-
"event": "page view",
|
|
5
|
-
"weight": 10,
|
|
6
|
-
"properties": {
|
|
7
|
-
"page": [
|
|
8
|
-
"/",
|
|
9
|
-
"/home",
|
|
10
|
-
"/about",
|
|
11
|
-
"/pricing",
|
|
12
|
-
"/docs"
|
|
13
|
-
]
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"event": "click",
|
|
18
|
-
"weight": 8,
|
|
19
|
-
"properties": {
|
|
20
|
-
"element": [
|
|
21
|
-
"button",
|
|
22
|
-
"link",
|
|
23
|
-
"card",
|
|
24
|
-
"nav",
|
|
25
|
-
"tab"
|
|
26
|
-
],
|
|
27
|
-
"label": [
|
|
28
|
-
"submit",
|
|
29
|
-
"cancel",
|
|
30
|
-
"next",
|
|
31
|
-
"back",
|
|
32
|
-
"learn more"
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"event": "api call",
|
|
38
|
-
"weight": 6,
|
|
39
|
-
"properties": {
|
|
40
|
-
"endpoint": [
|
|
41
|
-
"/api/users",
|
|
42
|
-
"/api/data",
|
|
43
|
-
"/api/auth",
|
|
44
|
-
"/api/events"
|
|
45
|
-
],
|
|
46
|
-
"status": [
|
|
47
|
-
200,
|
|
48
|
-
201,
|
|
49
|
-
301,
|
|
50
|
-
400,
|
|
51
|
-
404,
|
|
52
|
-
500
|
|
53
|
-
],
|
|
54
|
-
"latency_ms": {
|
|
55
|
-
"$range": [
|
|
56
|
-
408,
|
|
57
|
-
1563
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"userProps": {
|
|
64
|
-
"plan": [
|
|
65
|
-
"free",
|
|
66
|
-
"pro",
|
|
67
|
-
"enterprise"
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
}
|