Enode — API Reference
    Preparing search index...
    • The "What this session did" section.

      Parameters

      • muscles: {
            barThicknessPx?: number;
            beside?: ReactNode;
            exercise?: ExerciseMuscles | null;
            goalSplit: ZoneSplit | null;
            lifts:
                | {
                    sets: number
                    | null;
                    summary: LiftsSummaryReturnDto | null | undefined;
                }
                | null;
            muscles: SessionMusclesVm;
            narrowIcons?: boolean;
            sessionTone?: SessionTone;
            titleInCard?: boolean;
            warmupsOnly?: boolean;
            week: SessionWeekFigures
            | null;
            zoneDistribution: ZoneReturnDto | null;
        }

        the session's sets per muscle, from buildSessionMusclesVm.

        • OptionalbarThicknessPx?: number

          Draws the muscle bars as pills of this thickness (the host's shared bar thickness) instead of the default 10 px bars with small corners. Unset, the portal's look.

        • Optionalbeside?: ReactNode
        • Optionalexercise?: ExerciseMuscles | null
        • goalSplit: ZoneSplit | null
        • lifts:
              | {
                  sets: number
                  | null;
                  summary: LiftsSummaryReturnDto | null | undefined;
              }
              | null
        • muscles: SessionMusclesVm
        • OptionalnarrowIcons?: boolean

          On a narrow card, the muscle rows keep the wide table layout (icon | bar | session | week) with each muscle's icon in place of its name. Unset, the narrow layout puts name and figures on a line over the bar.

        • OptionalsessionTone?: SessionTone

          The session's colour in the muscle bars; see SessionTone.

        • OptionaltitleInCard?: boolean

          Puts "What this session did" inside the muscles card as its heading (the look of the other session-details cards, e.g. the velocity profile) instead of a small label above the cards. Unset, the portal's look.

        • OptionalwarmupsOnly?: boolean
        • week: SessionWeekFigures | null
        • zoneDistribution: ZoneReturnDto | null

      Returns Element