Skip to content

Commit 79d39ab

Browse files
committed
feature: add more stats to the player collections for bans , mutes, gagged and sanctions
1 parent 7c938af commit 79d39ab

4 files changed

Lines changed: 4365 additions & 3838 deletions

File tree

generated/schema.graphql

Lines changed: 167 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13129,7 +13129,7 @@ type match_options {
1312913129
best_of: Int!
1313013130
check_in_setting: e_check_in_settings_enum!
1313113131
coaches: Boolean!
13132-
default_models: Boolean!
13132+
default_models: Boolean
1313313133

1313413134
"""
1313513135
A computed field, executes function "has_active_matches"
@@ -25854,6 +25854,17 @@ type player_sanctions_aggregate {
2585425854
nodes: [player_sanctions!]!
2585525855
}
2585625856

25857+
input player_sanctions_aggregate_bool_exp {
25858+
count: player_sanctions_aggregate_bool_exp_count
25859+
}
25860+
25861+
input player_sanctions_aggregate_bool_exp_count {
25862+
arguments: [player_sanctions_select_column!]
25863+
distinct: Boolean
25864+
filter: player_sanctions_bool_exp
25865+
predicate: Int_comparison_exp!
25866+
}
25867+
2585725868
"""
2585825869
aggregate fields of "player_sanctions"
2585925870
"""
@@ -25871,12 +25882,47 @@ type player_sanctions_aggregate_fields {
2587125882
variance: player_sanctions_variance_fields
2587225883
}
2587325884

25885+
"""
25886+
order by aggregate values of table "player_sanctions"
25887+
"""
25888+
input player_sanctions_aggregate_order_by {
25889+
avg: player_sanctions_avg_order_by
25890+
count: order_by
25891+
max: player_sanctions_max_order_by
25892+
min: player_sanctions_min_order_by
25893+
stddev: player_sanctions_stddev_order_by
25894+
stddev_pop: player_sanctions_stddev_pop_order_by
25895+
stddev_samp: player_sanctions_stddev_samp_order_by
25896+
sum: player_sanctions_sum_order_by
25897+
var_pop: player_sanctions_var_pop_order_by
25898+
var_samp: player_sanctions_var_samp_order_by
25899+
variance: player_sanctions_variance_order_by
25900+
}
25901+
25902+
"""
25903+
input type for inserting array relation for remote table "player_sanctions"
25904+
"""
25905+
input player_sanctions_arr_rel_insert_input {
25906+
data: [player_sanctions_insert_input!]!
25907+
25908+
"""upsert condition"""
25909+
on_conflict: player_sanctions_on_conflict
25910+
}
25911+
2587425912
"""aggregate avg on columns"""
2587525913
type player_sanctions_avg_fields {
2587625914
player_steam_id: Float
2587725915
sanctioned_by_steam_id: Float
2587825916
}
2587925917

25918+
"""
25919+
order by avg() on columns of table "player_sanctions"
25920+
"""
25921+
input player_sanctions_avg_order_by {
25922+
player_steam_id: order_by
25923+
sanctioned_by_steam_id: order_by
25924+
}
25925+
2588025926
"""
2588125927
Boolean expression to filter rows from the table "player_sanctions". All fields are combined with a logical 'AND'.
2588225928
"""
@@ -25940,6 +25986,18 @@ type player_sanctions_max_fields {
2594025986
sanctioned_by_steam_id: bigint
2594125987
}
2594225988

25989+
"""
25990+
order by max() on columns of table "player_sanctions"
25991+
"""
25992+
input player_sanctions_max_order_by {
25993+
created_at: order_by
25994+
id: order_by
25995+
player_steam_id: order_by
25996+
reason: order_by
25997+
remove_sanction_date: order_by
25998+
sanctioned_by_steam_id: order_by
25999+
}
26000+
2594326001
"""aggregate min on columns"""
2594426002
type player_sanctions_min_fields {
2594526003
created_at: timestamptz
@@ -25950,6 +26008,18 @@ type player_sanctions_min_fields {
2595026008
sanctioned_by_steam_id: bigint
2595126009
}
2595226010

26011+
"""
26012+
order by min() on columns of table "player_sanctions"
26013+
"""
26014+
input player_sanctions_min_order_by {
26015+
created_at: order_by
26016+
id: order_by
26017+
player_steam_id: order_by
26018+
reason: order_by
26019+
remove_sanction_date: order_by
26020+
sanctioned_by_steam_id: order_by
26021+
}
26022+
2595326023
"""
2595426024
response of any mutation on the table "player_sanctions"
2595526025
"""
@@ -26035,18 +26105,42 @@ type player_sanctions_stddev_fields {
2603526105
sanctioned_by_steam_id: Float
2603626106
}
2603726107

26108+
"""
26109+
order by stddev() on columns of table "player_sanctions"
26110+
"""
26111+
input player_sanctions_stddev_order_by {
26112+
player_steam_id: order_by
26113+
sanctioned_by_steam_id: order_by
26114+
}
26115+
2603826116
"""aggregate stddev_pop on columns"""
2603926117
type player_sanctions_stddev_pop_fields {
2604026118
player_steam_id: Float
2604126119
sanctioned_by_steam_id: Float
2604226120
}
2604326121

26122+
"""
26123+
order by stddev_pop() on columns of table "player_sanctions"
26124+
"""
26125+
input player_sanctions_stddev_pop_order_by {
26126+
player_steam_id: order_by
26127+
sanctioned_by_steam_id: order_by
26128+
}
26129+
2604426130
"""aggregate stddev_samp on columns"""
2604526131
type player_sanctions_stddev_samp_fields {
2604626132
player_steam_id: Float
2604726133
sanctioned_by_steam_id: Float
2604826134
}
2604926135

26136+
"""
26137+
order by stddev_samp() on columns of table "player_sanctions"
26138+
"""
26139+
input player_sanctions_stddev_samp_order_by {
26140+
player_steam_id: order_by
26141+
sanctioned_by_steam_id: order_by
26142+
}
26143+
2605026144
"""
2605126145
Streaming cursor of the table "player_sanctions"
2605226146
"""
@@ -26075,6 +26169,14 @@ type player_sanctions_sum_fields {
2607526169
sanctioned_by_steam_id: bigint
2607626170
}
2607726171

26172+
"""
26173+
order by sum() on columns of table "player_sanctions"
26174+
"""
26175+
input player_sanctions_sum_order_by {
26176+
player_steam_id: order_by
26177+
sanctioned_by_steam_id: order_by
26178+
}
26179+
2607826180
"""
2607926181
update columns of table "player_sanctions"
2608026182
"""
@@ -26118,18 +26220,42 @@ type player_sanctions_var_pop_fields {
2611826220
sanctioned_by_steam_id: Float
2611926221
}
2612026222

26223+
"""
26224+
order by var_pop() on columns of table "player_sanctions"
26225+
"""
26226+
input player_sanctions_var_pop_order_by {
26227+
player_steam_id: order_by
26228+
sanctioned_by_steam_id: order_by
26229+
}
26230+
2612126231
"""aggregate var_samp on columns"""
2612226232
type player_sanctions_var_samp_fields {
2612326233
player_steam_id: Float
2612426234
sanctioned_by_steam_id: Float
2612526235
}
2612626236

26237+
"""
26238+
order by var_samp() on columns of table "player_sanctions"
26239+
"""
26240+
input player_sanctions_var_samp_order_by {
26241+
player_steam_id: order_by
26242+
sanctioned_by_steam_id: order_by
26243+
}
26244+
2612726245
"""aggregate variance on columns"""
2612826246
type player_sanctions_variance_fields {
2612926247
player_steam_id: Float
2613026248
sanctioned_by_steam_id: Float
2613126249
}
2613226250

26251+
"""
26252+
order by variance() on columns of table "player_sanctions"
26253+
"""
26254+
input player_sanctions_variance_order_by {
26255+
player_steam_id: order_by
26256+
sanctioned_by_steam_id: order_by
26257+
}
26258+
2613326259
"""
2613426260
columns and relationships of "player_unused_utility"
2613526261
"""
@@ -27814,6 +27940,42 @@ type players {
2781427940
): player_unused_utility_aggregate!
2781527941
profile_url: String
2781627942
role: e_player_roles_enum!
27943+
27944+
"""An array relationship"""
27945+
sanctions(
27946+
"""distinct select on columns"""
27947+
distinct_on: [player_sanctions_select_column!]
27948+
27949+
"""limit the number of rows returned"""
27950+
limit: Int
27951+
27952+
"""skip the first n rows. Use only with order_by"""
27953+
offset: Int
27954+
27955+
"""sort the rows by one or more columns"""
27956+
order_by: [player_sanctions_order_by!]
27957+
27958+
"""filter the rows returned"""
27959+
where: player_sanctions_bool_exp
27960+
): [player_sanctions!]!
27961+
27962+
"""An aggregate relationship"""
27963+
sanctions_aggregate(
27964+
"""distinct select on columns"""
27965+
distinct_on: [player_sanctions_select_column!]
27966+
27967+
"""limit the number of rows returned"""
27968+
limit: Int
27969+
27970+
"""skip the first n rows. Use only with order_by"""
27971+
offset: Int
27972+
27973+
"""sort the rows by one or more columns"""
27974+
order_by: [player_sanctions_order_by!]
27975+
27976+
"""filter the rows returned"""
27977+
where: player_sanctions_bool_exp
27978+
): player_sanctions_aggregate!
2781727979
steam_id: bigint!
2781827980

2781927981
"""An array relationship"""
@@ -28179,6 +28341,8 @@ input players_bool_exp {
2817928341
player_unused_utilities_aggregate: player_unused_utility_aggregate_bool_exp
2818028342
profile_url: String_comparison_exp
2818128343
role: e_player_roles_enum_comparison_exp
28344+
sanctions: player_sanctions_bool_exp
28345+
sanctions_aggregate: player_sanctions_aggregate_bool_exp
2818228346
steam_id: bigint_comparison_exp
2818328347
team_invites: team_invites_bool_exp
2818428348
team_invites_aggregate: team_invites_aggregate_bool_exp
@@ -28258,6 +28422,7 @@ input players_insert_input {
2825828422
player_unused_utilities: player_unused_utility_arr_rel_insert_input
2825928423
profile_url: String
2826028424
role: e_player_roles_enum
28425+
sanctions: player_sanctions_arr_rel_insert_input
2826128426
steam_id: bigint
2826228427
team_invites: team_invites_arr_rel_insert_input
2826328428
team_members: team_roster_arr_rel_insert_input
@@ -28425,6 +28590,7 @@ input players_order_by {
2842528590
player_unused_utilities_aggregate: player_unused_utility_aggregate_order_by
2842628591
profile_url: order_by
2842728592
role: order_by
28593+
sanctions_aggregate: player_sanctions_aggregate_order_by
2842828594
steam_id: order_by
2842928595
team_invites_aggregate: team_invites_aggregate_order_by
2843028596
team_members_aggregate: team_roster_aggregate_order_by

0 commit comments

Comments
 (0)