WellNuo/wellnuoSheme/03_DiscussionQuestions.json
Sergei d97ffe040d Full project sync - app updates and profile screens
Changes:
- Updated app.json, eas.json configurations
- Modified login, chat, profile, dashboard screens
- Added profile subpages (about, edit, help, language,
  notifications, privacy, subscription, support, terms)
- Updated BeneficiaryContext
- Updated API service and types
- Updated discussion questions scheme
- Added .history to gitignore

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-12 16:26:13 -08:00

297 lines
8.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_meta": {
"name": "Questions",
"updatedAt": "2025-12-13T00:25:11.137Z"
},
"elements": [
{
"id": "header",
"type": "card",
"title": "Discussion Questions",
"borderColor": "purple",
"tags": [
"overview"
],
"description": "Вопросы к команде WellNuo (EluxNetworks)",
"x": 140,
"y": 300
},
{
"id": "q_webview_ui",
"type": "card",
"title": "WebView UI Cleanup",
"borderColor": "yellow",
"tags": [
"integration"
],
"description": "Можете ли убрать из браузерной версии:\n\n1. Заголовок «Dashboard Details»\n2. Стрелки навигации (← →)\n3. Кнопку выхода/logout\n\nПричина: Встраиваем в WebView, есть своя навигация.\n\nВариант: ?embedded=true параметр",
"x": 520,
"y": 120
},
{
"id": "q_api_access",
"type": "card",
"title": "API Self-Development",
"borderColor": "yellow",
"tags": [
"integration"
],
"description": "Могу ли я получить доступ к разработке API/бэкенда?\n\nПричина: Много новых эндпоинтов, требования часто будут меняться при разраьботке",
"x": 520,
"y": 300
},
{
"id": "api_yes",
"type": "card",
"title": "Да - доступ есть",
"borderColor": "green",
"tags": [
"decision"
],
"description": "Получаем доступ к репозиторию или создаём микросервис.\n\nРеализуем эндпоинты самостоятельно.",
"x": 900,
"y": 209.1699981689453
},
{
"id": "api_no",
"type": "card",
"title": "Нет - нужно ТЗ",
"borderColor": "red",
"tags": [
"decision"
],
"description": "Тогда нужен детальный список API эндпоинтов для реализации командой EluxNetworks.\n\nСм. цепочку Недостающие API",
"x": 900,
"y": 380
},
{
"id": "missing_api_header",
"type": "card",
"title": "Недостающие API",
"borderColor": "orange",
"tags": [
"api"
],
"description": "Список эндпоинтов, которые необходимо реализовать для полноценной работы мобильного приложения.",
"x": 1280,
"y": 380
},
{
"id": "api_auth",
"type": "card",
"title": "Auth: Регистрация",
"borderColor": "blue",
"tags": [
"api",
"auth"
],
"description": "POST /api/auth/register\n\nRequest:\n{\n email: string\n password: string\n name: string\n phone?: string\n}\n\nResponse:\n{\n user_id: number\n token: string\n refresh_token: string\n}",
"x": 1660,
"y": 80
},
{
"id": "api_password_reset",
"type": "card",
"title": "Auth: Восстановление пароля",
"borderColor": "blue",
"tags": [
"api",
"auth"
],
"description": "POST /api/auth/forgot-password\n{\n email: string\n}\n\nPOST /api/auth/reset-password\n{\n token: string\n new_password: string\n}\n\nResponse: { success: boolean }",
"x": 1660,
"y": 220
},
{
"id": "api_subscription",
"type": "card",
"title": "Billing: Подписка",
"borderColor": "green",
"tags": [
"api",
"billing"
],
"description": "GET /api/subscription/plans\nСписок тарифов\n\nPOST /api/subscription/subscribe\n{\n plan_id: string\n payment_method: string\n}\n\nGET /api/subscription/status\nТекущая подписка, дата окончания\n\nPOST /api/subscription/cancel",
"x": 1660,
"y": 360
},
{
"id": "api_payment",
"type": "card",
"title": "Billing: Оплата",
"borderColor": "green",
"tags": [
"api",
"billing"
],
"description": "POST /api/payment/create-intent\n{\n amount: number\n currency: string\n}\nStripe/Apple Pay intent\n\nGET /api/payment/history\nИстория платежей\n\nPOST /api/payment/add-card\nДобавить способ оплаты",
"x": 1659.046142578125,
"y": 463.7543029785156
},
{
"id": "api_beneficiary",
"type": "card",
"title": "Beneficiary: CRUD",
"borderColor": "teal",
"tags": [
"api",
"beneficiary"
],
"description": "POST /api/beneficiaries\n{\n name: string\n relationship: string\n address?: string\n emergency_contact?: string\n}\n\nPUT /api/beneficiaries/:id\nDELETE /api/beneficiaries/:id\n\nPOST /api/beneficiaries/:id/invite\nПригласить другого члена семьи",
"x": 2040,
"y": 80
},
{
"id": "api_order",
"type": "card",
"title": "Order: Заказ продукции",
"borderColor": "teal",
"tags": [
"api",
"order"
],
"description": "GET /api/products\nКаталог сенсоров/хабов\n\nPOST /api/orders\n{\n items: [{product_id, qty}]\n shipping_address: Address\n beneficiary_id?: number\n}\n\nGET /api/orders/:id\nСтатус заказа, трекинг",
"x": 2040,
"y": 220
},
{
"id": "api_notifications",
"type": "card",
"title": "Notifications: Push",
"borderColor": "pink",
"tags": [
"api",
"notifications"
],
"description": "POST /api/notifications/register-device\n{\n token: string (FCM/APNs)\n platform: ios | android\n}\n\nGET /api/notifications/settings\nPUT /api/notifications/settings\n{\n alerts: boolean\n daily_report: boolean\n quiet_hours: {start, end}\n}",
"x": 2040,
"y": 500
},
{
"id": "api_profile",
"type": "card",
"title": "Profile: Профиль юзера",
"borderColor": "gray",
"tags": [
"api",
"profile"
],
"description": "GET /api/profile\nPUT /api/profile\n{\n name: string\n email: string\n phone?: string\n avatar_url?: string\n language: string\n timezone: string\n}\n\nPOST /api/profile/change-password\nDELETE /api/profile (удаление аккаунта)",
"x": 2023.0888671875,
"y": 365.1834411621094
}
],
"connections": [
{
"from": "header",
"to": "q_webview_ui"
},
{
"from": "header",
"to": "q_api_access"
},
{
"from": "q_api_access",
"to": "api_yes",
"label": "Да"
},
{
"from": "q_api_access",
"to": "api_no",
"label": "Нет"
},
{
"from": "api_no",
"to": "missing_api_header"
},
{
"from": "missing_api_header",
"to": "api_auth"
},
{
"from": "missing_api_header",
"to": "api_password_reset"
},
{
"from": "missing_api_header",
"to": "api_subscription"
},
{
"from": "missing_api_header",
"to": "api_payment"
},
{
"from": "missing_api_header",
"to": "api_beneficiary"
},
{
"from": "missing_api_header",
"to": "api_order"
},
{
"from": "missing_api_header",
"to": "api_notifications"
},
{
"from": "missing_api_header",
"to": "api_profile"
}
],
"tagsDictionary": [
{
"id": "tag-overview",
"name": "overview",
"color": "purple"
},
{
"id": "tag-integration",
"name": "integration",
"color": "yellow"
},
{
"id": "tag-decision",
"name": "decision",
"color": "green"
},
{
"id": "tag-api",
"name": "api",
"color": "orange"
},
{
"id": "tag-auth",
"name": "auth",
"color": "blue"
},
{
"id": "tag-billing",
"name": "billing",
"color": "green"
},
{
"id": "tag-beneficiary",
"name": "beneficiary",
"color": "teal"
},
{
"id": "tag-order",
"name": "order",
"color": "teal"
},
{
"id": "tag-support",
"name": "support",
"color": "pink"
},
{
"id": "tag-notifications",
"name": "notifications",
"color": "pink"
},
{
"id": "tag-profile",
"name": "profile",
"color": "gray"
}
]
}