godcrm/backend/routes/v3/wellness/index.js
GOD CRM Release f89e074dd1
Some checks failed
CI / Lint / Typecheck / Test / Build (push) Has been cancelled
CI / PostgreSQL Integration Tests (push) Has been cancelled
GOD CRM — public scrubbed snapshot
Governed substrate for autonomous agents: scoped identity (passports),
audited actions, MCP workspace. Infra IPs and secrets redacted for public release.
2026-08-10 04:01:45 +03:00

52 lines
1.2 KiB
JavaScript

/**
* @swagger
* components:
* schemas:
* WellnessProfile:
* type: object
* properties:
* id:
* type: integer
* space_id:
* type: integer
* birth_date:
* type: string
* format: date
* gender:
* type: string
* enum: [male, female, other]
* height_cm:
* type: number
* activity_level:
* type: string
* VitalRecord:
* type: object
* properties:
* id:
* type: integer
* profile_id:
* type: integer
* vital_type:
* type: string
* value:
* type: number
* recorded_at:
* type: string
* format: date-time
*/
// API v3: Wellness Routes — thin router that imports all controllers
import express from 'express';
import profileVitalsController from './profileVitalsController.js';
import gamificationController from './gamificationController.js';
const router = express.Router();
// 1. Profile + vitals
router.use(profileVitalsController);
// 2. Gamification, streaks, dashboard
router.use(gamificationController);
export default router;