Skip to content

YH-1817: Моковый запрос на получение списка решений задач#1190

Open
PhiLlia093 wants to merge 1 commit intodevelopfrom
feature/YH-1817
Open

YH-1817: Моковый запрос на получение списка решений задач#1190
PhiLlia093 wants to merge 1 commit intodevelopfrom
feature/YH-1817

Conversation

@PhiLlia093
Copy link
Copy Markdown
Collaborator

Моковый запрос для getTasksProfileSolutions и getTaskCategories

Моковый запрос для getTasksProfileSolutions и getTaskCategories
@PerelomaDenis PerelomaDenis added review the task is currently being reviewed feature New functionality or improvements labels Mar 24, 2026
@@ -0,0 +1,49 @@
import type { TaskCategory, TaskSolution } from '../../../model/types/task';

export const taskCategoriesMock: TaskCategory[] = [
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ISSUE] - Добавь сюда реальный ответ запроса, чтобы были все категории


export const taskProfileSolutionMock = () =>
http.get<PathParams, DefaultBodyType, GetTasksProfileSolutionsResponse>(
`${process.env.API_URL}${route(taskApiUrls.getTasksProfileSolutions, ':taskId', ':profileId')}`,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ISSUE] - Тут просто оставь ${process.env.API_URL}${taskApiUrls.getTasksProfileSolutions)}

@PerelomaDenis PerelomaDenis added comments Code improvements are required and removed review the task is currently being reviewed labels Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Code improvements are required feature New functionality or improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants