rategame-shared 1.1.8 → 1.1.10
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/schemas/game.d.ts +14 -18
- package/dist/schemas/rating.d.ts +14 -163
- package/dist/schemas/user.d.ts +8 -8
- package/package.json +1 -1
package/dist/schemas/game.d.ts
CHANGED
|
@@ -465,7 +465,7 @@ export declare const commonGameSchema: z.ZodObject<{
|
|
|
465
465
|
};
|
|
466
466
|
} | undefined;
|
|
467
467
|
}>;
|
|
468
|
-
export declare const basketballGameSchema: z.ZodObject<
|
|
468
|
+
export declare const basketballGameSchema: z.ZodObject<{
|
|
469
469
|
id: z.ZodOptional<z.ZodString>;
|
|
470
470
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
471
471
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -565,7 +565,6 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
565
565
|
options: Record<number, number>;
|
|
566
566
|
};
|
|
567
567
|
}>>;
|
|
568
|
-
}, {
|
|
569
568
|
round: z.ZodNumber;
|
|
570
569
|
timeRemainingMinutes: z.ZodNumber;
|
|
571
570
|
timeRemainingSeconds: z.ZodNumber;
|
|
@@ -584,7 +583,7 @@ export declare const basketballGameSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
584
583
|
}>, "many">;
|
|
585
584
|
periodType: z.ZodUnion<[z.ZodLiteral<"half">, z.ZodLiteral<"quarter">]>;
|
|
586
585
|
periodDuration: z.ZodNumber;
|
|
587
|
-
}
|
|
586
|
+
}, "strip", z.ZodTypeAny, {
|
|
588
587
|
round: number;
|
|
589
588
|
status: "live" | "scheduled" | "final";
|
|
590
589
|
startedAt: number;
|
|
@@ -698,7 +697,7 @@ export declare const inningSchema: z.ZodObject<{
|
|
|
698
697
|
homeScore: number;
|
|
699
698
|
inningNumber: number;
|
|
700
699
|
}>;
|
|
701
|
-
export declare const mlbGameSchema: z.ZodObject<
|
|
700
|
+
export declare const mlbGameSchema: z.ZodObject<{
|
|
702
701
|
id: z.ZodOptional<z.ZodString>;
|
|
703
702
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
704
703
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -798,7 +797,6 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
798
797
|
options: Record<number, number>;
|
|
799
798
|
};
|
|
800
799
|
}>>;
|
|
801
|
-
}, {
|
|
802
800
|
totalInningsRemaining: z.ZodNumber;
|
|
803
801
|
innings: z.ZodArray<z.ZodObject<{
|
|
804
802
|
inningNumber: z.ZodNumber;
|
|
@@ -899,7 +897,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
899
897
|
id?: string | undefined;
|
|
900
898
|
}>>;
|
|
901
899
|
outs: z.ZodOptional<z.ZodNumber>;
|
|
902
|
-
}
|
|
900
|
+
}, "strip", z.ZodTypeAny, {
|
|
903
901
|
status: "live" | "scheduled" | "final";
|
|
904
902
|
startedAt: number;
|
|
905
903
|
finishedAt: number;
|
|
@@ -1056,7 +1054,7 @@ export declare const mlbGameSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1056
1054
|
} | undefined;
|
|
1057
1055
|
outs?: number | undefined;
|
|
1058
1056
|
}>;
|
|
1059
|
-
export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<
|
|
1057
|
+
export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<{
|
|
1060
1058
|
id: z.ZodOptional<z.ZodString>;
|
|
1061
1059
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
1062
1060
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1156,7 +1154,6 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1156
1154
|
options: Record<number, number>;
|
|
1157
1155
|
};
|
|
1158
1156
|
}>>;
|
|
1159
|
-
}, {
|
|
1160
1157
|
round: z.ZodNumber;
|
|
1161
1158
|
timeRemainingMinutes: z.ZodNumber;
|
|
1162
1159
|
timeRemainingSeconds: z.ZodNumber;
|
|
@@ -1175,7 +1172,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1175
1172
|
}>, "many">;
|
|
1176
1173
|
periodType: z.ZodUnion<[z.ZodLiteral<"half">, z.ZodLiteral<"quarter">]>;
|
|
1177
1174
|
periodDuration: z.ZodNumber;
|
|
1178
|
-
}
|
|
1175
|
+
}, "strip", z.ZodTypeAny, {
|
|
1179
1176
|
round: number;
|
|
1180
1177
|
status: "live" | "scheduled" | "final";
|
|
1181
1178
|
startedAt: number;
|
|
@@ -1275,7 +1272,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1275
1272
|
options: Record<number, number>;
|
|
1276
1273
|
};
|
|
1277
1274
|
} | undefined;
|
|
1278
|
-
}>, z.ZodObject<
|
|
1275
|
+
}>, z.ZodObject<{
|
|
1279
1276
|
id: z.ZodOptional<z.ZodString>;
|
|
1280
1277
|
status: z.ZodUnion<[z.ZodLiteral<"scheduled">, z.ZodLiteral<"live">, z.ZodLiteral<"final">]>;
|
|
1281
1278
|
isClosed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1375,7 +1372,6 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1375
1372
|
options: Record<number, number>;
|
|
1376
1373
|
};
|
|
1377
1374
|
}>>;
|
|
1378
|
-
}, {
|
|
1379
1375
|
totalInningsRemaining: z.ZodNumber;
|
|
1380
1376
|
innings: z.ZodArray<z.ZodObject<{
|
|
1381
1377
|
inningNumber: z.ZodNumber;
|
|
@@ -1476,7 +1472,7 @@ export declare const unionGameSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exten
|
|
|
1476
1472
|
id?: string | undefined;
|
|
1477
1473
|
}>>;
|
|
1478
1474
|
outs: z.ZodOptional<z.ZodNumber>;
|
|
1479
|
-
}
|
|
1475
|
+
}, "strip", z.ZodTypeAny, {
|
|
1480
1476
|
status: "live" | "scheduled" | "final";
|
|
1481
1477
|
startedAt: number;
|
|
1482
1478
|
finishedAt: number;
|
|
@@ -1644,20 +1640,20 @@ export declare const searchGameSchema: z.ZodObject<{
|
|
|
1644
1640
|
offset: z.ZodOptional<z.ZodString>;
|
|
1645
1641
|
}, "strip", z.ZodTypeAny, {
|
|
1646
1642
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
|
|
1647
|
-
offset?: string | undefined;
|
|
1648
|
-
round?: string | undefined;
|
|
1649
1643
|
q?: string | undefined;
|
|
1650
|
-
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
1651
1644
|
teamId?: string | undefined;
|
|
1645
|
+
round?: string | undefined;
|
|
1646
|
+
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
1652
1647
|
sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
|
|
1653
1648
|
limit?: string | undefined;
|
|
1649
|
+
offset?: string | undefined;
|
|
1654
1650
|
}, {
|
|
1655
1651
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
|
|
1656
|
-
offset?: string | undefined;
|
|
1657
|
-
round?: string | undefined;
|
|
1658
1652
|
q?: string | undefined;
|
|
1659
|
-
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
1660
1653
|
teamId?: string | undefined;
|
|
1654
|
+
round?: string | undefined;
|
|
1655
|
+
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
1661
1656
|
sortBy?: "rating.avg:asc" | "rating.avg:desc" | "startedAt:asc" | "startedAt:desc" | undefined;
|
|
1662
1657
|
limit?: string | undefined;
|
|
1658
|
+
offset?: string | undefined;
|
|
1663
1659
|
}>;
|
package/dist/schemas/rating.d.ts
CHANGED
|
@@ -252,32 +252,32 @@ export declare const searchRatingSchema: import("zod").ZodObject<{
|
|
|
252
252
|
userId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
253
253
|
}, "strip", import("zod").ZodTypeAny, {
|
|
254
254
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
|
|
255
|
-
offset?: string | undefined;
|
|
256
|
-
round?: string | undefined;
|
|
257
255
|
q?: string | undefined;
|
|
258
|
-
username?: string | undefined;
|
|
259
|
-
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
260
256
|
teamId?: string | undefined;
|
|
257
|
+
round?: string | undefined;
|
|
258
|
+
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
261
259
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
262
260
|
limit?: string | undefined;
|
|
263
|
-
|
|
261
|
+
offset?: string | undefined;
|
|
264
262
|
gameId?: string | undefined;
|
|
265
263
|
showEmptyRatings?: string | undefined;
|
|
264
|
+
comment?: string | undefined;
|
|
265
|
+
username?: string | undefined;
|
|
266
266
|
following?: string | undefined;
|
|
267
267
|
userId?: string | undefined;
|
|
268
268
|
}, {
|
|
269
269
|
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
|
|
270
|
-
offset?: string | undefined;
|
|
271
|
-
round?: string | undefined;
|
|
272
270
|
q?: string | undefined;
|
|
273
|
-
username?: string | undefined;
|
|
274
|
-
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
275
271
|
teamId?: string | undefined;
|
|
272
|
+
round?: string | undefined;
|
|
273
|
+
createdAt?: "12h" | "daily" | "weekly" | undefined;
|
|
276
274
|
sortBy?: "rating:asc" | "rating:desc" | "createdAt:asc" | "createdAt:desc" | "userLikes:asc" | "userLikes:desc" | undefined;
|
|
277
275
|
limit?: string | undefined;
|
|
278
|
-
|
|
276
|
+
offset?: string | undefined;
|
|
279
277
|
gameId?: string | undefined;
|
|
280
278
|
showEmptyRatings?: string | undefined;
|
|
279
|
+
comment?: string | undefined;
|
|
280
|
+
username?: string | undefined;
|
|
281
281
|
following?: string | undefined;
|
|
282
282
|
userId?: string | undefined;
|
|
283
283
|
}>;
|
|
@@ -347,159 +347,10 @@ export declare const createAgreeRatingSchema: import("zod").ZodObject<{
|
|
|
347
347
|
};
|
|
348
348
|
agree: boolean;
|
|
349
349
|
}>;
|
|
350
|
-
export declare const createRatingSchema: import("zod").ZodObject<
|
|
351
|
-
id: import("zod").ZodString;
|
|
352
|
-
createdAt: import("zod").ZodNumber;
|
|
350
|
+
export declare const createRatingSchema: import("zod").ZodObject<{
|
|
353
351
|
rating: import("zod").ZodNumber;
|
|
354
352
|
comment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
355
|
-
user: import("zod").ZodObject<{
|
|
356
|
-
id: import("zod").ZodString;
|
|
357
|
-
username: import("zod").ZodString;
|
|
358
|
-
avatarUrl: import("zod").ZodString;
|
|
359
|
-
email: import("zod").ZodString;
|
|
360
|
-
badge: import("zod").ZodOptional<import("zod").ZodString>;
|
|
361
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
362
|
-
id: string;
|
|
363
|
-
email: string;
|
|
364
|
-
username: string;
|
|
365
|
-
avatarUrl: string;
|
|
366
|
-
badge?: string | undefined;
|
|
367
|
-
}, {
|
|
368
|
-
id: string;
|
|
369
|
-
email: string;
|
|
370
|
-
username: string;
|
|
371
|
-
avatarUrl: string;
|
|
372
|
-
badge?: string | undefined;
|
|
373
|
-
}>;
|
|
374
|
-
game: import("zod").ZodObject<{
|
|
375
|
-
id: import("zod").ZodString;
|
|
376
|
-
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
377
|
-
league: import("zod").ZodUnion<[import("zod").ZodLiteral<"ncaa">, import("zod").ZodLiteral<"nba">, import("zod").ZodLiteral<"mlb">, import("zod").ZodLiteral<"nfl">, import("zod").ZodLiteral<"nhl">, import("zod").ZodLiteral<"mls">]>;
|
|
378
|
-
homeTeam: import("zod").ZodObject<{
|
|
379
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
380
|
-
apiTeamId: import("zod").ZodNumber;
|
|
381
|
-
name: import("zod").ZodString;
|
|
382
|
-
score: import("zod").ZodNumber;
|
|
383
|
-
isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
384
|
-
image: import("zod").ZodString;
|
|
385
|
-
seed: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
386
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
387
|
-
name: string;
|
|
388
|
-
image: string;
|
|
389
|
-
apiTeamId: number;
|
|
390
|
-
score: number;
|
|
391
|
-
id?: string | undefined;
|
|
392
|
-
isWinner?: boolean | undefined;
|
|
393
|
-
seed?: number | undefined;
|
|
394
|
-
}, {
|
|
395
|
-
name: string;
|
|
396
|
-
image: string;
|
|
397
|
-
apiTeamId: number;
|
|
398
|
-
score: number;
|
|
399
|
-
id?: string | undefined;
|
|
400
|
-
isWinner?: boolean | undefined;
|
|
401
|
-
seed?: number | undefined;
|
|
402
|
-
}>;
|
|
403
|
-
awayTeam: import("zod").ZodObject<{
|
|
404
|
-
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
405
|
-
apiTeamId: import("zod").ZodNumber;
|
|
406
|
-
name: import("zod").ZodString;
|
|
407
|
-
score: import("zod").ZodNumber;
|
|
408
|
-
isWinner: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
409
|
-
image: import("zod").ZodString;
|
|
410
|
-
seed: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
411
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
412
|
-
name: string;
|
|
413
|
-
image: string;
|
|
414
|
-
apiTeamId: number;
|
|
415
|
-
score: number;
|
|
416
|
-
id?: string | undefined;
|
|
417
|
-
isWinner?: boolean | undefined;
|
|
418
|
-
seed?: number | undefined;
|
|
419
|
-
}, {
|
|
420
|
-
name: string;
|
|
421
|
-
image: string;
|
|
422
|
-
apiTeamId: number;
|
|
423
|
-
score: number;
|
|
424
|
-
id?: string | undefined;
|
|
425
|
-
isWinner?: boolean | undefined;
|
|
426
|
-
seed?: number | undefined;
|
|
427
|
-
}>;
|
|
428
|
-
seriesInfo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
429
|
-
homeTeamWins: import("zod").ZodNumber;
|
|
430
|
-
awayTeamWins: import("zod").ZodNumber;
|
|
431
|
-
gameNumber: import("zod").ZodNumber;
|
|
432
|
-
maxLength: import("zod").ZodNumber;
|
|
433
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
434
|
-
maxLength: number;
|
|
435
|
-
homeTeamWins: number;
|
|
436
|
-
awayTeamWins: number;
|
|
437
|
-
gameNumber: number;
|
|
438
|
-
}, {
|
|
439
|
-
maxLength: number;
|
|
440
|
-
homeTeamWins: number;
|
|
441
|
-
awayTeamWins: number;
|
|
442
|
-
gameNumber: number;
|
|
443
|
-
}>>;
|
|
444
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
445
|
-
id: string;
|
|
446
|
-
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
|
|
447
|
-
homeTeam: {
|
|
448
|
-
name: string;
|
|
449
|
-
image: string;
|
|
450
|
-
apiTeamId: number;
|
|
451
|
-
score: number;
|
|
452
|
-
id?: string | undefined;
|
|
453
|
-
isWinner?: boolean | undefined;
|
|
454
|
-
seed?: number | undefined;
|
|
455
|
-
};
|
|
456
|
-
awayTeam: {
|
|
457
|
-
name: string;
|
|
458
|
-
image: string;
|
|
459
|
-
apiTeamId: number;
|
|
460
|
-
score: number;
|
|
461
|
-
id?: string | undefined;
|
|
462
|
-
isWinner?: boolean | undefined;
|
|
463
|
-
seed?: number | undefined;
|
|
464
|
-
};
|
|
465
|
-
round?: number | undefined;
|
|
466
|
-
seriesInfo?: {
|
|
467
|
-
maxLength: number;
|
|
468
|
-
homeTeamWins: number;
|
|
469
|
-
awayTeamWins: number;
|
|
470
|
-
gameNumber: number;
|
|
471
|
-
} | undefined;
|
|
472
|
-
}, {
|
|
473
|
-
id: string;
|
|
474
|
-
league: "nba" | "ncaa" | "mlb" | "nfl" | "nhl" | "mls";
|
|
475
|
-
homeTeam: {
|
|
476
|
-
name: string;
|
|
477
|
-
image: string;
|
|
478
|
-
apiTeamId: number;
|
|
479
|
-
score: number;
|
|
480
|
-
id?: string | undefined;
|
|
481
|
-
isWinner?: boolean | undefined;
|
|
482
|
-
seed?: number | undefined;
|
|
483
|
-
};
|
|
484
|
-
awayTeam: {
|
|
485
|
-
name: string;
|
|
486
|
-
image: string;
|
|
487
|
-
apiTeamId: number;
|
|
488
|
-
score: number;
|
|
489
|
-
id?: string | undefined;
|
|
490
|
-
isWinner?: boolean | undefined;
|
|
491
|
-
seed?: number | undefined;
|
|
492
|
-
};
|
|
493
|
-
round?: number | undefined;
|
|
494
|
-
seriesInfo?: {
|
|
495
|
-
maxLength: number;
|
|
496
|
-
homeTeamWins: number;
|
|
497
|
-
awayTeamWins: number;
|
|
498
|
-
gameNumber: number;
|
|
499
|
-
} | undefined;
|
|
500
|
-
}>;
|
|
501
353
|
userLikes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
502
|
-
}, "id" | "user" | "createdAt">, {
|
|
503
354
|
game: import("zod").ZodObject<Omit<{
|
|
504
355
|
id: import("zod").ZodString;
|
|
505
356
|
round: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -590,7 +441,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
590
441
|
} | undefined;
|
|
591
442
|
}>;
|
|
592
443
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
593
|
-
}
|
|
444
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
594
445
|
rating: number;
|
|
595
446
|
game: {
|
|
596
447
|
id: string;
|
|
@@ -602,9 +453,9 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
602
453
|
gameNumber: number;
|
|
603
454
|
} | undefined;
|
|
604
455
|
};
|
|
605
|
-
id?: string | undefined;
|
|
606
456
|
comment?: string | undefined;
|
|
607
457
|
userLikes?: number | undefined;
|
|
458
|
+
id?: string | undefined;
|
|
608
459
|
}, {
|
|
609
460
|
rating: number;
|
|
610
461
|
game: {
|
|
@@ -617,7 +468,7 @@ export declare const createRatingSchema: import("zod").ZodObject<import("zod").o
|
|
|
617
468
|
gameNumber: number;
|
|
618
469
|
} | undefined;
|
|
619
470
|
};
|
|
620
|
-
id?: string | undefined;
|
|
621
471
|
comment?: string | undefined;
|
|
622
472
|
userLikes?: number | undefined;
|
|
473
|
+
id?: string | undefined;
|
|
623
474
|
}>;
|
package/dist/schemas/user.d.ts
CHANGED
|
@@ -134,10 +134,6 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
134
134
|
}>;
|
|
135
135
|
askedForPushNotifications: boolean;
|
|
136
136
|
acceptedPushNotifications: boolean;
|
|
137
|
-
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
138
|
-
totalRatedGames?: number | undefined;
|
|
139
|
-
commentsLeft?: number | undefined;
|
|
140
|
-
avgRating?: number | undefined;
|
|
141
137
|
leagues?: {
|
|
142
138
|
nba: {
|
|
143
139
|
totalRatedGames: number;
|
|
@@ -150,6 +146,9 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
150
146
|
avgRating: number;
|
|
151
147
|
};
|
|
152
148
|
} | undefined;
|
|
149
|
+
totalRatedGames?: number | undefined;
|
|
150
|
+
commentsLeft?: number | undefined;
|
|
151
|
+
avgRating?: number | undefined;
|
|
153
152
|
isRegistrationComplete?: boolean | undefined;
|
|
154
153
|
badge?: string | undefined;
|
|
155
154
|
registrationStep?: number | undefined;
|
|
@@ -163,6 +162,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
163
162
|
youtube?: string | undefined;
|
|
164
163
|
tiktok?: string | undefined;
|
|
165
164
|
} | undefined;
|
|
165
|
+
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
166
166
|
selectedTeamsPerLeague?: Record<string, string[]> | undefined;
|
|
167
167
|
notificationSettings?: {
|
|
168
168
|
allGames?: boolean | undefined;
|
|
@@ -182,10 +182,6 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
182
182
|
}>;
|
|
183
183
|
askedForPushNotifications: boolean;
|
|
184
184
|
acceptedPushNotifications: boolean;
|
|
185
|
-
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
186
|
-
totalRatedGames?: number | undefined;
|
|
187
|
-
commentsLeft?: number | undefined;
|
|
188
|
-
avgRating?: number | undefined;
|
|
189
185
|
leagues?: {
|
|
190
186
|
nba: {
|
|
191
187
|
totalRatedGames: number;
|
|
@@ -198,6 +194,9 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
198
194
|
avgRating: number;
|
|
199
195
|
};
|
|
200
196
|
} | undefined;
|
|
197
|
+
totalRatedGames?: number | undefined;
|
|
198
|
+
commentsLeft?: number | undefined;
|
|
199
|
+
avgRating?: number | undefined;
|
|
201
200
|
isRegistrationComplete?: boolean | undefined;
|
|
202
201
|
badge?: string | undefined;
|
|
203
202
|
registrationStep?: number | undefined;
|
|
@@ -211,6 +210,7 @@ export declare const userSchema: import("zod").ZodObject<{
|
|
|
211
210
|
youtube?: string | undefined;
|
|
212
211
|
tiktok?: string | undefined;
|
|
213
212
|
} | undefined;
|
|
213
|
+
platform?: "ios" | "android" | "macos" | "windows" | "web" | undefined;
|
|
214
214
|
selectedTeamsPerLeague?: Record<string, string[]> | undefined;
|
|
215
215
|
notificationSettings?: {
|
|
216
216
|
allGames?: boolean | undefined;
|