tempest.games 0.2.95 → 0.2.97

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.
@@ -0,0 +1,549 @@
1
+ {
2
+ "id": "76296c57-f2f0-4840-9731-7be3944e1caa",
3
+ "prevId": "eb55eb65-e244-496a-9dba-b65c1b10587f",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.accountActions": {
8
+ "name": "accountActions",
9
+ "schema": "",
10
+ "columns": {
11
+ "userId": {
12
+ "name": "userId",
13
+ "type": "uuid",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "action": {
18
+ "name": "action",
19
+ "type": "accountAction",
20
+ "typeSchema": "public",
21
+ "primaryKey": false,
22
+ "notNull": true
23
+ },
24
+ "code": {
25
+ "name": "code",
26
+ "type": "varchar(254)",
27
+ "primaryKey": false,
28
+ "notNull": true
29
+ },
30
+ "wrongCodeCount": {
31
+ "name": "wrongCodeCount",
32
+ "type": "integer",
33
+ "primaryKey": false,
34
+ "notNull": true,
35
+ "default": 0
36
+ },
37
+ "expiresAtIso": {
38
+ "name": "expiresAtIso",
39
+ "type": "varchar(24)",
40
+ "primaryKey": false,
41
+ "notNull": true
42
+ }
43
+ },
44
+ "indexes": {},
45
+ "foreignKeys": {
46
+ "accountActions_userId_users_id_fk": {
47
+ "name": "accountActions_userId_users_id_fk",
48
+ "tableFrom": "accountActions",
49
+ "tableTo": "users",
50
+ "columnsFrom": [
51
+ "userId"
52
+ ],
53
+ "columnsTo": [
54
+ "id"
55
+ ],
56
+ "onDelete": "no action",
57
+ "onUpdate": "no action"
58
+ }
59
+ },
60
+ "compositePrimaryKeys": {},
61
+ "uniqueConstraints": {},
62
+ "policies": {},
63
+ "checkConstraints": {},
64
+ "isRLSEnabled": false
65
+ },
66
+ "public.banishedIps": {
67
+ "name": "banishedIps",
68
+ "schema": "",
69
+ "columns": {
70
+ "ip": {
71
+ "name": "ip",
72
+ "type": "varchar(45)",
73
+ "primaryKey": true,
74
+ "notNull": true
75
+ },
76
+ "reason": {
77
+ "name": "reason",
78
+ "type": "varchar(2048)",
79
+ "primaryKey": false,
80
+ "notNull": true
81
+ },
82
+ "banishedAtIso": {
83
+ "name": "banishedAtIso",
84
+ "type": "varchar(24)",
85
+ "primaryKey": false,
86
+ "notNull": true,
87
+ "default": "TO_CHAR(NOW() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
88
+ },
89
+ "banishedUntilIso": {
90
+ "name": "banishedUntilIso",
91
+ "type": "varchar(24)",
92
+ "primaryKey": false,
93
+ "notNull": false
94
+ }
95
+ },
96
+ "indexes": {},
97
+ "foreignKeys": {},
98
+ "compositePrimaryKeys": {},
99
+ "uniqueConstraints": {},
100
+ "policies": {},
101
+ "checkConstraints": {},
102
+ "isRLSEnabled": false
103
+ },
104
+ "public.games": {
105
+ "name": "games",
106
+ "schema": "",
107
+ "columns": {
108
+ "id": {
109
+ "name": "id",
110
+ "type": "uuid",
111
+ "primaryKey": true,
112
+ "notNull": true,
113
+ "default": "gen_random_uuid()"
114
+ }
115
+ },
116
+ "indexes": {},
117
+ "foreignKeys": {},
118
+ "compositePrimaryKeys": {},
119
+ "uniqueConstraints": {},
120
+ "policies": {},
121
+ "checkConstraints": {},
122
+ "isRLSEnabled": false
123
+ },
124
+ "public.passwordResetAttempts": {
125
+ "name": "passwordResetAttempts",
126
+ "schema": "",
127
+ "columns": {
128
+ "id": {
129
+ "name": "id",
130
+ "type": "uuid",
131
+ "primaryKey": true,
132
+ "notNull": true,
133
+ "default": "gen_random_uuid()"
134
+ },
135
+ "userId": {
136
+ "name": "userId",
137
+ "type": "uuid",
138
+ "primaryKey": false,
139
+ "notNull": true
140
+ },
141
+ "requestedIp": {
142
+ "name": "requestedIp",
143
+ "type": "varchar(45)",
144
+ "primaryKey": false,
145
+ "notNull": true
146
+ },
147
+ "requestedAtIso": {
148
+ "name": "requestedAtIso",
149
+ "type": "varchar(24)",
150
+ "primaryKey": false,
151
+ "notNull": true,
152
+ "default": "TO_CHAR(NOW() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
153
+ },
154
+ "succeededIp": {
155
+ "name": "succeededIp",
156
+ "type": "varchar(45)",
157
+ "primaryKey": false,
158
+ "notNull": false
159
+ },
160
+ "succeededAtIso": {
161
+ "name": "succeededAtIso",
162
+ "type": "varchar(24)",
163
+ "primaryKey": false,
164
+ "notNull": false
165
+ },
166
+ "verificationMethod": {
167
+ "name": "verificationMethod",
168
+ "type": "twoFactorMethod",
169
+ "typeSchema": "public",
170
+ "primaryKey": false,
171
+ "notNull": true
172
+ }
173
+ },
174
+ "indexes": {},
175
+ "foreignKeys": {
176
+ "passwordResetAttempts_userId_users_id_fk": {
177
+ "name": "passwordResetAttempts_userId_users_id_fk",
178
+ "tableFrom": "passwordResetAttempts",
179
+ "tableTo": "users",
180
+ "columnsFrom": [
181
+ "userId"
182
+ ],
183
+ "columnsTo": [
184
+ "id"
185
+ ],
186
+ "onDelete": "cascade",
187
+ "onUpdate": "no action"
188
+ }
189
+ },
190
+ "compositePrimaryKeys": {},
191
+ "uniqueConstraints": {},
192
+ "policies": {},
193
+ "checkConstraints": {},
194
+ "isRLSEnabled": false
195
+ },
196
+ "public.players": {
197
+ "name": "players",
198
+ "schema": "",
199
+ "columns": {
200
+ "userId": {
201
+ "name": "userId",
202
+ "type": "uuid",
203
+ "primaryKey": false,
204
+ "notNull": true
205
+ },
206
+ "gameId": {
207
+ "name": "gameId",
208
+ "type": "uuid",
209
+ "primaryKey": false,
210
+ "notNull": true
211
+ },
212
+ "score": {
213
+ "name": "score",
214
+ "type": "integer",
215
+ "primaryKey": false,
216
+ "notNull": true
217
+ }
218
+ },
219
+ "indexes": {},
220
+ "foreignKeys": {
221
+ "players_userId_users_id_fk": {
222
+ "name": "players_userId_users_id_fk",
223
+ "tableFrom": "players",
224
+ "tableTo": "users",
225
+ "columnsFrom": [
226
+ "userId"
227
+ ],
228
+ "columnsTo": [
229
+ "id"
230
+ ],
231
+ "onDelete": "cascade",
232
+ "onUpdate": "no action"
233
+ },
234
+ "players_gameId_games_id_fk": {
235
+ "name": "players_gameId_games_id_fk",
236
+ "tableFrom": "players",
237
+ "tableTo": "games",
238
+ "columnsFrom": [
239
+ "gameId"
240
+ ],
241
+ "columnsTo": [
242
+ "id"
243
+ ],
244
+ "onDelete": "cascade",
245
+ "onUpdate": "no action"
246
+ }
247
+ },
248
+ "compositePrimaryKeys": {
249
+ "players_userId_gameId_pk": {
250
+ "name": "players_userId_gameId_pk",
251
+ "columns": [
252
+ "userId",
253
+ "gameId"
254
+ ]
255
+ }
256
+ },
257
+ "uniqueConstraints": {},
258
+ "policies": {},
259
+ "checkConstraints": {},
260
+ "isRLSEnabled": false
261
+ },
262
+ "public.signInHistory": {
263
+ "name": "signInHistory",
264
+ "schema": "",
265
+ "columns": {
266
+ "id": {
267
+ "name": "id",
268
+ "type": "uuid",
269
+ "primaryKey": true,
270
+ "notNull": true,
271
+ "default": "gen_random_uuid()"
272
+ },
273
+ "userId": {
274
+ "name": "userId",
275
+ "type": "uuid",
276
+ "primaryKey": false,
277
+ "notNull": false
278
+ },
279
+ "signInTimeIso": {
280
+ "name": "signInTimeIso",
281
+ "type": "varchar(24)",
282
+ "primaryKey": false,
283
+ "notNull": true,
284
+ "default": "TO_CHAR(NOW() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
285
+ },
286
+ "ipAddress": {
287
+ "name": "ipAddress",
288
+ "type": "varchar(45)",
289
+ "primaryKey": false,
290
+ "notNull": true
291
+ },
292
+ "userAgent": {
293
+ "name": "userAgent",
294
+ "type": "varchar(1024)",
295
+ "primaryKey": false,
296
+ "notNull": false
297
+ },
298
+ "successful": {
299
+ "name": "successful",
300
+ "type": "boolean",
301
+ "primaryKey": false,
302
+ "notNull": true,
303
+ "default": false
304
+ }
305
+ },
306
+ "indexes": {},
307
+ "foreignKeys": {
308
+ "signInHistory_userId_users_id_fk": {
309
+ "name": "signInHistory_userId_users_id_fk",
310
+ "tableFrom": "signInHistory",
311
+ "tableTo": "users",
312
+ "columnsFrom": [
313
+ "userId"
314
+ ],
315
+ "columnsTo": [
316
+ "id"
317
+ ],
318
+ "onDelete": "cascade",
319
+ "onUpdate": "no action"
320
+ }
321
+ },
322
+ "compositePrimaryKeys": {},
323
+ "uniqueConstraints": {},
324
+ "policies": {},
325
+ "checkConstraints": {},
326
+ "isRLSEnabled": false
327
+ },
328
+ "public.userSessions": {
329
+ "name": "userSessions",
330
+ "schema": "",
331
+ "columns": {
332
+ "sessionKey": {
333
+ "name": "sessionKey",
334
+ "type": "uuid",
335
+ "primaryKey": true,
336
+ "notNull": true
337
+ },
338
+ "userId": {
339
+ "name": "userId",
340
+ "type": "uuid",
341
+ "primaryKey": false,
342
+ "notNull": true
343
+ },
344
+ "createdAtIso": {
345
+ "name": "createdAtIso",
346
+ "type": "varchar(24)",
347
+ "primaryKey": false,
348
+ "notNull": true,
349
+ "default": "TO_CHAR(NOW() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
350
+ }
351
+ },
352
+ "indexes": {
353
+ "userIdIndex": {
354
+ "name": "userIdIndex",
355
+ "columns": [
356
+ {
357
+ "expression": "userId",
358
+ "isExpression": false,
359
+ "asc": true,
360
+ "nulls": "last"
361
+ }
362
+ ],
363
+ "isUnique": false,
364
+ "concurrently": false,
365
+ "method": "btree",
366
+ "with": {}
367
+ }
368
+ },
369
+ "foreignKeys": {
370
+ "userSessions_userId_users_id_fk": {
371
+ "name": "userSessions_userId_users_id_fk",
372
+ "tableFrom": "userSessions",
373
+ "tableTo": "users",
374
+ "columnsFrom": [
375
+ "userId"
376
+ ],
377
+ "columnsTo": [
378
+ "id"
379
+ ],
380
+ "onDelete": "cascade",
381
+ "onUpdate": "no action"
382
+ }
383
+ },
384
+ "compositePrimaryKeys": {},
385
+ "uniqueConstraints": {},
386
+ "policies": {},
387
+ "checkConstraints": {},
388
+ "isRLSEnabled": false
389
+ },
390
+ "public.users": {
391
+ "name": "users",
392
+ "schema": "",
393
+ "columns": {
394
+ "id": {
395
+ "name": "id",
396
+ "type": "uuid",
397
+ "primaryKey": true,
398
+ "notNull": true,
399
+ "default": "gen_random_uuid()"
400
+ },
401
+ "username": {
402
+ "name": "username",
403
+ "type": "varchar(16)",
404
+ "primaryKey": false,
405
+ "notNull": true
406
+ },
407
+ "emailOffered": {
408
+ "name": "emailOffered",
409
+ "type": "varchar(254)",
410
+ "primaryKey": false,
411
+ "notNull": true
412
+ },
413
+ "emailVerified": {
414
+ "name": "emailVerified",
415
+ "type": "varchar(254)",
416
+ "primaryKey": false,
417
+ "notNull": false
418
+ },
419
+ "password": {
420
+ "name": "password",
421
+ "type": "varchar(254)",
422
+ "primaryKey": false,
423
+ "notNull": false
424
+ },
425
+ "createdAtIso": {
426
+ "name": "createdAtIso",
427
+ "type": "varchar(24)",
428
+ "primaryKey": false,
429
+ "notNull": true,
430
+ "default": "TO_CHAR(NOW() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
431
+ },
432
+ "createdIp": {
433
+ "name": "createdIp",
434
+ "type": "varchar(45)",
435
+ "primaryKey": false,
436
+ "notNull": true
437
+ },
438
+ "isActive": {
439
+ "name": "isActive",
440
+ "type": "boolean",
441
+ "primaryKey": false,
442
+ "notNull": true,
443
+ "default": false
444
+ },
445
+ "verifiedAtIso": {
446
+ "name": "verifiedAtIso",
447
+ "type": "varchar(24)",
448
+ "primaryKey": false,
449
+ "notNull": false
450
+ },
451
+ "userRole": {
452
+ "name": "userRole",
453
+ "type": "role",
454
+ "typeSchema": "public",
455
+ "primaryKey": false,
456
+ "notNull": false,
457
+ "default": "'user'"
458
+ }
459
+ },
460
+ "indexes": {
461
+ "usernameUniqueIndex": {
462
+ "name": "usernameUniqueIndex",
463
+ "columns": [
464
+ {
465
+ "expression": "lower(\"username\")",
466
+ "asc": true,
467
+ "isExpression": true,
468
+ "nulls": "last"
469
+ }
470
+ ],
471
+ "isUnique": true,
472
+ "concurrently": false,
473
+ "method": "btree",
474
+ "with": {}
475
+ },
476
+ "emailVerifiedUniqueIndex": {
477
+ "name": "emailVerifiedUniqueIndex",
478
+ "columns": [
479
+ {
480
+ "expression": "lower(\"emailVerified\")",
481
+ "asc": true,
482
+ "isExpression": true,
483
+ "nulls": "last"
484
+ }
485
+ ],
486
+ "isUnique": true,
487
+ "concurrently": false,
488
+ "method": "btree",
489
+ "with": {}
490
+ }
491
+ },
492
+ "foreignKeys": {},
493
+ "compositePrimaryKeys": {},
494
+ "uniqueConstraints": {},
495
+ "policies": {},
496
+ "checkConstraints": {},
497
+ "isRLSEnabled": false
498
+ }
499
+ },
500
+ "enums": {
501
+ "public.accountAction": {
502
+ "name": "accountAction",
503
+ "schema": "public",
504
+ "values": [
505
+ "cooldown",
506
+ "confirmEmail",
507
+ "signIn",
508
+ "resetPassword"
509
+ ]
510
+ },
511
+ "public.role": {
512
+ "name": "role",
513
+ "schema": "public",
514
+ "values": [
515
+ "admin",
516
+ "user"
517
+ ]
518
+ },
519
+ "public.trackedUserColumnName": {
520
+ "name": "trackedUserColumnName",
521
+ "schema": "public",
522
+ "values": [
523
+ "username",
524
+ "emailOffered",
525
+ "emailVerified",
526
+ "password",
527
+ "userRole"
528
+ ]
529
+ },
530
+ "public.twoFactorMethod": {
531
+ "name": "twoFactorMethod",
532
+ "schema": "public",
533
+ "values": [
534
+ "email",
535
+ "phone"
536
+ ]
537
+ }
538
+ },
539
+ "schemas": {},
540
+ "sequences": {},
541
+ "roles": {},
542
+ "policies": {},
543
+ "views": {},
544
+ "_meta": {
545
+ "columns": {},
546
+ "schemas": {},
547
+ "tables": {}
548
+ }
549
+ }
@@ -148,6 +148,20 @@
148
148
  "when": 1748455553839,
149
149
  "tag": "0020_magenta_stark_industries",
150
150
  "breakpoints": true
151
+ },
152
+ {
153
+ "idx": 21,
154
+ "version": "7",
155
+ "when": 1765780566606,
156
+ "tag": "0021_perpetual_mikhail_rasputin",
157
+ "breakpoints": true
158
+ },
159
+ {
160
+ "idx": 22,
161
+ "version": "7",
162
+ "when": 1765784169584,
163
+ "tag": "0022_glossy_night_nurse",
164
+ "breakpoints": true
151
165
  }
152
166
  ]
153
167
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tempest.games",
3
- "version": "0.2.95",
3
+ "version": "0.2.97",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -28,10 +28,10 @@
28
28
  "@floating-ui/react": "0.27.16",
29
29
  "@js-temporal/polyfill": "0.5.1",
30
30
  "@react-email/components": "1.0.1",
31
- "@t3-oss/env-core": "0.13.8",
32
- "@trpc/client": "11.7.2",
33
- "@trpc/server": "11.7.2",
34
- "arktype": "2.1.28",
31
+ "@t3-oss/env-core": "0.13.10",
32
+ "@trpc/client": "11.8.0",
33
+ "@trpc/server": "11.8.0",
34
+ "arktype": "2.1.29",
35
35
  "cron": "4.4.0",
36
36
  "drizzle-orm": "0.45.1",
37
37
  "motion": "12.23.26",
@@ -45,7 +45,7 @@
45
45
  "safegen": "0.8.2",
46
46
  "socket.io": "4.8.1",
47
47
  "socket.io-client": "4.8.1",
48
- "atom.io": "0.46.4",
48
+ "atom.io": "0.46.5",
49
49
  "safedeposit": "0.1.2",
50
50
  "treetrunks": "0.1.5"
51
51
  },
@@ -53,7 +53,7 @@
53
53
  "@react-email/preview-server": "5.0.8",
54
54
  "@types/bun": "npm:bun-types@1.3.4",
55
55
  "@types/cors": "2.8.19",
56
- "@types/node": "25.0.1",
56
+ "@types/node": "25.0.2",
57
57
  "@types/react": "19.2.7",
58
58
  "@types/react-dom": "19.2.3",
59
59
  "@vitejs/plugin-react": "npm:@vitejs/plugin-react-swc@4.2.2",
@@ -69,7 +69,7 @@
69
69
  "sass-embedded": "1.96.0",
70
70
  "vite": "7.2.7",
71
71
  "vitest": "4.0.15",
72
- "flightdeck": "0.3.24",
72
+ "flightdeck": "0.3.25",
73
73
  "varmint": "0.5.11"
74
74
  },
75
75
  "scripts": {