Skip to content

Commit db973ed

Browse files
authored
feature: tournament bracket options (#87)
1 parent 2adf2eb commit db973ed

11 files changed

Lines changed: 312 additions & 27 deletions

File tree

generated/schema.graphql

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13198,6 +13198,12 @@ type match_options {
1319813198

1319913199
"""An object relationship"""
1320013200
tournament: tournaments
13201+
13202+
"""An object relationship"""
13203+
tournament_bracket: tournament_brackets
13204+
13205+
"""An object relationship"""
13206+
tournament_stage: tournament_stages
1320113207
tv_delay: Int!
1320213208
type: e_match_types_enum!
1320313209
}
@@ -13266,6 +13272,8 @@ input match_options_bool_exp {
1326613272
tech_timeout_setting: e_timeout_settings_enum_comparison_exp
1326713273
timeout_setting: e_timeout_settings_enum_comparison_exp
1326813274
tournament: tournaments_bool_exp
13275+
tournament_bracket: tournament_brackets_bool_exp
13276+
tournament_stage: tournament_stages_bool_exp
1326913277
tv_delay: Int_comparison_exp
1327013278
type: e_match_types_enum_comparison_exp
1327113279
}
@@ -13316,6 +13324,8 @@ input match_options_insert_input {
1331613324
tech_timeout_setting: e_timeout_settings_enum
1331713325
timeout_setting: e_timeout_settings_enum
1331813326
tournament: tournaments_obj_rel_insert_input
13327+
tournament_bracket: tournament_brackets_obj_rel_insert_input
13328+
tournament_stage: tournament_stages_obj_rel_insert_input
1331913329
tv_delay: Int
1332013330
type: e_match_types_enum
1332113331
}
@@ -13399,6 +13409,8 @@ input match_options_order_by {
1339913409
tech_timeout_setting: order_by
1340013410
timeout_setting: order_by
1340113411
tournament: tournaments_order_by
13412+
tournament_bracket: tournament_brackets_order_by
13413+
tournament_stage: tournament_stages_order_by
1340213414
tv_delay: order_by
1340313415
type: order_by
1340413416
}
@@ -40305,6 +40317,10 @@ type tournament_brackets {
4030540317
match: matches
4030640318
match_id: uuid
4030740319
match_number: Int
40320+
match_options_id: uuid
40321+
40322+
"""An object relationship"""
40323+
options: match_options
4030840324

4030940325
"""An object relationship"""
4031040326
parent_bracket: tournament_brackets
@@ -40444,6 +40460,8 @@ input tournament_brackets_bool_exp {
4044440460
match: matches_bool_exp
4044540461
match_id: uuid_comparison_exp
4044640462
match_number: Int_comparison_exp
40463+
match_options_id: uuid_comparison_exp
40464+
options: match_options_bool_exp
4044740465
parent_bracket: tournament_brackets_bool_exp
4044840466
parent_bracket_id: uuid_comparison_exp
4044940467
path: String_comparison_exp
@@ -40499,6 +40517,8 @@ input tournament_brackets_insert_input {
4049940517
match: matches_obj_rel_insert_input
4050040518
match_id: uuid
4050140519
match_number: Int
40520+
match_options_id: uuid
40521+
options: match_options_obj_rel_insert_input
4050240522
parent_bracket: tournament_brackets_obj_rel_insert_input
4050340523
parent_bracket_id: uuid
4050440524
path: String
@@ -40522,6 +40542,7 @@ type tournament_brackets_max_fields {
4052240542
loser_parent_bracket_id: uuid
4052340543
match_id: uuid
4052440544
match_number: Int
40545+
match_options_id: uuid
4052540546
parent_bracket_id: uuid
4052640547
path: String
4052740548
round: Int
@@ -40543,6 +40564,7 @@ input tournament_brackets_max_order_by {
4054340564
loser_parent_bracket_id: order_by
4054440565
match_id: order_by
4054540566
match_number: order_by
40567+
match_options_id: order_by
4054640568
parent_bracket_id: order_by
4054740569
path: order_by
4054840570
round: order_by
@@ -40562,6 +40584,7 @@ type tournament_brackets_min_fields {
4056240584
loser_parent_bracket_id: uuid
4056340585
match_id: uuid
4056440586
match_number: Int
40587+
match_options_id: uuid
4056540588
parent_bracket_id: uuid
4056640589
path: String
4056740590
round: Int
@@ -40583,6 +40606,7 @@ input tournament_brackets_min_order_by {
4058340606
loser_parent_bracket_id: order_by
4058440607
match_id: order_by
4058540608
match_number: order_by
40609+
match_options_id: order_by
4058640610
parent_bracket_id: order_by
4058740611
path: order_by
4058840612
round: order_by
@@ -40636,6 +40660,8 @@ input tournament_brackets_order_by {
4063640660
match: matches_order_by
4063740661
match_id: order_by
4063840662
match_number: order_by
40663+
match_options_id: order_by
40664+
options: match_options_order_by
4063940665
parent_bracket: tournament_brackets_order_by
4064040666
parent_bracket_id: order_by
4064140667
path: order_by
@@ -40684,6 +40710,9 @@ enum tournament_brackets_select_column {
4068440710
"""column name"""
4068540711
match_number
4068640712

40713+
"""column name"""
40714+
match_options_id
40715+
4068740716
"""column name"""
4068840717
parent_bracket_id
4068940718

@@ -40746,6 +40775,7 @@ input tournament_brackets_set_input {
4074640775
loser_parent_bracket_id: uuid
4074740776
match_id: uuid
4074840777
match_number: Int
40778+
match_options_id: uuid
4074940779
parent_bracket_id: uuid
4075040780
path: String
4075140781
round: Int
@@ -40838,6 +40868,7 @@ input tournament_brackets_stream_cursor_value_input {
4083840868
loser_parent_bracket_id: uuid
4083940869
match_id: uuid
4084040870
match_number: Int
40871+
match_options_id: uuid
4084140872
parent_bracket_id: uuid
4084240873
path: String
4084340874
round: Int
@@ -40897,6 +40928,9 @@ enum tournament_brackets_update_column {
4089740928
"""column name"""
4089840929
match_number
4089940930

40931+
"""column name"""
40932+
match_options_id
40933+
4090040934
"""column name"""
4090140935
parent_bracket_id
4090240936

@@ -41372,8 +41406,12 @@ type tournament_stages {
4137241406
e_tournament_stage_type: e_tournament_stage_types!
4137341407
groups: Int
4137441408
id: uuid!
41409+
match_options_id: uuid
4137541410
max_teams: Int!
4137641411
min_teams: Int!
41412+
41413+
"""An object relationship"""
41414+
options: match_options
4137741415
order: Int!
4137841416

4137941417
"""An array relationship"""
@@ -41520,8 +41558,10 @@ input tournament_stages_bool_exp {
4152041558
e_tournament_stage_type: e_tournament_stage_types_bool_exp
4152141559
groups: Int_comparison_exp
4152241560
id: uuid_comparison_exp
41561+
match_options_id: uuid_comparison_exp
4152341562
max_teams: Int_comparison_exp
4152441563
min_teams: Int_comparison_exp
41564+
options: match_options_bool_exp
4152541565
order: Int_comparison_exp
4152641566
results: v_team_stage_results_bool_exp
4152741567
results_aggregate: v_team_stage_results_aggregate_bool_exp
@@ -41580,8 +41620,10 @@ input tournament_stages_insert_input {
4158041620
e_tournament_stage_type: e_tournament_stage_types_obj_rel_insert_input
4158141621
groups: Int
4158241622
id: uuid
41623+
match_options_id: uuid
4158341624
max_teams: Int
4158441625
min_teams: Int
41626+
options: match_options_obj_rel_insert_input
4158541627
order: Int
4158641628
results: v_team_stage_results_arr_rel_insert_input
4158741629
settings: jsonb
@@ -41594,6 +41636,7 @@ input tournament_stages_insert_input {
4159441636
type tournament_stages_max_fields {
4159541637
groups: Int
4159641638
id: uuid
41639+
match_options_id: uuid
4159741640
max_teams: Int
4159841641
min_teams: Int
4159941642
order: Int
@@ -41606,6 +41649,7 @@ order by max() on columns of table "tournament_stages"
4160641649
input tournament_stages_max_order_by {
4160741650
groups: order_by
4160841651
id: order_by
41652+
match_options_id: order_by
4160941653
max_teams: order_by
4161041654
min_teams: order_by
4161141655
order: order_by
@@ -41616,6 +41660,7 @@ input tournament_stages_max_order_by {
4161641660
type tournament_stages_min_fields {
4161741661
groups: Int
4161841662
id: uuid
41663+
match_options_id: uuid
4161941664
max_teams: Int
4162041665
min_teams: Int
4162141666
order: Int
@@ -41628,6 +41673,7 @@ order by min() on columns of table "tournament_stages"
4162841673
input tournament_stages_min_order_by {
4162941674
groups: order_by
4163041675
id: order_by
41676+
match_options_id: order_by
4163141677
max_teams: order_by
4163241678
min_teams: order_by
4163341679
order: order_by
@@ -41670,8 +41716,10 @@ input tournament_stages_order_by {
4167041716
e_tournament_stage_type: e_tournament_stage_types_order_by
4167141717
groups: order_by
4167241718
id: order_by
41719+
match_options_id: order_by
4167341720
max_teams: order_by
4167441721
min_teams: order_by
41722+
options: match_options_order_by
4167541723
order: order_by
4167641724
results_aggregate: v_team_stage_results_aggregate_order_by
4167741725
settings: order_by
@@ -41700,6 +41748,9 @@ enum tournament_stages_select_column {
4170041748
"""column name"""
4170141749
id
4170241750

41751+
"""column name"""
41752+
match_options_id
41753+
4170341754
"""column name"""
4170441755
max_teams
4170541756

@@ -41725,6 +41776,7 @@ input type for updating data in table "tournament_stages"
4172541776
input tournament_stages_set_input {
4172641777
groups: Int
4172741778
id: uuid
41779+
match_options_id: uuid
4172841780
max_teams: Int
4172941781
min_teams: Int
4173041782
order: Int
@@ -41802,6 +41854,7 @@ input tournament_stages_stream_cursor_input {
4180241854
input tournament_stages_stream_cursor_value_input {
4180341855
groups: Int
4180441856
id: uuid
41857+
match_options_id: uuid
4180541858
max_teams: Int
4180641859
min_teams: Int
4180741860
order: Int
@@ -41838,6 +41891,9 @@ enum tournament_stages_update_column {
4183841891
"""column name"""
4183941892
id
4184041893

41894+
"""column name"""
41895+
match_options_id
41896+
4184141897
"""column name"""
4184241898
max_teams
4184341899

@@ -42952,6 +43008,11 @@ enum tournament_teams_constraint {
4295243008
"""
4295343009
tournament_teams_tournament_id_name_key
4295443010

43011+
"""
43012+
unique or primary key constraint on columns "tournament_id", "seed"
43013+
"""
43014+
tournament_teams_tournament_id_seed_key
43015+
4295543016
"""
4295643017
unique or primary key constraint on columns "tournament_id", "team_id"
4295743018
"""

0 commit comments

Comments
 (0)