@ttt-productions/q-core 0.1.45 → 0.1.47

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.
Files changed (45) hide show
  1. package/dist/constants/sports.d.ts +0 -2
  2. package/dist/constants/sports.d.ts.map +1 -1
  3. package/dist/constants/sports.js +0 -3
  4. package/dist/constants/sports.js.map +1 -1
  5. package/dist/doc-schemas/aggregate-stats.d.ts +60 -31
  6. package/dist/doc-schemas/aggregate-stats.d.ts.map +1 -1
  7. package/dist/doc-schemas/aggregate-stats.js +15 -11
  8. package/dist/doc-schemas/aggregate-stats.js.map +1 -1
  9. package/dist/doc-schemas/game-stat-history.d.ts +2 -660
  10. package/dist/doc-schemas/game-stat-history.d.ts.map +1 -1
  11. package/dist/doc-schemas/game-stat-history.js +6 -23
  12. package/dist/doc-schemas/game-stat-history.js.map +1 -1
  13. package/dist/doc-schemas/league-team.d.ts +767 -14
  14. package/dist/doc-schemas/league-team.d.ts.map +1 -1
  15. package/dist/doc-schemas/league-team.js +21 -5
  16. package/dist/doc-schemas/league-team.js.map +1 -1
  17. package/dist/doc-schemas/registry.d.ts +327 -227
  18. package/dist/doc-schemas/registry.d.ts.map +1 -1
  19. package/dist/doc-schemas/registry.js +2 -2
  20. package/dist/doc-schemas/registry.js.map +1 -1
  21. package/dist/ids/stat-event-ids.d.ts +0 -1
  22. package/dist/ids/stat-event-ids.d.ts.map +1 -1
  23. package/dist/ids/stat-event-ids.js +0 -8
  24. package/dist/ids/stat-event-ids.js.map +1 -1
  25. package/dist/paths/collections.d.ts +1 -0
  26. package/dist/paths/collections.d.ts.map +1 -1
  27. package/dist/paths/collections.js +1 -0
  28. package/dist/paths/collections.js.map +1 -1
  29. package/dist/paths/path-builders.d.ts +1 -2
  30. package/dist/paths/path-builders.d.ts.map +1 -1
  31. package/dist/paths/path-builders.js +2 -7
  32. package/dist/paths/path-builders.js.map +1 -1
  33. package/dist/schemas/stats.d.ts +2 -8
  34. package/dist/schemas/stats.d.ts.map +1 -1
  35. package/dist/schemas/stats.js +1 -4
  36. package/dist/schemas/stats.js.map +1 -1
  37. package/dist/schemas/uploads.js +1 -1
  38. package/dist/schemas/uploads.js.map +1 -1
  39. package/dist/sports/finalized-record.d.ts +4 -13
  40. package/dist/sports/finalized-record.d.ts.map +1 -1
  41. package/dist/sports/finalized-record.js +13 -66
  42. package/dist/sports/finalized-record.js.map +1 -1
  43. package/dist/upload-variables/picture-upload-variables.js +1 -1
  44. package/dist/upload-variables/picture-upload-variables.js.map +1 -1
  45. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const GameStatHistoryFirstPageSchema: z.ZodObject<{
2
+ export declare const GameStatHistoryRecordSchema: z.ZodObject<{
3
3
  events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4
4
  type: z.ZodLiteral<"1PT">;
5
5
  teamId: z.ZodString;
@@ -213,7 +213,6 @@ export declare const GameStatHistoryFirstPageSchema: z.ZodObject<{
213
213
  }>>;
214
214
  recordedByTeamId: z.ZodOptional<z.ZodString>;
215
215
  }, z.core.$strip>], "type">>;
216
- pageCount: z.ZodNumber;
217
216
  leagueType: z.ZodEnum<{
218
217
  Basketball: "Basketball";
219
218
  Curling: "Curling";
@@ -224,662 +223,5 @@ export declare const GameStatHistoryFirstPageSchema: z.ZodObject<{
224
223
  absentRosterPlayerIds: z.ZodArray<z.ZodString>;
225
224
  nonScoringRosterPlayerIds: z.ZodArray<z.ZodString>;
226
225
  }, z.core.$strip>;
227
- export type GameStatHistoryFirstPage = z.infer<typeof GameStatHistoryFirstPageSchema>;
228
- export declare const GameStatHistoryContinuationPageSchema: z.ZodObject<{
229
- events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
230
- type: z.ZodLiteral<"1PT">;
231
- teamId: z.ZodString;
232
- playerUserId: z.ZodString;
233
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
234
- eventId: z.ZodString;
235
- sequence: z.ZodNumber;
236
- recordedAt: z.ZodNumber;
237
- acceptedAt: z.ZodOptional<z.ZodNumber>;
238
- recordedByUserId: z.ZodOptional<z.ZodString>;
239
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
240
- admin: "admin";
241
- referee: "referee";
242
- captain: "captain";
243
- coCaptain: "coCaptain";
244
- }>>;
245
- recordedByTeamId: z.ZodOptional<z.ZodString>;
246
- }, z.core.$strip>, z.ZodObject<{
247
- type: z.ZodEnum<{
248
- "2PT": "2PT";
249
- "3PT": "3PT";
250
- }>;
251
- assistedByUserId: z.ZodOptional<z.ZodString>;
252
- assistedByDisplayNameSnapshot: z.ZodOptional<z.ZodString>;
253
- teamId: z.ZodString;
254
- playerUserId: z.ZodString;
255
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
256
- eventId: z.ZodString;
257
- sequence: z.ZodNumber;
258
- recordedAt: z.ZodNumber;
259
- acceptedAt: z.ZodOptional<z.ZodNumber>;
260
- recordedByUserId: z.ZodOptional<z.ZodString>;
261
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
262
- admin: "admin";
263
- referee: "referee";
264
- captain: "captain";
265
- coCaptain: "coCaptain";
266
- }>>;
267
- recordedByTeamId: z.ZodOptional<z.ZodString>;
268
- }, z.core.$strip>, z.ZodObject<{
269
- type: z.ZodEnum<{
270
- REBOUND: "REBOUND";
271
- ASSIST: "ASSIST";
272
- }>;
273
- teamId: z.ZodString;
274
- playerUserId: z.ZodString;
275
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
276
- eventId: z.ZodString;
277
- sequence: z.ZodNumber;
278
- recordedAt: z.ZodNumber;
279
- acceptedAt: z.ZodOptional<z.ZodNumber>;
280
- recordedByUserId: z.ZodOptional<z.ZodString>;
281
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
282
- admin: "admin";
283
- referee: "referee";
284
- captain: "captain";
285
- coCaptain: "coCaptain";
286
- }>>;
287
- recordedByTeamId: z.ZodOptional<z.ZodString>;
288
- }, z.core.$strip>, z.ZodObject<{
289
- teamId: z.ZodString;
290
- type: z.ZodLiteral<"TIMEOUT">;
291
- eventId: z.ZodString;
292
- sequence: z.ZodNumber;
293
- recordedAt: z.ZodNumber;
294
- acceptedAt: z.ZodOptional<z.ZodNumber>;
295
- recordedByUserId: z.ZodOptional<z.ZodString>;
296
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
297
- admin: "admin";
298
- referee: "referee";
299
- captain: "captain";
300
- coCaptain: "coCaptain";
301
- }>>;
302
- recordedByTeamId: z.ZodOptional<z.ZodString>;
303
- }, z.core.$strip>, z.ZodObject<{
304
- type: z.ZodLiteral<"BULK_EDIT">;
305
- stat: z.ZodEnum<{
306
- points: "points";
307
- rebounds: "rebounds";
308
- assists: "assists";
309
- }>;
310
- value: z.ZodNumber;
311
- previousValue: z.ZodOptional<z.ZodNumber>;
312
- teamId: z.ZodString;
313
- playerUserId: z.ZodString;
314
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
315
- eventId: z.ZodString;
316
- sequence: z.ZodNumber;
317
- recordedAt: z.ZodNumber;
318
- acceptedAt: z.ZodOptional<z.ZodNumber>;
319
- recordedByUserId: z.ZodOptional<z.ZodString>;
320
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
321
- admin: "admin";
322
- referee: "referee";
323
- captain: "captain";
324
- coCaptain: "coCaptain";
325
- }>>;
326
- recordedByTeamId: z.ZodOptional<z.ZodString>;
327
- }, z.core.$strip>, z.ZodObject<{
328
- type: z.ZodLiteral<"CURLING_ROUND_SCORE">;
329
- teamId: z.ZodString;
330
- roundNumber: z.ZodNumber;
331
- points: z.ZodNumber;
332
- eventId: z.ZodString;
333
- sequence: z.ZodNumber;
334
- recordedAt: z.ZodNumber;
335
- acceptedAt: z.ZodOptional<z.ZodNumber>;
336
- recordedByUserId: z.ZodOptional<z.ZodString>;
337
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
338
- admin: "admin";
339
- referee: "referee";
340
- captain: "captain";
341
- coCaptain: "coCaptain";
342
- }>>;
343
- recordedByTeamId: z.ZodOptional<z.ZodString>;
344
- }, z.core.$strip>, z.ZodObject<{
345
- type: z.ZodLiteral<"CURLING_ROUND_BLANK">;
346
- roundNumber: z.ZodNumber;
347
- eventId: z.ZodString;
348
- sequence: z.ZodNumber;
349
- recordedAt: z.ZodNumber;
350
- acceptedAt: z.ZodOptional<z.ZodNumber>;
351
- recordedByUserId: z.ZodOptional<z.ZodString>;
352
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
353
- admin: "admin";
354
- referee: "referee";
355
- captain: "captain";
356
- coCaptain: "coCaptain";
357
- }>>;
358
- recordedByTeamId: z.ZodOptional<z.ZodString>;
359
- }, z.core.$strip>, z.ZodObject<{
360
- type: z.ZodEnum<{
361
- FOOTBALL_6PT: "FOOTBALL_6PT";
362
- FOOTBALL_2PT: "FOOTBALL_2PT";
363
- FOOTBALL_1PT: "FOOTBALL_1PT";
364
- }>;
365
- teamId: z.ZodString;
366
- eventId: z.ZodString;
367
- sequence: z.ZodNumber;
368
- recordedAt: z.ZodNumber;
369
- acceptedAt: z.ZodOptional<z.ZodNumber>;
370
- recordedByUserId: z.ZodOptional<z.ZodString>;
371
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
372
- admin: "admin";
373
- referee: "referee";
374
- captain: "captain";
375
- coCaptain: "coCaptain";
376
- }>>;
377
- recordedByTeamId: z.ZodOptional<z.ZodString>;
378
- }, z.core.$strip>, z.ZodObject<{
379
- type: z.ZodLiteral<"FOOTBALL_BULK_EDIT">;
380
- teamId: z.ZodString;
381
- value: z.ZodNumber;
382
- previousValue: z.ZodNumber;
383
- eventId: z.ZodString;
384
- sequence: z.ZodNumber;
385
- recordedAt: z.ZodNumber;
386
- acceptedAt: z.ZodOptional<z.ZodNumber>;
387
- recordedByUserId: z.ZodOptional<z.ZodString>;
388
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
389
- admin: "admin";
390
- referee: "referee";
391
- captain: "captain";
392
- coCaptain: "coCaptain";
393
- }>>;
394
- recordedByTeamId: z.ZodOptional<z.ZodString>;
395
- }, z.core.$strip>, z.ZodObject<{
396
- type: z.ZodLiteral<"STAT_VOID">;
397
- targetEventId: z.ZodString;
398
- eventId: z.ZodString;
399
- sequence: z.ZodNumber;
400
- recordedAt: z.ZodNumber;
401
- acceptedAt: z.ZodOptional<z.ZodNumber>;
402
- recordedByUserId: z.ZodOptional<z.ZodString>;
403
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
404
- admin: "admin";
405
- referee: "referee";
406
- captain: "captain";
407
- coCaptain: "coCaptain";
408
- }>>;
409
- recordedByTeamId: z.ZodOptional<z.ZodString>;
410
- }, z.core.$strip>, z.ZodObject<{
411
- type: z.ZodLiteral<"STAT_CORRECTION">;
412
- teamId: z.ZodString;
413
- playerUserId: z.ZodOptional<z.ZodString>;
414
- stat: z.ZodEnum<{
415
- score: "score";
416
- timeouts: "timeouts";
417
- points: "points";
418
- rebounds: "rebounds";
419
- assists: "assists";
420
- }>;
421
- value: z.ZodNumber;
422
- correctionSource: z.ZodEnum<{
423
- admin: "admin";
424
- migration: "migration";
425
- }>;
426
- operationId: z.ZodString;
427
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
428
- rekeyedFromGhostUserId: z.ZodOptional<z.ZodString>;
429
- eventId: z.ZodString;
430
- sequence: z.ZodNumber;
431
- recordedAt: z.ZodNumber;
432
- acceptedAt: z.ZodOptional<z.ZodNumber>;
433
- recordedByUserId: z.ZodOptional<z.ZodString>;
434
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
435
- admin: "admin";
436
- referee: "referee";
437
- captain: "captain";
438
- coCaptain: "coCaptain";
439
- }>>;
440
- recordedByTeamId: z.ZodOptional<z.ZodString>;
441
- }, z.core.$strip>], "type">>;
442
- }, z.core.$strip>;
443
- export type GameStatHistoryContinuationPage = z.infer<typeof GameStatHistoryContinuationPageSchema>;
444
- export declare const GameStatHistoryPageSchema: z.ZodUnion<readonly [z.ZodObject<{
445
- events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
446
- type: z.ZodLiteral<"1PT">;
447
- teamId: z.ZodString;
448
- playerUserId: z.ZodString;
449
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
450
- eventId: z.ZodString;
451
- sequence: z.ZodNumber;
452
- recordedAt: z.ZodNumber;
453
- acceptedAt: z.ZodOptional<z.ZodNumber>;
454
- recordedByUserId: z.ZodOptional<z.ZodString>;
455
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
456
- admin: "admin";
457
- referee: "referee";
458
- captain: "captain";
459
- coCaptain: "coCaptain";
460
- }>>;
461
- recordedByTeamId: z.ZodOptional<z.ZodString>;
462
- }, z.core.$strip>, z.ZodObject<{
463
- type: z.ZodEnum<{
464
- "2PT": "2PT";
465
- "3PT": "3PT";
466
- }>;
467
- assistedByUserId: z.ZodOptional<z.ZodString>;
468
- assistedByDisplayNameSnapshot: z.ZodOptional<z.ZodString>;
469
- teamId: z.ZodString;
470
- playerUserId: z.ZodString;
471
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
472
- eventId: z.ZodString;
473
- sequence: z.ZodNumber;
474
- recordedAt: z.ZodNumber;
475
- acceptedAt: z.ZodOptional<z.ZodNumber>;
476
- recordedByUserId: z.ZodOptional<z.ZodString>;
477
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
478
- admin: "admin";
479
- referee: "referee";
480
- captain: "captain";
481
- coCaptain: "coCaptain";
482
- }>>;
483
- recordedByTeamId: z.ZodOptional<z.ZodString>;
484
- }, z.core.$strip>, z.ZodObject<{
485
- type: z.ZodEnum<{
486
- REBOUND: "REBOUND";
487
- ASSIST: "ASSIST";
488
- }>;
489
- teamId: z.ZodString;
490
- playerUserId: z.ZodString;
491
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
492
- eventId: z.ZodString;
493
- sequence: z.ZodNumber;
494
- recordedAt: z.ZodNumber;
495
- acceptedAt: z.ZodOptional<z.ZodNumber>;
496
- recordedByUserId: z.ZodOptional<z.ZodString>;
497
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
498
- admin: "admin";
499
- referee: "referee";
500
- captain: "captain";
501
- coCaptain: "coCaptain";
502
- }>>;
503
- recordedByTeamId: z.ZodOptional<z.ZodString>;
504
- }, z.core.$strip>, z.ZodObject<{
505
- teamId: z.ZodString;
506
- type: z.ZodLiteral<"TIMEOUT">;
507
- eventId: z.ZodString;
508
- sequence: z.ZodNumber;
509
- recordedAt: z.ZodNumber;
510
- acceptedAt: z.ZodOptional<z.ZodNumber>;
511
- recordedByUserId: z.ZodOptional<z.ZodString>;
512
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
513
- admin: "admin";
514
- referee: "referee";
515
- captain: "captain";
516
- coCaptain: "coCaptain";
517
- }>>;
518
- recordedByTeamId: z.ZodOptional<z.ZodString>;
519
- }, z.core.$strip>, z.ZodObject<{
520
- type: z.ZodLiteral<"BULK_EDIT">;
521
- stat: z.ZodEnum<{
522
- points: "points";
523
- rebounds: "rebounds";
524
- assists: "assists";
525
- }>;
526
- value: z.ZodNumber;
527
- previousValue: z.ZodOptional<z.ZodNumber>;
528
- teamId: z.ZodString;
529
- playerUserId: z.ZodString;
530
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
531
- eventId: z.ZodString;
532
- sequence: z.ZodNumber;
533
- recordedAt: z.ZodNumber;
534
- acceptedAt: z.ZodOptional<z.ZodNumber>;
535
- recordedByUserId: z.ZodOptional<z.ZodString>;
536
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
537
- admin: "admin";
538
- referee: "referee";
539
- captain: "captain";
540
- coCaptain: "coCaptain";
541
- }>>;
542
- recordedByTeamId: z.ZodOptional<z.ZodString>;
543
- }, z.core.$strip>, z.ZodObject<{
544
- type: z.ZodLiteral<"CURLING_ROUND_SCORE">;
545
- teamId: z.ZodString;
546
- roundNumber: z.ZodNumber;
547
- points: z.ZodNumber;
548
- eventId: z.ZodString;
549
- sequence: z.ZodNumber;
550
- recordedAt: z.ZodNumber;
551
- acceptedAt: z.ZodOptional<z.ZodNumber>;
552
- recordedByUserId: z.ZodOptional<z.ZodString>;
553
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
554
- admin: "admin";
555
- referee: "referee";
556
- captain: "captain";
557
- coCaptain: "coCaptain";
558
- }>>;
559
- recordedByTeamId: z.ZodOptional<z.ZodString>;
560
- }, z.core.$strip>, z.ZodObject<{
561
- type: z.ZodLiteral<"CURLING_ROUND_BLANK">;
562
- roundNumber: z.ZodNumber;
563
- eventId: z.ZodString;
564
- sequence: z.ZodNumber;
565
- recordedAt: z.ZodNumber;
566
- acceptedAt: z.ZodOptional<z.ZodNumber>;
567
- recordedByUserId: z.ZodOptional<z.ZodString>;
568
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
569
- admin: "admin";
570
- referee: "referee";
571
- captain: "captain";
572
- coCaptain: "coCaptain";
573
- }>>;
574
- recordedByTeamId: z.ZodOptional<z.ZodString>;
575
- }, z.core.$strip>, z.ZodObject<{
576
- type: z.ZodEnum<{
577
- FOOTBALL_6PT: "FOOTBALL_6PT";
578
- FOOTBALL_2PT: "FOOTBALL_2PT";
579
- FOOTBALL_1PT: "FOOTBALL_1PT";
580
- }>;
581
- teamId: z.ZodString;
582
- eventId: z.ZodString;
583
- sequence: z.ZodNumber;
584
- recordedAt: z.ZodNumber;
585
- acceptedAt: z.ZodOptional<z.ZodNumber>;
586
- recordedByUserId: z.ZodOptional<z.ZodString>;
587
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
588
- admin: "admin";
589
- referee: "referee";
590
- captain: "captain";
591
- coCaptain: "coCaptain";
592
- }>>;
593
- recordedByTeamId: z.ZodOptional<z.ZodString>;
594
- }, z.core.$strip>, z.ZodObject<{
595
- type: z.ZodLiteral<"FOOTBALL_BULK_EDIT">;
596
- teamId: z.ZodString;
597
- value: z.ZodNumber;
598
- previousValue: z.ZodNumber;
599
- eventId: z.ZodString;
600
- sequence: z.ZodNumber;
601
- recordedAt: z.ZodNumber;
602
- acceptedAt: z.ZodOptional<z.ZodNumber>;
603
- recordedByUserId: z.ZodOptional<z.ZodString>;
604
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
605
- admin: "admin";
606
- referee: "referee";
607
- captain: "captain";
608
- coCaptain: "coCaptain";
609
- }>>;
610
- recordedByTeamId: z.ZodOptional<z.ZodString>;
611
- }, z.core.$strip>, z.ZodObject<{
612
- type: z.ZodLiteral<"STAT_VOID">;
613
- targetEventId: z.ZodString;
614
- eventId: z.ZodString;
615
- sequence: z.ZodNumber;
616
- recordedAt: z.ZodNumber;
617
- acceptedAt: z.ZodOptional<z.ZodNumber>;
618
- recordedByUserId: z.ZodOptional<z.ZodString>;
619
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
620
- admin: "admin";
621
- referee: "referee";
622
- captain: "captain";
623
- coCaptain: "coCaptain";
624
- }>>;
625
- recordedByTeamId: z.ZodOptional<z.ZodString>;
626
- }, z.core.$strip>, z.ZodObject<{
627
- type: z.ZodLiteral<"STAT_CORRECTION">;
628
- teamId: z.ZodString;
629
- playerUserId: z.ZodOptional<z.ZodString>;
630
- stat: z.ZodEnum<{
631
- score: "score";
632
- timeouts: "timeouts";
633
- points: "points";
634
- rebounds: "rebounds";
635
- assists: "assists";
636
- }>;
637
- value: z.ZodNumber;
638
- correctionSource: z.ZodEnum<{
639
- admin: "admin";
640
- migration: "migration";
641
- }>;
642
- operationId: z.ZodString;
643
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
644
- rekeyedFromGhostUserId: z.ZodOptional<z.ZodString>;
645
- eventId: z.ZodString;
646
- sequence: z.ZodNumber;
647
- recordedAt: z.ZodNumber;
648
- acceptedAt: z.ZodOptional<z.ZodNumber>;
649
- recordedByUserId: z.ZodOptional<z.ZodString>;
650
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
651
- admin: "admin";
652
- referee: "referee";
653
- captain: "captain";
654
- coCaptain: "coCaptain";
655
- }>>;
656
- recordedByTeamId: z.ZodOptional<z.ZodString>;
657
- }, z.core.$strip>], "type">>;
658
- pageCount: z.ZodNumber;
659
- leagueType: z.ZodEnum<{
660
- Basketball: "Basketball";
661
- Curling: "Curling";
662
- Football: "Football";
663
- }>;
664
- teamIds: z.ZodArray<z.ZodString>;
665
- rosterPlayerIds: z.ZodArray<z.ZodString>;
666
- absentRosterPlayerIds: z.ZodArray<z.ZodString>;
667
- nonScoringRosterPlayerIds: z.ZodArray<z.ZodString>;
668
- }, z.core.$strip>, z.ZodObject<{
669
- events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
670
- type: z.ZodLiteral<"1PT">;
671
- teamId: z.ZodString;
672
- playerUserId: z.ZodString;
673
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
674
- eventId: z.ZodString;
675
- sequence: z.ZodNumber;
676
- recordedAt: z.ZodNumber;
677
- acceptedAt: z.ZodOptional<z.ZodNumber>;
678
- recordedByUserId: z.ZodOptional<z.ZodString>;
679
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
680
- admin: "admin";
681
- referee: "referee";
682
- captain: "captain";
683
- coCaptain: "coCaptain";
684
- }>>;
685
- recordedByTeamId: z.ZodOptional<z.ZodString>;
686
- }, z.core.$strip>, z.ZodObject<{
687
- type: z.ZodEnum<{
688
- "2PT": "2PT";
689
- "3PT": "3PT";
690
- }>;
691
- assistedByUserId: z.ZodOptional<z.ZodString>;
692
- assistedByDisplayNameSnapshot: z.ZodOptional<z.ZodString>;
693
- teamId: z.ZodString;
694
- playerUserId: z.ZodString;
695
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
696
- eventId: z.ZodString;
697
- sequence: z.ZodNumber;
698
- recordedAt: z.ZodNumber;
699
- acceptedAt: z.ZodOptional<z.ZodNumber>;
700
- recordedByUserId: z.ZodOptional<z.ZodString>;
701
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
702
- admin: "admin";
703
- referee: "referee";
704
- captain: "captain";
705
- coCaptain: "coCaptain";
706
- }>>;
707
- recordedByTeamId: z.ZodOptional<z.ZodString>;
708
- }, z.core.$strip>, z.ZodObject<{
709
- type: z.ZodEnum<{
710
- REBOUND: "REBOUND";
711
- ASSIST: "ASSIST";
712
- }>;
713
- teamId: z.ZodString;
714
- playerUserId: z.ZodString;
715
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
716
- eventId: z.ZodString;
717
- sequence: z.ZodNumber;
718
- recordedAt: z.ZodNumber;
719
- acceptedAt: z.ZodOptional<z.ZodNumber>;
720
- recordedByUserId: z.ZodOptional<z.ZodString>;
721
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
722
- admin: "admin";
723
- referee: "referee";
724
- captain: "captain";
725
- coCaptain: "coCaptain";
726
- }>>;
727
- recordedByTeamId: z.ZodOptional<z.ZodString>;
728
- }, z.core.$strip>, z.ZodObject<{
729
- teamId: z.ZodString;
730
- type: z.ZodLiteral<"TIMEOUT">;
731
- eventId: z.ZodString;
732
- sequence: z.ZodNumber;
733
- recordedAt: z.ZodNumber;
734
- acceptedAt: z.ZodOptional<z.ZodNumber>;
735
- recordedByUserId: z.ZodOptional<z.ZodString>;
736
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
737
- admin: "admin";
738
- referee: "referee";
739
- captain: "captain";
740
- coCaptain: "coCaptain";
741
- }>>;
742
- recordedByTeamId: z.ZodOptional<z.ZodString>;
743
- }, z.core.$strip>, z.ZodObject<{
744
- type: z.ZodLiteral<"BULK_EDIT">;
745
- stat: z.ZodEnum<{
746
- points: "points";
747
- rebounds: "rebounds";
748
- assists: "assists";
749
- }>;
750
- value: z.ZodNumber;
751
- previousValue: z.ZodOptional<z.ZodNumber>;
752
- teamId: z.ZodString;
753
- playerUserId: z.ZodString;
754
- displayNameSnapshot: z.ZodOptional<z.ZodString>;
755
- eventId: z.ZodString;
756
- sequence: z.ZodNumber;
757
- recordedAt: z.ZodNumber;
758
- acceptedAt: z.ZodOptional<z.ZodNumber>;
759
- recordedByUserId: z.ZodOptional<z.ZodString>;
760
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
761
- admin: "admin";
762
- referee: "referee";
763
- captain: "captain";
764
- coCaptain: "coCaptain";
765
- }>>;
766
- recordedByTeamId: z.ZodOptional<z.ZodString>;
767
- }, z.core.$strip>, z.ZodObject<{
768
- type: z.ZodLiteral<"CURLING_ROUND_SCORE">;
769
- teamId: z.ZodString;
770
- roundNumber: z.ZodNumber;
771
- points: z.ZodNumber;
772
- eventId: z.ZodString;
773
- sequence: z.ZodNumber;
774
- recordedAt: z.ZodNumber;
775
- acceptedAt: z.ZodOptional<z.ZodNumber>;
776
- recordedByUserId: z.ZodOptional<z.ZodString>;
777
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
778
- admin: "admin";
779
- referee: "referee";
780
- captain: "captain";
781
- coCaptain: "coCaptain";
782
- }>>;
783
- recordedByTeamId: z.ZodOptional<z.ZodString>;
784
- }, z.core.$strip>, z.ZodObject<{
785
- type: z.ZodLiteral<"CURLING_ROUND_BLANK">;
786
- roundNumber: z.ZodNumber;
787
- eventId: z.ZodString;
788
- sequence: z.ZodNumber;
789
- recordedAt: z.ZodNumber;
790
- acceptedAt: z.ZodOptional<z.ZodNumber>;
791
- recordedByUserId: z.ZodOptional<z.ZodString>;
792
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
793
- admin: "admin";
794
- referee: "referee";
795
- captain: "captain";
796
- coCaptain: "coCaptain";
797
- }>>;
798
- recordedByTeamId: z.ZodOptional<z.ZodString>;
799
- }, z.core.$strip>, z.ZodObject<{
800
- type: z.ZodEnum<{
801
- FOOTBALL_6PT: "FOOTBALL_6PT";
802
- FOOTBALL_2PT: "FOOTBALL_2PT";
803
- FOOTBALL_1PT: "FOOTBALL_1PT";
804
- }>;
805
- teamId: z.ZodString;
806
- eventId: z.ZodString;
807
- sequence: z.ZodNumber;
808
- recordedAt: z.ZodNumber;
809
- acceptedAt: z.ZodOptional<z.ZodNumber>;
810
- recordedByUserId: z.ZodOptional<z.ZodString>;
811
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
812
- admin: "admin";
813
- referee: "referee";
814
- captain: "captain";
815
- coCaptain: "coCaptain";
816
- }>>;
817
- recordedByTeamId: z.ZodOptional<z.ZodString>;
818
- }, z.core.$strip>, z.ZodObject<{
819
- type: z.ZodLiteral<"FOOTBALL_BULK_EDIT">;
820
- teamId: z.ZodString;
821
- value: z.ZodNumber;
822
- previousValue: z.ZodNumber;
823
- eventId: z.ZodString;
824
- sequence: z.ZodNumber;
825
- recordedAt: z.ZodNumber;
826
- acceptedAt: z.ZodOptional<z.ZodNumber>;
827
- recordedByUserId: z.ZodOptional<z.ZodString>;
828
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
829
- admin: "admin";
830
- referee: "referee";
831
- captain: "captain";
832
- coCaptain: "coCaptain";
833
- }>>;
834
- recordedByTeamId: z.ZodOptional<z.ZodString>;
835
- }, z.core.$strip>, z.ZodObject<{
836
- type: z.ZodLiteral<"STAT_VOID">;
837
- targetEventId: z.ZodString;
838
- eventId: z.ZodString;
839
- sequence: z.ZodNumber;
840
- recordedAt: z.ZodNumber;
841
- acceptedAt: z.ZodOptional<z.ZodNumber>;
842
- recordedByUserId: z.ZodOptional<z.ZodString>;
843
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
844
- admin: "admin";
845
- referee: "referee";
846
- captain: "captain";
847
- coCaptain: "coCaptain";
848
- }>>;
849
- recordedByTeamId: z.ZodOptional<z.ZodString>;
850
- }, z.core.$strip>, z.ZodObject<{
851
- type: z.ZodLiteral<"STAT_CORRECTION">;
852
- teamId: z.ZodString;
853
- playerUserId: z.ZodOptional<z.ZodString>;
854
- stat: z.ZodEnum<{
855
- score: "score";
856
- timeouts: "timeouts";
857
- points: "points";
858
- rebounds: "rebounds";
859
- assists: "assists";
860
- }>;
861
- value: z.ZodNumber;
862
- correctionSource: z.ZodEnum<{
863
- admin: "admin";
864
- migration: "migration";
865
- }>;
866
- operationId: z.ZodString;
867
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
868
- rekeyedFromGhostUserId: z.ZodOptional<z.ZodString>;
869
- eventId: z.ZodString;
870
- sequence: z.ZodNumber;
871
- recordedAt: z.ZodNumber;
872
- acceptedAt: z.ZodOptional<z.ZodNumber>;
873
- recordedByUserId: z.ZodOptional<z.ZodString>;
874
- recordedByAuthority: z.ZodOptional<z.ZodEnum<{
875
- admin: "admin";
876
- referee: "referee";
877
- captain: "captain";
878
- coCaptain: "coCaptain";
879
- }>>;
880
- recordedByTeamId: z.ZodOptional<z.ZodString>;
881
- }, z.core.$strip>], "type">>;
882
- }, z.core.$strip>]>;
883
- export type GameStatHistoryPage = z.infer<typeof GameStatHistoryPageSchema>;
884
- export declare function statHistoryPageSchemaFor(pageId: string): typeof GameStatHistoryFirstPageSchema | typeof GameStatHistoryContinuationPageSchema;
226
+ export type GameStatHistoryRecord = z.infer<typeof GameStatHistoryRecordSchema>;
885
227
  //# sourceMappingURL=game-stat-history.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"game-stat-history.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/game-stat-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAGpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAI5E,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,GACb,OAAO,8BAA8B,GAAG,OAAO,qCAAqC,CAItF"}
1
+ {"version":3,"file":"game-stat-history.d.ts","sourceRoot":"","sources":["../../src/doc-schemas/game-stat-history.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBActC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}