Skip to content

Commit

Permalink
feat: ✨ surface usePublishState param to matchUp queries
Browse files Browse the repository at this point in the history
  • Loading branch information
richardmillen94 committed Aug 6, 2024
1 parent c0a89f5 commit 8450cf3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/query/matchUps/getAllCompetitionMatchUps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function allCompetitionMatchUps({
participantsProfile,
tournamentRecords,
policyDefinitions,
usePublishState,
matchUpFilters,
contextFilters,
nextMatchUps,
Expand All @@ -53,6 +54,7 @@ export function allCompetitionMatchUps({
participantsProfile,
policyDefinitions,
tournamentRecord,
usePublishState,
matchUpFilters,
contextFilters,
nextMatchUps,
Expand Down
2 changes: 2 additions & 0 deletions src/query/matchUps/getAllEventMatchUps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export function allEventMatchUps(params: GetMatchUpsArgs) {
policyDefinitions,
useParticipantMap,
tournamentRecord,
usePublishState,
contextFilters,
contextProfile,
matchUpFilters,
Expand Down Expand Up @@ -87,6 +88,7 @@ export function allEventMatchUps(params: GetMatchUpsArgs) {
afterRecoveryTimes,
policyDefinitions,
tournamentRecord,
usePublishState,
contextFilters,
contextProfile,
drawDefinition,
Expand Down
2 changes: 2 additions & 0 deletions src/query/matchUps/getAllTournamentMatchUps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export function allTournamentMatchUps(params?: GetMatchUpsArgs): ResultType & {
policyDefinitions,
tournamentRecord,
inContext = true,
usePublishState,
contextProfile,
matchUpFilters,
contextFilters,
Expand Down Expand Up @@ -77,6 +78,7 @@ export function allTournamentMatchUps(params?: GetMatchUpsArgs): ResultType & {
afterRecoveryTimes,
policyDefinitions,
tournamentRecord,
usePublishState,
contextContent,
contextFilters,
contextProfile,
Expand Down

0 comments on commit 8450cf3

Please sign in to comment.