tempest.games 0.2.11 → 0.2.12

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,487 @@
1
+ {
2
+ "id": "d50b3731-4669-4cb0-b725-fc7d67a53837",
3
+ "prevId": "d49057b3-f77f-4176-a47b-ce5b1db20614",
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": "SELECT 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": "SELECT 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": "SELECT 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.users": {
329
+ "name": "users",
330
+ "schema": "",
331
+ "columns": {
332
+ "id": {
333
+ "name": "id",
334
+ "type": "uuid",
335
+ "primaryKey": true,
336
+ "notNull": true,
337
+ "default": "gen_random_uuid()"
338
+ },
339
+ "username": {
340
+ "name": "username",
341
+ "type": "varchar(16)",
342
+ "primaryKey": false,
343
+ "notNull": true
344
+ },
345
+ "emailOffered": {
346
+ "name": "emailOffered",
347
+ "type": "varchar(254)",
348
+ "primaryKey": false,
349
+ "notNull": true
350
+ },
351
+ "emailVerified": {
352
+ "name": "emailVerified",
353
+ "type": "varchar(254)",
354
+ "primaryKey": false,
355
+ "notNull": false
356
+ },
357
+ "password": {
358
+ "name": "password",
359
+ "type": "varchar(254)",
360
+ "primaryKey": false,
361
+ "notNull": false
362
+ },
363
+ "createdAtIso": {
364
+ "name": "createdAtIso",
365
+ "type": "varchar(24)",
366
+ "primaryKey": false,
367
+ "notNull": true,
368
+ "default": "SELECT TO_CHAR(NOW() AT TIME ZONE 'UTC', 'YYYY-MM-DD\"T\"HH24:MI:SS.MS\"Z\"')"
369
+ },
370
+ "createdIp": {
371
+ "name": "createdIp",
372
+ "type": "varchar(45)",
373
+ "primaryKey": false,
374
+ "notNull": true
375
+ },
376
+ "isActive": {
377
+ "name": "isActive",
378
+ "type": "boolean",
379
+ "primaryKey": false,
380
+ "notNull": true,
381
+ "default": false
382
+ },
383
+ "verifiedAtIso": {
384
+ "name": "verifiedAtIso",
385
+ "type": "varchar(24)",
386
+ "primaryKey": false,
387
+ "notNull": false
388
+ },
389
+ "userRole": {
390
+ "name": "userRole",
391
+ "type": "role",
392
+ "typeSchema": "public",
393
+ "primaryKey": false,
394
+ "notNull": false,
395
+ "default": "'user'"
396
+ }
397
+ },
398
+ "indexes": {
399
+ "usernameUniqueIndex": {
400
+ "name": "usernameUniqueIndex",
401
+ "columns": [
402
+ {
403
+ "expression": "lower(\"username\")",
404
+ "asc": true,
405
+ "isExpression": true,
406
+ "nulls": "last"
407
+ }
408
+ ],
409
+ "isUnique": true,
410
+ "concurrently": false,
411
+ "method": "btree",
412
+ "with": {}
413
+ },
414
+ "emailVerifiedUniqueIndex": {
415
+ "name": "emailVerifiedUniqueIndex",
416
+ "columns": [
417
+ {
418
+ "expression": "lower(\"emailVerified\")",
419
+ "asc": true,
420
+ "isExpression": true,
421
+ "nulls": "last"
422
+ }
423
+ ],
424
+ "isUnique": true,
425
+ "concurrently": false,
426
+ "method": "btree",
427
+ "with": {}
428
+ }
429
+ },
430
+ "foreignKeys": {},
431
+ "compositePrimaryKeys": {},
432
+ "uniqueConstraints": {},
433
+ "policies": {},
434
+ "checkConstraints": {},
435
+ "isRLSEnabled": false
436
+ }
437
+ },
438
+ "enums": {
439
+ "public.accountAction": {
440
+ "name": "accountAction",
441
+ "schema": "public",
442
+ "values": [
443
+ "cooldown",
444
+ "confirmEmail",
445
+ "signIn",
446
+ "resetPassword"
447
+ ]
448
+ },
449
+ "public.role": {
450
+ "name": "role",
451
+ "schema": "public",
452
+ "values": [
453
+ "admin",
454
+ "user"
455
+ ]
456
+ },
457
+ "public.trackedUserColumnName": {
458
+ "name": "trackedUserColumnName",
459
+ "schema": "public",
460
+ "values": [
461
+ "username",
462
+ "emailOffered",
463
+ "emailVerified",
464
+ "password",
465
+ "userRole"
466
+ ]
467
+ },
468
+ "public.twoFactorMethod": {
469
+ "name": "twoFactorMethod",
470
+ "schema": "public",
471
+ "values": [
472
+ "email",
473
+ "phone"
474
+ ]
475
+ }
476
+ },
477
+ "schemas": {},
478
+ "sequences": {},
479
+ "roles": {},
480
+ "policies": {},
481
+ "views": {},
482
+ "_meta": {
483
+ "columns": {},
484
+ "schemas": {},
485
+ "tables": {}
486
+ }
487
+ }
@@ -127,6 +127,27 @@
127
127
  "when": 1745697499088,
128
128
  "tag": "0017_sparkling_matthew_murdock",
129
129
  "breakpoints": true
130
+ },
131
+ {
132
+ "idx": 18,
133
+ "version": "7",
134
+ "when": 1748393272130,
135
+ "tag": "0018_curved_wallop",
136
+ "breakpoints": true
137
+ },
138
+ {
139
+ "idx": 19,
140
+ "version": "7",
141
+ "when": 1748418292176,
142
+ "tag": "0019_lively_boomer",
143
+ "breakpoints": true
144
+ },
145
+ {
146
+ "idx": 20,
147
+ "version": "7",
148
+ "when": 1748455553839,
149
+ "tag": "0020_magenta_stark_industries",
150
+ "breakpoints": true
130
151
  }
131
152
  ]
132
153
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tempest.games",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -26,6 +26,7 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@floating-ui/react": "0.27.9",
29
+ "@js-temporal/polyfill": "0.5.1",
29
30
  "@react-email/components": "0.0.41",
30
31
  "@t3-oss/env-core": "0.13.6",
31
32
  "@trpc/client": "11.1.4",