refactor(portal): extract shared partner types and data composables

Move partner domain types out of data/customers.ts into types/partner.ts so the fixture data exports can be removed later without breaking type imports. Add usePartnerTenants / usePartnerMrr composables wrapping the shared-key partner fetches.
This commit is contained in:
Ronni Baslund
2026-05-30 08:02:54 +02:00
parent 17ffd95a70
commit a51dc9a732
7 changed files with 163 additions and 20 deletions
@@ -3,7 +3,7 @@
// Pre-fills notes from the health drivers and lets the partner tweak before
// creating the task.
import type { CustomerOrg } from '~/data/customers'
import type { CustomerOrg } from '~/types/partner'
export interface TaskContext {
customer: CustomerOrg