@@ -269,6 +269,32 @@ input Int_comparison_exp {
269269 _nin: [Int!]
270270}
271271
272+ type LiveSpecGsi {
273+ map_name: String
274+ map_phase: String
275+ round_number: Int
276+ round_phase: String
277+ spec_slots: [LiveSpecSlot!]!
278+ spectated_steam_id: String
279+ team_ct_name: String
280+ team_ct_score: Int
281+ team_t_name: String
282+ team_t_score: Int
283+ }
284+
285+ type LiveSpecSlot {
286+ alive: Boolean!
287+ health: Int!
288+ name: String
289+ slot: Int!
290+ steam_id: String!
291+ team: String
292+ }
293+
294+ type LiveStreamSpecState {
295+ gsi: LiveSpecGsi
296+ }
297+
272298type LockInfo {
273299 granted: Boolean!
274300 locktype: String!
@@ -1448,11 +1474,6 @@ input clip_render_jobs_bool_exp {
14481474unique or primary key constraints on table "clip_render_jobs"
14491475"""
14501476enum clip_render_jobs_constraint {
1451- """
1452- unique or primary key constraint on columns "user_steam_id"
1453- """
1454- clip_render_jobs_one_in_flight_per_user
1455-
14561477 """
14571478 unique or primary key constraint on columns "id"
14581479 """
@@ -10926,6 +10947,10 @@ type match_clips {
1092610947 """filter the rows returned"""
1092710948 where: clip_render_jobs_bool_exp
1092810949 ): clip_render_jobs_aggregate!
10950+
10951+ """An object relationship"""
10952+ target: players
10953+ target_steam_id: bigint
1092910954 thumbnail_url: String
1093010955 title: String
1093110956
@@ -10963,6 +10988,7 @@ type match_clips_aggregate_fields {
1096310988"""aggregate avg on columns"""
1096410989type match_clips_avg_fields {
1096510990 duration_ms: Float
10991+ target_steam_id: Float
1096610992 user_steam_id: Float
1096710993}
1096810994
@@ -10982,6 +11008,8 @@ input match_clips_bool_exp {
1098211008 match_map_id: uuid_comparison_exp
1098311009 render_jobs: clip_render_jobs_bool_exp
1098411010 render_jobs_aggregate: clip_render_jobs_aggregate_bool_exp
11011+ target: players_bool_exp
11012+ target_steam_id: bigint_comparison_exp
1098511013 thumbnail_url: String_comparison_exp
1098611014 title: String_comparison_exp
1098711015 user: players_bool_exp
@@ -11004,6 +11032,7 @@ input type for incrementing numeric columns in table "match_clips"
1100411032"""
1100511033input match_clips_inc_input {
1100611034 duration_ms: Int
11035+ target_steam_id: bigint
1100711036 user_steam_id: bigint
1100811037}
1100911038
@@ -11018,6 +11047,8 @@ input match_clips_insert_input {
1101811047 match_map: match_maps_obj_rel_insert_input
1101911048 match_map_id: uuid
1102011049 render_jobs: clip_render_jobs_arr_rel_insert_input
11050+ target: players_obj_rel_insert_input
11051+ target_steam_id: bigint
1102111052 thumbnail_url: String
1102211053 title: String
1102311054 user: players_obj_rel_insert_input
@@ -11037,6 +11068,7 @@ type match_clips_max_fields {
1103711068 file: String
1103811069 id: uuid
1103911070 match_map_id: uuid
11071+ target_steam_id: bigint
1104011072 thumbnail_url: String
1104111073 title: String
1104211074 user_steam_id: bigint
@@ -11055,6 +11087,7 @@ type match_clips_min_fields {
1105511087 file: String
1105611088 id: uuid
1105711089 match_map_id: uuid
11090+ target_steam_id: bigint
1105811091 thumbnail_url: String
1105911092 title: String
1106011093 user_steam_id: bigint
@@ -11101,6 +11134,8 @@ input match_clips_order_by {
1110111134 match_map: match_maps_order_by
1110211135 match_map_id: order_by
1110311136 render_jobs_aggregate: clip_render_jobs_aggregate_order_by
11137+ target: players_order_by
11138+ target_steam_id: order_by
1110411139 thumbnail_url: order_by
1110511140 title: order_by
1110611141 user: players_order_by
@@ -11132,6 +11167,9 @@ enum match_clips_select_column {
1113211167 """column name"""
1113311168 match_map_id
1113411169
11170+ """column name"""
11171+ target_steam_id
11172+
1113511173 """column name"""
1113611174 thumbnail_url
1113711175
@@ -11154,6 +11192,7 @@ input match_clips_set_input {
1115411192 file: String
1115511193 id: uuid
1115611194 match_map_id: uuid
11195+ target_steam_id: bigint
1115711196 thumbnail_url: String
1115811197 title: String
1115911198 user_steam_id: bigint
@@ -11163,18 +11202,21 @@ input match_clips_set_input {
1116311202"""aggregate stddev on columns"""
1116411203type match_clips_stddev_fields {
1116511204 duration_ms: Float
11205+ target_steam_id: Float
1116611206 user_steam_id: Float
1116711207}
1116811208
1116911209"""aggregate stddev_pop on columns"""
1117011210type match_clips_stddev_pop_fields {
1117111211 duration_ms: Float
11212+ target_steam_id: Float
1117211213 user_steam_id: Float
1117311214}
1117411215
1117511216"""aggregate stddev_samp on columns"""
1117611217type match_clips_stddev_samp_fields {
1117711218 duration_ms: Float
11219+ target_steam_id: Float
1117811220 user_steam_id: Float
1117911221}
1118011222
@@ -11196,6 +11238,7 @@ input match_clips_stream_cursor_value_input {
1119611238 file: String
1119711239 id: uuid
1119811240 match_map_id: uuid
11241+ target_steam_id: bigint
1119911242 thumbnail_url: String
1120011243 title: String
1120111244 user_steam_id: bigint
@@ -11205,6 +11248,7 @@ input match_clips_stream_cursor_value_input {
1120511248"""aggregate sum on columns"""
1120611249type match_clips_sum_fields {
1120711250 duration_ms: Int
11251+ target_steam_id: bigint
1120811252 user_steam_id: bigint
1120911253}
1121011254
@@ -11227,6 +11271,9 @@ enum match_clips_update_column {
1122711271 """column name"""
1122811272 match_map_id
1122911273
11274+ """column name"""
11275+ target_steam_id
11276+
1123011277 """column name"""
1123111278 thumbnail_url
1123211279
@@ -11254,18 +11301,21 @@ input match_clips_updates {
1125411301"""aggregate var_pop on columns"""
1125511302type match_clips_var_pop_fields {
1125611303 duration_ms: Float
11304+ target_steam_id: Float
1125711305 user_steam_id: Float
1125811306}
1125911307
1126011308"""aggregate var_samp on columns"""
1126111309type match_clips_var_samp_fields {
1126211310 duration_ms: Float
11311+ target_steam_id: Float
1126311312 user_steam_id: Float
1126411313}
1126511314
1126611315"""aggregate variance on columns"""
1126711316type match_clips_variance_fields {
1126811317 duration_ms: Float
11318+ target_steam_id: Float
1126911319 user_steam_id: Float
1127011320}
1127111321
@@ -13127,6 +13177,10 @@ type match_map_demos {
1312713177 match_map: match_maps!
1312813178 match_map_id: uuid!
1312913179 metadata_parsed_at: timestamptz
13180+ players(
13181+ """JSON select path"""
13182+ path: String
13183+ ): jsonb
1313013184 round_ticks(
1313113185 """JSON select path"""
1313213186 path: String
@@ -13194,6 +13248,7 @@ input match_map_demos_aggregate_order_by {
1319413248input match_map_demos_append_input {
1319513249 bombs: jsonb
1319613250 kills: jsonb
13251+ players: jsonb
1319713252 round_ticks: jsonb
1319813253}
1319913254
@@ -13245,6 +13300,7 @@ input match_map_demos_bool_exp {
1324513300 match_map: match_maps_bool_exp
1324613301 match_map_id: uuid_comparison_exp
1324713302 metadata_parsed_at: timestamptz_comparison_exp
13303+ players: jsonb_comparison_exp
1324813304 round_ticks: jsonb_comparison_exp
1324913305 size: Int_comparison_exp
1325013306 tick_rate: Float_comparison_exp
@@ -13268,6 +13324,7 @@ delete the field or element with specified path (for JSON arrays, negative integ
1326813324input match_map_demos_delete_at_path_input {
1326913325 bombs: [String!]
1327013326 kills: [String!]
13327+ players: [String!]
1327113328 round_ticks: [String!]
1327213329}
1327313330
@@ -13277,6 +13334,7 @@ delete the array element with specified index (negative integers count from the
1327713334input match_map_demos_delete_elem_input {
1327813335 bombs: Int
1327913336 kills: Int
13337+ players: Int
1328013338 round_ticks: Int
1328113339}
1328213340
@@ -13286,6 +13344,7 @@ delete key/value pair or string element. key/value pairs are matched based on th
1328613344input match_map_demos_delete_key_input {
1328713345 bombs: String
1328813346 kills: String
13347+ players: String
1328913348 round_ticks: String
1329013349}
1329113350
@@ -13313,6 +13372,7 @@ input match_map_demos_insert_input {
1331313372 match_map: match_maps_obj_rel_insert_input
1331413373 match_map_id: uuid
1331513374 metadata_parsed_at: timestamptz
13375+ players: jsonb
1331613376 round_ticks: jsonb
1331713377 size: Int
1331813378 tick_rate: Float
@@ -13433,6 +13493,7 @@ input match_map_demos_order_by {
1343313493 match_map: match_maps_order_by
1343413494 match_map_id: order_by
1343513495 metadata_parsed_at: order_by
13496+ players: order_by
1343613497 round_ticks: order_by
1343713498 size: order_by
1343813499 tick_rate: order_by
@@ -13449,6 +13510,7 @@ input match_map_demos_pk_columns_input {
1344913510input match_map_demos_prepend_input {
1345013511 bombs: jsonb
1345113512 kills: jsonb
13513+ players: jsonb
1345213514 round_ticks: jsonb
1345313515}
1345413516
@@ -13486,6 +13548,9 @@ enum match_map_demos_select_column {
1348613548 """column name"""
1348713549 metadata_parsed_at
1348813550
13551+ """column name"""
13552+ players
13553+
1348913554 """column name"""
1349013555 round_ticks
1349113556
@@ -13515,6 +13580,7 @@ input match_map_demos_set_input {
1351513580 match_id: uuid
1351613581 match_map_id: uuid
1351713582 metadata_parsed_at: timestamptz
13583+ players: jsonb
1351813584 round_ticks: jsonb
1351913585 size: Int
1352013586 tick_rate: Float
@@ -13599,6 +13665,7 @@ input match_map_demos_stream_cursor_value_input {
1359913665 match_id: uuid
1360013666 match_map_id: uuid
1360113667 metadata_parsed_at: timestamptz
13668+ players: jsonb
1360213669 round_ticks: jsonb
1360313670 size: Int
1360413671 tick_rate: Float
@@ -13655,6 +13722,9 @@ enum match_map_demos_update_column {
1365513722 """column name"""
1365613723 metadata_parsed_at
1365713724
13725+ """column name"""
13726+ players
13727+
1365813728 """column name"""
1365913729 round_ticks
1366013730
@@ -19351,13 +19421,21 @@ type mutation_root {
1935119421 """Cancel an in-flight clip render and tear down the K8s job"""
1935219422 cancelClipRender(job_id: uuid!): SuccessOutput
1935319423
19424+ """Cancel an entire match_map's render queue + tear down the pod."""
19425+ cancelClipRenderBatch(match_map_id: uuid!): SuccessOutput
19426+
1935419427 """cancelMatch"""
1935519428 cancelMatch(match_id: uuid!): SuccessOutput
1935619429
1935719430 """checkIntoMatch"""
1935819431 checkIntoMatch(match_id: uuid!): SuccessOutput
1935919432 createApiKey(label: String!): ApiKeyResponse
1936019433
19434+ """
19435+ Build a multi-segment ClipSpec from a player+preset and dispatch render
19436+ """
19437+ createClipFromPreset(fps: Int, match_map_id: uuid!, preset: String!, resolution: String, target_name: String, target_steam_id: String!, title: String): CreateClipRenderOutput
19438+
1936119439 """
1936219440 Spawn a clip-render pod that produces an mp4 from a demo and uploads it
1936319441 """
@@ -20476,6 +20554,11 @@ type mutation_root {
2047620554 ): v_pool_maps_mutation_response
2047720555 denyInvite(invite_id: uuid!, type: String!): SuccessOutput
2047820556 forfeitMatch(match_id: uuid!, winning_lineup_id: uuid!): SuccessOutput
20557+
20558+ """
20559+ Live pod GSI snapshot — slots, sides, alive/dead. Drives the stream-deck.
20560+ """
20561+ getLiveStreamSpecState(match_id: uuid!): LiveStreamSpecState
2047920562 getTestUploadLink: GetTestUploadResponse!
2048020563
2048120564 """
@@ -22422,6 +22505,9 @@ type mutation_root {
2242222505 syncSteamFriends: SuccessOutput
2242322506 testUpload: TestUploadResponse
2242422507 unlinkDiscord: SuccessOutput
22508+
22509+ """Owner-only patch for clip title / visibility / target_steam_id."""
22510+ updateClip(clip_id: uuid!, target_steam_id: String, title: String, visibility: String): SuccessOutput
2242522511 updateCs(game: String, game_server_node_id: uuid): SuccessOutput
2242622512 updateServices: SuccessOutput
2242722513
0 commit comments