Adrian Flores Cortes
b49a051d85
[SYNC] feat: Add pending entities, tests and notification adapters
...
- audit/unified-log.entity.ts
- billing/__tests__/billing-usage.service.spec.ts
- feature-flags/flag-override.entity.ts
- notifications/adapters/
- webhooks/__tests__/webhook-retry.spec.ts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 18:12:16 -06:00
Adrian Flores Cortes
a2b8bc652f
[INTEGRACION] fix: Corregir credenciales en .env.example
...
Credenciales corregidas:
- DB_USER: gamilit_user → template_saas_user
- DB_PASSWORD: GO0jAOgw8Yzankwt → saas_dev_2026
Fuente de verdad: WORKSPACE-INTEGRATION.yml
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 18:21:15 -06:00
bb556a7789
[TEMPLATE-SAAS-BE] chore: Update analytics and audit modules
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 04:38:45 -06:00
7cb64656fd
[TS-BACKEND] chore: Update package-lock.json
2026-01-16 20:00:25 -06:00
56b03ae509
[TS-BACKEND] test: Add comprehensive analytics module test suite
...
Add unit tests for analytics module achieving 100% coverage:
- analytics.service.spec.ts: 43 tests covering all 5 public methods
- getUserMetrics: growth rate, retention rate, edge cases
- getBillingMetrics: revenue trends, subscription status, trial detection
- getUsageMetrics: action counts, peak hours, averages
- getSummary: KPIs, growth calculations
- getTrends: date truncation, empty data handling
- analytics.controller.spec.ts: 15 tests for all endpoints
- Period parameter handling (7d, 30d, 90d, 1y)
- Multi-tenant isolation validation
Part of Fase 4: Test coverage improvement (80.89% overall)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 17:17:54 -06:00
2ffe4864dd
[template-saas/backend] feat: Add 7 TypeORM entities from HU-REFACT-005
...
Entities created:
- RefreshToken (auth.refresh_tokens)
- SubscriptionItem (billing.subscription_items)
- InvoiceItem (billing.invoice_items)
- Payment (billing.payments)
- FlagEvaluationRecord (feature_flags.evaluations)
- PlanFeature (plans.plan_features)
- TenantSetting (tenants.tenant_settings)
Updated modules to register new entities.
DDL-Entity coherence: 82.5% -> 100%
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 12:32:17 -06:00
dfe6a715f0
Initial commit - Backend de template-saas migrado desde monorepo
...
Migración desde workspace-v2/projects/template-saas/apps/backend
Este repositorio es parte del estándar multi-repo v2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:07:11 -06:00
6a750c0408
Initial commit
2026-01-16 14:04:04 +00:00