Skip to content

@kaiord/core


@kaiord/core / goalTypeSchema

Variable: goalTypeSchema

const goalTypeSchema: ZodEnum<{ fat_loss: "fat_loss"; maintain: "maintain"; muscle_gain: "muscle_gain"; }>

Defined in: packages/core/src/domain/schemas/health/energy-goal.ts:10

Body-composition objective driving the deficit/surplus engine.

fat_loss and muscle_gain move weight toward target_weight_kg; maintain holds it. Weights are strictly positive kilograms and target_date is an ISO calendar date marking the planned horizon.