Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 29 additions & 3 deletions generated/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -8192,9 +8192,19 @@ input match_lineups_variance_order_by {
columns and relationships of "match_map_demos"
"""
type match_map_demos {
"""
A computed field, executes function "demo_download_url"
"""
download_url: String
file: String!
id: uuid!

"""An object relationship"""
match: matches!
match_id: uuid!

"""An object relationship"""
match_map: match_maps!
match_map_id: uuid!
size: Int!
}
Expand Down Expand Up @@ -8281,9 +8291,12 @@ input match_map_demos_bool_exp {
_and: [match_map_demos_bool_exp!]
_not: match_map_demos_bool_exp
_or: [match_map_demos_bool_exp!]
download_url: String_comparison_exp
file: String_comparison_exp
id: uuid_comparison_exp
match: matches_bool_exp
match_id: uuid_comparison_exp
match_map: match_maps_bool_exp
match_map_id: uuid_comparison_exp
size: Int_comparison_exp
}
Expand Down Expand Up @@ -8311,13 +8324,19 @@ input type for inserting data into table "match_map_demos"
input match_map_demos_insert_input {
file: String
id: uuid
match: matches_obj_rel_insert_input
match_id: uuid
match_map: match_maps_obj_rel_insert_input
match_map_id: uuid
size: Int
}

"""aggregate max on columns"""
type match_map_demos_max_fields {
"""
A computed field, executes function "demo_download_url"
"""
download_url: String
file: String
id: uuid
match_id: uuid
Expand All @@ -8338,6 +8357,10 @@ input match_map_demos_max_order_by {

"""aggregate min on columns"""
type match_map_demos_min_fields {
"""
A computed field, executes function "demo_download_url"
"""
download_url: String
file: String
id: uuid
match_id: uuid
Expand Down Expand Up @@ -8378,9 +8401,12 @@ input match_map_demos_on_conflict {

"""Ordering options when selecting data from "match_map_demos"."""
input match_map_demos_order_by {
download_url: order_by
file: order_by
id: order_by
match: matches_order_by
match_id: order_by
match_map: match_maps_order_by
match_map_id: order_by
size: order_by
}
Expand Down Expand Up @@ -9553,7 +9579,7 @@ type match_maps {
): match_map_demos_aggregate!

"""
A computed field, executes function "demo_download_url"
A computed field, executes function "match_map_demo_download_url"
"""
demos_download_url: String

Expand Down Expand Up @@ -10127,7 +10153,7 @@ type match_maps_max_fields {
created_at: timestamptz

"""
A computed field, executes function "demo_download_url"
A computed field, executes function "match_map_demo_download_url"
"""
demos_download_url: String

Expand Down Expand Up @@ -10177,7 +10203,7 @@ type match_maps_min_fields {
created_at: timestamptz

"""
A computed field, executes function "demo_download_url"
A computed field, executes function "match_map_demo_download_url"
"""
demos_download_url: String

Expand Down
38 changes: 29 additions & 9 deletions generated/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2691,9 +2691,15 @@ export interface match_lineups_variance_fields {

/** columns and relationships of "match_map_demos" */
export interface match_map_demos {
/** A computed field, executes function "demo_download_url" */
download_url: (Scalars['String'] | null)
file: Scalars['String']
id: Scalars['uuid']
/** An object relationship */
match: matches
match_id: Scalars['uuid']
/** An object relationship */
match_map: match_maps
match_map_id: Scalars['uuid']
size: Scalars['Int']
__typename: 'match_map_demos'
Expand Down Expand Up @@ -2738,6 +2744,8 @@ export type match_map_demos_constraint = 'match_demos_pkey'

/** aggregate max on columns */
export interface match_map_demos_max_fields {
/** A computed field, executes function "demo_download_url" */
download_url: (Scalars['String'] | null)
file: (Scalars['String'] | null)
id: (Scalars['uuid'] | null)
match_id: (Scalars['uuid'] | null)
Expand All @@ -2749,6 +2757,8 @@ export interface match_map_demos_max_fields {

/** aggregate min on columns */
export interface match_map_demos_min_fields {
/** A computed field, executes function "demo_download_url" */
download_url: (Scalars['String'] | null)
file: (Scalars['String'] | null)
id: (Scalars['uuid'] | null)
match_id: (Scalars['uuid'] | null)
Expand Down Expand Up @@ -3127,7 +3137,7 @@ export interface match_maps {
demos: match_map_demos[]
/** An aggregate relationship */
demos_aggregate: match_map_demos_aggregate
/** A computed field, executes function "demo_download_url" */
/** A computed field, executes function "match_map_demo_download_url" */
demos_download_url: (Scalars['String'] | null)
/** A computed field, executes function "match_map_demo_total_size" */
demos_total_size: (Scalars['Int'] | null)
Expand Down Expand Up @@ -3242,7 +3252,7 @@ export type match_maps_constraint = 'match_maps_match_id_order_key' | 'match_map
/** aggregate max on columns */
export interface match_maps_max_fields {
created_at: (Scalars['timestamptz'] | null)
/** A computed field, executes function "demo_download_url" */
/** A computed field, executes function "match_map_demo_download_url" */
demos_download_url: (Scalars['String'] | null)
/** A computed field, executes function "match_map_demo_total_size" */
demos_total_size: (Scalars['Int'] | null)
Expand All @@ -3266,7 +3276,7 @@ export interface match_maps_max_fields {
/** aggregate min on columns */
export interface match_maps_min_fields {
created_at: (Scalars['timestamptz'] | null)
/** A computed field, executes function "demo_download_url" */
/** A computed field, executes function "match_map_demo_download_url" */
demos_download_url: (Scalars['String'] | null)
/** A computed field, executes function "match_map_demo_total_size" */
demos_total_size: (Scalars['Int'] | null)
Expand Down Expand Up @@ -16252,9 +16262,15 @@ export interface match_lineups_variance_order_by {coach_steam_id?: (order_by | n

/** columns and relationships of "match_map_demos" */
export interface match_map_demosGenqlSelection{
/** A computed field, executes function "demo_download_url" */
download_url?: boolean | number
file?: boolean | number
id?: boolean | number
/** An object relationship */
match?: matchesGenqlSelection
match_id?: boolean | number
/** An object relationship */
match_map?: match_mapsGenqlSelection
match_map_id?: boolean | number
size?: boolean | number
__typename?: boolean | number
Expand Down Expand Up @@ -16316,19 +16332,21 @@ export interface match_map_demos_avg_order_by {size?: (order_by | null)}


/** Boolean expression to filter rows from the table "match_map_demos". All fields are combined with a logical 'AND'. */
export interface match_map_demos_bool_exp {_and?: (match_map_demos_bool_exp[] | null),_not?: (match_map_demos_bool_exp | null),_or?: (match_map_demos_bool_exp[] | null),file?: (String_comparison_exp | null),id?: (uuid_comparison_exp | null),match_id?: (uuid_comparison_exp | null),match_map_id?: (uuid_comparison_exp | null),size?: (Int_comparison_exp | null)}
export interface match_map_demos_bool_exp {_and?: (match_map_demos_bool_exp[] | null),_not?: (match_map_demos_bool_exp | null),_or?: (match_map_demos_bool_exp[] | null),download_url?: (String_comparison_exp | null),file?: (String_comparison_exp | null),id?: (uuid_comparison_exp | null),match?: (matches_bool_exp | null),match_id?: (uuid_comparison_exp | null),match_map?: (match_maps_bool_exp | null),match_map_id?: (uuid_comparison_exp | null),size?: (Int_comparison_exp | null)}


/** input type for incrementing numeric columns in table "match_map_demos" */
export interface match_map_demos_inc_input {size?: (Scalars['Int'] | null)}


/** input type for inserting data into table "match_map_demos" */
export interface match_map_demos_insert_input {file?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),match_id?: (Scalars['uuid'] | null),match_map_id?: (Scalars['uuid'] | null),size?: (Scalars['Int'] | null)}
export interface match_map_demos_insert_input {file?: (Scalars['String'] | null),id?: (Scalars['uuid'] | null),match?: (matches_obj_rel_insert_input | null),match_id?: (Scalars['uuid'] | null),match_map?: (match_maps_obj_rel_insert_input | null),match_map_id?: (Scalars['uuid'] | null),size?: (Scalars['Int'] | null)}


/** aggregate max on columns */
export interface match_map_demos_max_fieldsGenqlSelection{
/** A computed field, executes function "demo_download_url" */
download_url?: boolean | number
file?: boolean | number
id?: boolean | number
match_id?: boolean | number
Expand All @@ -16345,6 +16363,8 @@ export interface match_map_demos_max_order_by {file?: (order_by | null),id?: (or

/** aggregate min on columns */
export interface match_map_demos_min_fieldsGenqlSelection{
/** A computed field, executes function "demo_download_url" */
download_url?: boolean | number
file?: boolean | number
id?: boolean | number
match_id?: boolean | number
Expand Down Expand Up @@ -16375,7 +16395,7 @@ export interface match_map_demos_on_conflict {constraint: match_map_demos_constr


/** Ordering options when selecting data from "match_map_demos". */
export interface match_map_demos_order_by {file?: (order_by | null),id?: (order_by | null),match_id?: (order_by | null),match_map_id?: (order_by | null),size?: (order_by | null)}
export interface match_map_demos_order_by {download_url?: (order_by | null),file?: (order_by | null),id?: (order_by | null),match?: (matches_order_by | null),match_id?: (order_by | null),match_map?: (match_maps_order_by | null),match_map_id?: (order_by | null),size?: (order_by | null)}


/** primary key columns input for table: match_map_demos */
Expand Down Expand Up @@ -16994,7 +17014,7 @@ export interface match_mapsGenqlSelection{
order_by?: (match_map_demos_order_by[] | null),
/** filter the rows returned */
where?: (match_map_demos_bool_exp | null)} })
/** A computed field, executes function "demo_download_url" */
/** A computed field, executes function "match_map_demo_download_url" */
demos_download_url?: boolean | number
/** A computed field, executes function "match_map_demo_total_size" */
demos_total_size?: boolean | number
Expand Down Expand Up @@ -17319,7 +17339,7 @@ export interface match_maps_insert_input {created_at?: (Scalars['timestamptz'] |
/** aggregate max on columns */
export interface match_maps_max_fieldsGenqlSelection{
created_at?: boolean | number
/** A computed field, executes function "demo_download_url" */
/** A computed field, executes function "match_map_demo_download_url" */
demos_download_url?: boolean | number
/** A computed field, executes function "match_map_demo_total_size" */
demos_total_size?: boolean | number
Expand Down Expand Up @@ -17348,7 +17368,7 @@ export interface match_maps_max_order_by {created_at?: (order_by | null),ended_a
/** aggregate min on columns */
export interface match_maps_min_fieldsGenqlSelection{
created_at?: boolean | number
/** A computed field, executes function "demo_download_url" */
/** A computed field, executes function "match_map_demo_download_url" */
demos_download_url?: boolean | number
/** A computed field, executes function "match_map_demo_total_size" */
demos_total_size?: boolean | number
Expand Down
39 changes: 39 additions & 0 deletions generated/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11043,15 +11043,24 @@ export default {
]
},
"match_map_demos": {
"download_url": [
11
],
"file": [
11
],
"id": [
2033
],
"match": [
995
],
"match_id": [
2033
],
"match_map": [
877
],
"match_map_id": [
2033
],
Expand Down Expand Up @@ -11220,15 +11229,24 @@ export default {
"_or": [
780
],
"download_url": [
13
],
"file": [
13
],
"id": [
2034
],
"match": [
1004
],
"match_id": [
2034
],
"match_map": [
886
],
"match_map_id": [
2034
],
Expand All @@ -11255,9 +11273,15 @@ export default {
"id": [
2033
],
"match": [
1013
],
"match_id": [
2033
],
"match_map": [
895
],
"match_map_id": [
2033
],
Expand All @@ -11269,6 +11293,9 @@ export default {
]
},
"match_map_demos_max_fields": {
"download_url": [
11
],
"file": [
11
],
Expand Down Expand Up @@ -11309,6 +11336,9 @@ export default {
]
},
"match_map_demos_min_fields": {
"download_url": [
11
],
"file": [
11
],
Expand Down Expand Up @@ -11374,15 +11404,24 @@ export default {
]
},
"match_map_demos_order_by": {
"download_url": [
1148
],
"file": [
1148
],
"id": [
1148
],
"match": [
1015
],
"match_id": [
1148
],
"match_map": [
897
],
"match_map_id": [
1148
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
table:
name: match_map_demos
schema: public
object_relationships:
- name: match
using:
foreign_key_constraint_on: match_id
- name: match_map
using:
foreign_key_constraint_on: match_map_id
computed_fields:
- name: download_url
definition:
Expand Down
1 change: 1 addition & 0 deletions src/matches/enums/MatchQueues.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export enum MatchQueues {
CleanDemos = "clean-demos",
MatchServers = "match-servers",
ScheduledMatches = "scheduled-matches",
EloCalculation = "elo-calculation",
Expand Down
Loading