@opprs/db-prisma 2.6.0 → 3.0.0
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/LICENSE +12 -18
- package/dist/index.cjs +0 -419
- package/dist/index.d.cts +3 -392
- package/dist/index.d.ts +3 -392
- package/dist/index.js +0 -379
- package/package.json +4 -3
- package/prisma/migrations/20260105020000_add_blog_post_model/migration.sql +81 -0
- package/prisma/migrations/20260109000000_remove_entry_match_round_models/migration.sql +26 -0
- package/prisma/schema.prisma +0 -71
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _prisma_client_runtime_library from '@prisma/client/runtime/library';
|
|
2
2
|
import * as _prisma_client from '@prisma/client';
|
|
3
|
-
import { PrismaClient, Player, Prisma, OpprPlayerRanking, OpprRankingChangeType, OpprRankingHistory, EventBoosterType, TournamentFormatType, Tournament,
|
|
4
|
-
export {
|
|
3
|
+
import { PrismaClient, Player, Prisma, OpprPlayerRanking, OpprRankingChangeType, OpprRankingHistory, EventBoosterType, TournamentFormatType, Tournament, Standing, User, ApiKey, Location, PostStatus, BlogPost, BlogTag } from '@prisma/client';
|
|
4
|
+
export { EventBoosterType, Location, OpprPlayerRanking, OpprRankingChangeType, OpprRankingHistory, Player, Prisma, Role, Standing, Tournament, TournamentFormatType, User } from '@prisma/client';
|
|
5
5
|
|
|
6
6
|
declare const prisma: PrismaClient<_prisma_client.Prisma.PrismaClientOptions, never, _prisma_client_runtime_library.DefaultArgs>;
|
|
7
7
|
/**
|
|
@@ -473,73 +473,6 @@ declare function getTournamentWithResults(id: string): Promise<({
|
|
|
473
473
|
eventBoosterMultiplier: number | null;
|
|
474
474
|
firstPlaceValue: number | null;
|
|
475
475
|
}) | null>;
|
|
476
|
-
/**
|
|
477
|
-
* Gets tournament with rounds, matches, and entries
|
|
478
|
-
*/
|
|
479
|
-
declare function getTournamentWithMatches(id: string): Promise<({
|
|
480
|
-
rounds: ({
|
|
481
|
-
matches: ({
|
|
482
|
-
entries: ({
|
|
483
|
-
player: {
|
|
484
|
-
name: string | null;
|
|
485
|
-
id: string;
|
|
486
|
-
createdAt: Date;
|
|
487
|
-
updatedAt: Date;
|
|
488
|
-
externalId: string | null;
|
|
489
|
-
playerNumber: number;
|
|
490
|
-
eventCount: number;
|
|
491
|
-
lastEventDate: Date | null;
|
|
492
|
-
};
|
|
493
|
-
} & {
|
|
494
|
-
result: _prisma_client.$Enums.MatchResult;
|
|
495
|
-
id: string;
|
|
496
|
-
createdAt: Date;
|
|
497
|
-
updatedAt: Date;
|
|
498
|
-
playerId: string;
|
|
499
|
-
position: number | null;
|
|
500
|
-
matchId: string;
|
|
501
|
-
})[];
|
|
502
|
-
} & {
|
|
503
|
-
number: number | null;
|
|
504
|
-
id: string;
|
|
505
|
-
createdAt: Date;
|
|
506
|
-
updatedAt: Date;
|
|
507
|
-
tournamentId: string;
|
|
508
|
-
roundId: string | null;
|
|
509
|
-
machineName: string | null;
|
|
510
|
-
})[];
|
|
511
|
-
} & {
|
|
512
|
-
number: number;
|
|
513
|
-
name: string | null;
|
|
514
|
-
id: string;
|
|
515
|
-
createdAt: Date;
|
|
516
|
-
updatedAt: Date;
|
|
517
|
-
tournamentId: string;
|
|
518
|
-
isFinals: boolean;
|
|
519
|
-
})[];
|
|
520
|
-
} & {
|
|
521
|
-
name: string;
|
|
522
|
-
id: string;
|
|
523
|
-
createdAt: Date;
|
|
524
|
-
updatedAt: Date;
|
|
525
|
-
externalId: string | null;
|
|
526
|
-
externalUrl: string | null;
|
|
527
|
-
description: string | null;
|
|
528
|
-
date: Date;
|
|
529
|
-
locationId: string | null;
|
|
530
|
-
organizerId: string | null;
|
|
531
|
-
tgpConfig: Prisma.JsonValue | null;
|
|
532
|
-
eventBooster: _prisma_client.$Enums.EventBoosterType;
|
|
533
|
-
qualifyingFormat: _prisma_client.$Enums.TournamentFormatType;
|
|
534
|
-
allowsOptOut: boolean;
|
|
535
|
-
baseValue: number | null;
|
|
536
|
-
tvaRating: number | null;
|
|
537
|
-
tvaRanking: number | null;
|
|
538
|
-
totalTVA: number | null;
|
|
539
|
-
tgp: number | null;
|
|
540
|
-
eventBoosterMultiplier: number | null;
|
|
541
|
-
firstPlaceValue: number | null;
|
|
542
|
-
}) | null>;
|
|
543
476
|
/**
|
|
544
477
|
* Searches tournaments by name or location name
|
|
545
478
|
*/
|
|
@@ -607,328 +540,6 @@ declare function getTournamentStats(id: string): Promise<{
|
|
|
607
540
|
lowestPoints: number;
|
|
608
541
|
} | null>;
|
|
609
542
|
|
|
610
|
-
/**
|
|
611
|
-
* Input for creating a new round
|
|
612
|
-
*/
|
|
613
|
-
interface CreateRoundInput {
|
|
614
|
-
tournamentId: string;
|
|
615
|
-
number: number;
|
|
616
|
-
name?: string;
|
|
617
|
-
isFinals?: boolean;
|
|
618
|
-
}
|
|
619
|
-
/**
|
|
620
|
-
* Input for updating a round
|
|
621
|
-
*/
|
|
622
|
-
interface UpdateRoundInput {
|
|
623
|
-
number?: number;
|
|
624
|
-
name?: string;
|
|
625
|
-
isFinals?: boolean;
|
|
626
|
-
}
|
|
627
|
-
/**
|
|
628
|
-
* Options for querying rounds
|
|
629
|
-
*/
|
|
630
|
-
interface FindRoundsOptions {
|
|
631
|
-
take?: number;
|
|
632
|
-
skip?: number;
|
|
633
|
-
orderBy?: Prisma.RoundOrderByWithRelationInput | Prisma.RoundOrderByWithRelationInput[];
|
|
634
|
-
where?: Prisma.RoundWhereInput;
|
|
635
|
-
include?: Prisma.RoundInclude;
|
|
636
|
-
}
|
|
637
|
-
/**
|
|
638
|
-
* Creates a new round
|
|
639
|
-
*/
|
|
640
|
-
declare function createRound(data: CreateRoundInput): Promise<Round>;
|
|
641
|
-
/**
|
|
642
|
-
* Creates multiple rounds at once
|
|
643
|
-
*/
|
|
644
|
-
declare function createManyRounds(data: CreateRoundInput[]): Promise<Prisma.BatchPayload>;
|
|
645
|
-
/**
|
|
646
|
-
* Finds a round by ID
|
|
647
|
-
*/
|
|
648
|
-
declare function findRoundById(id: string, include?: Prisma.RoundInclude): Promise<Round | null>;
|
|
649
|
-
/**
|
|
650
|
-
* Finds a round by tournament, number, and isFinals
|
|
651
|
-
*/
|
|
652
|
-
declare function findRoundByTournamentAndNumber(tournamentId: string, number: number, isFinals: boolean, include?: Prisma.RoundInclude): Promise<Round | null>;
|
|
653
|
-
/**
|
|
654
|
-
* Finds multiple rounds with optional filters
|
|
655
|
-
*/
|
|
656
|
-
declare function findRounds(options?: FindRoundsOptions): Promise<Round[]>;
|
|
657
|
-
/**
|
|
658
|
-
* Gets all rounds for a specific tournament
|
|
659
|
-
*/
|
|
660
|
-
declare function getTournamentRounds(tournamentId: string, options?: Omit<FindRoundsOptions, 'where'>): Promise<Round[]>;
|
|
661
|
-
/**
|
|
662
|
-
* Gets qualifying rounds for a tournament
|
|
663
|
-
*/
|
|
664
|
-
declare function getQualifyingRounds(tournamentId: string, options?: Omit<FindRoundsOptions, 'where'>): Promise<Round[]>;
|
|
665
|
-
/**
|
|
666
|
-
* Gets finals rounds for a tournament
|
|
667
|
-
*/
|
|
668
|
-
declare function getFinalsRounds(tournamentId: string, options?: Omit<FindRoundsOptions, 'where'>): Promise<Round[]>;
|
|
669
|
-
/**
|
|
670
|
-
* Updates a round
|
|
671
|
-
*/
|
|
672
|
-
declare function updateRound(id: string, data: UpdateRoundInput): Promise<Round>;
|
|
673
|
-
/**
|
|
674
|
-
* Deletes a round
|
|
675
|
-
*/
|
|
676
|
-
declare function deleteRound(id: string): Promise<Round>;
|
|
677
|
-
/**
|
|
678
|
-
* Deletes all rounds for a tournament
|
|
679
|
-
*/
|
|
680
|
-
declare function deleteRoundsByTournament(tournamentId: string): Promise<Prisma.BatchPayload>;
|
|
681
|
-
/**
|
|
682
|
-
* Counts total rounds
|
|
683
|
-
*/
|
|
684
|
-
declare function countRounds(where?: Prisma.RoundWhereInput): Promise<number>;
|
|
685
|
-
/**
|
|
686
|
-
* Gets a round with all its matches
|
|
687
|
-
*/
|
|
688
|
-
declare function getRoundWithMatches(id: string): Promise<({
|
|
689
|
-
matches: ({
|
|
690
|
-
entries: ({
|
|
691
|
-
player: {
|
|
692
|
-
name: string | null;
|
|
693
|
-
id: string;
|
|
694
|
-
createdAt: Date;
|
|
695
|
-
updatedAt: Date;
|
|
696
|
-
externalId: string | null;
|
|
697
|
-
playerNumber: number;
|
|
698
|
-
eventCount: number;
|
|
699
|
-
lastEventDate: Date | null;
|
|
700
|
-
};
|
|
701
|
-
} & {
|
|
702
|
-
result: _prisma_client.$Enums.MatchResult;
|
|
703
|
-
id: string;
|
|
704
|
-
createdAt: Date;
|
|
705
|
-
updatedAt: Date;
|
|
706
|
-
playerId: string;
|
|
707
|
-
position: number | null;
|
|
708
|
-
matchId: string;
|
|
709
|
-
})[];
|
|
710
|
-
} & {
|
|
711
|
-
number: number | null;
|
|
712
|
-
id: string;
|
|
713
|
-
createdAt: Date;
|
|
714
|
-
updatedAt: Date;
|
|
715
|
-
tournamentId: string;
|
|
716
|
-
roundId: string | null;
|
|
717
|
-
machineName: string | null;
|
|
718
|
-
})[];
|
|
719
|
-
} & {
|
|
720
|
-
number: number;
|
|
721
|
-
name: string | null;
|
|
722
|
-
id: string;
|
|
723
|
-
createdAt: Date;
|
|
724
|
-
updatedAt: Date;
|
|
725
|
-
tournamentId: string;
|
|
726
|
-
isFinals: boolean;
|
|
727
|
-
}) | null>;
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* Input for creating a new match
|
|
731
|
-
*/
|
|
732
|
-
interface CreateMatchInput {
|
|
733
|
-
tournamentId: string;
|
|
734
|
-
roundId?: string;
|
|
735
|
-
number?: number;
|
|
736
|
-
machineName?: string;
|
|
737
|
-
}
|
|
738
|
-
/**
|
|
739
|
-
* Input for updating a match
|
|
740
|
-
*/
|
|
741
|
-
interface UpdateMatchInput {
|
|
742
|
-
roundId?: string | null;
|
|
743
|
-
number?: number;
|
|
744
|
-
machineName?: string;
|
|
745
|
-
}
|
|
746
|
-
/**
|
|
747
|
-
* Options for querying matches
|
|
748
|
-
*/
|
|
749
|
-
interface FindMatchesOptions {
|
|
750
|
-
take?: number;
|
|
751
|
-
skip?: number;
|
|
752
|
-
orderBy?: Prisma.MatchOrderByWithRelationInput | Prisma.MatchOrderByWithRelationInput[];
|
|
753
|
-
where?: Prisma.MatchWhereInput;
|
|
754
|
-
include?: Prisma.MatchInclude;
|
|
755
|
-
}
|
|
756
|
-
/**
|
|
757
|
-
* Creates a new match
|
|
758
|
-
*/
|
|
759
|
-
declare function createMatch(data: CreateMatchInput): Promise<Match>;
|
|
760
|
-
/**
|
|
761
|
-
* Creates multiple matches at once
|
|
762
|
-
*/
|
|
763
|
-
declare function createManyMatches(data: CreateMatchInput[]): Promise<Prisma.BatchPayload>;
|
|
764
|
-
/**
|
|
765
|
-
* Finds a match by ID
|
|
766
|
-
*/
|
|
767
|
-
declare function findMatchById(id: string, include?: Prisma.MatchInclude): Promise<Match | null>;
|
|
768
|
-
/**
|
|
769
|
-
* Finds multiple matches with optional filters
|
|
770
|
-
*/
|
|
771
|
-
declare function findMatches(options?: FindMatchesOptions): Promise<Match[]>;
|
|
772
|
-
/**
|
|
773
|
-
* Gets all matches for a specific tournament
|
|
774
|
-
*/
|
|
775
|
-
declare function getTournamentMatches(tournamentId: string, options?: Omit<FindMatchesOptions, 'where'>): Promise<Match[]>;
|
|
776
|
-
/**
|
|
777
|
-
* Gets all matches for a specific round
|
|
778
|
-
*/
|
|
779
|
-
declare function getRoundMatches(roundId: string, options?: Omit<FindMatchesOptions, 'where'>): Promise<Match[]>;
|
|
780
|
-
/**
|
|
781
|
-
* Updates a match
|
|
782
|
-
*/
|
|
783
|
-
declare function updateMatch(id: string, data: UpdateMatchInput): Promise<Match>;
|
|
784
|
-
/**
|
|
785
|
-
* Deletes a match
|
|
786
|
-
*/
|
|
787
|
-
declare function deleteMatch(id: string): Promise<Match>;
|
|
788
|
-
/**
|
|
789
|
-
* Deletes all matches for a tournament
|
|
790
|
-
*/
|
|
791
|
-
declare function deleteMatchesByTournament(tournamentId: string): Promise<Prisma.BatchPayload>;
|
|
792
|
-
/**
|
|
793
|
-
* Deletes all matches for a round
|
|
794
|
-
*/
|
|
795
|
-
declare function deleteMatchesByRound(roundId: string): Promise<Prisma.BatchPayload>;
|
|
796
|
-
/**
|
|
797
|
-
* Counts total matches
|
|
798
|
-
*/
|
|
799
|
-
declare function countMatches(where?: Prisma.MatchWhereInput): Promise<number>;
|
|
800
|
-
/**
|
|
801
|
-
* Gets a match with all its entries and player details
|
|
802
|
-
*/
|
|
803
|
-
declare function getMatchWithEntries(id: string): Promise<({
|
|
804
|
-
round: {
|
|
805
|
-
number: number;
|
|
806
|
-
name: string | null;
|
|
807
|
-
id: string;
|
|
808
|
-
createdAt: Date;
|
|
809
|
-
updatedAt: Date;
|
|
810
|
-
tournamentId: string;
|
|
811
|
-
isFinals: boolean;
|
|
812
|
-
} | null;
|
|
813
|
-
entries: ({
|
|
814
|
-
player: {
|
|
815
|
-
name: string | null;
|
|
816
|
-
id: string;
|
|
817
|
-
createdAt: Date;
|
|
818
|
-
updatedAt: Date;
|
|
819
|
-
externalId: string | null;
|
|
820
|
-
playerNumber: number;
|
|
821
|
-
eventCount: number;
|
|
822
|
-
lastEventDate: Date | null;
|
|
823
|
-
};
|
|
824
|
-
} & {
|
|
825
|
-
result: _prisma_client.$Enums.MatchResult;
|
|
826
|
-
id: string;
|
|
827
|
-
createdAt: Date;
|
|
828
|
-
updatedAt: Date;
|
|
829
|
-
playerId: string;
|
|
830
|
-
position: number | null;
|
|
831
|
-
matchId: string;
|
|
832
|
-
})[];
|
|
833
|
-
} & {
|
|
834
|
-
number: number | null;
|
|
835
|
-
id: string;
|
|
836
|
-
createdAt: Date;
|
|
837
|
-
updatedAt: Date;
|
|
838
|
-
tournamentId: string;
|
|
839
|
-
roundId: string | null;
|
|
840
|
-
machineName: string | null;
|
|
841
|
-
}) | null>;
|
|
842
|
-
/**
|
|
843
|
-
* Gets matches for a player in a tournament
|
|
844
|
-
*/
|
|
845
|
-
declare function getPlayerTournamentMatches(playerId: string, tournamentId: string, include?: Prisma.MatchInclude): Promise<Match[]>;
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* Input for creating a new entry
|
|
849
|
-
*/
|
|
850
|
-
interface CreateEntryInput {
|
|
851
|
-
matchId: string;
|
|
852
|
-
playerId: string;
|
|
853
|
-
result: MatchResult;
|
|
854
|
-
position?: number;
|
|
855
|
-
}
|
|
856
|
-
/**
|
|
857
|
-
* Input for updating an entry
|
|
858
|
-
*/
|
|
859
|
-
interface UpdateEntryInput {
|
|
860
|
-
result?: MatchResult;
|
|
861
|
-
position?: number;
|
|
862
|
-
}
|
|
863
|
-
/**
|
|
864
|
-
* Options for querying entries
|
|
865
|
-
*/
|
|
866
|
-
interface FindEntriesOptions {
|
|
867
|
-
take?: number;
|
|
868
|
-
skip?: number;
|
|
869
|
-
orderBy?: Prisma.EntryOrderByWithRelationInput;
|
|
870
|
-
where?: Prisma.EntryWhereInput;
|
|
871
|
-
include?: Prisma.EntryInclude;
|
|
872
|
-
}
|
|
873
|
-
/**
|
|
874
|
-
* Creates a new entry
|
|
875
|
-
*/
|
|
876
|
-
declare function createEntry(data: CreateEntryInput): Promise<Entry>;
|
|
877
|
-
/**
|
|
878
|
-
* Creates multiple entries at once
|
|
879
|
-
*/
|
|
880
|
-
declare function createManyEntries(data: CreateEntryInput[]): Promise<Prisma.BatchPayload>;
|
|
881
|
-
/**
|
|
882
|
-
* Finds an entry by ID
|
|
883
|
-
*/
|
|
884
|
-
declare function findEntryById(id: string, include?: Prisma.EntryInclude): Promise<Entry | null>;
|
|
885
|
-
/**
|
|
886
|
-
* Finds an entry by match and player
|
|
887
|
-
*/
|
|
888
|
-
declare function findEntryByMatchAndPlayer(matchId: string, playerId: string, include?: Prisma.EntryInclude): Promise<Entry | null>;
|
|
889
|
-
/**
|
|
890
|
-
* Finds multiple entries with optional filters
|
|
891
|
-
*/
|
|
892
|
-
declare function findEntries(options?: FindEntriesOptions): Promise<Entry[]>;
|
|
893
|
-
/**
|
|
894
|
-
* Gets all entries for a specific match
|
|
895
|
-
*/
|
|
896
|
-
declare function getMatchEntries(matchId: string, options?: Omit<FindEntriesOptions, 'where'>): Promise<Entry[]>;
|
|
897
|
-
/**
|
|
898
|
-
* Gets all entries for a specific player
|
|
899
|
-
*/
|
|
900
|
-
declare function getPlayerEntries(playerId: string, options?: Omit<FindEntriesOptions, 'where'>): Promise<Entry[]>;
|
|
901
|
-
/**
|
|
902
|
-
* Gets player entries in a tournament
|
|
903
|
-
*/
|
|
904
|
-
declare function getPlayerTournamentEntries(playerId: string, tournamentId: string, include?: Prisma.EntryInclude): Promise<Entry[]>;
|
|
905
|
-
/**
|
|
906
|
-
* Updates an entry
|
|
907
|
-
*/
|
|
908
|
-
declare function updateEntry(id: string, data: UpdateEntryInput): Promise<Entry>;
|
|
909
|
-
/**
|
|
910
|
-
* Deletes an entry
|
|
911
|
-
*/
|
|
912
|
-
declare function deleteEntry(id: string): Promise<Entry>;
|
|
913
|
-
/**
|
|
914
|
-
* Deletes all entries for a match
|
|
915
|
-
*/
|
|
916
|
-
declare function deleteEntriesByMatch(matchId: string): Promise<Prisma.BatchPayload>;
|
|
917
|
-
/**
|
|
918
|
-
* Counts total entries
|
|
919
|
-
*/
|
|
920
|
-
declare function countEntries(where?: Prisma.EntryWhereInput): Promise<number>;
|
|
921
|
-
/**
|
|
922
|
-
* Gets player statistics from entries
|
|
923
|
-
*/
|
|
924
|
-
declare function getPlayerEntryStats(playerId: string): Promise<{
|
|
925
|
-
totalMatches: number;
|
|
926
|
-
wins: number;
|
|
927
|
-
losses: number;
|
|
928
|
-
ties: number;
|
|
929
|
-
winRate: number;
|
|
930
|
-
} | null>;
|
|
931
|
-
|
|
932
543
|
/**
|
|
933
544
|
* Merged standing with calculated position for points
|
|
934
545
|
*/
|
|
@@ -1622,4 +1233,4 @@ interface ConnectionStatus {
|
|
|
1622
1233
|
error?: string;
|
|
1623
1234
|
}
|
|
1624
1235
|
|
|
1625
|
-
export { type ApiKeyInfo, type ApiKeyWithUser, type BlogPostWithRelations, type ConnectionStatus, type CreateApiKeyInput, type CreateBlogPostInput, type CreateBlogTagInput, type
|
|
1236
|
+
export { type ApiKeyInfo, type ApiKeyWithUser, type BlogPostWithRelations, type ConnectionStatus, type CreateApiKeyInput, type CreateBlogPostInput, type CreateBlogTagInput, type CreateLocationInput, type CreateOpprPlayerRankingInput, type CreateOpprRankingHistoryInput, type CreatePlayerInput, type CreateStandingInput, type CreateTournamentInput, type CreateUserInput, type FindBlogPostsOptions, type FindBlogTagsOptions, type FindLocationsOptions, type FindOpprPlayerRankingsOptions, type FindPlayersOptions, type FindStandingsOptions, type FindTournamentsOptions, MAX_API_KEYS_PER_USER, type MergedStanding, type PlayerStatistics, type PlayerWithResults, type StandingWithTournament, type TournamentStatistics, type UpdateBlogPostInput, type UpdateBlogTagInput, type UpdateLocationInput, type UpdateOpprPlayerRankingInput, type UpdatePlayerInput, type UpdateStandingInput, type UpdateTournamentInput, type UpdateUserInput, type UserWithPlayer, applyRDDecayForInactivePlayers, connect, countBlogPosts, countBlogTags, countLocations, countOpprPlayerRankings, countOpprRankingHistory, countPlayers, countPublishedBlogPosts, countStandings, countTournaments, countUserApiKeys, countUsers, createApiKey, createBlogPost, createBlogTag, createLocation, createManyStandings, createOpprPlayerRanking, createOpprRankingHistory, createPlayer, createStanding, createTournament, createUser, createUserWithPlayer, deleteApiKey, deleteBlogPost, deleteBlogTag, deleteLocation, deleteOpprPlayerRanking, deletePlayer, deleteStanding, deleteStandingsByTournament, deleteTournament, deleteUser, deleteUserApiKey, disconnect, findApiKeyById, findApiKeysByPrefix, findBlogPostById, findBlogPostBySlug, findBlogPosts, findBlogTagById, findBlogTagBySlug, findBlogTags, findLocationByExternalId, findLocationById, findLocations, findOpprPlayerRankingById, findOpprPlayerRankingByPlayerId, findOpprPlayerRankings, findPlayerByExternalId, findPlayerById, findPlayerByPlayerNumber, findPlayerByUserEmail, findPlayers, findPublishedBlogPosts, findStandingById, findStandingByPlayerAndTournament, findStandings, findTournamentByExternalId, findTournamentById, findTournaments, findUserByEmail, findUserById, findUsers, generateUniquePlayerNumber, getBlogTagWithPostCount, getBlogTagsWithPostCounts, getFinalsStandings, getLatestOpprRankingHistory, getLocationWithTournaments, getMajorTournaments, getMergedStandings, getOpprRankingHistory, getOpprRankingHistoryByDateRange, getOrCreateOpprPlayerRanking, getPlayerStandings, getPlayerStats, getPlayerTopFinishes, getPlayerWithResults, getQualifyingStandings, getRatedOpprPlayers, getRecentTournaments, getTopPlayersByOpprRanking, getTopPlayersByOpprRating, getTournamentStandings, getTournamentStats, getTournamentWithResults, getTournamentsByBoosterType, getTournamentsByDateRange, getUserApiKeys, getUserByEmailWithPlayer, getUserWithPlayer, isValidPlayerNumber, linkPlayerToUser, prisma, recalculateTimeDecay, searchBlogPosts, searchBlogTags, searchLocations, searchPlayers, searchTournaments, testConnection, updateApiKeyLastUsed, updateBlogPost, updateBlogTag, updateLocation, updateOpprPlayerRanking, updateOpprRatingAfterTournament, updatePlayer, updateStanding, updateStandingPoints, updateTournament, updateUser, updateUserRefreshToken, updateWorldRankings };
|