Skip to content

Commit

Permalink
Clics: support tags
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyavskiy committed Feb 18, 2024
1 parent 98e6a68 commit ee1a027
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ object ClicsExporter {
event.time,
event.relativeTime,
event.message,
event.tags,
event.teamIds.map { teamIdToCdsId[it]!! },
emptyList(),
event.runIds.map { it.toString() }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ data class Commentary(
message = message,
team_ids = team_ids,
problem_ids = problem_ids,
submission_ids = submission_ids
submission_ids = submission_ids,
tags = emptyList(),
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ data class Commentary(
@Serializable(with = ClicsTime.DurationSerializer::class)
val contest_time: Duration,
val message: String,
val tags: List<String>,
val team_ids: List<String>?,
val problem_ids: List<String>?,
val submission_ids: List<String>?,
Expand Down

0 comments on commit ee1a027

Please sign in to comment.