Skip to content

Commit 58feca9

Browse files
committed
chore: rename to default models
1 parent 120a061 commit 58feca9

8 files changed

Lines changed: 34 additions & 34 deletions

File tree

generated/schema.graphql

Lines changed: 8 additions & 8 deletions
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_skins: Boolean!
13132+
default_models: Boolean!
1313313133

1313413134
"""
1313513135
A computed field, executes function "has_active_matches"
@@ -13239,7 +13239,7 @@ input match_options_bool_exp {
1323913239
best_of: Int_comparison_exp
1324013240
check_in_setting: e_check_in_settings_enum_comparison_exp
1324113241
coaches: Boolean_comparison_exp
13242-
default_skins: Boolean_comparison_exp
13242+
default_models: Boolean_comparison_exp
1324313243
has_active_matches: Boolean_comparison_exp
1324413244
id: uuid_comparison_exp
1324513245
invite_code: String_comparison_exp
@@ -13291,7 +13291,7 @@ input match_options_insert_input {
1329113291
best_of: Int
1329213292
check_in_setting: e_check_in_settings_enum
1329313293
coaches: Boolean
13294-
default_skins: Boolean
13294+
default_models: Boolean
1329513295
id: uuid
1329613296
invite_code: String
1329713297
knife_round: Boolean
@@ -13373,7 +13373,7 @@ input match_options_order_by {
1337313373
best_of: order_by
1337413374
check_in_setting: order_by
1337513375
coaches: order_by
13376-
default_skins: order_by
13376+
default_models: order_by
1337713377
has_active_matches: order_by
1337813378
id: order_by
1337913379
invite_code: order_by
@@ -13416,7 +13416,7 @@ enum match_options_select_column {
1341613416
coaches
1341713417

1341813418
"""column name"""
13419-
default_skins
13419+
default_models
1342013420

1342113421
"""column name"""
1342213422
id
@@ -13477,7 +13477,7 @@ input match_options_set_input {
1347713477
best_of: Int
1347813478
check_in_setting: e_check_in_settings_enum
1347913479
coaches: Boolean
13480-
default_skins: Boolean
13480+
default_models: Boolean
1348113481
id: uuid
1348213482
invite_code: String
1348313483
knife_round: Boolean
@@ -13537,7 +13537,7 @@ input match_options_stream_cursor_value_input {
1353713537
best_of: Int
1353813538
check_in_setting: e_check_in_settings_enum
1353913539
coaches: Boolean
13540-
default_skins: Boolean
13540+
default_models: Boolean
1354113541
id: uuid
1354213542
invite_code: String
1354313543
knife_round: Boolean
@@ -13579,7 +13579,7 @@ enum match_options_update_column {
1357913579
coaches
1358013580

1358113581
"""column name"""
13582-
default_skins
13582+
default_models
1358313583

1358413584
"""column name"""
1358513585
id

generated/schema.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4383,7 +4383,7 @@ export interface match_options {
43834383
best_of: Scalars['Int']
43844384
check_in_setting: e_check_in_settings_enum
43854385
coaches: Scalars['Boolean']
4386-
default_skins: Scalars['Boolean']
4386+
default_models: Scalars['Boolean']
43874387
/** A computed field, executes function "has_active_matches" */
43884388
has_active_matches: (Scalars['Boolean'] | null)
43894389
id: Scalars['uuid']
@@ -4493,7 +4493,7 @@ export interface match_options_mutation_response {
44934493

44944494

44954495
/** select columns of table "match_options" */
4496-
export type match_options_select_column = 'best_of' | 'check_in_setting' | 'coaches' | 'default_skins' | 'id' | 'invite_code' | 'knife_round' | 'lobby_access' | 'map_pool_id' | 'map_veto' | 'mr' | 'number_of_substitutes' | 'overtime' | 'prefer_dedicated_server' | 'ready_setting' | 'region_veto' | 'regions' | 'tech_timeout_setting' | 'timeout_setting' | 'tv_delay' | 'type'
4496+
export type match_options_select_column = 'best_of' | 'check_in_setting' | 'coaches' | 'default_models' | 'id' | 'invite_code' | 'knife_round' | 'lobby_access' | 'map_pool_id' | 'map_veto' | 'mr' | 'number_of_substitutes' | 'overtime' | 'prefer_dedicated_server' | 'ready_setting' | 'region_veto' | 'regions' | 'tech_timeout_setting' | 'timeout_setting' | 'tv_delay' | 'type'
44974497

44984498

44994499
/** aggregate stddev on columns */
@@ -4537,7 +4537,7 @@ export interface match_options_sum_fields {
45374537

45384538

45394539
/** update columns of table "match_options" */
4540-
export type match_options_update_column = 'best_of' | 'check_in_setting' | 'coaches' | 'default_skins' | 'id' | 'invite_code' | 'knife_round' | 'lobby_access' | 'map_pool_id' | 'map_veto' | 'mr' | 'number_of_substitutes' | 'overtime' | 'prefer_dedicated_server' | 'ready_setting' | 'region_veto' | 'regions' | 'tech_timeout_setting' | 'timeout_setting' | 'tv_delay' | 'type'
4540+
export type match_options_update_column = 'best_of' | 'check_in_setting' | 'coaches' | 'default_models' | 'id' | 'invite_code' | 'knife_round' | 'lobby_access' | 'map_pool_id' | 'map_veto' | 'mr' | 'number_of_substitutes' | 'overtime' | 'prefer_dedicated_server' | 'ready_setting' | 'region_veto' | 'regions' | 'tech_timeout_setting' | 'timeout_setting' | 'tv_delay' | 'type'
45414541

45424542

45434543
/** aggregate var_pop on columns */
@@ -20886,7 +20886,7 @@ export interface match_optionsGenqlSelection{
2088620886
best_of?: boolean | number
2088720887
check_in_setting?: boolean | number
2088820888
coaches?: boolean | number
20889-
default_skins?: boolean | number
20889+
default_models?: boolean | number
2089020890
/** A computed field, executes function "has_active_matches" */
2089120891
has_active_matches?: boolean | number
2089220892
id?: boolean | number
@@ -20978,15 +20978,15 @@ export interface match_options_avg_fieldsGenqlSelection{
2097820978

2097920979

2098020980
/** Boolean expression to filter rows from the table "match_options". All fields are combined with a logical 'AND'. */
20981-
export interface match_options_bool_exp {_and?: (match_options_bool_exp[] | null),_not?: (match_options_bool_exp | null),_or?: (match_options_bool_exp[] | null),best_of?: (Int_comparison_exp | null),check_in_setting?: (e_check_in_settings_enum_comparison_exp | null),coaches?: (Boolean_comparison_exp | null),default_skins?: (Boolean_comparison_exp | null),has_active_matches?: (Boolean_comparison_exp | null),id?: (uuid_comparison_exp | null),invite_code?: (String_comparison_exp | null),knife_round?: (Boolean_comparison_exp | null),lobby_access?: (e_lobby_access_enum_comparison_exp | null),map_pool?: (map_pools_bool_exp | null),map_pool_id?: (uuid_comparison_exp | null),map_veto?: (Boolean_comparison_exp | null),matches?: (matches_bool_exp | null),matches_aggregate?: (matches_aggregate_bool_exp | null),mr?: (Int_comparison_exp | null),number_of_substitutes?: (Int_comparison_exp | null),overtime?: (Boolean_comparison_exp | null),prefer_dedicated_server?: (Boolean_comparison_exp | null),ready_setting?: (e_ready_settings_enum_comparison_exp | null),region_veto?: (Boolean_comparison_exp | null),regions?: (String_array_comparison_exp | null),tech_timeout_setting?: (e_timeout_settings_enum_comparison_exp | null),timeout_setting?: (e_timeout_settings_enum_comparison_exp | null),tournament?: (tournaments_bool_exp | null),tv_delay?: (Int_comparison_exp | null),type?: (e_match_types_enum_comparison_exp | null)}
20981+
export interface match_options_bool_exp {_and?: (match_options_bool_exp[] | null),_not?: (match_options_bool_exp | null),_or?: (match_options_bool_exp[] | null),best_of?: (Int_comparison_exp | null),check_in_setting?: (e_check_in_settings_enum_comparison_exp | null),coaches?: (Boolean_comparison_exp | null),default_models?: (Boolean_comparison_exp | null),has_active_matches?: (Boolean_comparison_exp | null),id?: (uuid_comparison_exp | null),invite_code?: (String_comparison_exp | null),knife_round?: (Boolean_comparison_exp | null),lobby_access?: (e_lobby_access_enum_comparison_exp | null),map_pool?: (map_pools_bool_exp | null),map_pool_id?: (uuid_comparison_exp | null),map_veto?: (Boolean_comparison_exp | null),matches?: (matches_bool_exp | null),matches_aggregate?: (matches_aggregate_bool_exp | null),mr?: (Int_comparison_exp | null),number_of_substitutes?: (Int_comparison_exp | null),overtime?: (Boolean_comparison_exp | null),prefer_dedicated_server?: (Boolean_comparison_exp | null),ready_setting?: (e_ready_settings_enum_comparison_exp | null),region_veto?: (Boolean_comparison_exp | null),regions?: (String_array_comparison_exp | null),tech_timeout_setting?: (e_timeout_settings_enum_comparison_exp | null),timeout_setting?: (e_timeout_settings_enum_comparison_exp | null),tournament?: (tournaments_bool_exp | null),tv_delay?: (Int_comparison_exp | null),type?: (e_match_types_enum_comparison_exp | null)}
2098220982

2098320983

2098420984
/** input type for incrementing numeric columns in table "match_options" */
2098520985
export interface match_options_inc_input {best_of?: (Scalars['Int'] | null),mr?: (Scalars['Int'] | null),number_of_substitutes?: (Scalars['Int'] | null),tv_delay?: (Scalars['Int'] | null)}
2098620986

2098720987

2098820988
/** input type for inserting data into table "match_options" */
20989-
export interface match_options_insert_input {best_of?: (Scalars['Int'] | null),check_in_setting?: (e_check_in_settings_enum | null),coaches?: (Scalars['Boolean'] | null),default_skins?: (Scalars['Boolean'] | null),id?: (Scalars['uuid'] | null),invite_code?: (Scalars['String'] | null),knife_round?: (Scalars['Boolean'] | null),lobby_access?: (e_lobby_access_enum | null),map_pool?: (map_pools_obj_rel_insert_input | null),map_pool_id?: (Scalars['uuid'] | null),map_veto?: (Scalars['Boolean'] | null),matches?: (matches_arr_rel_insert_input | null),mr?: (Scalars['Int'] | null),number_of_substitutes?: (Scalars['Int'] | null),overtime?: (Scalars['Boolean'] | null),prefer_dedicated_server?: (Scalars['Boolean'] | null),ready_setting?: (e_ready_settings_enum | null),region_veto?: (Scalars['Boolean'] | null),regions?: (Scalars['String'][] | null),tech_timeout_setting?: (e_timeout_settings_enum | null),timeout_setting?: (e_timeout_settings_enum | null),tournament?: (tournaments_obj_rel_insert_input | null),tv_delay?: (Scalars['Int'] | null),type?: (e_match_types_enum | null)}
20989+
export interface match_options_insert_input {best_of?: (Scalars['Int'] | null),check_in_setting?: (e_check_in_settings_enum | null),coaches?: (Scalars['Boolean'] | null),default_models?: (Scalars['Boolean'] | null),id?: (Scalars['uuid'] | null),invite_code?: (Scalars['String'] | null),knife_round?: (Scalars['Boolean'] | null),lobby_access?: (e_lobby_access_enum | null),map_pool?: (map_pools_obj_rel_insert_input | null),map_pool_id?: (Scalars['uuid'] | null),map_veto?: (Scalars['Boolean'] | null),matches?: (matches_arr_rel_insert_input | null),mr?: (Scalars['Int'] | null),number_of_substitutes?: (Scalars['Int'] | null),overtime?: (Scalars['Boolean'] | null),prefer_dedicated_server?: (Scalars['Boolean'] | null),ready_setting?: (e_ready_settings_enum | null),region_veto?: (Scalars['Boolean'] | null),regions?: (Scalars['String'][] | null),tech_timeout_setting?: (e_timeout_settings_enum | null),timeout_setting?: (e_timeout_settings_enum | null),tournament?: (tournaments_obj_rel_insert_input | null),tv_delay?: (Scalars['Int'] | null),type?: (e_match_types_enum | null)}
2099020990

2099120991

2099220992
/** aggregate max on columns */
@@ -21041,15 +21041,15 @@ export interface match_options_on_conflict {constraint: match_options_constraint
2104121041

2104221042

2104321043
/** Ordering options when selecting data from "match_options". */
21044-
export interface match_options_order_by {best_of?: (order_by | null),check_in_setting?: (order_by | null),coaches?: (order_by | null),default_skins?: (order_by | null),has_active_matches?: (order_by | null),id?: (order_by | null),invite_code?: (order_by | null),knife_round?: (order_by | null),lobby_access?: (order_by | null),map_pool?: (map_pools_order_by | null),map_pool_id?: (order_by | null),map_veto?: (order_by | null),matches_aggregate?: (matches_aggregate_order_by | null),mr?: (order_by | null),number_of_substitutes?: (order_by | null),overtime?: (order_by | null),prefer_dedicated_server?: (order_by | null),ready_setting?: (order_by | null),region_veto?: (order_by | null),regions?: (order_by | null),tech_timeout_setting?: (order_by | null),timeout_setting?: (order_by | null),tournament?: (tournaments_order_by | null),tv_delay?: (order_by | null),type?: (order_by | null)}
21044+
export interface match_options_order_by {best_of?: (order_by | null),check_in_setting?: (order_by | null),coaches?: (order_by | null),default_models?: (order_by | null),has_active_matches?: (order_by | null),id?: (order_by | null),invite_code?: (order_by | null),knife_round?: (order_by | null),lobby_access?: (order_by | null),map_pool?: (map_pools_order_by | null),map_pool_id?: (order_by | null),map_veto?: (order_by | null),matches_aggregate?: (matches_aggregate_order_by | null),mr?: (order_by | null),number_of_substitutes?: (order_by | null),overtime?: (order_by | null),prefer_dedicated_server?: (order_by | null),ready_setting?: (order_by | null),region_veto?: (order_by | null),regions?: (order_by | null),tech_timeout_setting?: (order_by | null),timeout_setting?: (order_by | null),tournament?: (tournaments_order_by | null),tv_delay?: (order_by | null),type?: (order_by | null)}
2104521045

2104621046

2104721047
/** primary key columns input for table: match_options */
2104821048
export interface match_options_pk_columns_input {id: Scalars['uuid']}
2104921049

2105021050

2105121051
/** input type for updating data in table "match_options" */
21052-
export interface match_options_set_input {best_of?: (Scalars['Int'] | null),check_in_setting?: (e_check_in_settings_enum | null),coaches?: (Scalars['Boolean'] | null),default_skins?: (Scalars['Boolean'] | null),id?: (Scalars['uuid'] | null),invite_code?: (Scalars['String'] | null),knife_round?: (Scalars['Boolean'] | null),lobby_access?: (e_lobby_access_enum | null),map_pool_id?: (Scalars['uuid'] | null),map_veto?: (Scalars['Boolean'] | null),mr?: (Scalars['Int'] | null),number_of_substitutes?: (Scalars['Int'] | null),overtime?: (Scalars['Boolean'] | null),prefer_dedicated_server?: (Scalars['Boolean'] | null),ready_setting?: (e_ready_settings_enum | null),region_veto?: (Scalars['Boolean'] | null),regions?: (Scalars['String'][] | null),tech_timeout_setting?: (e_timeout_settings_enum | null),timeout_setting?: (e_timeout_settings_enum | null),tv_delay?: (Scalars['Int'] | null),type?: (e_match_types_enum | null)}
21052+
export interface match_options_set_input {best_of?: (Scalars['Int'] | null),check_in_setting?: (e_check_in_settings_enum | null),coaches?: (Scalars['Boolean'] | null),default_models?: (Scalars['Boolean'] | null),id?: (Scalars['uuid'] | null),invite_code?: (Scalars['String'] | null),knife_round?: (Scalars['Boolean'] | null),lobby_access?: (e_lobby_access_enum | null),map_pool_id?: (Scalars['uuid'] | null),map_veto?: (Scalars['Boolean'] | null),mr?: (Scalars['Int'] | null),number_of_substitutes?: (Scalars['Int'] | null),overtime?: (Scalars['Boolean'] | null),prefer_dedicated_server?: (Scalars['Boolean'] | null),ready_setting?: (e_ready_settings_enum | null),region_veto?: (Scalars['Boolean'] | null),regions?: (Scalars['String'][] | null),tech_timeout_setting?: (e_timeout_settings_enum | null),timeout_setting?: (e_timeout_settings_enum | null),tv_delay?: (Scalars['Int'] | null),type?: (e_match_types_enum | null)}
2105321053

2105421054

2105521055
/** aggregate stddev on columns */
@@ -21094,7 +21094,7 @@ ordering?: (cursor_ordering | null)}
2109421094

2109521095

2109621096
/** Initial value of the column from where the streaming should start */
21097-
export interface match_options_stream_cursor_value_input {best_of?: (Scalars['Int'] | null),check_in_setting?: (e_check_in_settings_enum | null),coaches?: (Scalars['Boolean'] | null),default_skins?: (Scalars['Boolean'] | null),id?: (Scalars['uuid'] | null),invite_code?: (Scalars['String'] | null),knife_round?: (Scalars['Boolean'] | null),lobby_access?: (e_lobby_access_enum | null),map_pool_id?: (Scalars['uuid'] | null),map_veto?: (Scalars['Boolean'] | null),mr?: (Scalars['Int'] | null),number_of_substitutes?: (Scalars['Int'] | null),overtime?: (Scalars['Boolean'] | null),prefer_dedicated_server?: (Scalars['Boolean'] | null),ready_setting?: (e_ready_settings_enum | null),region_veto?: (Scalars['Boolean'] | null),regions?: (Scalars['String'][] | null),tech_timeout_setting?: (e_timeout_settings_enum | null),timeout_setting?: (e_timeout_settings_enum | null),tv_delay?: (Scalars['Int'] | null),type?: (e_match_types_enum | null)}
21097+
export interface match_options_stream_cursor_value_input {best_of?: (Scalars['Int'] | null),check_in_setting?: (e_check_in_settings_enum | null),coaches?: (Scalars['Boolean'] | null),default_models?: (Scalars['Boolean'] | null),id?: (Scalars['uuid'] | null),invite_code?: (Scalars['String'] | null),knife_round?: (Scalars['Boolean'] | null),lobby_access?: (e_lobby_access_enum | null),map_pool_id?: (Scalars['uuid'] | null),map_veto?: (Scalars['Boolean'] | null),mr?: (Scalars['Int'] | null),number_of_substitutes?: (Scalars['Int'] | null),overtime?: (Scalars['Boolean'] | null),prefer_dedicated_server?: (Scalars['Boolean'] | null),ready_setting?: (e_ready_settings_enum | null),region_veto?: (Scalars['Boolean'] | null),regions?: (Scalars['String'][] | null),tech_timeout_setting?: (e_timeout_settings_enum | null),timeout_setting?: (e_timeout_settings_enum | null),tv_delay?: (Scalars['Int'] | null),type?: (e_match_types_enum | null)}
2109821098

2109921099

2110021100
/** aggregate sum on columns */
@@ -47939,7 +47939,7 @@ export const enumMatchOptionsSelectColumn = {
4793947939
best_of: 'best_of' as const,
4794047940
check_in_setting: 'check_in_setting' as const,
4794147941
coaches: 'coaches' as const,
47942-
default_skins: 'default_skins' as const,
47942+
default_models: 'default_models' as const,
4794347943
id: 'id' as const,
4794447944
invite_code: 'invite_code' as const,
4794547945
knife_round: 'knife_round' as const,
@@ -47963,7 +47963,7 @@ export const enumMatchOptionsUpdateColumn = {
4796347963
best_of: 'best_of' as const,
4796447964
check_in_setting: 'check_in_setting' as const,
4796547965
coaches: 'coaches' as const,
47966-
default_skins: 'default_skins' as const,
47966+
default_models: 'default_models' as const,
4796747967
id: 'id' as const,
4796847968
invite_code: 'invite_code' as const,
4796947969
knife_round: 'knife_round' as const,

generated/types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18375,7 +18375,7 @@ export default {
1837518375
"coaches": [
1837618376
1
1837718377
],
18378-
"default_skins": [
18378+
"default_models": [
1837918379
1
1838018380
],
1838118381
"has_active_matches": [
@@ -18580,7 +18580,7 @@ export default {
1858018580
"coaches": [
1858118581
2
1858218582
],
18583-
"default_skins": [
18583+
"default_models": [
1858418584
2
1858518585
],
1858618586
"has_active_matches": [
@@ -18681,7 +18681,7 @@ export default {
1868118681
"coaches": [
1868218682
1
1868318683
],
18684-
"default_skins": [
18684+
"default_models": [
1868518685
1
1868618686
],
1868718687
"id": [
@@ -18852,7 +18852,7 @@ export default {
1885218852
"coaches": [
1885318853
1405
1885418854
],
18855-
"default_skins": [
18855+
"default_models": [
1885618856
1405
1885718857
],
1885818858
"has_active_matches": [
@@ -18941,7 +18941,7 @@ export default {
1894118941
"coaches": [
1894218942
1
1894318943
],
18944-
"default_skins": [
18944+
"default_models": [
1894518945
1
1894618946
],
1894718947
"id": [
@@ -19071,7 +19071,7 @@ export default {
1907119071
"coaches": [
1907219072
1
1907319073
],
19074-
"default_skins": [
19074+
"default_models": [
1907519075
1
1907619076
],
1907719077
"id": [

hasura/metadata/databases/default/tables/public_match_options.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ insert_permissions:
3434
- best_of
3535
- check_in_setting
3636
- coaches
37-
- default_skins
37+
- default_models
3838
- knife_round
3939
- lobby_access
4040
- map_pool_id
@@ -57,7 +57,7 @@ insert_permissions:
5757
columns:
5858
- best_of
5959
- coaches
60-
- default_skins
60+
- default_models
6161
- knife_round
6262
- lobby_access
6363
- map_pool_id
@@ -81,7 +81,7 @@ select_permissions:
8181
- best_of
8282
- check_in_setting
8383
- coaches
84-
- default_skins
84+
- default_models
8585
- id
8686
- knife_round
8787
- lobby_access
@@ -107,7 +107,7 @@ update_permissions:
107107
- best_of
108108
- check_in_setting
109109
- coaches
110-
- default_skins
110+
- default_models
111111
- knife_round
112112
- lobby_access
113113
- map_pool_id
@@ -145,7 +145,7 @@ update_permissions:
145145
columns:
146146
- best_of
147147
- coaches
148-
- default_skins
148+
- default_models
149149
- knife_round
150150
- lobby_access
151151
- map_pool_id

hasura/migrations/default/1764898393080_alter_table_public_match_options_add_column_default_skins/up.sql

Lines changed: 0 additions & 2 deletions
This file was deleted.

hasura/migrations/default/1764898393080_alter_table_public_match_options_add_column_default_skins/down.sql renamed to hasura/migrations/default/1764900227128_alter_table_public_match_options_alter_column_default_skins/down.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
alter table "public"."match_options" drop column if exists "default_skins";
1+
alter table "public"."match_options" drop column if exists "default_models";
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
alter table "public"."match_options" drop column if exists "default_skins";
2+
alter table "public"."match_options" add column if not exists "default_models" boolean

src/matches/matches.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export class MatchesController {
110110
overtime: true,
111111
tv_delay: true,
112112
knife_round: true,
113-
default_skins: true,
113+
default_models: true,
114114
ready_setting: true,
115115
timeout_setting: true,
116116
tech_timeout_setting: true,

0 commit comments

Comments
 (0)