@openora/core 0.4.1-canary.138 → 0.4.1-canary.139
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/dist/.tsbuildinfo +1 -1
- package/dist/admin-console/contract/index.d.ts +6 -0
- package/dist/admin-console/contract/index.d.ts.map +1 -1
- package/dist/admin-console/plugin.d.ts +1 -0
- package/dist/admin-console/plugin.d.ts.map +1 -1
- package/dist/admin-console/router/index.d.ts +3 -0
- package/dist/admin-console/router/index.d.ts.map +1 -1
- package/dist/analytics/plugin.d.ts +1 -0
- package/dist/analytics/plugin.d.ts.map +1 -1
- package/dist/analytics/service/financial-analytics.service.d.ts.map +1 -1
- package/dist/analytics/service/financial-analytics.service.js +3 -2
- package/dist/analytics/service/financial-analytics.service.js.map +1 -1
- package/dist/audit/plugin.d.ts +1 -0
- package/dist/audit/plugin.d.ts.map +1 -1
- package/dist/casino/gaming/__tests__/gaming.service.int.test.js +170 -5
- package/dist/casino/gaming/__tests__/gaming.service.int.test.js.map +1 -1
- package/dist/casino/gaming/drizzle/migrations/0003_wealthy_greymalkin.sql +2 -0
- package/dist/casino/gaming/drizzle/migrations/0004_serious_storm.sql +4 -0
- package/dist/casino/gaming/drizzle/migrations/meta/0003_snapshot.json +259 -0
- package/dist/casino/gaming/drizzle/migrations/meta/0004_snapshot.json +259 -0
- package/dist/casino/gaming/drizzle/migrations/meta/_journal.json +14 -0
- package/dist/casino/gaming/plugin.d.ts +1 -0
- package/dist/casino/gaming/plugin.d.ts.map +1 -1
- package/dist/casino/gaming/plugin.js +8 -2
- package/dist/casino/gaming/plugin.js.map +1 -1
- package/dist/casino/gaming/schema/index.d.ts +17 -0
- package/dist/casino/gaming/schema/index.d.ts.map +1 -1
- package/dist/casino/gaming/schema/index.js +9 -4
- package/dist/casino/gaming/schema/index.js.map +1 -1
- package/dist/casino/gaming/service/gaming.service.d.ts +22 -0
- package/dist/casino/gaming/service/gaming.service.d.ts.map +1 -1
- package/dist/casino/gaming/service/gaming.service.js +47 -1
- package/dist/casino/gaming/service/gaming.service.js.map +1 -1
- package/dist/casino/lobby/plugin.d.ts +1 -0
- package/dist/casino/lobby/plugin.d.ts.map +1 -1
- package/dist/cms/plugin.d.ts +1 -0
- package/dist/cms/plugin.d.ts.map +1 -1
- package/dist/compliance/plugin.d.ts +1 -0
- package/dist/compliance/plugin.d.ts.map +1 -1
- package/dist/contracts/adapters/gaming-commands.d.ts +25 -0
- package/dist/contracts/adapters/gaming-commands.d.ts.map +1 -0
- package/dist/contracts/adapters/gaming-commands.js +8 -0
- package/dist/contracts/adapters/gaming-commands.js.map +1 -0
- package/dist/contracts/adapters/index.d.ts +4 -2
- package/dist/contracts/adapters/index.d.ts.map +1 -1
- package/dist/contracts/adapters/index.js +1 -0
- package/dist/contracts/adapters/index.js.map +1 -1
- package/dist/contracts/adapters/wallet-commands.d.ts +8 -0
- package/dist/contracts/adapters/wallet-commands.d.ts.map +1 -1
- package/dist/contracts/adapters/wallet-commands.js.map +1 -1
- package/dist/contracts/adapters/wallet-reader.d.ts +22 -0
- package/dist/contracts/adapters/wallet-reader.d.ts.map +1 -1
- package/dist/contracts/adapters/wallet-reader.js.map +1 -1
- package/dist/contracts/schemas/wallet-tx.d.ts +2 -1
- package/dist/contracts/schemas/wallet-tx.d.ts.map +1 -1
- package/dist/contracts/schemas/wallet-tx.js +1 -0
- package/dist/contracts/schemas/wallet-tx.js.map +1 -1
- package/dist/engagement/chat/plugin.d.ts +1 -0
- package/dist/engagement/chat/plugin.d.ts.map +1 -1
- package/dist/engagement/chat-commands/plugin.d.ts +1 -0
- package/dist/engagement/chat-commands/plugin.d.ts.map +1 -1
- package/dist/engagement/notifications/plugin.d.ts +1 -0
- package/dist/engagement/notifications/plugin.d.ts.map +1 -1
- package/dist/engagement/social/plugin.d.ts +1 -0
- package/dist/engagement/social/plugin.d.ts.map +1 -1
- package/dist/fx/exchange-rate/plugin.d.ts +1 -0
- package/dist/fx/exchange-rate/plugin.d.ts.map +1 -1
- package/dist/iam/plugin.d.ts +1 -0
- package/dist/iam/plugin.d.ts.map +1 -1
- package/dist/mail/plugin.d.ts +1 -0
- package/dist/mail/plugin.d.ts.map +1 -1
- package/dist/pam/identity/plugin.d.ts +1 -0
- package/dist/pam/identity/plugin.d.ts.map +1 -1
- package/dist/pam/player-management/plugin.d.ts +1 -0
- package/dist/pam/player-management/plugin.d.ts.map +1 -1
- package/dist/pam/player-note/plugin.d.ts +1 -0
- package/dist/pam/player-note/plugin.d.ts.map +1 -1
- package/dist/pam/profile/plugin.d.ts +1 -0
- package/dist/pam/profile/plugin.d.ts.map +1 -1
- package/dist/pam/tag/plugin.d.ts +1 -0
- package/dist/pam/tag/plugin.d.ts.map +1 -1
- package/dist/server/runtime/core-token-catalog.d.ts +1 -0
- package/dist/server/runtime/core-token-catalog.d.ts.map +1 -1
- package/dist/server/runtime/core-token-catalog.js +2 -1
- package/dist/server/runtime/core-token-catalog.js.map +1 -1
- package/dist/wallet/__tests__/reconciliation.service.int.test.js +1 -0
- package/dist/wallet/__tests__/reconciliation.service.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-commands.service.int.test.js +120 -0
- package/dist/wallet/__tests__/wallet-commands.service.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-reader.service.int.test.d.ts +2 -0
- package/dist/wallet/__tests__/wallet-reader.service.int.test.d.ts.map +1 -0
- package/dist/wallet/__tests__/wallet-reader.service.int.test.js +111 -0
- package/dist/wallet/__tests__/wallet-reader.service.int.test.js.map +1 -0
- package/dist/wallet/__tests__/wallet-transaction-direction-backfill.test.js +1 -0
- package/dist/wallet/__tests__/wallet-transaction-direction-backfill.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet-webhook.router.int.test.js +2 -1
- package/dist/wallet/__tests__/wallet-webhook.router.int.test.js.map +1 -1
- package/dist/wallet/__tests__/wallet.service.int.test.js +12 -2
- package/dist/wallet/__tests__/wallet.service.int.test.js.map +1 -1
- package/dist/wallet/adapters/wallet-reader.service.d.ts +6 -1
- package/dist/wallet/adapters/wallet-reader.service.d.ts.map +1 -1
- package/dist/wallet/adapters/wallet-reader.service.js +31 -1
- package/dist/wallet/adapters/wallet-reader.service.js.map +1 -1
- package/dist/wallet/admin-reporting.d.ts +2 -2
- package/dist/wallet/contract/index.d.ts +4 -0
- package/dist/wallet/contract/index.d.ts.map +1 -1
- package/dist/wallet/drizzle/migrations/0018_marvelous_demogoblin.sql +3 -0
- package/dist/wallet/drizzle/migrations/0019_awesome_drax.sql +2 -0
- package/dist/wallet/drizzle/migrations/meta/0018_snapshot.json +1967 -0
- package/dist/wallet/drizzle/migrations/meta/0019_snapshot.json +1973 -0
- package/dist/wallet/drizzle/migrations/meta/_journal.json +14 -0
- package/dist/wallet/plugin.d.ts +1 -0
- package/dist/wallet/plugin.d.ts.map +1 -1
- package/dist/wallet/router/index.d.ts +2 -0
- package/dist/wallet/router/index.d.ts.map +1 -1
- package/dist/wallet/router/index.js +1 -1
- package/dist/wallet/router/index.js.map +1 -1
- package/dist/wallet/schema/index.d.ts +20 -3
- package/dist/wallet/schema/index.d.ts.map +1 -1
- package/dist/wallet/schema/index.js +3 -1
- package/dist/wallet/schema/index.js.map +1 -1
- package/dist/wallet/service/reconciliation.service.d.ts.map +1 -1
- package/dist/wallet/service/reconciliation.service.js +5 -5
- package/dist/wallet/service/reconciliation.service.js.map +1 -1
- package/dist/wallet/service/wallet-commands.service.d.ts +3 -2
- package/dist/wallet/service/wallet-commands.service.d.ts.map +1 -1
- package/dist/wallet/service/wallet-commands.service.js +58 -18
- package/dist/wallet/service/wallet-commands.service.js.map +1 -1
- package/dist/wallet/service/wallet.service.d.ts +9 -3
- package/dist/wallet/service/wallet.service.d.ts.map +1 -1
- package/dist/wallet/service/wallet.service.js +20 -14
- package/dist/wallet/service/wallet.service.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "0dbd835c-03ef-46c7-a761-584489e78605",
|
|
3
|
+
"prevId": "148fd667-dcfd-4789-a33e-5869930e7fc8",
|
|
4
|
+
"version": "7",
|
|
5
|
+
"dialect": "postgresql",
|
|
6
|
+
"tables": {
|
|
7
|
+
"public.game": {
|
|
8
|
+
"name": "game",
|
|
9
|
+
"schema": "",
|
|
10
|
+
"columns": {
|
|
11
|
+
"id": {
|
|
12
|
+
"name": "id",
|
|
13
|
+
"type": "uuid",
|
|
14
|
+
"primaryKey": true,
|
|
15
|
+
"notNull": true,
|
|
16
|
+
"default": "gen_random_uuid()"
|
|
17
|
+
},
|
|
18
|
+
"name": {
|
|
19
|
+
"name": "name",
|
|
20
|
+
"type": "text",
|
|
21
|
+
"primaryKey": false,
|
|
22
|
+
"notNull": true
|
|
23
|
+
},
|
|
24
|
+
"provider": {
|
|
25
|
+
"name": "provider",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true
|
|
29
|
+
},
|
|
30
|
+
"category": {
|
|
31
|
+
"name": "category",
|
|
32
|
+
"type": "text",
|
|
33
|
+
"primaryKey": false,
|
|
34
|
+
"notNull": true
|
|
35
|
+
},
|
|
36
|
+
"game_type": {
|
|
37
|
+
"name": "game_type",
|
|
38
|
+
"type": "game_type",
|
|
39
|
+
"typeSchema": "public",
|
|
40
|
+
"primaryKey": false,
|
|
41
|
+
"notNull": true,
|
|
42
|
+
"default": "'casino'"
|
|
43
|
+
},
|
|
44
|
+
"thumbnail_url": {
|
|
45
|
+
"name": "thumbnail_url",
|
|
46
|
+
"type": "text",
|
|
47
|
+
"primaryKey": false,
|
|
48
|
+
"notNull": false
|
|
49
|
+
},
|
|
50
|
+
"is_active": {
|
|
51
|
+
"name": "is_active",
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"primaryKey": false,
|
|
54
|
+
"notNull": true,
|
|
55
|
+
"default": true
|
|
56
|
+
},
|
|
57
|
+
"metadata": {
|
|
58
|
+
"name": "metadata",
|
|
59
|
+
"type": "jsonb",
|
|
60
|
+
"primaryKey": false,
|
|
61
|
+
"notNull": false
|
|
62
|
+
},
|
|
63
|
+
"created_at": {
|
|
64
|
+
"name": "created_at",
|
|
65
|
+
"type": "timestamp with time zone",
|
|
66
|
+
"primaryKey": false,
|
|
67
|
+
"notNull": true,
|
|
68
|
+
"default": "now()"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"indexes": {},
|
|
72
|
+
"foreignKeys": {},
|
|
73
|
+
"compositePrimaryKeys": {},
|
|
74
|
+
"uniqueConstraints": {},
|
|
75
|
+
"policies": {},
|
|
76
|
+
"checkConstraints": {},
|
|
77
|
+
"isRLSEnabled": false
|
|
78
|
+
},
|
|
79
|
+
"public.game_round": {
|
|
80
|
+
"name": "game_round",
|
|
81
|
+
"schema": "",
|
|
82
|
+
"columns": {
|
|
83
|
+
"id": {
|
|
84
|
+
"name": "id",
|
|
85
|
+
"type": "uuid",
|
|
86
|
+
"primaryKey": true,
|
|
87
|
+
"notNull": true,
|
|
88
|
+
"default": "gen_random_uuid()"
|
|
89
|
+
},
|
|
90
|
+
"game_id": {
|
|
91
|
+
"name": "game_id",
|
|
92
|
+
"type": "uuid",
|
|
93
|
+
"primaryKey": false,
|
|
94
|
+
"notNull": true
|
|
95
|
+
},
|
|
96
|
+
"user_id": {
|
|
97
|
+
"name": "user_id",
|
|
98
|
+
"type": "uuid",
|
|
99
|
+
"primaryKey": false,
|
|
100
|
+
"notNull": true
|
|
101
|
+
},
|
|
102
|
+
"status": {
|
|
103
|
+
"name": "status",
|
|
104
|
+
"type": "game_round_status",
|
|
105
|
+
"typeSchema": "public",
|
|
106
|
+
"primaryKey": false,
|
|
107
|
+
"notNull": true,
|
|
108
|
+
"default": "'active'"
|
|
109
|
+
},
|
|
110
|
+
"bet_amount": {
|
|
111
|
+
"name": "bet_amount",
|
|
112
|
+
"type": "numeric(18, 2)",
|
|
113
|
+
"primaryKey": false,
|
|
114
|
+
"notNull": true,
|
|
115
|
+
"default": "'0'"
|
|
116
|
+
},
|
|
117
|
+
"win_amount": {
|
|
118
|
+
"name": "win_amount",
|
|
119
|
+
"type": "numeric(18, 2)",
|
|
120
|
+
"primaryKey": false,
|
|
121
|
+
"notNull": true,
|
|
122
|
+
"default": "'0'"
|
|
123
|
+
},
|
|
124
|
+
"currency": {
|
|
125
|
+
"name": "currency",
|
|
126
|
+
"type": "text",
|
|
127
|
+
"primaryKey": false,
|
|
128
|
+
"notNull": true
|
|
129
|
+
},
|
|
130
|
+
"started_at": {
|
|
131
|
+
"name": "started_at",
|
|
132
|
+
"type": "timestamp with time zone",
|
|
133
|
+
"primaryKey": false,
|
|
134
|
+
"notNull": true,
|
|
135
|
+
"default": "now()"
|
|
136
|
+
},
|
|
137
|
+
"ended_at": {
|
|
138
|
+
"name": "ended_at",
|
|
139
|
+
"type": "timestamp with time zone",
|
|
140
|
+
"primaryKey": false,
|
|
141
|
+
"notNull": false
|
|
142
|
+
},
|
|
143
|
+
"external_round_id": {
|
|
144
|
+
"name": "external_round_id",
|
|
145
|
+
"type": "text",
|
|
146
|
+
"primaryKey": false,
|
|
147
|
+
"notNull": false
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"indexes": {
|
|
151
|
+
"game_round_user_id_idx": {
|
|
152
|
+
"name": "game_round_user_id_idx",
|
|
153
|
+
"columns": [
|
|
154
|
+
{
|
|
155
|
+
"expression": "user_id",
|
|
156
|
+
"isExpression": false,
|
|
157
|
+
"asc": true,
|
|
158
|
+
"nulls": "last"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"isUnique": false,
|
|
162
|
+
"concurrently": false,
|
|
163
|
+
"method": "btree",
|
|
164
|
+
"with": {}
|
|
165
|
+
},
|
|
166
|
+
"game_round_game_id_started_at_idx": {
|
|
167
|
+
"name": "game_round_game_id_started_at_idx",
|
|
168
|
+
"columns": [
|
|
169
|
+
{
|
|
170
|
+
"expression": "game_id",
|
|
171
|
+
"isExpression": false,
|
|
172
|
+
"asc": true,
|
|
173
|
+
"nulls": "last"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"expression": "started_at",
|
|
177
|
+
"isExpression": false,
|
|
178
|
+
"asc": true,
|
|
179
|
+
"nulls": "last"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"isUnique": false,
|
|
183
|
+
"concurrently": false,
|
|
184
|
+
"method": "btree",
|
|
185
|
+
"with": {}
|
|
186
|
+
},
|
|
187
|
+
"game_round_started_at_idx": {
|
|
188
|
+
"name": "game_round_started_at_idx",
|
|
189
|
+
"columns": [
|
|
190
|
+
{
|
|
191
|
+
"expression": "started_at",
|
|
192
|
+
"isExpression": false,
|
|
193
|
+
"asc": true,
|
|
194
|
+
"nulls": "last"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"isUnique": false,
|
|
198
|
+
"concurrently": false,
|
|
199
|
+
"method": "btree",
|
|
200
|
+
"with": {}
|
|
201
|
+
},
|
|
202
|
+
"game_round_external_round_id_idx": {
|
|
203
|
+
"name": "game_round_external_round_id_idx",
|
|
204
|
+
"columns": [
|
|
205
|
+
{
|
|
206
|
+
"expression": "external_round_id",
|
|
207
|
+
"isExpression": false,
|
|
208
|
+
"asc": true,
|
|
209
|
+
"nulls": "last"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"isUnique": true,
|
|
213
|
+
"where": "\"game_round\".\"external_round_id\" IS NOT NULL",
|
|
214
|
+
"concurrently": false,
|
|
215
|
+
"method": "btree",
|
|
216
|
+
"with": {}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"foreignKeys": {
|
|
220
|
+
"game_round_game_id_game_id_fk": {
|
|
221
|
+
"name": "game_round_game_id_game_id_fk",
|
|
222
|
+
"tableFrom": "game_round",
|
|
223
|
+
"tableTo": "game",
|
|
224
|
+
"columnsFrom": ["game_id"],
|
|
225
|
+
"columnsTo": ["id"],
|
|
226
|
+
"onDelete": "no action",
|
|
227
|
+
"onUpdate": "no action"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"compositePrimaryKeys": {},
|
|
231
|
+
"uniqueConstraints": {},
|
|
232
|
+
"policies": {},
|
|
233
|
+
"checkConstraints": {},
|
|
234
|
+
"isRLSEnabled": false
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"enums": {
|
|
238
|
+
"public.game_round_status": {
|
|
239
|
+
"name": "game_round_status",
|
|
240
|
+
"schema": "public",
|
|
241
|
+
"values": ["active", "completed", "cancelled"]
|
|
242
|
+
},
|
|
243
|
+
"public.game_type": {
|
|
244
|
+
"name": "game_type",
|
|
245
|
+
"schema": "public",
|
|
246
|
+
"values": ["original", "casino", "sportsbook"]
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"schemas": {},
|
|
250
|
+
"sequences": {},
|
|
251
|
+
"roles": {},
|
|
252
|
+
"policies": {},
|
|
253
|
+
"views": {},
|
|
254
|
+
"_meta": {
|
|
255
|
+
"columns": {},
|
|
256
|
+
"schemas": {},
|
|
257
|
+
"tables": {}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "209f0c47-1565-4529-9ae8-e7818c40b87a",
|
|
3
|
+
"prevId": "0dbd835c-03ef-46c7-a761-584489e78605",
|
|
4
|
+
"version": "7",
|
|
5
|
+
"dialect": "postgresql",
|
|
6
|
+
"tables": {
|
|
7
|
+
"public.game": {
|
|
8
|
+
"name": "game",
|
|
9
|
+
"schema": "",
|
|
10
|
+
"columns": {
|
|
11
|
+
"id": {
|
|
12
|
+
"name": "id",
|
|
13
|
+
"type": "uuid",
|
|
14
|
+
"primaryKey": true,
|
|
15
|
+
"notNull": true,
|
|
16
|
+
"default": "gen_random_uuid()"
|
|
17
|
+
},
|
|
18
|
+
"name": {
|
|
19
|
+
"name": "name",
|
|
20
|
+
"type": "text",
|
|
21
|
+
"primaryKey": false,
|
|
22
|
+
"notNull": true
|
|
23
|
+
},
|
|
24
|
+
"provider": {
|
|
25
|
+
"name": "provider",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true
|
|
29
|
+
},
|
|
30
|
+
"category": {
|
|
31
|
+
"name": "category",
|
|
32
|
+
"type": "text",
|
|
33
|
+
"primaryKey": false,
|
|
34
|
+
"notNull": true
|
|
35
|
+
},
|
|
36
|
+
"game_type": {
|
|
37
|
+
"name": "game_type",
|
|
38
|
+
"type": "game_type",
|
|
39
|
+
"typeSchema": "public",
|
|
40
|
+
"primaryKey": false,
|
|
41
|
+
"notNull": true,
|
|
42
|
+
"default": "'casino'"
|
|
43
|
+
},
|
|
44
|
+
"thumbnail_url": {
|
|
45
|
+
"name": "thumbnail_url",
|
|
46
|
+
"type": "text",
|
|
47
|
+
"primaryKey": false,
|
|
48
|
+
"notNull": false
|
|
49
|
+
},
|
|
50
|
+
"is_active": {
|
|
51
|
+
"name": "is_active",
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"primaryKey": false,
|
|
54
|
+
"notNull": true,
|
|
55
|
+
"default": true
|
|
56
|
+
},
|
|
57
|
+
"metadata": {
|
|
58
|
+
"name": "metadata",
|
|
59
|
+
"type": "jsonb",
|
|
60
|
+
"primaryKey": false,
|
|
61
|
+
"notNull": false
|
|
62
|
+
},
|
|
63
|
+
"created_at": {
|
|
64
|
+
"name": "created_at",
|
|
65
|
+
"type": "timestamp with time zone",
|
|
66
|
+
"primaryKey": false,
|
|
67
|
+
"notNull": true,
|
|
68
|
+
"default": "now()"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"indexes": {},
|
|
72
|
+
"foreignKeys": {},
|
|
73
|
+
"compositePrimaryKeys": {},
|
|
74
|
+
"uniqueConstraints": {},
|
|
75
|
+
"policies": {},
|
|
76
|
+
"checkConstraints": {},
|
|
77
|
+
"isRLSEnabled": false
|
|
78
|
+
},
|
|
79
|
+
"public.game_round": {
|
|
80
|
+
"name": "game_round",
|
|
81
|
+
"schema": "",
|
|
82
|
+
"columns": {
|
|
83
|
+
"id": {
|
|
84
|
+
"name": "id",
|
|
85
|
+
"type": "uuid",
|
|
86
|
+
"primaryKey": true,
|
|
87
|
+
"notNull": true,
|
|
88
|
+
"default": "gen_random_uuid()"
|
|
89
|
+
},
|
|
90
|
+
"game_id": {
|
|
91
|
+
"name": "game_id",
|
|
92
|
+
"type": "uuid",
|
|
93
|
+
"primaryKey": false,
|
|
94
|
+
"notNull": true
|
|
95
|
+
},
|
|
96
|
+
"user_id": {
|
|
97
|
+
"name": "user_id",
|
|
98
|
+
"type": "uuid",
|
|
99
|
+
"primaryKey": false,
|
|
100
|
+
"notNull": true
|
|
101
|
+
},
|
|
102
|
+
"status": {
|
|
103
|
+
"name": "status",
|
|
104
|
+
"type": "game_round_status",
|
|
105
|
+
"typeSchema": "public",
|
|
106
|
+
"primaryKey": false,
|
|
107
|
+
"notNull": true,
|
|
108
|
+
"default": "'active'"
|
|
109
|
+
},
|
|
110
|
+
"bet_amount": {
|
|
111
|
+
"name": "bet_amount",
|
|
112
|
+
"type": "numeric(38, 18)",
|
|
113
|
+
"primaryKey": false,
|
|
114
|
+
"notNull": true,
|
|
115
|
+
"default": "'0'"
|
|
116
|
+
},
|
|
117
|
+
"win_amount": {
|
|
118
|
+
"name": "win_amount",
|
|
119
|
+
"type": "numeric(38, 18)",
|
|
120
|
+
"primaryKey": false,
|
|
121
|
+
"notNull": true,
|
|
122
|
+
"default": "'0'"
|
|
123
|
+
},
|
|
124
|
+
"currency": {
|
|
125
|
+
"name": "currency",
|
|
126
|
+
"type": "text",
|
|
127
|
+
"primaryKey": false,
|
|
128
|
+
"notNull": true
|
|
129
|
+
},
|
|
130
|
+
"started_at": {
|
|
131
|
+
"name": "started_at",
|
|
132
|
+
"type": "timestamp with time zone",
|
|
133
|
+
"primaryKey": false,
|
|
134
|
+
"notNull": true,
|
|
135
|
+
"default": "now()"
|
|
136
|
+
},
|
|
137
|
+
"ended_at": {
|
|
138
|
+
"name": "ended_at",
|
|
139
|
+
"type": "timestamp with time zone",
|
|
140
|
+
"primaryKey": false,
|
|
141
|
+
"notNull": false
|
|
142
|
+
},
|
|
143
|
+
"external_round_id": {
|
|
144
|
+
"name": "external_round_id",
|
|
145
|
+
"type": "text",
|
|
146
|
+
"primaryKey": false,
|
|
147
|
+
"notNull": false
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"indexes": {
|
|
151
|
+
"game_round_user_id_idx": {
|
|
152
|
+
"name": "game_round_user_id_idx",
|
|
153
|
+
"columns": [
|
|
154
|
+
{
|
|
155
|
+
"expression": "user_id",
|
|
156
|
+
"isExpression": false,
|
|
157
|
+
"asc": true,
|
|
158
|
+
"nulls": "last"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"isUnique": false,
|
|
162
|
+
"concurrently": false,
|
|
163
|
+
"method": "btree",
|
|
164
|
+
"with": {}
|
|
165
|
+
},
|
|
166
|
+
"game_round_game_id_started_at_idx": {
|
|
167
|
+
"name": "game_round_game_id_started_at_idx",
|
|
168
|
+
"columns": [
|
|
169
|
+
{
|
|
170
|
+
"expression": "game_id",
|
|
171
|
+
"isExpression": false,
|
|
172
|
+
"asc": true,
|
|
173
|
+
"nulls": "last"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"expression": "started_at",
|
|
177
|
+
"isExpression": false,
|
|
178
|
+
"asc": true,
|
|
179
|
+
"nulls": "last"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"isUnique": false,
|
|
183
|
+
"concurrently": false,
|
|
184
|
+
"method": "btree",
|
|
185
|
+
"with": {}
|
|
186
|
+
},
|
|
187
|
+
"game_round_started_at_idx": {
|
|
188
|
+
"name": "game_round_started_at_idx",
|
|
189
|
+
"columns": [
|
|
190
|
+
{
|
|
191
|
+
"expression": "started_at",
|
|
192
|
+
"isExpression": false,
|
|
193
|
+
"asc": true,
|
|
194
|
+
"nulls": "last"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"isUnique": false,
|
|
198
|
+
"concurrently": false,
|
|
199
|
+
"method": "btree",
|
|
200
|
+
"with": {}
|
|
201
|
+
},
|
|
202
|
+
"game_round_external_round_id_idx": {
|
|
203
|
+
"name": "game_round_external_round_id_idx",
|
|
204
|
+
"columns": [
|
|
205
|
+
{
|
|
206
|
+
"expression": "external_round_id",
|
|
207
|
+
"isExpression": false,
|
|
208
|
+
"asc": true,
|
|
209
|
+
"nulls": "last"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"isUnique": true,
|
|
213
|
+
"where": "\"game_round\".\"external_round_id\" IS NOT NULL",
|
|
214
|
+
"concurrently": false,
|
|
215
|
+
"method": "btree",
|
|
216
|
+
"with": {}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"foreignKeys": {
|
|
220
|
+
"game_round_game_id_game_id_fk": {
|
|
221
|
+
"name": "game_round_game_id_game_id_fk",
|
|
222
|
+
"tableFrom": "game_round",
|
|
223
|
+
"tableTo": "game",
|
|
224
|
+
"columnsFrom": ["game_id"],
|
|
225
|
+
"columnsTo": ["id"],
|
|
226
|
+
"onDelete": "no action",
|
|
227
|
+
"onUpdate": "no action"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"compositePrimaryKeys": {},
|
|
231
|
+
"uniqueConstraints": {},
|
|
232
|
+
"policies": {},
|
|
233
|
+
"checkConstraints": {},
|
|
234
|
+
"isRLSEnabled": false
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"enums": {
|
|
238
|
+
"public.game_round_status": {
|
|
239
|
+
"name": "game_round_status",
|
|
240
|
+
"schema": "public",
|
|
241
|
+
"values": ["active", "completed", "cancelled"]
|
|
242
|
+
},
|
|
243
|
+
"public.game_type": {
|
|
244
|
+
"name": "game_type",
|
|
245
|
+
"schema": "public",
|
|
246
|
+
"values": ["original", "casino", "sportsbook"]
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"schemas": {},
|
|
250
|
+
"sequences": {},
|
|
251
|
+
"roles": {},
|
|
252
|
+
"policies": {},
|
|
253
|
+
"views": {},
|
|
254
|
+
"_meta": {
|
|
255
|
+
"columns": {},
|
|
256
|
+
"schemas": {},
|
|
257
|
+
"tables": {}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
@@ -22,6 +22,20 @@
|
|
|
22
22
|
"when": 1784711670685,
|
|
23
23
|
"tag": "0002_yummy_lifeguard",
|
|
24
24
|
"breakpoints": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"idx": 3,
|
|
28
|
+
"version": "7",
|
|
29
|
+
"when": 1788188590022,
|
|
30
|
+
"tag": "0003_wealthy_greymalkin",
|
|
31
|
+
"breakpoints": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"idx": 4,
|
|
35
|
+
"version": "7",
|
|
36
|
+
"when": 1788775630491,
|
|
37
|
+
"tag": "0004_serious_storm",
|
|
38
|
+
"breakpoints": true
|
|
25
39
|
}
|
|
26
40
|
]
|
|
27
41
|
}
|
|
@@ -31,6 +31,7 @@ declare const _default: {
|
|
|
31
31
|
SWAP_ADAPTER: import("@openora/core/contracts").Token<import("@openora/core/contracts").SwapAdapter>;
|
|
32
32
|
SWAP_WEBHOOK_VERIFIER: import("@openora/core/contracts").Token<import("@openora/core/contracts").SwapWebhookVerifier>;
|
|
33
33
|
GAME_ADAPTER: import("@openora/core/contracts").Token<import("@openora/core/contracts").GameAdapter>;
|
|
34
|
+
GAMING_COMMANDS: import("@openora/core/contracts").Token<import("@openora/core/contracts").GamingCommands>;
|
|
34
35
|
GEO_CHECK_COMMANDS: import("@openora/core/contracts").Token<import("@openora/core/contracts").GeoCheckCommands>;
|
|
35
36
|
GEO_IP_ADAPTER: import("@openora/core/contracts").Token<import("@openora/core/contracts").GeoIpAdapter>;
|
|
36
37
|
IDENTITY_OPTIONS: import("@openora/core/contracts").Token<import("@openora/core/contracts").IdentityServiceOptions>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/casino/gaming/plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/casino/gaming/plugin.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,wBA2B8C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EVENT_BUS, DRIZZLE } from '@openora/core/server';
|
|
2
|
-
import { ADMIN_GAME_REPORTING, GAME_ADAPTER, IDENTITY_READER, PLAY_ELIGIBILITY, RG_LIMITS, RNG_ADAPTER, WALLET_COMMANDS, } from '@openora/core/contracts';
|
|
2
|
+
import { ADMIN_GAME_REPORTING, GAME_ADAPTER, GAMING_COMMANDS, IDENTITY_READER, PLAY_ELIGIBILITY, RG_LIMITS, RNG_ADAPTER, WALLET_COMMANDS, } from '@openora/core/contracts';
|
|
3
3
|
import { GamingService } from './service/gaming.service.js';
|
|
4
4
|
import { createGamingRouter } from './router/index.js';
|
|
5
5
|
import { MockGameAdapter } from './adapters/mock/mock-game-adapter.js';
|
|
@@ -13,7 +13,13 @@ export default {
|
|
|
13
13
|
ctx.provide(GAME_ADAPTER, () => new MockGameAdapter());
|
|
14
14
|
ctx.provide(RNG_ADAPTER, () => new MockRngAdapter());
|
|
15
15
|
ctx.provide(ADMIN_GAME_REPORTING, (c) => new DrizzleAdminGameReporting(c.get(DRIZZLE)));
|
|
16
|
-
|
|
16
|
+
// One memoized instance backs both the router and the GAMING_COMMANDS port.
|
|
17
|
+
let svc = null;
|
|
18
|
+
const gamingService = (c) => (svc ??= new GamingService(c.get(DRIZZLE), c.get(EVENT_BUS), c.get(GAME_ADAPTER), c.get(PLAY_ELIGIBILITY), c.get(WALLET_COMMANDS), c.get(IDENTITY_READER), c.has(RG_LIMITS) ? c.get(RG_LIMITS) : undefined));
|
|
19
|
+
ctx.routers.add('gaming', (c) => createGamingRouter(gamingService(c)));
|
|
20
|
+
ctx.provide(GAMING_COMMANDS, (c) => ({
|
|
21
|
+
accumulateExternalRound: (tx, args) => gamingService(c).accumulateExternalRound(tx, args),
|
|
22
|
+
}));
|
|
17
23
|
},
|
|
18
24
|
};
|
|
19
25
|
//# sourceMappingURL=plugin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../src/casino/gaming/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EACL,oBAAoB,EACpB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,WAAW,EACX,eAAe,GAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAe;IACb,EAAE,EAAE,QAAQ;IACZ,aAAa,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC;IAClD,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,CAAC,GAAG;QACV,GAAG,CAAC,OAAO,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC,IAAI,eAAe,EAAE,CAAC,CAAC;QACvD,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,IAAI,cAAc,EAAE,CAAC,CAAC;QACrD,GAAG,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G,CAAC,CAAmC,EAAE,EAAE,CAC5D,CAAC,GAAG,KAAK,IAAI,aAAa,CACxB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EACd,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,EAChB,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,EACnB,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,EACvB,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,EACtB,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,EACtB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAChD,CAAC,CAAC;QAEL,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACvE,GAAG,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACnC,uBAAuB,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,uBAAuB,CAAC,EAAE,EAAE,IAAI,CAAC;SAC1F,CAAC,CAAC,CAAC;IACN,CAAC;CAC0C,CAAC"}
|
|
@@ -317,6 +317,23 @@ export declare const gameRound: import("drizzle-orm/pg-core").PgTableWithColumns
|
|
|
317
317
|
identity: undefined;
|
|
318
318
|
generated: undefined;
|
|
319
319
|
}, {}, {}>;
|
|
320
|
+
externalRoundId: import("drizzle-orm/pg-core").PgColumn<{
|
|
321
|
+
name: "externalRoundId";
|
|
322
|
+
tableName: "game_round";
|
|
323
|
+
dataType: "string";
|
|
324
|
+
columnType: "PgText";
|
|
325
|
+
data: string;
|
|
326
|
+
driverParam: string;
|
|
327
|
+
notNull: false;
|
|
328
|
+
hasDefault: false;
|
|
329
|
+
isPrimaryKey: false;
|
|
330
|
+
isAutoincrement: false;
|
|
331
|
+
hasRuntimeDefault: false;
|
|
332
|
+
enumValues: [string, ...string[]];
|
|
333
|
+
baseColumn: never;
|
|
334
|
+
identity: undefined;
|
|
335
|
+
generated: undefined;
|
|
336
|
+
}, {}, {}>;
|
|
320
337
|
};
|
|
321
338
|
dialect: "pg";
|
|
322
339
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/casino/gaming/schema/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/casino/gaming/schema/index.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,mBAAmB,4EAAmD,CAAC;AAIpF,eAAO,MAAM,YAAY,4EAAkC,CAAC;AAE5D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUf,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBrB,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,YAAY,CAAC;AAC5C,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC,YAAY,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { sql } from 'drizzle-orm';
|
|
2
|
+
import { pgTable, uuid, text, boolean, decimal, timestamp, pgEnum, index, uniqueIndex, jsonb, } from 'drizzle-orm/pg-core';
|
|
3
|
+
import { GAME_TYPES, MONEY_PRECISION, MONEY_SCALE } from '@openora/core/contracts';
|
|
3
4
|
import { GAME_ROUND_STATUSES } from '../contract/index.js';
|
|
4
5
|
// Derives from the contract tuple so the Zod schema and DB enum can never drift.
|
|
5
6
|
export const gameRoundStatusEnum = pgEnum('game_round_status', GAME_ROUND_STATUSES);
|
|
@@ -25,14 +26,18 @@ export const gameRound = pgTable('game_round', {
|
|
|
25
26
|
.references(() => game.id),
|
|
26
27
|
userId: uuid().notNull(),
|
|
27
28
|
status: gameRoundStatusEnum().notNull().default('active'),
|
|
28
|
-
betAmount: decimal({ precision:
|
|
29
|
-
winAmount: decimal({ precision:
|
|
29
|
+
betAmount: decimal({ precision: MONEY_PRECISION, scale: MONEY_SCALE }).notNull().default('0'),
|
|
30
|
+
winAmount: decimal({ precision: MONEY_PRECISION, scale: MONEY_SCALE }).notNull().default('0'),
|
|
30
31
|
currency: text().notNull(),
|
|
31
32
|
startedAt: timestamp({ withTimezone: true }).notNull().defaultNow(),
|
|
32
33
|
endedAt: timestamp({ withTimezone: true }),
|
|
34
|
+
externalRoundId: text(),
|
|
33
35
|
}, (t) => [
|
|
34
36
|
index('game_round_user_id_idx').on(t.userId),
|
|
35
37
|
index('game_round_game_id_started_at_idx').on(t.gameId, t.startedAt),
|
|
36
38
|
index('game_round_started_at_idx').on(t.startedAt),
|
|
39
|
+
uniqueIndex('game_round_external_round_id_idx')
|
|
40
|
+
.on(t.externalRoundId)
|
|
41
|
+
.where(sql `${t.externalRoundId} IS NOT NULL`),
|
|
37
42
|
]);
|
|
38
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/casino/gaming/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,IAAI,EACJ,IAAI,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