feat(test): comments, auth, feed

This commit is contained in:
mso7nueh
2025-11-28 14:13:05 +03:00
parent 7df32dabd2
commit 2a25be5aa4
12 changed files with 1774 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
{
"provider": "vk",
"accessToken": "vk_access_token_123",
"refreshToken": "vk_refresh_token_123",
"clientId": "vk_client_id_123"
}

View File

@@ -0,0 +1,16 @@
{
"provider": "vk",
"accessToken": "vk_access_token_123",
"id": "vk_user_id_123",
"refreshToken": "vk_refresh_token_123",
"firstName": "Иван",
"lastName": "Иванов",
"email": "ivan@example.com",
"phone": "+79001234567",
"dateOfBirth": "1990-01-01",
"gender": "М",
"weight": 75,
"height": 180,
"clientId": "vk_client_id_123"
}

View File

@@ -0,0 +1,7 @@
{
"email": "user@example.com",
"code": "123456",
"password": "newPassword123",
"passwordConfirmation": "newPassword123"
}

View File

@@ -0,0 +1,33 @@
{
"feedBlogPostList": [
{
"id": 1,
"title": "Тестовый пост",
"content": "Содержимое поста",
"author": "Автор",
"createdAt": "2024-01-01T00:00:00Z",
"totalLikes": 10,
"wasLikedByMe": false,
"totalComments": 5,
"totalViews": 100
},
{
"id": 2,
"title": "Второй пост",
"content": "Еще одно содержимое",
"author": "Другой автор",
"createdAt": "2024-01-02T00:00:00Z",
"totalLikes": 20,
"wasLikedByMe": true,
"totalComments": 10,
"totalViews": 200
}
],
"meta": {
"currentPage": 1,
"lastPage": 3,
"perPage": 10,
"total": 25
}
}