From c6824ea56aee42b5491fada04eb1f1b33162c1ea Mon Sep 17 00:00:00 2001 From: Vyacheslav1557 Date: Thu, 17 Oct 2024 00:33:09 +0500 Subject: [PATCH] feat: extend problem fields --- problem/v1/problem.proto | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/problem/v1/problem.proto b/problem/v1/problem.proto index 467d6d9..36c410a 100644 --- a/problem/v1/problem.proto +++ b/problem/v1/problem.proto @@ -26,13 +26,16 @@ message ReadProblemResponse { message Problem { int32 id = 1; string title = 2; - string content = 3; - int32 time_limit = 4; - int32 memory_limit = 5; - int32 testing_strategy = 6; - string testing_order = 7; - google.protobuf.Timestamp created_at = 8; - google.protobuf.Timestamp updated_at = 9; + string legend = 3; + string input_format = 4; + string output_format = 5; + string notes = 6; + string tutorial = 7; + string latex_summary = 8; + int32 time_limit = 9; + int32 memory_limit = 10; + google.protobuf.Timestamp created_at = 11; + google.protobuf.Timestamp updated_at = 12; } Problem problem = 1; }