Merge branch 'master' of gitlab.prodcontest.ru:team-15/project

This commit is contained in:
moolcoov
2025-03-03 15:56:53 +03:00
63 changed files with 1030 additions and 511 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export const submitTaskSolution = async (
// туповатый костыль но для мвп сойдет
if (typeof solution === 'string') {
const textFile = new File([solution], 'solution.txt', { type: 'text/plain' });
const textFile = new File([solution], 'solution_example.txt', { type: 'text/plain' });
formData.append('content', textFile);
} else {
formData.append('content', solution);
@@ -5,6 +5,7 @@ interface Task {
type: TaskType;
in_competition_position: number;
points: number;
max_attempts: number;
}
export interface TaskAttachment {